﻿/* styles.css – Friendly Light Green (clean, no gradients) */
:root {
    /* Neutral + clean (less beige) */
    --bg: #eef4ea; /* sehr helles, frisches Grün */
    --surface: #ffffff;
    --text: #18211d;
    --muted: #4c6158;
    /* Friendly, lighter green */
    --accent-50: #eefaf2;
    --accent-100: #dcf6e6;
    --accent-200: #bff0d3;
    --accent-300: #98e7bd;
    --accent-600: #34b67a;
    --accent-700: #249a65;
    --border: rgba(24, 33, 29, .10);
    --shadow: 0 14px 40px rgba(18, 28, 23, .10);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1100px;
    --section-y: clamp(3.25rem, 5vw, 4.75rem);
    --gap: clamp(1rem, 2.2vw, 1.6rem);
    --header-h: 72px;
}

/* Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--text);
    background: var(--bg); /* keine Verläufe */
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 1.68;
    margin: 0 0 1rem;
}

h1, h2, h3, h4 {
    line-height: 1.15;
    margin: 0 0 .75rem;
}

strong {
    font-weight: 800;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}



.muted {
    color: var(--muted);
}

/* Skip link */
.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    transform: translateY(-160%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .6rem .85rem;
    box-shadow: var(--shadow);
    z-index: 999;
}

    .skip-link:focus {
        transform: translateY(0);
        outline: none;
    }

/* Anchor offset under sticky header */
section[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .92rem 1.12rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 650;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
    user-select: none;
    white-space: nowrap;
}

    .btn:active {
        transform: translateY(1px);
    }

    .btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 5px rgba(52,182,122,.18), 0 14px 28px rgba(18, 28, 23, .12);
    }

.btn--primary {
    background: var(--accent-700);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(36, 154, 101, .22);
}

    .btn--primary:hover {
        filter: brightness(1.05);
    }

.btn--secondary {
    background: var(--accent-100);
    border-color: rgba(52,182,122,.32);
    color: rgba(24,33,29,.92);
}

    .btn--secondary:hover {
        background: var(--accent-50);
        border-color: rgba(52,182,122,.44);
    }

.btn--ghost {
    background: rgba(255,255,255,.70);
    border-color: rgba(24,33,29,.14);
}

    .btn--ghost:hover {
        background: rgba(255,255,255,.85);
    }

.btn--small {
    padding: .65rem .95rem;
    font-weight: 600;
}

/* Ghost Button für dunklen Hintergrund */
.btn--light {
    border-color: rgba(255,255,255,0.75);
    color: #ffffff;
    background: rgba(255,255,255,0.10);
}

    .btn--light:hover {
        background: rgba(255,255,255,0.20);
    }

.text-link {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    font-weight: 800;
    color: var(--accent-700);
}

    .text-link:hover {
        text-decoration: underline;
    }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #eef4ea; /* hell & clean */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24,33,29,.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 0;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__logo {
    height: 44px;
    width: auto;
    display: block;
}

.brand__name {
    font-weight: 900;
    letter-spacing: .2px;
}

.brand__tag {
    font-size: .9rem;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

    .nav a {
        padding: .55rem .65rem;
        border-radius: 10px;
        color: rgba(24,33,29,.88);
    }

        .nav a:hover {
            background: rgba(255,255,255,.90);
            box-shadow: 0 10px 18px rgba(18, 28, 23, .06);
        }

.nav__cta {
    margin-left: .5rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(24,33,29,.10);
    background: rgba(255,255,255,.90);
    box-shadow: 0 10px 18px rgba(18, 28, 23, .07);
    cursor: pointer;
}

    .nav-toggle:focus-visible {
        outline: none;
        box-shadow: 0 0 0 5px rgba(52,182,122,.16), 0 10px 18px rgba(18, 28, 23, .07);
    }

    .nav-toggle span {
        display: block;
        height: 2px;
        margin: 6px 10px;
        background: rgba(24,33,29,.60);
        border-radius: 2px;
    }

/* Sections */
section {
    padding: var(--section-y) 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.2rem;
}

.section-head--left {
    text-align: left;
    margin: 0 0 1.5rem;
    max-width: 560px;
}

.section-head h2 {
    margin: 0 0 .5rem;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

/* HERO – helleres Grün, weniger “dunkel/dramatisch” */
.hero--full {
    position: relative;
    min-height: min(82vh, 860px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--section-y) - .25rem) 0;
    background-color: #2f7f62; /* fallback */
}

.hero__bgimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: saturate(1.18) brightness(1.08) contrast(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* keine Verläufe? -> hier: einfarbige, leichte Abdunklung für Lesbarkeit */
    background: rgba(15, 55, 40, .42);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 760px;
    padding: 2.75rem 0;
}

.badge {
    display: inline-flex;
    padding: .38rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.40);
    color: #ffffff;
    font-weight: 900;
    font-size: .9rem;
    margin: 0 0 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.10);
}

