/* ============================================================
   ANDREA FREY – HYLA-BERATUNG
   style.css  |  Hauptstylesheet

   Schriften:   Playfair Display (Headlines) · DM Sans (Text)
   Ästhetik:    Filigran, feminin, modern – Lifestyle-Qualität
   Farbpalette: Pastellgrün · Creme · Salbei · Zartes Rosé
   ============================================================ */


/* ── CSS-Variablen ─────────────────────────────────────────── */
:root {
    /* Farben */
    --c-creme:       #f8f4ee;    /* Seitenhintergrund */
    --c-creme-alt:   #f0ebe2;    /* Abwechselnde Sektionen */
    --c-gruen:       #b5c9b2;    /* Pastellgrün, sanft */
    --c-salbei:      #8aaa85;    /* Salbei, Hauptakzent */
    --c-salbei-dk:   #5e7a5a;    /* Dunkleres Grün für Hover */
    --c-rose:        #eddad2;    /* Zartes Rosé, Kontaktsektion */
    --c-text:        #3a3530;    /* Haupttext, warmbraun-schwarz */
    --c-text-mid:    #6b6058;    /* Sekundärtext */
    --c-text-hell:   #9a9088;    /* Hilfstext, Labels */
    --c-border:      #e4ded5;    /* Zarte Linien */
    --c-weiss:       #ffffff;

    /* Schriften */
    --f-serif:  'Playfair Display', Georgia, serif;
    --f-sans:   'DM Sans', system-ui, -apple-system, sans-serif;

    /* Abstände */
    --sp-xs:  0.5rem;
    --sp-s:   1rem;
    --sp-m:   2rem;
    --sp-l:   4rem;
    --sp-xl:  6rem;
    --sp-xxl: 9rem;

    /* Übergänge */
    --t: 0.28s ease;

    /* Schatten */
    --shadow:    0 4px 28px rgba(58, 53, 48, 0.09);
    --shadow-sm: 0 2px 12px rgba(58, 53, 48, 0.06);

    /* Radien */
    --r-s:  8px;
    --r-m:  16px;
    --r-l:  24px;
    --r-xl: 40px;

    /* Container */
    --max-w: 1200px;
    --pad:   clamp(1.25rem, 5vw, 3rem);
}


/* ── Reset & Basis ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--f-sans);
    color: var(--c-text);
    background-color: var(--c-creme);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

fieldset {
    border: none;
}

legend {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}


/* ── Typografie ────────────────────────────────────────────── */
h1,
h2,
h3 {
    font-family: var(--f-serif);
    line-height: 1.2;
    color: var(--c-text);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

p {
    font-weight: 300;
    color: var(--c-text-mid);
    line-height: 1.8;
}

em {
    font-style: italic;
    color: var(--c-salbei-dk);
}

strong {
    font-weight: 500;
    color: var(--c-text);
}


/* ── Hilfsklassen ──────────────────────────────────────────── */
.hidden {
    display: none !important;
}

.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* Oberkategorie-Label über Headlines */
.eyebrow {
    display: block;
    font-family: var(--f-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-salbei);
    margin-bottom: 0.6rem;
}

/* Pflichtfeld-Stern */
.required {
    color: var(--c-salbei-dk);
    margin-left: 2px;
}

/* Optionaler Hinweis im Label */
.label-optional {
    font-weight: 300;
    color: var(--c-text-hell);
    font-size: 0.82rem;
}


/* ── Scroll-Reveal-Animation ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gestaffelte Verzögerung für Listen */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }


/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-family: var(--f-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: background-color var(--t), color var(--t), border-color var(--t),
                box-shadow var(--t), transform var(--t);
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--c-salbei);
    color: var(--c-weiss);
    border-color: var(--c-salbei);
    box-shadow: 0 4px 20px rgba(138, 170, 133, 0.32);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: var(--c-salbei-dk);
    border-color: var(--c-salbei-dk);
    box-shadow: 0 6px 28px rgba(94, 122, 90, 0.38);
    transform: translateY(-2px);
    outline: none;
}

.btn--ghost {
    background-color: transparent;
    color: var(--c-text-mid);
    border-color: var(--c-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--c-salbei);
    color: var(--c-salbei-dk);
    transform: translateY(-2px);
    outline: none;
}

.btn--full {
    width: 100%;
}


/* ── Instagram-Link ────────────────────────────────────────── */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--c-salbei-dk);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color var(--t);
}

