/* =================================================================
   Dr. med. vet. Abigail Guija — Klinische Pathologie
   Apple-style minimalism + Anthropic warmth.
   ================================================================= */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
    /* Brand palette — Mandys / Chathams / Rose / Bali */
    --navy:        #133D79;   /* Chathams Blue */
    --navy-soft:   #2A4D8C;   /* mid-tone for body */
    --navy-muted:  #7C8CAC;   /* Bali Hai — secondary text */
    --pink-soft:   #F6C0C1;   /* Mandys Pink */
    --pink-wash:   #FDF2F2;   /* derived light wash */
    --rose-bud:    #F9AEA4;   /* Rose Bud — warm coral accent */
    --white:       #ffffff;
    --off-white:   #fbfbfd;
    --border:      rgba(19, 61, 121, 0.10);
    --border-soft: rgba(19, 61, 121, 0.06);

    /* Shadow (navy-tinted) */
    --shadow-sm:  0 1px 3px  rgba(19, 61, 121, 0.06),
                  0 1px 2px  rgba(19, 61, 121, 0.04);
    --shadow-md:  0 12px 32px rgba(19, 61, 121, 0.10),
                  0 4px 12px  rgba(19, 61, 121, 0.05);
    --shadow-lg:  0 30px 60px rgba(19, 61, 121, 0.16),
                  0 12px 24px rgba(19, 61, 121, 0.08);

    /* Layout */
    --nav-height: 68px;
    --container:  1200px;
    --container-narrow: 760px;

    /* Motion */
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --ease-quart:  cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "SF Pro Display",
                 "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    color: var(--navy-soft);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container.narrow { max-width: var(--container-narrow); }

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 0.35rem 0.85rem;
    background: var(--pink-wash);
    border-radius: 999px;
    margin-bottom: 1.2rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.1;
    color: var(--navy);
}

.section-header .section-lead {
    margin-top: 1rem;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--navy-muted);
    line-height: 1.6;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease),
                background 0.25s var(--ease),
                color 0.25s var(--ease),
                box-shadow 0.25s var(--ease);
    text-decoration: none;
}
.btn-primary {
    background: var(--navy);
    color: var(--white);
}
.btn-primary:hover {
    background: #0E2D5C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: var(--pink-wash);
    border-color: transparent;
}
/* Hero "Leistungen ansehen" button — always shows the hover background */
.hero-cta .btn-ghost {
    background: #F1E6E6;              /* muted, slightly toned-down pink */
    border-color: transparent;
}
.hero-cta .btn-ghost:hover {
    background: #ECDADA;              /* slightly stronger on hover */
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* ============================================================
   Glass Navigation
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(251, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.nav-scrolled {
    border-bottom-color: var(--border-soft);
    box-shadow: 0 1px 0 rgba(19, 61, 121, 0.02), 0 6px 20px rgba(19, 61, 121, 0.04);
}
.nav-inner {
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Logo overflows the nav bar downward — "pestaña" style (augenarzt-nigl) */
.nav-brand {
    display: flex;
    align-items: flex-start;
    height: 100%;
    position: relative;
    z-index: 2;
}
.nav-brand img {
    height: 110px;
    width: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(19, 61, 121, 0.10),
                0 2px 6px rgba(19, 61, 121, 0.05);
}
/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
            appearance: none;
    cursor: pointer;
    padding: 8px;
    z-index: 3;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
/* Animate to X when open */
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-soft);
    opacity: 0.85;
    transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover { opacity: 1; color: var(--navy); }
.nav-links a:active,
.nav-links a:focus {
    opacity: 1;
    color: #0A2349;       /* darker than primary on press */
    outline: none;
}

/* ============================================================
   Collapsible "Mehr lesen" (mobile only)
   ============================================================ */
.read-more-btn {
    display: none;       /* hidden on desktop */
    margin: 1.4rem auto 0;
    padding: 0.7rem 1.6rem;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--pink-wash);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.read-more-btn:hover { background: var(--pink-soft); transform: translateY(-1px); }

@media (max-width: 760px) {
    .read-more-btn { display: block; }
    .collapsible-m {
        max-height: 130px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.45s var(--ease);
    }
    .collapsible-m.expanded {
        max-height: 6000px;
    }
    /* fade-out gradient at the bottom while collapsed (section bg is white) */
    .collapsible-m:not(.expanded)::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 70px;
        background: linear-gradient(rgba(255,255,255,0), var(--white));
        pointer-events: none;
    }

    /* Service-card lists — fully hidden until "Details anzeigen" (cut right before the bullets) */
    .collapsible-list {
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.4s var(--ease);
    }
    .collapsible-list.expanded {
        max-height: 1200px;
    }
    /* compact, left-aligned button inside each card */
    .read-more-card {
        margin: 0.3rem 0 0;
        padding: 0.5rem 1.1rem;
        font-size: 0.88rem;
        background: transparent;
        border-color: var(--border);
    }
}

/* ============================================================
   Reveal on Scroll
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 5rem) 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: stretch;
    gap: 3.5rem;
    position: relative;
}
/* Cytology background image — extends full viewport width behind the hero */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
        url('ZytoBilder/homebild.png') center calc(50% - 1.5cm) / cover no-repeat;
    filter: brightness(1.08) contrast(1.02) saturate(0.92);
    z-index: -1;
    pointer-events: none;
}
.hero-portrait {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 4;
    overflow: visible;
    justify-self: start;       /* align left with nav logo */
}
.hero-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(1.08) saturate(1.02)
            drop-shadow(0 22px 44px rgba(19, 61, 121, 0.35));
    border-radius: 28px;
    /* Subtle edge fade so the photo blends into the background */
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at center,
                            #000 65%,
                            rgba(0, 0, 0, 0.75) 88%,
                            transparent 100%);
            mask-image: radial-gradient(ellipse 100% 100% at center,
                            #000 65%,
                            rgba(0, 0, 0, 0.75) 88%,
                            transparent 100%);
}
.hero-bio {
    max-width: 720px;
    justify-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;     /* anchor content to bottom of bio = bottom of photo */
    align-self: stretch;
    padding-bottom: 0;             /* last line aligned with photo bottom */
    margin-left: 0.5cm;            /* shift title 0.5cm to the right */
}

