@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/montserrat-latin-wght-normal-LaWOCQv.woff2") format('woff2');
}

:root {
    /* Brand colours, taken from the logo */
    --color-green: #284c23;
    --color-green-dark: #1a3417;
    --color-accent: #2f7a37;
    --color-accent-light: #d6e021;
    --color-text: #1e2a1c;
    --color-text-muted: #525f4e;
    --color-border: #dde6d8;
    --color-surface: #ffffff;
    --color-surface-muted: #f3f7f0;
    --color-success: #1e7a4c;
    --color-error: #b42318;

    --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 10px;
    --shadow: 0 1px 2px rgb(26 52 23 / 6%), 0 8px 24px rgb(26 52 23 / 8%);
    --container: 1180px;
    --gutter: clamp(1rem, 4vw, 2rem);
}

/* Base */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin: 0 0 0.75rem;
    line-height: 1.2;
    color: var(--color-green);
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p {
    margin: 0 0 1rem;
}

a {
    color: var(--color-accent);
}

a:hover {
    color: var(--color-green);
}

:focus-visible {
    outline: 3px solid var(--color-accent-light);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 860px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.5rem 1rem;
    background: var(--color-green);
    color: #fff;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

.icon {
    flex-shrink: 0;
    vertical-align: -0.125em;
}

.eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.eyebrow--light {
    color: var(--color-accent-light);
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border: 2px solid var(--color-green);
    border-radius: 999px;
    background: var(--color-green);
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.button--small {
    padding: 0.55rem 1.2rem;
}

.button--light {
    background: #fff;
    border-color: #fff;
    color: var(--color-green);
}

.button--light:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-green-dark);
}

.button--outline-light {
    background: transparent;
    border-color: rgb(255 255 255 / 60%);
}

.button--outline-light:hover {
    background: rgb(255 255 255 / 10%);
    border-color: #fff;
}

.button--outline {
    background: transparent;
    color: var(--color-green);
}

.button--outline:hover {
    background: var(--color-green);
    border-color: var(--color-green);
    color: #fff;
}

/* Header: logo and menu on white, contact details in a green panel with a diagonal edge (as on the Webflow site) */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    /* The green panel bleeds to the right edge of the screen; clip only sideways so the mobile menu can drop down. */
    overflow-x: clip;
}

.site-header__inner {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    min-height: 90px;
}

.site-header__brand {
    display: flex;
    align-items: center;
}

.site-header__brand img {
    width: 210px;
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    color: var(--color-green);
    font-weight: 600;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current='page'] {
    color: var(--color-accent);
}

.site-nav__link[aria-current='page'] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4em;
}

.site-header__contact {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-left: 5.5rem;
    color: #fff;
}

/* The panel: dark green, running to the right edge of the screen, with a lighter green stripe along the diagonal. */
.site-header__contact::before,
.site-header__contact::after {
    position: absolute;
    inset: 0 -100vw 0 0;
    z-index: -1;
    content: '';
    clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%);
}

.site-header__contact::before {
    left: -5px;
    background: #4caf50;
}

.site-header__contact::after {
    background: var(--color-green);
}

.site-header__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__contact-link:hover {
    color: var(--color-accent-light);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: #fff;
    content: '';
    transition: transform 0.2s;
}

.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }

.nav-toggle[aria-expanded='true'] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Not enough room for the email address next to the menu: show only the icons. */
@media (max-width: 1180px) {
    .site-header__contact-link {
        font-size: 1.25rem;
    }

    .site-header__contact-text {
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 860px) {
    .site-header__inner {
        min-height: 68px;
        gap: 1rem;
    }

    .site-header__brand img {
        width: 180px;
    }

    .site-header__contact {
        gap: 0.75rem;
        padding-left: 3.5rem;
    }

    .site-header__contact::before,
    .site-header__contact::after {
        clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile menu: a panel in the header's green under the header, with the links centred. */
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem var(--gutter) 1.5rem;
        background: var(--color-green);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav__link {
        justify-content: center;
        width: 100%;
        padding-block: 0.9rem;
        color: #fff;
        font-size: 1.05rem;
    }

    .site-nav__link:hover,
    .site-nav__link[aria-current='page'] {
        color: var(--color-accent-light);
    }

    .site-nav__link:hover {
        background: rgb(255 255 255 / 8%);
    }
}

@media (max-width: 420px) {
    .site-header__brand img {
        width: 150px;
    }

    .site-header__contact {
        padding-left: 2.75rem;
    }
}

/* Hero & page header */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgb(214 224 33 / 18%), transparent 45%),
        linear-gradient(135deg, var(--color-green-dark), var(--color-green) 65%, #3a7a3c);
    color: #fff;
}

/* The circle "G" from the logo as a faint, static pattern on the left (decorative, so CSS rather than an <img>). */
.hero::before {
    position: absolute;
    top: 50%;
    /* Sized to the hero's height so the whole G stays visible; starts a little left of the text column. */
    left: max(-110px, calc((100vw - var(--container)) / 2 - 190px));
    height: min(88%, 600px);
    aspect-ratio: 1;
    background: url("../images/logo-g-Vp4P9Xl.svg") center / contain no-repeat;
    opacity: 0.1;
    transform: translateY(-50%);
    content: '';
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(3rem, 8vw, 6rem);
}

.hero h1 {
    color: #fff;
}

.hero__accent {
    display: block;
    color: var(--color-accent-light);
}

.hero__lead {
    max-width: 36rem;
    font-size: 1.1rem;
    color: rgb(255 255 255 / 85%);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* Hero photo carousel */

.carousel {
    position: relative;
    border-radius: calc(var(--radius) * 1.5);
    overflow: hidden;
    box-shadow: 0 24px 48px rgb(0 0 0 / 30%);
}

.carousel__viewport {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-green-dark);
}

.carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel__slide.is-active {
    opacity: 1;
}

/* Controls only work with JavaScript (the controller adds .is-ready). */
.carousel__button,
.carousel__dots {
    display: none;
}

.carousel.is-ready .carousel__button {
    display: grid;
}

.carousel.is-ready .carousel__dots {
    display: flex;
}

.carousel__button {
    position: absolute;
    top: 50%;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgb(26 52 23 / 55%);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.15s;
}

.carousel__button:hover {
    background: rgb(26 52 23 / 85%);
}

.carousel__button--prev { left: 0.75rem; }
.carousel__button--next { right: 0.75rem; }

.carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    gap: 0.25rem;
    transform: translateX(-50%);
}