.hero--full h1 {
    margin: 0 0 .75rem;
    font-size: clamp(2rem, 3.1vw, 3rem);
    letter-spacing: -0.3px;
    color: #ffffff;
}

.lead {
    margin: 0 0 1.25rem;
    color: rgba(255,255,255,0.95);
    font-size: 1.06rem;
}

.hero__actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin: 0 0 1.25rem;
}

.hero__facts {
    display: grid;
    gap: .55rem;
    margin-top: .5rem;
    max-width: 520px;
}

.fact {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .62rem .78rem;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.20);
    backdrop-filter: blur(6px);
}

.fact__num {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(52,182,122,.28);
    color: #ffffff;
    font-weight: 900;
}

.fact__text {
    color: rgba(255,255,255,.94);
    font-weight: 650;
}

/* CTA – clean, ohne Verlauf */
.cta {
    padding: clamp(1.75rem, 3vw, 2.35rem) 0;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: clamp(1.1rem, 2.4vw, 1.55rem);
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid rgba(52,182,122,.22);
    box-shadow: 0 16px 36px rgba(18,28,23,.08);
}

.cta__text h2 {
    margin: 0 0 .4rem;
}

.cta__text p {
    margin: 0;
    color: var(--muted);
    max-width: 60ch;
}

.cta__actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

/* Split */
.split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 3vw, 2.2rem);
    align-items: stretch;
}

.split__left {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

    .split__left p {
        max-width: 70ch;
    }

.split__right {
    display: flex;
}

    .split__right > .image-quote {
        flex: 1;
    }

/* Image Quote – ohne Verlauf */
.image-quote {
    position: relative;
    height: 100%;
    min-height: clamp(420px, 52vh, 640px);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(24,33,29,.10);
    background: url("bank3.jpg") center / cover no-repeat;
    isolation: isolate;
    filter: saturate(1.08) brightness(1.10) contrast(1.01);
}

.image-quote--contact {
    min-height: clamp(340px, 40vh, 520px);
    background-image: url("pusteblume.jpg");
}

.image-quote__overlay {
    position: absolute;
    inset: 0;
    background: rgba(185, 205, 90, 0.22); /* einfarbig */
    z-index: 1;
}

.image-quote__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    color: #ffffff;
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: 0.2px;
    max-width: 30ch;
    margin: auto;
    text-shadow: 0 12px 28px rgba(0,0,0,.22);
}

    .image-quote__text::before {
       
        font-size: 3rem;
        opacity: 0.28;
        position: absolute;
        top: 1.05rem;
        left: 1.2rem;
    }

    .image-quote__text::after {
     
        font-size: 3rem;
        opacity: 0.28;
        position: absolute;
        bottom: 1.05rem;
        right: 1.2rem;
    }

/* Services – clean */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(24,33,29,.10);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(18,28,23,.09);
    padding: 1.35rem;
}

.service-card--long {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card h3 {
    margin: 0 0 .5rem;
}

.service-card p {
    margin: 0 0 .95rem;
    color: rgba(76,97,88,.98);
}

.service-card h4 {
    margin: .25rem 0 .6rem;
}

.details {
    border-radius: 14px;
    border: 1px solid rgba(24,33,29,.10);
    background: transparent; /* einfarbig (accent-50 Look) */
    padding: .75rem .9rem;
    margin: .15rem 0 1rem;
}

    .details > summary {
        cursor: pointer;
        font-weight: 900;
        color: rgba(24,33,29,.88);
        list-style: none;
    }

        .details > summary::-webkit-details-marker {
            display: none;
        }

        .details > summary::after {
            content: "▾";
            float: right;
            opacity: .7;
        }


    .details[open] > summary::after {
        content: "▴";
    }

    .details p {
        margin: .85rem 0 .85rem;
    }

.mini-list {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: rgba(24,33,29,.88);
}

    .mini-list li {
        margin: .35rem 0;
    }

.divider {
    border: 0;
    border-top: 1px solid rgba(24,33,29,.10);
    margin: 1rem 0 1rem;
}

.service-card .btn {
    margin-top: 0;
    align-self: flex-start;
}

/* About */
.about__grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
}

.about__image {
    border-radius: var(--radius);
    border: 1px solid rgba(24,33,29,.10);
    box-shadow: var(--shadow);
    min-height: clamp(770px, 42vh, 770px);
    background: url("portrait.png") center top/ cover no-repeat;
    filter: saturate(1.10) brightness(1.05);
}

.eyebrow {
    margin: 0 0 .4rem;
    font-weight: 900;
    color: var(--accent-700);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
}

.about__content h2 {
    margin: 0 0 .75rem;
}

.about__content p {
    margin: 0 0 1rem;
    color: rgba(76,97,88,.98);
    max-width: 72ch;
}