/* Hero CTA — vertical tabs flush with the right edge of the viewport,
   anchored to the bottom (title level) of the hero */
.hero-cta {
    position: absolute;
    right: min(0px, calc((100% - 100vw) / 2));
    bottom: calc(5.5rem + 3.5cm);   /* lifted higher to clear the wide credentials */
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 5;
}
.hero-cta .btn {
    border-radius: 14px 0 0 14px;     /* rounded on left, flat on right */
    padding: 1.1rem 1.6rem;
    min-width: 220px;
    justify-content: flex-start;
    box-shadow: var(--shadow-sm);
}
.hero-cta .btn:hover {
    transform: translateX(-3px);       /* slide out slightly on hover */
}

/* Hero name uses the same style as the section titles (Quicksand uppercase) */
.display-name {
    line-height: 1;
    color: var(--navy);
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.title-eyebrow {
    display: block;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1.2rem;
    /* white halo so the text stays readable over the cytology background */
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9),
                 0 0 4px rgba(255, 255, 255, 0.9);
}
.title-name {
    display: block;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--navy);
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85);
}

.credentials {
    margin-top: 1.8rem;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.15rem, 1.3vw, 1.3rem);
    font-weight: 600;
    line-height: 1.55;
    color: var(--navy-soft);
    white-space: nowrap;
}

