.home-menu .pure-menu-heading img { height: 36px; }
.content-subhead.content-subhead-light { color: #ffffff; }
.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-saved-inputs dd {
    margin-inline-start: 0;
    overflow-wrap: anywhere;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.6;
    color: #2c3e50;
    font-size: 16px;
    max-width: 1440px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #2c3e50;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input:not([type="checkbox"]):not([type="radio"]) {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #2E7D32;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

.pure-button:hover {
    background-color: #143D1A;
}

a.pure-button-primary {
    background: rgb(255, 255, 255);
    color: #2E7D32;
    border-radius: 5px;
    font-size: 120%;
    width: 80%;
    overflow-wrap: break-word;
    white-space: normal;
    height: auto;
    line-height: 1.4;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
    display: flex;
    align-items: center;
    position: relative;
}
.home-menu {
    background: white;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.home-menu .pure-menu-heading {
    color: #2E7D32;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: #2E7D32;
}

.home-menu a {
    color: #2c3e50;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #2E7D32;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: #2E7D32;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    padding: 4em 0;
    margin-top: 52px;
}

.splash-container-sub {
    padding: 2em 0;
}

.splash-container-sub .splash {
    padding: 1em;
}

.splash-container-sub h1 {
    color: #fff;
    margin: 0;
    font-size: 1.8em;
    text-transform: none;
}

.splash {
    width: 100%;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    padding: 2em 1em;
}

.splash-img {
    /* absolute center .splash within .splash-container */
    width: 90%;
    height: 50%;    
    margin: auto;
    position: absolute;
    top: 10px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
    .splash-img {
        visibility: hidden;
    }
    .splash-head {
        font-size: 40px;        
    }
    .splash-img-sm {
        width: 90%;
        margin: auto;
    }
    .splash-1-2-r {
        /* absolute center .splash within .splash-container */
        width: 100%;
        height: 100%;    
        position: relative;
    }
}

@media only screen and (min-width: 768px) {
.splash-1-2-l {
    /* absolute center .splash within .splash-container */
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
}

.splash-1-2-r {
    /* absolute center .splash within .splash-container */
    float: right;
    width: 50%;
    height: 100%;    
    position: relative;
}

.splash-img-sm {
    display: none;
}

.splash-head {
    font-size: 20px;
}
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-weight: bold;
    color: rgb(252, 252, 252);        
    font-weight: 100;
    border-radius: 5px;
    line-height: 100%;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 1;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    position: relative;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;
}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 1em;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #2E7D32;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2E7D32;
    color: #ffffff;
}

.ribbon .pure-g > div {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 48em) {
    .ribbon .pure-g > div {
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.2);
    }
    .ribbon .pure-g > div:last-child {
        border-right: none;
    }
}

/* This is the class used for the footer */
.footer {
    background: #2E7D32;
    color: #ffffff;
    position: static;
    width: 100%;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
        .home-menu ul {
            float: right;
        }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}

/*
 * -- HAMBURGER MENU --
 */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

.home-menu {
    position: relative;
}

.home-menu .pure-menu-heading img {
    height: 40px;
}

@media (max-width: 48em) {
    .menu-toggle {
        display: block;
    }
    .home-menu {
        flex-wrap: wrap;
    }
    .pure-menu-horizontal .pure-menu-list {
        display: block;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        z-index: 10;
    }
    .pure-menu-horizontal .pure-menu-list.menu-open {
        display: block;
    }
    .pure-menu-horizontal .pure-menu-item {
        display: block;
    }
    .pure-menu-horizontal .pure-menu-link {
        padding: 12px;
    }
}

/*
 * -- SUBPAGE CONTENT STYLES --
 */
.page-content {
    padding: 2em 2em 3em;
    max-width: 960px;
    margin: 0 auto;
}

.page-content h1 {
    margin-top: 0;
    text-align: center;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 48em) {
    .pure-button {
        padding: 0.8em 2em;
        font-size: 16px;
        display: inline-block;
        width: auto;
        text-align: center;
    }
}

/* CTA buttons in content area */
.page-content .pure-button-primary {
    background: #2E7D32;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    margin: 1.5em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-content .cta-box {
    text-align: center;
}

/* Links in content area */
.page-content a {
    color: #2c3e50;
    text-decoration: underline;
}
.page-content a:hover {
    color: #2E7D32;
}
.page-content a.pure-button {
    text-decoration: none;
    color: white;
}

/* Paket 4: keyboard focus, reflow and form contrast. */
:root { --header-height: 68px; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { padding-top: var(--header-height); overflow-wrap: anywhere; }
.splash-container { margin-top: 0; }
[hidden] { display: none !important; }
a, button, input, textarea, [tabindex], [id] { scroll-margin-top: 1rem; }
:focus-visible, .pure-button:focus-visible {
    outline: 3px solid #143d1a;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
main:focus-visible { outline-offset: -3px; }
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #143d1a;
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.home-menu .pure-menu-heading { flex-shrink: 1; min-width: 0; }
.home-menu .pure-menu-heading img { max-width: 100%; object-fit: contain; }
.home-menu a[aria-current="page"] { font-weight: bold; text-decoration: underline; }
.pure-form input[type]:not([type="checkbox"]), .pure-form textarea {
    border: 2px solid #687782;
    border-radius: 4px;
    background: #fff;
    color: #2c3e50;
    width: 100%;
    padding: 0.5em;
}
.pure-form input::placeholder, .pure-form textarea::placeholder { color: #59636d; opacity: 1; }
.pure-form input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 0.4rem 0 0;
    vertical-align: middle;
    accent-color: #2e7d32;
}
.pure-form input[type]:focus-visible, .pure-form textarea:focus-visible {
    border-color: #143d1a;
    outline: 3px solid #143d1a;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}
.pure-form [aria-invalid="true"] { border-color: #a32020 !important; }
.field-error { display: block; color: #a32020; font-weight: bold; }
#contact-feedback { padding: 1rem; border: 2px solid #a32020; }
#contact-feedback h3 { margin-top: 0; }
.pure-button { max-width: 100%; white-space: normal; }
@media (max-width: 48em) {
    /* A static header with visible links remains usable if JS is unavailable. */
    .home-menu:has(.menu-toggle[hidden]) { position: static; }
    body:has(.menu-toggle[hidden]) { padding-top: 0; }
    .pure-menu-horizontal .pure-menu-list {
        position: static;
        max-height: calc(100vh - var(--header-height) - 1rem);
        max-height: calc(100dvh - var(--header-height) - 1rem);
        overflow-y: auto;
        padding: 0.5rem;
        white-space: normal;
    }
    .home-menu:has(.menu-toggle:not([hidden])) .pure-menu-list {
        position: absolute;
    }
    .page-content { padding: 1.5em 1em 2em; }
    .splash-head { font-size: 2rem; line-height: 1.2; }
}
@media (forced-colors: active) {
    :focus-visible { outline: 3px solid Highlight; }
}

/* Keep short contact links independently reachable on small screens. */
.page-content a[href^="tel:"], .page-content a[href^="mailto:"], .footer a {
    display: inline-block;
    min-height: 24px;
}

/* Paket 5: readable content and comfortable contact actions. */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; }
h1, h2, h3 { hyphens: auto; }
.splash-container-sub h1 { font-size: clamp(1.5rem, 4vw, 1.8rem); }
.splash-container-sub .splash { width: 100%; max-width: 60rem; height: auto; }
.pure-g > [class*="pure-u"] { min-width: 0; }
.pure-form textarea { resize: vertical; min-height: 9rem; }
.pure-form input[type]:not([type="checkbox"]):not([type="radio"]) {
    min-height: 44px;
}
.pure-form .consent-label {
    display: block;
    padding: 0.75rem 0;
    line-height: 1.6;
}
.pure-form input[type="checkbox"] { flex-shrink: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #687782;
    border-radius: 4px;
    font-weight: bold;
}
.page-content a[href^="tel:"], .page-content a[href^="mailto:"] {
    min-height: 44px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.pure-form button[type="submit"] {
    width: 100%;
    min-height: 44px;
    margin-top: 1rem;
}
.pure-form button[aria-disabled="true"] { cursor: wait; }
.submit-status { min-height: 1.6em; margin: 0.5rem 0; }
@media (max-width: 48em) {
    .splash-container { padding: 2rem 0; }
    .splash-container-sub { padding: 1.5rem 0; }
    .content { padding: 1rem 1rem 2rem; }
    .l-box-lrg { padding: 1rem; }
    .page-content .l-box { padding: 1rem 0; }
    .pure-button, a.pure-button-primary { padding: 0.75rem 1rem; }
    .footer { padding: 1.5rem 1rem; }
    .footer a { min-height: 44px; padding: 0.5rem 0.25rem; }
}