/* Contact */
.contact__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Macht die Kinder von .contact__form zu direkten Grid-Items */
.contact__form {
    display: contents;
}

    /* Der Header (Kontakt + Text) spannt über beide Spalten */
    .contact__form .section-head {
        grid-column: 1 / -1; /* volle Breite */
        text-align: center;
        max-width: 760px;
        margin: 0 auto 2.2rem;
    }

    /* Formular bleibt links in Spalte 1 */
    .contact__form .form {
        grid-column: 1 / 2;
    }

/* Rechte Spalte startet in der gleichen Zeile wie das Formular */
.contact__info {
    grid-column: 2 / 3;
    grid-row: 2; /* gleiche Reihe wie Formular */
    padding-top: 0 !important; /* Offset nicht mehr nötig */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-quote--contact {
    flex: 1;
    min-height: 0;
    height: auto;
}

.form {
    background: #ffffff;
    border: 1px solid rgba(24,33,29,.10);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(18,28,23,.09);
    padding: 1.25rem;
}

.form__row {
    display: grid;
    gap: .45rem;
    margin-bottom: .85rem;
}

label {
    font-weight: 900;
    font-size: .95rem;
}

input, textarea {
    width: 100%;
    padding: .85rem .9rem;
    border-radius: 14px;
    border: 1px solid rgba(24,33,29,.14);
    background: rgba(255,255,255,.98);
    outline: none;
    font: inherit;
}

    input:focus, textarea:focus {
        border-color: rgba(52,182,122,.65);
        box-shadow: 0 0 0 5px rgba(52,182,122,.14);
    }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: .6rem 0 1rem;
    color: rgba(24,33,29,.84);
}

    .checkbox input {
        width: 18px;
        height: 18px;
        margin-top: .2rem;
    }

.form__note {
    margin: .8rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.contact__mini {
    margin-top: auto;
    padding-top: 1rem;
}

.mini-card {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(24,33,29,.10);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(18,28,23,.08);
}

    .mini-card strong {
        display: block;
        margin-bottom: .35rem;
    }

    .mini-card p {
        margin: 0 0 .7rem;
    }

.mini-links {
    display: grid;
    gap: .35rem;
    margin-bottom: .8rem;
}
/* WhatsApp Icon – ruhig & passend */
.text-link--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.icon-whatsapp {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: var(--accent-700); /* dein Grün */
    -webkit-mask: url("whatsapp.avif") center / contain no-repeat;
    mask: url("whatsapp.avif") center / contain no-repeat;
}

.pill-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.pill {
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(52,182,122,.26);
    background: var(--accent-50);
    color: var(--accent-700);
    font-weight: 900;
    font-size: .85rem;
}

:root {
    --contact-head-offset: 124px; /* ggf. feinjustieren: 80–110px */
}

@media (max-width: 900px) {
    .contact__info {
        padding-top: 0;
    }
}

select {
    width: 100%;
    padding: .85rem .9rem;
    border-radius: 14px;
    border: 1px solid rgba(15,31,25,.16);
    background: rgba(255,255,255,.85);
    outline: none;
    font: inherit;
}

    select:focus {
        border-color: rgba(31,122,87,.55);
        box-shadow: 0 0 0 4px rgba(31,122,87,.12);
    }
/* Mobile: wieder normal untereinander */
@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__form {
        display: block; /* display: contents zurücknehmen */
    }

        .contact__form .section-head,
        .contact__form .form,
        .contact__info {
            grid-column: auto;
            grid-row: auto;
        }
}

/* Honeypot-Feld unsichtbar */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* Footer – clean */
.footer {
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(24,33,29,.08);
    background: #ffffff; /* keine Verläufe */
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer__links {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
}

    .footer__links a {
        color: rgba(24,33,29,.85);
    }

        .footer__links a:hover {
            text-decoration: underline;
        }

.footer__bottom {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(24,33,29,.08);
}

/* Responsive */
@media (max-width: 900px) {
    .split__grid,
    .services__grid,
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .about__image {
        min-height: 320px;
    }

    .image-quote {
        min-height: 320px;
    }

    .image-quote--contact {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero--full {
        min-height: 68vh;
    }

    .hero__content {
        padding: 2.25rem 0;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav.nav--open {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 68px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255,255,255,.97);
        border: 1px solid rgba(24,33,29,.10);
        border-radius: 16px;
        padding: .75rem;
        width: min(320px, calc(100% - 2rem));
        box-shadow: var(--shadow);
    }

        .nav.nav--open a {
            width: 100%;
        }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}

/* ===== AGB Darstellung kompakt ===== */

.agb-content {
    display: block !important;
    gap: 0 !important;
}

    .agb-content p {
        margin: 0 0 0.45rem !important;
        line-height: 1.45 !important;
    }

    .agb-content h2 {
        margin: 1.4rem 0 0.5rem !important;
    }

    .agb-content h3 {
        margin: 1rem 0 0.4rem !important;
    }

    .agb-content ul {
        margin: 0 0 0.8rem !important;
        padding-left: 1.1rem !important;
    }

    .agb-content li {
        margin: 0.3rem 0 !important;
    }