.hero-cta {
    margin-top: 2.2rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* ============================================================
   2. QUOTE
   ============================================================ */
.quote-section {
    background: var(--navy);    /* Chathams Blue — dramatic dark feature */
    padding: 7rem 1.5rem;
    text-align: center;
    color: #fff;
}
.quote {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #fff;
}
.quote-sub {
    margin-top: 1.8rem;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.quote-diploma {
    margin-top: 2rem;
}
.quote-diploma a {
    display: inline-block;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.quote-diploma a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

/* ============================================================
   3. ABOUT
   ============================================================ */
.about {
    background: var(--white);
    padding: 7rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;   /* text wider on left, image narrower on right */
    gap: 4.5rem;
    align-items: start;
}
.about-image {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    grid-column: 2;        /* image goes to the right column */
    grid-row: 1;
}
.about-text {
    grid-column: 1;        /* text goes to the left column */
    grid-row: 1;
}
.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.about-text p {
    font-size: clamp(1.02rem, 1.18vw, 1.15rem);
    line-height: 1.75;
    color: var(--navy-soft);
    margin-bottom: 1.4rem;
}
.about-text strong {
    color: var(--navy);
    font-weight: 600;
}
.about-text em {
    color: var(--navy);
    font-style: normal;
    font-weight: 500;
}

/* ============================================================
   4. SERVICES
   ============================================================ */
.services {
    background: var(--off-white);
    padding: 7rem 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}
.service-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    border: 1px solid var(--border-soft);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-card-media {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(19, 61, 121, 0) 40%,
        rgba(19, 61, 121, 0.35) 100%);
}
.service-card-body {
    padding: 2.2rem 1.3rem 2rem;
}
.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: var(--navy);
    margin-bottom: 0.8rem;
    white-space: nowrap;
}
.service-card > .service-card-body > p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--navy-muted);
    margin-bottom: 1.4rem;
}
.ticked {
    display: grid;
    gap: 0.6rem;
}
.ticked li {
    position: relative;
    padding-left: 1.7rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--navy-soft);
}
.ticked li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px; height: 7px;
    background: var(--pink-soft);
    border: 1.5px solid var(--navy);
    border-radius: 50%;
}

/* USPs */
.usps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 2.2rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.usps::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
        url('ZytoBilder/babesien2.jpg') center / cover no-repeat;
    filter: contrast(1.35) saturate(1.1);
    z-index: -1;
}
.usp {
    text-align: center;
}
.usp-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: #FCE6E3;
    color: var(--navy);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}
.usp-icon svg { width: 26px; height: 26px; }
.usp h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.usp p {
    font-size: 0.92rem;
    color: var(--navy-soft);
    line-height: 1.5;
    max-width: 240px;
    margin: 0 auto;
}

/* ============================================================
   5. PUZZLE (existing — slightly retuned for color system)
   ============================================================ */
.puzzle-section {
    background: var(--off-white);   /* same as Leistungen section */
    padding: 7rem 0;
}
.puzzle-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}
.puzzle {
    width: 100%;
    height: auto;
    overflow: visible;
}
.piece {
    filter:
        grayscale(0.85)
        brightness(0.98)
        drop-shadow(0 12px 26px rgba(19, 61, 121, 0.14))
        drop-shadow(0 3px 8px  rgba(19, 61, 121, 0.08));
    transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.piece-active {
    filter:
        grayscale(0)
        brightness(1.02)
        saturate(1.05)
        drop-shadow(0 18px 34px rgba(19, 61, 121, 0.22))
        drop-shadow(0 5px 12px  rgba(19, 61, 121, 0.10));
    animation: piece-breathe 6s ease-in-out infinite;
}
@keyframes piece-breathe {
    0%, 100% { transform: translate(200px, -12px); }
    50%      { transform: translate(200px, -16px); }
}
.label-text {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    fill: var(--navy);
}
.label-text-active { fill: var(--white); }

/* ============================================================
   6. VITA
   ============================================================ */
.vita {
    background: var(--white);
    padding: 7rem 0;
}
.vita-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 4rem;
}
.vita-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 0.9rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--border);
}
.timeline {
    display: grid;
    gap: 1.3rem;
}
.timeline li {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.2rem;
    align-items: start;
}
.timeline .year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    padding-top: 0.05rem;
}
.timeline div {
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--navy-soft);
}
.timeline strong {
    color: var(--navy);
    font-weight: 600;
}
.tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}
.tags li {
    background: var(--pink-wash);
    color: var(--navy);
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    width: fit-content;
}

.orcid-link,
.vita-text {
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--navy-soft);
}
.orcid-link {
    word-break: break-all;
}
.orcid-link a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--pink-soft);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s, color 0.2s;
}
.orcid-link a:hover {
    color: var(--navy-soft);
    text-decoration-color: var(--navy);
}

/* ============================================================
   7. SHIPPING
   ============================================================ */
.shipping {
    background: var(--off-white);
    padding: 7rem 0;
}
.shipping-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.tips-card, .address-card {
    background: var(--white);
    border-radius: 28px;
    padding: 2.4rem 2.2rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.tips-card h3, .address-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}