.instagram-link:hover {
    color: var(--c-salbei);
}

.instagram-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.instagram-link--lg {
    font-size: 1.05rem;
}

.instagram-link--lg .instagram-icon {
    width: 22px;
    height: 22px;
}


/* ── Ornament-Trenner mit Gradient-Übergang ────────────────── */
/*
   Der Divider liegt genau auf dem Sektionsübergang:
   - negative Margins ziehen ihn je 64px in die angrenzenden Sektionen
   - der Gradient-Hintergrund blended nahtlos zwischen den Sektionsfarben
   - das Ornament sitzt zentriert auf dieser Übergangszone
*/
.divider {
    position: relative;
    z-index: 5;
    height: 300px;
    /* Negative Margins = Section-Padding (--sp-xl = 6rem)
       → Divider schluckt genau das angrenzende Padding beider Sektionen,
         Gesamtabstand = exakt 300px */
    margin-top: calc(-1 * var(--sp-xl));
    margin-bottom: calc(-1 * var(--sp-xl));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient-Varianten je nach benachbarten Sektionsfarben */
.divider--alt-to-creme {
    background: linear-gradient(to bottom, var(--c-creme-alt), var(--c-creme));
}

.divider--creme-to-alt {
    background: linear-gradient(to bottom, var(--c-creme), var(--c-creme-alt));
}

.divider--creme-to-rose {
    background: linear-gradient(to bottom, var(--c-creme), var(--c-rose));
}

/* Ornament-Bild im Divider */
.divider__img {
    width: min(340px, 52vw);
    height: auto;
    opacity: 0.5;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.divider__img--flip {
    transform: scaleX(-1);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 100;
    padding-block: 1rem;
    transition: background-color var(--t), box-shadow var(--t), padding var(--t);
}

/* Hintergrund erscheint beim Scrollen – via ::before damit kein neuer
   Containing Block für position:fixed Kinder entsteht (backdrop-filter-Bug) */
.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(248, 244, 238, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity var(--t);
    z-index: -1;
}

.nav.scrolled::before {
    opacity: 1;
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
    padding-block: 0.55rem;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo-Wrapper hält die Nav-Höhe konstant (62px),
   das Bild darf initial darüber hinaus nach unten ragen.
   Beim Scrollen schrumpft das Logo zurück auf 62px. */
.nav__logo {
    display: flex;
    align-items: flex-start;
    height: 62px;
}

.nav__logo img {
    height: 93px;
    width: auto;
    transition: height var(--t);
}

.nav.scrolled .nav__logo img {
    height: 62px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--c-text-mid);
    transition: color var(--t);
    letter-spacing: 0.02em;
}

.nav__links a:hover {
    color: var(--c-salbei-dk);
}

/* CTA-Link in der Nav */
.nav__cta {
    padding: 0.5rem 1.3rem;
    border-radius: 100px;
    background-color: var(--c-salbei) !important;
    color: var(--c-weiss) !important;
    font-weight: 500 !important;
    transition: background-color var(--t), transform var(--t) !important;
}

.nav__cta:hover {
    background-color: var(--c-salbei-dk) !important;
    transform: translateY(-1px);
}

/* Burger-Button (nur auf Mobilgeräten sichtbar) */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 101;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--c-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger-Animation (aktiv = X) */
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    /* Mindestens 140px, damit das überstehende Logo (93px + Nav-Padding)
       den Hero-Inhalt nie überlappt */
    padding-block-start: clamp(140px, 16vh, 170px);
    padding-block-end: var(--sp-m);
    background-color: var(--c-creme);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Dekorative Ecken-Ornamente */
.hero__ornament {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero__ornament--tl {
    top: 100px;
    left: -15px;
    width: 160px;
    opacity: 0.45;
    transform: rotate(-35deg);
}

.hero__ornament--br {
    bottom: 50px;
    right: -15px;
    width: 160px;
    opacity: 0.45;
    transform: rotate(145deg);
}

/* Zweispaltiges Hero-Layout */
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: var(--sp-m);
}

.hero__headline {
    line-height: 1.1;
}

.hero__sub {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 460px;
}

.hero__btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: var(--sp-xs);
}

/* Portrait-Bereich */
.hero__image-wrap {
    position: relative;
}

/* Ornament unterhalb des Portraits */
.hero__image-ornament {
    position: absolute;
    bottom: -28px;
    left: -30px;
    width: 200px;
    opacity: 0.55;
    pointer-events: none;
}

.hero__image {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    margin-inline-start: auto;
}



/* ============================================================
   HYLA-SEKTION
   ============================================================ */
.hyla {
    padding-block-start: var(--sp-m);
    padding-block-end: var(--sp-xl);
    /* Sanfter Einlauf aus dem Hero (creme) */
    background: linear-gradient(to bottom, var(--c-creme) 0px, var(--c-creme-alt) 240px);
}

/* ── Breiterer Container für HYLA-Grid ───────────────────── */
.container--wide {
    max-width: min(calc(var(--max-w) + 220px), 100% - 2 * var(--pad));
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* ── HYLA-Grid ────────────────────────────────────────────── */
.hyla-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--sp-m);
}