/* 24px hit area around a small visible dot. */
.carousel__dot {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.carousel__dot::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(255 255 255 / 55%);
    box-shadow: 0 0 0 1px rgb(0 0 0 / 15%);
    content: '';
    transition: background-color 0.15s, transform 0.15s;
}

.carousel__dot[aria-current='true']::before {
    background: var(--color-accent-light);
    transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
    .carousel__slide {
        transition: none;
    }
}

.page-header {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    color: #fff;
}

.page-header .eyebrow {
    color: var(--color-accent-light);
}

.page-header h1 {
    margin: 0;
    color: #fff;
}

.page-header__lead {
    max-width: 44rem;
    margin: 0.75rem 0 0;
    font-size: 1.1rem;
    color: rgb(255 255 255 / 85%);
}

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    /* Stacked layout: behind the text only, not stretched over the whole (tall) hero. */
    .hero::before {
        top: 1.5rem;
        left: -90px;
        height: auto;
        width: min(420px, 95vw);
        transform: none;
    }
}

/* Sections */

.section {
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--muted {
    background: var(--color-surface-muted);
}

.section-heading {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card p {
    flex-grow: 1;
    color: var(--color-text-muted);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--color-surface-muted);
    color: var(--color-accent);
    font-size: 1.5rem;
}

.card {
    scroll-margin-top: 110px;
}

.card--cta {
    justify-content: center;
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    border-color: transparent;
    color: #fff;
}

.card--cta .card__title {
    color: #fff;
}

.card--cta p {
    flex-grow: 0;
    color: rgb(255 255 255 / 85%);
}

.card--cta .button {
    align-self: flex-start;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
}

.card__link:hover .icon {
    transform: translateX(3px);
}

.card__link .icon {
    transition: transform 0.15s;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.split--reverse .split__image {
    order: -1;
}

.split__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split__text p {
    color: var(--color-text-muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.75rem 0 2rem;
    padding: 0;
    list-style: none;
}

.values li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: var(--color-surface-muted);
    color: var(--color-green);
    font-weight: 600;
}

.values .icon {
    color: var(--color-accent);
    font-size: 1.2rem;
}

@media (max-width: 420px) {
    .values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__image {
        order: 0;
    }
}

.panel {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Service list (error pages) */

.dienst__aside-heading {
    font-size: 1.1rem;
}

.dienst__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dienst__menu a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
}

.dienst__menu li:last-child a {
    border-bottom: 0;
}

.dienst__menu a:hover,
.dienst__menu a[aria-current='page'] {
    color: var(--color-accent);
}

.dienst__menu a[aria-current='page'] {
    font-weight: 700;
}

/* Error pages */

.error-page {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
}

.error-page__text .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-green);
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (max-width: 860px) {
    .error-page {
        grid-template-columns: 1fr;
    }
}

/* Long-form text */

.prose .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-green);
}

.prose ul,
.prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.4rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose li::marker {
    color: var(--color-accent);
}

.prose--legal {
    font-size: 0.95rem;
}

.prose--legal h2 {
    margin-top: 2.5rem;
    font-size: 1.3rem;
    scroll-margin-top: 100px;
}

.legal-details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1.5rem;
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-surface-muted);
    border-radius: var(--radius);
}

.legal-details dt {
    font-weight: 600;
}

.legal-details dd {
    margin: 0;
}

.legal-updated {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 560px) {
    .legal-details {
        grid-template-columns: 1fr;
    }

    .legal-details dd {
        margin-bottom: 0.5rem;
    }
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
}

.contact-grid__photo {
    width: 100%;
    margin-top: 2rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-details {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-details .icon {
    margin-top: 0.3em;
    color: var(--color-accent);
}

.contact-details a {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--color-accent);
}

turbo-frame {
    display: block;
}

.contact-form > div {
    margin-bottom: 1.1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgb(47 122 55 / 18%);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form ul {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-error);
    font-size: 0.9rem;
}

.contact-form > ul {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fdecea;
}

.contact-form [aria-invalid='true'] {
    border-color: var(--color-error);
}

.contact-form__privacy {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.contact-form__recaptcha-notice {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Hidden in favour of the notice under the contact form, which Google's terms then require. */
.grecaptcha-badge {
    visibility: hidden;
}

.contact-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert--success {
    background: #e7f5ee;
    color: var(--color-success);
}

/* Footer */

.site-footer {
    background: var(--color-green-dark);
    color: rgb(255 255 255 / 80%);
    font-size: 0.95rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

/* The circle "G" from the logo; its colours stand out well enough on the dark green without a backing. */
.site-footer__logo img {
    width: 96px;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-footer__heading {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.site-footer__links {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: rgb(255 255 255 / 80%);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__bottom {
    padding-block: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 12%);
    font-size: 0.85rem;
    color: rgb(255 255 255 / 60%);
}

@media (max-width: 860px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}