.tips {
    display: grid;
    gap: 1.2rem;
}
.tips li {
    position: relative;
    padding-left: 3rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--navy-soft);
}
.tips li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0;
    width: 2rem; height: 2rem;
    background: var(--pink-wash);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    display: grid; place-items: center;
    line-height: 1;
}
.tips li strong {
    color: var(--navy);
    font-weight: 600;
}
.address-card address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--navy-soft);
    margin-bottom: 1.4rem;
}
.address-card address strong { color: var(--navy); font-weight: 600; }
.address-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* ============================================================
   VIDEOS — coming soon
   ============================================================ */
.videos {
    background: var(--pink-wash);
    padding: 7rem 0;
}
.videos .section-header { margin-bottom: 0; }
.coming-soon-img {
    display: block;
    margin: 1.5rem auto 0;
    width: clamp(220px, 36vw, 380px);
    height: auto;
}

/* ============================================================
   8. KUNDEN
   ============================================================ */
.kunden {
    background: var(--white);
    padding: 7rem 0;
}
/* Partner logos row */
.kunden-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}
.kunde-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Forced line break inside the flex logo row */
.logo-break {
    flex-basis: 100%;
    width: 100%;
    height: 0;
}
.kunde-logo img {
    max-height: 120px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    opacity: 0.9;
}
.kunde-logo img:hover {
    transform: translateY(-2px);
    opacity: 1;
}
/* Logos die individuell 50% größer sind */
.kunde-logo-lg img { max-height: 180px; max-width: 360px; }

/* Partner names as colored text (each in its brand color) */
.kunden-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.4rem 2.4rem;
    max-width: 1000px;
    margin: 0 auto;
}
.kunde-name {
    color: var(--c, var(--navy));
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    letter-spacing: -0.01em;
    text-align: center;
    line-height: 1.25;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    opacity: 0.92;
}
.kunde-name:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .kunden-logos {
        gap: 1.5rem 2rem;
        margin-bottom: 2.2rem;
    }
    .kunde-logo img { max-height: 84px; max-width: 180px; }
    .kunde-logo-lg img { max-height: 126px; max-width: 270px; }
    .kunden-grid {
        gap: 1.2rem 1.6rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    .kunde-name { font-size: 1.02rem; }
}

/* ============================================================
   9. CONTACT
   ============================================================ */
.contact {
    background: var(--pink-wash);
    padding: 7rem 0 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-form {
    background: var(--white);
    padding: 2.4rem;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 1.1rem;
}
.contact-form label {
    display: grid;
    gap: 0.4rem;
}
.contact-form label span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.01em;
}
.contact-form input,
.contact-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--off-white);
    color: var(--navy-soft);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(19, 61, 121, 0.10);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

.contact-info {
    background: transparent;
    padding: 1rem 0.5rem;
}
.contact-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.9rem;
}
.contact-info p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--navy-soft);
    margin-bottom: 1rem;
}

/* Decorative animal silhouette band — colorized via mask, anchored to
   the bottom of the pink section so the animals sit on the edge. */
.tiere-band {
    margin-top: 0;
    width: 100%;
    height: clamp(140px, 14vw, 240px);
    background-color: #f2bebe;   /* silhouettes in logo circle color */
    -webkit-mask-image: url('Logo/sombras.png');
            mask-image: url('Logo/sombras.png');
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
            mask-position: center bottom;
    -webkit-mask-size: 100% auto;
            mask-size: 100% auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--white);
    padding: 2.2rem 0;
    border-top: 1px solid var(--border-soft);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer p {
    font-size: 0.85rem;
    color: var(--navy-muted);
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--navy-muted);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--navy); }

/* ============================================================
   Legal Pages (Datenschutz / Impressum)
   ============================================================ */
.legal {
    background: var(--white);
    padding: calc(var(--nav-height) + 4rem) 0 5rem;
}
.legal .container.narrow {
    max-width: 820px;
}
.legal-content h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2.5rem 0 0.8rem;
    letter-spacing: -0.01em;
}
.legal-content h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.6rem 0 0.6rem;
}
.legal-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--navy-soft);
    margin-bottom: 1rem;
}
.legal-content strong { color: var(--navy); font-weight: 600; }
.legal-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
    list-style: disc;
}
.legal-content ul li {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--navy-soft);
    margin-bottom: 0.35rem;
}
.legal-content a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--pink-soft);
    text-underline-offset: 3px;
    word-break: break-word;
    transition: text-decoration-color 0.2s;
}
.legal-content a:hover {
    text-decoration-color: var(--navy);
}
.legal-content .back-home {
    margin-top: 3rem;
    text-align: center;
}