/* ── Kacheln ──────────────────────────────────────────────── */
.hyla-card {
    background-color: var(--c-weiss);
    border: 1px solid var(--c-border);
    border-radius: var(--r-l);
    padding: var(--sp-m);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--t), box-shadow var(--t);
}

.hyla-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Große Hero-Kachel: 2/3 Breite, Zeile 1 */
.hyla-card--hero {
    grid-column: span 2;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    align-items: stretch;
}

.hyla-card__visual {
    flex: 0 0 38%;
    background-color: var(--c-creme-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-m);
}

.hyla-card__visual img {
    max-width: 140px;
    width: 100%;
}

.hyla-card__body {
    flex: 1;
    padding: var(--sp-m) var(--sp-l) calc(var(--sp-m) + 6px) var(--sp-m);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}

.hyla-card__body h2 {
    margin-bottom: 0.25rem;
}

.hyla-card__body p {
    font-size: 0.95rem;
}

/* Icon-Badge (Feature-Kacheln) */
.hyla-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-s);
    background-color: rgba(181, 201, 178, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hyla-feature__icon svg {
    width: 21px;
    height: 21px;
    stroke: var(--c-salbei-dk);
}

.hyla-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--c-text);
}

.hyla-card p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.65;
}


/* ============================================================
   ABLAUF
   ============================================================ */
.ablauf {
    padding-block: var(--sp-xl);
    background-color: var(--c-creme-alt);
    text-align: center;
    position: relative;
    z-index: 1;
}

.ablauf__cta,
.testimonials__cta {
    display: block;
    width: fit-content;
    margin: var(--sp-l) auto 0;
}

.ablauf .eyebrow,
.ablauf h2 {
    text-align: center;
}

/* Dreispaltiges Grid, verbunden durch eine zarte Linie */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-m);
    margin-top: var(--sp-l);
    position: relative;
}

/* Dezente Verbindungslinie, zentriert auf Höhe der Icon-Gruppe */
.steps::before {
    content: '';
    position: absolute;
    top: calc(var(--sp-m) + 32px); /* Mitte der 64px-Icon-Gruppe */
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--c-gruen) 30%,
        var(--c-gruen) 70%,
        transparent
    );
    opacity: 0.35;
    pointer-events: none;
}

.step {
    padding: var(--sp-m) var(--sp-s);
    text-align: center;
}

/* Favicon-Blatt hinter der Zahl */
.step__icon-group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    margin-bottom: var(--sp-s);
}

.step__leaf {
    position: absolute;
    width: 58px;
    height: 58px;
    object-fit: contain;
    opacity: 0.28;
    z-index: 0;
    transform: rotate(-10deg); /* Leicht gedreht für natürliches Aussehen */
}

/* Große, dekorative Zahl – liegt über dem Blatt */
.step__number {
    position: relative;
    z-index: 1;
    font-family: var(--f-serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--c-gruen);
    opacity: 0.8;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.88rem;
    line-height: 1.75;
}


/* ============================================================
   ÜBER MICH
   ============================================================ */
.about {
    padding-block: var(--sp-xl);
    background-color: var(--c-creme);
    position: relative;
    z-index: 1;
}

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

.about__text {
    margin-top: var(--sp-s);
    font-size: 1.05rem;
    max-width: 540px;
}

.about__btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: var(--sp-l);
    margin-bottom: 32px;
}

.about__instagram {
    margin-top: var(--sp-m);
    padding-top: var(--sp-m);
    border-top: 1px solid var(--c-border);
    display: flex;
    align-items: center;
}