/* ============================================================
   Anforderungsformular — fillable form layout
   ============================================================ */
.anforderung .section-lead { max-width: 720px; }
.version-tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.7rem;
    background: var(--pink-wash);
    color: var(--navy);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.anforderung-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-block {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 1.8rem 1.8rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.form-block legend {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    padding: 0 0.6rem;
    margin-left: -0.6rem;
}
.legend-note {
    font-style: italic;
    font-weight: 500;
    color: var(--navy-muted);
    font-size: 0.72rem;
    margin-left: 0.4rem;
}
.subblock-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.6rem 0 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.subblock-title:first-of-type { margin-top: 0.4rem; }

.field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;            /* a bit more breathing room between title and input */
}
.field > span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 0.1rem;
}
.field input,
.field select,
.field textarea {
    font-family: inherit;
    font-size: 0.97rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--off-white);
    color: var(--navy-soft);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(19, 61, 121, 0.10);
}
.field textarea { resize: vertical; min-height: 80px; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 1.2rem;
}
.field-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.field-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.loc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

/* Radio pill row (Dringlichkeit) */
.radio-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.radio-pill,
.check-pill {
    position: relative;
    cursor: pointer;
}
.radio-pill input,
.check-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.radio-pill span,
.check-pill span {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-soft);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}
.radio-pill input:checked + span,
.check-pill input:checked + span {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.radio-pill:hover span,
.check-pill:hover span {
    border-color: var(--navy);
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Checkbox stack (full-width row with native checkbox visible) */
.checkbox-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.check-line {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    cursor: pointer;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    transition: background 0.15s;
}
.check-line:hover { background: var(--pink-wash); }
.check-line input[type="checkbox"] {
    margin-top: 0.18rem;
    width: 18px; height: 18px;
    accent-color: var(--navy);
    flex-shrink: 0;
}
.check-line span {
    font-size: 0.97rem;
    color: var(--navy-soft);
    line-height: 1.4;
}
.check-line span em {
    font-style: italic;
    color: var(--navy-muted);
    font-weight: 400;
    font-size: 0.92rem;
}

.field.inline-id {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    padding-left: 2.2rem;
    margin-top: -0.2rem;
    margin-bottom: 0.4rem;
}
.field.inline-id > span {
    font-size: 0.78rem;
    color: var(--navy-muted);
    white-space: nowrap;
}
.field.inline-id input {
    flex: 1;
    padding: 0.4rem 0.7rem;
    font-size: 0.88rem;
}

/* Checkbox row with inline labor-ID field on the right */
.check-line-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.check-line-row .check-line { flex: 1 1 auto; }
.inline-input-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto;
}
.inline-input-right > span {
    font-size: 0.78rem;
    color: var(--navy-muted);
    white-space: nowrap;
}
.inline-input-right input {
    flex: 1;
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    width: 130px;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--off-white);
    color: var(--navy-soft);
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 1rem;
}

.form-footer {
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-soft);
    text-align: center;
}
.form-footer p {
    font-size: 0.88rem;
    color: var(--navy-muted);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}
.form-footer a { color: var(--navy); }

/* ============================================================
   PDF Download Card (Anforderungsformular landing page)
   ============================================================ */

.pdf-download-card {
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}
.pdf-download-icon {
    flex-shrink: 0;
    width: 72px; height: 72px;
    background: var(--pink-wash);
    color: var(--navy);
    border-radius: 50%;
    display: grid; place-items: center;
}
.pdf-download-icon svg { width: 36px; height: 36px; }
.pdf-download-body { flex: 1; }
.pdf-download-body h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.pdf-download-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy-soft);
    margin-bottom: 1.3rem;
}
.pdf-download-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.pdf-extra-info {
    border-top: 1px solid var(--border-soft);
    padding-top: 2rem;
}
.pdf-extra-info h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.5rem 0 0.7rem;
}
.pdf-extra-info h4:first-of-type { margin-top: 0; }
.pdf-extra-info address {
    font-style: normal;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--navy-soft);
}
.pdf-extra-info address strong { color: var(--navy); font-weight: 600; }
.pdf-extra-info p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--navy-soft);
}
.pdf-extra-info a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--pink-soft);
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .pdf-download-card {
        flex-direction: column;
        padding: 1.8rem 1.5rem;
    }
    .pdf-download-icon { width: 60px; height: 60px; }
    .pdf-download-icon svg { width: 28px; height: 28px; }
}