/* Portrait rechts in der Über-mich-Sektion */
.about__portrait img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    margin-inline: auto;
}


/* ============================================================
   KUNDENSTIMMEN
   ============================================================ */
.testimonials {
    padding-block: var(--sp-xl);
    background-color: var(--c-creme);
    text-align: center;
}

.testimonials .eyebrow,
.testimonials h2 {
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Kacheln behalten ihre natürliche Höhe statt sich
       auf die höchste Kachel der Zeile zu strecken */
    align-items: start;
    gap: var(--sp-m);
    margin-top: var(--sp-l);
    max-width: 900px;
    margin-inline: auto;
    text-align: left;
}

.testimonial {
    background-color: var(--c-weiss);
    border: 1px solid var(--c-border);
    border-radius: var(--r-l);
    padding: var(--sp-m);
    position: relative;
    transition: transform var(--t), box-shadow var(--t);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* Großes Anführungszeichen als Dekoration */
.testimonial::before {
    content: '\201C';
    font-family: var(--f-serif);
    font-size: 4rem;
    line-height: 0.8;
    color: var(--c-gruen);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.4rem;
}

/* Screenshot-Variante: echte Google-Rezensionen als Bild */
.testimonial--screenshot {
    padding: 0;
    overflow: hidden;
    margin: 0;
}

.testimonial--screenshot::before {
    content: none;
}

.testimonial--screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

.testimonial__stars {
    color: #d9a441;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.6rem;
}

.testimonial__quote {
    font-style: italic;
    color: var(--c-text-mid);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: var(--sp-s);
}

.testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-style: normal;
}

.testimonial__author strong {
    font-size: 0.88rem;
}

.testimonial__author span {
    font-size: 0.78rem;
    color: var(--c-text-hell);
}


/* ============================================================
   KONTAKT
   ============================================================ */
.contact {
    padding-block: var(--sp-xl);
    background-color: var(--c-rose);
    position: relative;
    overflow: hidden;
}

.contact__inner {
    max-width: 660px;
}

.contact__header {
    text-align: center;
    margin-bottom: var(--sp-l);
}

.contact__lead {
    font-size: 1.05rem;
    margin-top: 0.6rem;
}

/* WhatsApp-Button */
.contact__whatsapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-s);
}

.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 2rem;
    background-color: #25D366;
    color: #fff;
    font-family: var(--f-sans);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--r-s);
    transition: background-color var(--t), box-shadow var(--t), transform var(--t);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
    background-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    flex-shrink: 0;
}

.whatsapp-note {
    font-size: 0.82rem;
    color: var(--c-text-hell);
    text-align: center;
    max-width: 340px;
}

/* Persönliche Verabschiedung unter dem Formular */
.contact-signoff {
    text-align: center;
    margin-top: var(--sp-l);
    font-family: var(--f-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--c-text-mid);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: #2e2b27;
    color: rgba(248, 244, 238, 0.65);
    padding-block: var(--sp-l) var(--sp-m);
    text-align: center;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-s);
}

/* Logo im Footer: aufgehellt damit es auf dunklem Hintergrund lesbar ist */
.footer__logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    margin-inline: auto;
}

.footer__tagline {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 244, 238, 0.4);
    margin-top: -0.3rem;
}

.footer__nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer__nav a {
    font-size: 0.85rem;
    color: rgba(248, 244, 238, 0.6);
    transition: color var(--t);
}

.footer__nav a:hover {
    color: var(--c-creme);
}

.footer__legal {
    font-size: 0.8rem;
    color: rgba(248, 244, 238, 0.4);
}

.footer__legal a {
    color: rgba(248, 244, 238, 0.5);
    transition: color var(--t);
}

.footer__legal a:hover {
    color: var(--c-creme);
}

.footer__copy {
    font-size: 0.75rem;
    color: rgba(248, 244, 238, 0.3);
}


/* ============================================================
   RESPONSIV – TABLET (max. 960px)
   ============================================================ */
@media (max-width: 960px) {

    /* Hero: einspaltiges Layout */
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text {
        align-items: center;
    }

    .hero__sub {
        max-width: 100%;
    }

    .hero__btns {
        justify-content: center;
    }

    .hero__image {
        max-width: 360px;
        margin-inline: auto;
    }

    .hero__ornament--tl,
    .hero__ornament--br {
        display: none; /* Ornamente auf kleinen Bildschirmen ausblenden */
    }

    /* HYLA: Grid auf Tablet – Hero oben über volle Breite, darunter 2 Spalten */
    .hyla-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hyla-card--hero {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .hyla-card--hero .hyla-card__body {
        padding: var(--sp-m);
    }

    /* Über mich: einspaltiges Layout */
    .about__inner {
        grid-template-columns: 1fr;
    }

    /* Portrait auf Tablet: zentriert unter dem Text */
    .about__portrait {
        display: flex;
        justify-content: center;
    }

    /* Testimonials: 1 Spalte */
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }

    /* Schritte untereinander */
    .steps {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-inline: auto;
    }

    .steps::before {
        display: none; /* Verbindungslinie entfällt */
    }

}


/* ============================================================
   RESPONSIV – MOBIL (max. 640px)
   ============================================================ */
@media (max-width: 640px) {

    /* Nav: Burger-Menü einblenden */
    .nav__links {
        /* Standard: versteckt */
        display: none;
        position: fixed;
        inset: 0;
        background-color: var(--c-creme);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 99;
    }

    .nav__links.open {
        display: flex;
    }

    .nav__links a {
        font-size: 1.35rem;
    }

    .nav__burger {
        display: flex;
    }

    /* Hero-Bild kleiner */
    .hero__image {
        max-width: 280px;
    }

    /* Buttons untereinander */
    .hero__btns {
        flex-direction: column;
        width: 100%;
    }

    .hero__btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* HYLA: Auf Mobil alles einspaltig */
    .hyla-grid {
        grid-template-columns: 1fr;
    }

    .hyla-card--hero {
        grid-column: 1;
        flex-direction: column;
    }

    .hyla-card__visual {
        min-height: 160px;
    }

    /* Kontakt: volle Breite */
    .contact__inner {
        max-width: 100%;
    }

}


/* ── Cookie-Banner ─────────────────────────────────────────── */
/* Dezent unten mittig eingeblendet, passend zur Farbwelt.
   Wird per JS sichtbar geschaltet (Klasse .visible).          */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 300;
    transform: translate(-50%, calc(100% + 2rem));
    display: flex;
    align-items: center;
    gap: var(--sp-m);
    width: min(680px, calc(100% - 2rem));
    padding: 0.9rem 1.5rem;
    background-color: var(--c-weiss);
    border: 1px solid var(--c-border);
    border-radius: var(--r-m);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.cookie-banner.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.cookie-banner__text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--c-text-mid);
}

.cookie-banner__btns {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-banner__btn {
    font-family: var(--f-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
}

.cookie-banner__btn--primary {
    background-color: var(--c-salbei);
    color: var(--c-weiss);
}

.cookie-banner__btn--primary:hover {
    background-color: var(--c-salbei-dk);
}

.cookie-banner__btn--ghost {
    background-color: transparent;
    color: var(--c-text-mid);
    border-color: var(--c-border);
}

.cookie-banner__btn--ghost:hover {
    border-color: var(--c-text-hell);
    color: var(--c-text);
}

/* Mobil: Text und Buttons untereinander */
@media (max-width: 560px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem 1.25rem;
    }

    .cookie-banner__btns {
        justify-content: center;
    }
}


/* ── Rechtsseiten (Impressum & Datenschutz) ────────────────── */

.legal {
    padding-block: calc(var(--sp-xl) + 110px) var(--sp-xl);
}

.legal__inner {
    max-width: 760px;
}

.legal h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: var(--sp-m);
}

.legal h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    margin-block: var(--sp-l) var(--sp-s);
}

.legal h3 {
    font-size: 1.15rem;
    margin-block: var(--sp-m) 0.6rem;
}

.legal h4 {
    font-family: var(--f-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-text);
    margin-block: 1.25rem 0.4rem;
}

.legal p {
    color: var(--c-text-mid);
    margin-bottom: 1rem;
}

.legal ul {
    list-style: disc;
    padding-left: 1.4rem;
    color: var(--c-text-mid);
    margin-bottom: 1rem;
}

.legal ul li {
    margin-bottom: 0.6rem;
}

.legal a {
    color: var(--c-salbei-dk);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t);
}

.legal a:hover {
    color: var(--c-text);
}

/* Link in Banner-Text dezent unterstreichen */
.cookie-banner__text a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--c-text);
}