/* ============================================================
   Print styles — Anforderungsformular fits on 2 pages (A4)
   ============================================================ */
@media print {
    /* Hide all on-screen-only elements */
    .nav, .footer, .form-actions { display: none !important; }
    .anforderung { padding: 0 !important; }
    .section-header { margin-bottom: 0.6rem !important; }

    /* Page setup */
    @page {
        size: A4 portrait;
        margin: 1cm 1.2cm;
    }

    /* Body */
    body {
        background: #fff !important;
        font-size: 9.5pt;
        line-height: 1.25;
        color: #000;
    }

    /* Container */
    .anforderung .container.narrow {
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Title/subtitle compact */
    .anforderung .section-header h2 {
        font-size: 16pt !important;
        margin-bottom: 0.15rem !important;
        text-transform: uppercase;
    }
    .anforderung .section-lead {
        font-size: 8.5pt !important;
        line-height: 1.25 !important;
        margin-top: 0.2rem !important;
    }
    .version-tag {
        padding: 0.05rem 0.4rem !important;
        font-size: 7.5pt !important;
        background: #eee !important;
    }

    /* Form blocks — very compact */
    .anforderung-form { gap: 0.4rem !important; }
    .form-block {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #bbb !important;
        border-radius: 6px !important;
        padding: 0.4rem 0.55rem 0.35rem !important;
        background: #fff !important;
    }
    .form-block legend {
        font-size: 9pt !important;
        font-weight: 700 !important;
        padding: 0 0.3rem !important;
        margin-left: -0.3rem !important;
        color: #000 !important;
    }
    .legend-note { font-size: 7.5pt !important; }
    .subblock-title {
        font-size: 7.5pt !important;
        margin: 0.45rem 0 0.2rem !important;
        letter-spacing: 0.05em;
    }
    .subblock-title:first-of-type { margin-top: 0.1rem !important; }

    /* Labels — smaller */
    .field > span {
        font-size: 7.5pt !important;
        margin-bottom: 0.1rem !important;
    }
    .field input,
    .field select,
    .field textarea {
        font-size: 9pt !important;
        padding: 0.25rem 0.4rem !important;
        background: #fff !important;
        border: 1px solid #aaa !important;
        border-radius: 3px !important;
    }
    .field textarea { min-height: 32px !important; }

    /* Grids — tighter */
    .field-grid {
        gap: 0.4rem 0.6rem !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .loc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.3rem 0.6rem !important;
    }

    /* Pills/radios compact */
    .radio-row, .checkbox-grid { gap: 0.3rem !important; }
    .radio-pill span,
    .check-pill span {
        padding: 0.25rem 0.55rem !important;
        font-size: 8pt !important;
        border-width: 1px !important;
        border-color: #888 !important;
    }
    .radio-pill input:checked + span,
    .check-pill input:checked + span {
        background: #333 !important;
        border-color: #333 !important;
    }

    /* Checkbox stacks — tighter */
    .checkbox-stack { gap: 0.15rem !important; }
    .check-line {
        padding: 0.1rem 0.3rem !important;
        gap: 0.45rem !important;
    }
    .check-line:hover { background: transparent !important; }
    .check-line input[type="checkbox"] {
        width: 11px !important; height: 11px !important;
        margin-top: 0.15rem !important;
    }
    .check-line span { font-size: 8.5pt !important; line-height: 1.2 !important; }
    .check-line span em { font-size: 7.5pt !important; }

    .field.inline-id {
        padding-left: 1.4rem !important;
        margin-top: -0.1rem !important;
        margin-bottom: 0.15rem !important;
    }
    .field.inline-id > span { font-size: 7pt !important; }
    .field.inline-id input { padding: 0.18rem 0.35rem !important; font-size: 8pt !important; }

    /* Footer compact */
    .form-footer {
        margin-top: 0.6rem !important;
        padding-top: 0.4rem !important;
        border-top: 1px solid #ccc !important;
    }
    .form-footer p {
        font-size: 7.5pt !important;
        margin-bottom: 0.1rem !important;
        color: #444 !important;
    }
}

/* Mobile form */
@media (max-width: 640px) {
    .field-grid { grid-template-columns: 1fr; }
    .form-block { padding: 1.3rem 1.2rem 1.1rem; }
    .form-block legend { font-size: 0.98rem; }
    .field.inline-id {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
    }
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
    .vita-grid { grid-template-columns: 1fr; gap: 3rem; }
    .timeline li { grid-template-columns: 110px 1fr; }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
/* ----------------------------------------------------------------
   Schnell-zurück-Button — fixed bottom-right, mobile only.
---------------------------------------------------------------- */
.back-to-top {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1.1rem;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 53, 122, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 760px) {
    :root { --nav-height: 56px; }

    .back-to-top { display: flex; }

    /* Navigation — hamburger + dropdown */
    .nav-brand img { height: 60px; }      /* keep logo visible but smaller */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(251, 251, 253, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        padding: 0.5rem 1.5rem 1rem;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: 0 10px 24px rgba(19, 61, 121, 0.10);
    }
    .nav.nav-open .nav-links { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        font-size: 1.05rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border-soft);
    }
    .nav-links li:last-child a { border-bottom: none; }

    /* Hero — stack vertically */
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: calc(var(--nav-height) + 2rem) 1.25rem 1.5rem;
        text-align: center;
        min-height: auto;
    }
    .hero-portrait {
        justify-self: center;
        max-width: 290px;
        order: -1;            /* image first on mobile */
    }
    .hero-bio {
        justify-self: center;
        margin: 0 auto;       /* reset desktop margin-left */
        padding-bottom: 0;    /* reset */
        max-width: 100%;
        text-align: center;
        align-self: auto;
        display: block;       /* no flex needed when content sized naturally */
    }
    .title-eyebrow {
        font-size: 0.85rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.7rem;
    }
    .title-name {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.1;
    }
    .credentials {
        white-space: normal;          /* allow wrap on mobile */
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 1.2rem;
    }
    .hero-cta {
        position: static;             /* normal flow on mobile */
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
        margin: 1.5rem auto 0;
    }
    .hero-cta .btn {
        border-radius: 999px;         /* full pill on mobile */
        min-width: 0;
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
        justify-content: center;
        box-shadow: none;
    }
    .hero-cta .btn:hover {
        transform: translateY(-1px);
    }

    /* Quote / about / services / shipping / partners / contact spacing */
    .quote-section, .about, .services,
    .vita, .shipping, .kunden, .contact { padding: 3.5rem 0; }
    .quote-section { padding-left: 1.25rem; padding-right: 1.25rem; }

    .quote { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
    .quote-sub { font-size: 0.95rem; }

    /* Section headers */
    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .section-header .section-lead { font-size: 0.98rem; }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        position: relative;
        top: 0;
        max-width: 280px;
        margin: 0 auto;
        grid-column: 1;
        grid-row: auto;
    }
    .about-text {
        grid-column: 1;
        grid-row: auto;
    }
    .about-text p { font-size: 1rem; line-height: 1.65; }

    /* Service cards */
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card-media { height: 180px; }
    .service-card h3 {
        font-size: 1.25rem;
        white-space: normal;          /* allow wrap on mobile */
    }
    .service-card > .service-card-body > p { font-size: 1rem; }
    .ticked li { font-size: 0.98rem; }

    /* USPs */
    .usps {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 2.5rem 1.5rem;
    }

    /* Shipping / contact */
    .shipping-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tips-card, .address-card, .contact-form {
        padding: 1.8rem 1.5rem;
    }

    /* Timeline / CV */
    .timeline li {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    .timeline .year {
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    /* Tiere band — smaller on mobile */
    .tiere-band {
        height: clamp(110px, 22vw, 180px);
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   Very narrow phones (< 480px)
   ============================================================ */
@media (max-width: 480px) {
    .nav-brand img { height: 52px; }

    .hero { padding: calc(var(--nav-height) + 1.5rem) 1rem 1.2rem; }
    .hero-portrait { max-width: 260px; }
    .title-name { font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
    .credentials { font-size: 0.9rem; }

    .container { padding: 0 1rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
