/* ==========================================================================
   Universal Hausmeisterservice Berlin
   Frisches Grün, Türkisblau, dezentes Orange für Handlungsaufrufe.
   Serif-Headlines, Handschrift-Akzente, Scroll-Animationen.
   ========================================================================== */

:root {
    --bg: #f7faf8;
    --surface: #eef5f1;
    --card: #ffffff;
    --ink: #232b2e;
    --ink-2: #4b575b;
    --muted: #75838a;
    --line: #dde8e2;

    --green: #2fa85a;
    --green-bright: #45c276;
    --green-dark: #1e8a48;
    --green-ink: #17703a;
    --green-wash: #e2f4e8;

    --teal: #17a2b8;
    --teal-dark: #11807f;
    --teal-ink: #0d6f7f;
    --teal-wash: #e0f3f6;

    --orange: #ef9a4b;
    --orange-dark: #e68a35;
    --orange-ink: #9c5210;
    --orange-wash: #fdf1e3;

    --dark: #16262a;

    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --hand: 'Caveat', 'Bradley Hand', cursive;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 20px;
    --shadow: 0 1px 2px rgba(22, 50, 42, 0.05), 0 14px 34px -16px rgba(22, 50, 42, 0.2);
    --shadow-lift: 0 2px 4px rgba(22, 50, 42, 0.05), 0 30px 60px -24px rgba(22, 50, 42, 0.34);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange-dark); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 800px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { left: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.7vw, 3.55rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.16rem; line-height: 1.3; }

.eyebrow, .mono {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow { margin-bottom: 14px; color: var(--green-ink); }
.lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--ink-2); max-width: 560px; }
.body { color: var(--ink-2); max-width: 580px; }
.fine { font-size: 0.8rem; color: var(--muted); }
.hand { font-family: var(--hand); font-size: 1.5rem; line-height: 1.2; color: var(--green-ink); }

/* Textmarker, der beim Einblenden gezogen wird */
.hl {
    background-image: linear-gradient(100deg, rgba(69, 194, 118, 0.6), rgba(23, 162, 184, 0.38));
    background-repeat: no-repeat;
    background-position: 0 88%;
    background-size: 100% 0.4em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.1em;
    margin: 0 -0.1em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 14px 32px -14px rgba(230, 138, 53, 0.95);
    transition: transform 0.4s var(--ease), background-color 0.3s ease, box-shadow 0.4s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 20px 40px -14px rgba(230, 138, 53, 1); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform 0.35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: 0.86rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--green-dark); color: var(--green-ink); }
.btn-light { background: #fff; box-shadow: 0 14px 32px -16px rgba(0, 0, 0, 0.45); }
.btn-light:hover { background: #fff; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5); }

/* ---------- Navigation (grüne Kopfzeile) ---------- */
.nav {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 50;
    width: min(1140px, calc(100% - 24px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 10px 9px 11px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(100deg, var(--green-dark), var(--teal-dark));
    box-shadow: 0 16px 36px -18px rgba(23, 112, 58, 0.85);
    transition: top 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled { top: 8px; box-shadow: 0 22px 44px -18px rgba(22, 50, 42, 0.6); }
.nav-brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.nav-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-name { display: grid; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.nav-name small { font-family: var(--mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.85; margin-top: 3px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.14); }
.nav-cta { box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.5); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 142px 0 84px; overflow: hidden; }
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(44% 56% at 90% 16%, rgba(23, 162, 184, 0.2), transparent 70%),
        radial-gradient(50% 60% at 4% 0%, rgba(47, 168, 90, 0.2), transparent 70%),
        radial-gradient(circle, #cfdfd6 1.2px, transparent 1.4px) 0 0 / 26px 26px;
    -webkit-mask-image: linear-gradient(#000 40%, transparent 96%);
    mask-image: linear-gradient(#000 40%, transparent 96%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pill { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--green-ink); }
.pill .dot { background: var(--green); animation: pulse 2s infinite; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 8px; padding: 14px 6px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-stats li { display: grid; gap: 2px; padding: 0 20px; }
.hero-stats li + li { border-left: 1px solid var(--line); }
.hero-stats b { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.hero-stats li:nth-child(2) b { color: var(--teal-ink); }
.hero-stats li:nth-child(3) b { color: var(--orange-ink); }
.hero-stats li > span { font-size: 0.78rem; color: var(--ink-2); }

/* Motiv mit Überlagerungen */
.hero-visual { --p: 0; position: relative; justify-self: end; width: min(100%, 460px); aspect-ratio: 1 / 1.04; margin-right: 18px; }
.hero-visual::before { content: ''; position: absolute; inset: 26px -20px -20px 26px; border-radius: 36px; background: linear-gradient(140deg, var(--green), var(--teal)); rotate: 3deg; animation: rise 1s var(--ease) 0.25s both; }
.hero-photo { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lift); animation: photoIn 1.1s var(--ease) 0.15s both; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; scale: 1.08; translate: 0 calc(var(--p) * -18px); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(22, 38, 42, 0.28)); }

.chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}
.chip .ic { color: var(--teal); font-size: 1rem; }
.chip-a { top: 30px; left: -44px; rotate: -3deg; }
.chip-b { right: -34px; top: 17.5%; rotate: 3deg; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.is-open .dot { background: var(--green); animation: pulse 2s infinite; }

.check-card { position: absolute; z-index: 4; left: -92px; bottom: -46px; width: 262px; padding: 16px 18px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lift); rotate: -2.5deg; translate: 0 calc(var(--p) * -30px); animation: cardIn 1s var(--ease) 0.5s both; }
.check-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--green), var(--teal)); }
.check-head { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0 8px; border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.check-card li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); font-family: var(--hand); font-size: 1.32rem; line-height: 1.25; color: #1f4f66; }
.write { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 100%; }
.write > span { display: inline-block; }
.w1 { animation: writeIn 1.2s cubic-bezier(0.4, 0, 0.6, 1) 1.3s both; }
.w2 { animation: writeIn 1.2s cubic-bezier(0.4, 0, 0.6, 1) 2.2s both; }
.w3 { animation: writeIn 1.1s cubic-bezier(0.4, 0, 0.6, 1) 3.1s both; }
.check-card li .ic { color: var(--green); font-size: 1.05rem; stroke-width: 3; animation: pop 0.5s var(--ease) both; }
.t1 { animation-delay: 2.4s !important; }
.t2 { animation-delay: 3.3s !important; }
.t3 { animation-delay: 4.1s !important; }
.check-card .hand { margin-top: 8px; font-size: 1.25rem; text-align: right; color: var(--green-ink); animation: pop 0.5s var(--ease) 4.5s both; }

.seal { position: absolute; z-index: 4; top: -24px; right: -26px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--orange); color: var(--ink); border: 3px solid var(--card); outline: 2px dashed rgba(35, 43, 46, 0.5); outline-offset: -10px; box-shadow: var(--shadow-lift); rotate: 10deg; animation: stamp 0.6s var(--ease) 1s both; }
.seal small { font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; }
.seal span { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1; }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; padding: 15px 0; background: linear-gradient(90deg, var(--green-dark), var(--teal-dark)); color: #fff; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 44s linear infinite; }
.marquee span { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.marquee i { font-style: normal; color: #ffd0a1; font-size: 0.8rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 118px) 0; }
.sec-white { background: var(--card); }
.sec-surface { background: var(--surface); }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 52px; }
.sec-head .eyebrow { margin: 0; }
.sec-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 52px; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-top { align-items: start; }
.split h2 { margin-bottom: 18px; }
.split .body { margin-bottom: 26px; }

/* ---------- Warum wir ---------- */
.why { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.photos { position: relative; min-height: 500px; }
.photo { position: absolute; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lift); border: 5px solid var(--card); transition: transform 0.6s var(--ease), rotate 0.6s var(--ease); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-a { top: 0; left: 0; width: 68%; aspect-ratio: 4 / 5; rotate: -3deg; z-index: 1; }
.photo-b { right: 0; bottom: 30px; width: 52%; aspect-ratio: 1; rotate: 4deg; z-index: 2; }
.photo:hover { rotate: 0deg; transform: scale(1.03); z-index: 3; }
.photos::before { content: ''; position: absolute; left: 30%; top: 12%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--teal-wash), transparent 70%); }
.note-photos { position: absolute; left: 4%; bottom: -14px; rotate: -2deg; z-index: 3; }

.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reason { position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 0.9rem; color: var(--ink-2); }
.reason b { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.25; color: var(--ink); }
.reason:hover { box-shadow: var(--shadow-lift); border-color: #c5ddd0; }
.tick { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--green-wash); color: var(--green-ink); font-size: 1.15rem; transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s; }
.reason:nth-child(even) .tick { background: var(--teal-wash); color: var(--teal-ink); }
.reason:hover .tick { transform: rotate(-8deg) scale(1.08); background: var(--green); color: #fff; }
.reason:nth-child(even):hover .tick { background: var(--teal); }

/* ---------- Leistungen (grün/türkiser Bereich) ---------- */
.sec-services { color: #fff; background: linear-gradient(135deg, #1e8a48 0%, #168a6f 52%, #1391a6 100%); overflow: hidden; }
.sec-services::before, .sec-services::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.sec-services::before { width: 520px; height: 520px; top: -220px; right: -160px; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%); animation: floatY 12s ease-in-out infinite alternate; }
.sec-services::after { width: 420px; height: 420px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%); animation: floatY 15s ease-in-out -5s infinite alternate; }
.sec-services .wrap { position: relative; z-index: 1; }
.sec-services .eyebrow { color: #d6f7e2; }
.sec-services .body { color: rgba(255, 255, 255, 0.88); }
.sec-services .hl { background-image: linear-gradient(100deg, rgba(239, 154, 75, 0.95), rgba(239, 154, 75, 0.6)); }
.sec-services .hand { color: #fff; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 22px; background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 50px -28px rgba(8, 40, 30, 0.7); }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-wash); color: var(--green-ink); font-size: 1.45rem; transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s; }
.svc:nth-child(even) .svc-ic { background: var(--teal-wash); color: var(--teal-ink); }
.svc:hover .svc-ic { transform: rotate(-8deg) scale(1.08); background: var(--green); color: #fff; }
.svc:nth-child(even):hover .svc-ic { background: var(--teal); }
.svc h3 { font-size: 1.22rem; }
.svc p { font-size: 0.9rem; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 11px; border-radius: 999px; background: var(--surface); font-size: 0.76rem; font-weight: 500; color: var(--ink-2); }
.tags .tag-new { background: var(--orange-wash); color: var(--orange-ink); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--green-ink); }
.more .ic { transition: transform 0.35s var(--ease); }
a:hover > .more .ic, .more:hover .ic, .svc:hover .more .ic { transform: translateX(4px); }
.svc-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* ---------- Ablauf (Bento) ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { padding: 22px 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card:hover { box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--ink-2); }
.num { font-family: var(--hand); font-size: 1.6rem; color: var(--orange-ink); margin-right: 6px; }
.art { position: relative; height: 190px; margin-bottom: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; }
.card-wide .art { height: 220px; margin: 0; }
.h3-lg { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 12px; }

.art-chat { align-content: center; gap: 12px; padding: 0 22px; }
.bubble { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.82rem !important; line-height: 1.4; opacity: 0; }
.b-in { justify-self: start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink) !important; }
.b-out { justify-self: end; background: var(--green-dark); color: #fff !important; border-bottom-right-radius: 4px; }
.in .b-in { animation: bubble 0.6s var(--ease) 0.3s forwards; }
.in .b-out { animation: bubble 0.6s var(--ease) 1.2s forwards; }

.sheet { position: relative; width: 176px; padding: 14px 14px 12px; display: grid; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); rotate: -3deg; overflow: hidden; }
.sheet-t { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sheet i { height: 7px; border-radius: 4px; background: var(--line); transform-origin: left; transform: scaleX(0); }
.sheet i:nth-of-type(2) { width: 78%; }
.sheet i:nth-of-type(3) { width: 56%; }
.in .sheet i { animation: grow 0.7s var(--ease) forwards; }
.in .sheet i:nth-of-type(2) { animation-delay: 0.15s; }
.in .sheet i:nth-of-type(3) { animation-delay: 0.3s; }
.sheet-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 0.7rem; color: var(--muted); }
.sheet-sum em { font-style: normal; }
.sheet-sum b { font-family: var(--hand); font-size: 1.15rem; color: var(--green-ink); }
.beam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--teal); box-shadow: 0 0 14px 3px rgba(23, 162, 184, 0.55); animation: scan 3.2s ease-in-out infinite; }

.art-notify { align-content: center; gap: 10px; padding: 0 22px; }
.notify { position: relative; width: 100%; max-width: 300px; padding: 12px 14px 12px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-size: 0.74rem; color: var(--ink-2); opacity: 0; }
.notify small { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.notify b { display: block; font-size: 0.86rem; color: var(--ink); }
.n2 { padding-left: 14px; scale: 0.94; }
.in .n1 { animation: drop 0.7s var(--ease) 0.3s forwards; }
.in .n2 { --to: 0.6; animation: drop 0.7s var(--ease) 0.55s forwards; }
.ping { position: absolute; left: 12px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ring 1.8s ease-out infinite; }

.art-week { align-content: center; gap: 14px; }
.week { display: flex; gap: 8px; }
.week span { position: relative; display: grid; place-items: center; width: 44px; height: 52px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 0.74rem; color: var(--muted); opacity: 0; }
.in .week span { animation: bubble 0.5s var(--ease) forwards; animation-delay: calc(var(--n, 0) * 0.09s + 0.2s); }
.week span:nth-child(2) { --n: 1; } .week span:nth-child(3) { --n: 2; } .week span:nth-child(4) { --n: 3; } .week span:nth-child(5) { --n: 4; }
.week .on { background: var(--green); border-color: var(--green-dark); color: #fff; font-weight: 500; box-shadow: 0 10px 22px -10px rgba(47, 168, 90, 0.95); }
.week .on i { position: absolute; top: -11px; right: -11px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--ink); font-style: normal; font-size: 0.7rem; }
.week .on i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.4s ease-out infinite; }
.art-week .hand { font-size: 1.3rem; }

.art-flow svg { width: 100%; max-width: 380px; height: auto; }
.flow { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; }
.fnode rect { fill: var(--card); stroke: var(--line); }
.fnode text, .fend text { font-family: var(--sans); font-size: 12px; font-weight: 500; text-anchor: middle; fill: var(--ink); }
.fhub { fill: var(--green); }
.fring { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.fhub-t { font-family: var(--serif); font-weight: 700; font-size: 15px; text-anchor: middle; fill: #fff; }
.fend rect { fill: var(--ink); }
.fend text { fill: #fff; }

/* ---------- Betreute Objekte ---------- */
.proof { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 26px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f6a4f, #12403c 62%); box-shadow: var(--shadow-lift); overflow: hidden; }
.proof::before { content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 162, 184, 0.45), transparent 70%); }
.proof > * { position: relative; }
.proof .mono { color: rgba(255, 255, 255, 0.62); }
.proof-num { font-family: var(--serif); font-weight: 700; font-size: clamp(4.4rem, 10vw, 7rem); line-height: 1; color: #8ff0b4; font-variant-numeric: tabular-nums; }
.proof .hand { color: #ffc998; }
.proof-text h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.proof-text p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; max-width: 470px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.topics span, .topics a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); font-size: 0.8rem; color: #fff; }
.topics .ic { color: #8ff0b4; font-size: 0.85rem; }
.topics a { transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.topics a:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }
.proof-dots-wrap { display: grid; gap: 12px; justify-items: end; }
.proof-dots { display: grid; grid-template-columns: repeat(6, 22px); gap: 9px; }
.proof-dots span { width: 22px; height: 22px; background: #8ff0b4; clip-path: polygon(50% 0, 100% 42%, 86% 42%, 86% 100%, 14% 100%, 14% 42%, 0 42%); opacity: 0; scale: 0.3; }
.proof-dots span:nth-child(3n) { background: #7fd9ea; }
.proof-dots span:nth-child(7n) { background: #ffc998; }
.proof.in .proof-dots span { animation: dot 0.5s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 0.3s); }

/* ---------- Kundenstimmen ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 30px 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.note::before { content: '“'; position: absolute; top: 14px; left: 22px; font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: var(--green); opacity: 0.4; }
.note:nth-child(1) { rotate: -1.4deg; } .note:nth-child(2) { rotate: 1deg; } .note:nth-child(3) { rotate: -0.7deg; }
.note:hover { rotate: 0deg; box-shadow: var(--shadow-lift); }
.note blockquote { padding-top: 40px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.note figcaption { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.note figcaption::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--orange); }

/* ---------- Farbiges Band ---------- */
.band { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: linear-gradient(120deg, var(--green-wash), var(--teal-wash)); border: 1px solid #cbe7d7; overflow: hidden; }
.band > div { max-width: 640px; }
.band .eyebrow { margin-bottom: 10px; }
.band h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.band-dark { color: #fff; background: linear-gradient(120deg, var(--green-dark), var(--teal-dark)); border: 0; box-shadow: var(--shadow-lift); }
.band-dark .eyebrow { color: #d6f7e2; }
.band-dark .body { color: rgba(255, 255, 255, 0.88); }
.band-dark .hl { background-image: linear-gradient(100deg, rgba(239, 154, 75, 0.95), rgba(239, 154, 75, 0.6)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow 0.4s var(--ease), border-color 0.3s; }
.faq-item.open { box-shadow: var(--shadow); border-color: #c5ddd0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.faq-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-wash); transition: rotate 0.45s var(--ease), background 0.3s; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--green-ink); transition: background 0.3s; }
.faq-ic::after { rotate: 90deg; transition: rotate 0.45s var(--ease), background 0.3s; }
.open > .faq-q .faq-ic { rotate: 180deg; background: var(--green); }
.open > .faq-q .faq-ic::before, .open > .faq-q .faq-ic::after { background: #fff; }
.open > .faq-q .faq-ic::after { rotate: 0deg; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.open > .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.sec-final { background: radial-gradient(60% 55% at 12% 0%, rgba(47, 168, 90, 0.16), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(23, 162, 184, 0.14), transparent 70%), var(--bg); }
.final-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.contact { display: grid; gap: 12px; font-size: 0.95rem; color: var(--ink-2); }
.contact li { display: flex; align-items: center; gap: 12px; }
.contact .ic { color: var(--green-ink); font-size: 1.15rem; }
.contact a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ps { margin-top: 28px; rotate: -1.5deg; transform-origin: left; }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lift); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 500; }
.form input:not([type='checkbox']), .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--bg); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b575b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--green); background-color: #fff; box-shadow: 0 0 0 4px rgba(47, 168, 90, 0.2); }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-size: 0.76rem !important; font-weight: 400 !important; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-dark); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 12px 14px; border-radius: 11px; font-size: 0.88rem; }
.form-status.ok { display: block; background: var(--green-wash); color: var(--green-ink); }
.form-status.err { display: block; background: var(--orange-wash); color: var(--orange-ink); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; background: var(--dark); color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }
.footer .nav-brand { color: #fff; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 0.95fr 1.7fr 1.05fr; gap: 30px; }
.footer-grid p { max-width: 340px; }
.footer nav, .footer address { display: grid; gap: 9px; align-content: start; font-style: normal; }
.footer .mono { color: rgba(255, 255, 255, 0.5); margin-bottom: 6px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: #8ff0b4; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .mono { margin: 0; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-head { position: relative; padding: 150px 0 56px; text-align: center; background: radial-gradient(50% 90% at 20% 0%, var(--green-wash), transparent 70%), radial-gradient(50% 90% at 85% 0%, var(--teal-wash), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head h1 { font-size: clamp(2.05rem, 5.2vw, 3.3rem); margin: 0 auto 16px; max-width: 20ch; }
.page-head .body { max-width: 62ch; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--green-ink); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.page-head-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; font-size: 0.88rem; color: var(--ink-2); }
.page-head-trust span { display: inline-flex; align-items: center; gap: 8px; }
.page-head-trust .ic { color: var(--green); }

/* Sprungmarken auf der Leistungsseite */
.jump { position: sticky; top: 78px; z-index: 20; padding: 12px 0; background: rgba(247, 250, 248, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 20px; max-width: 1160px; margin: 0 auto; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 0.84rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: all 0.3s var(--ease); }
.jump a:hover { border-color: var(--green); color: var(--ink); }
.jump a.is-active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* Leistung im Detail */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(48px, 7vw, 84px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border-radius: 28px; background: linear-gradient(140deg, var(--green), var(--teal)); opacity: 0.9; rotate: 2deg; }
.svc-row:nth-child(even) .svc-media::before { inset: 18px 18px -14px -14px; rotate: -2deg; }
.svc-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lift); }
.svc-badge { position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 0.8rem; font-weight: 600; color: var(--green-ink); }
.svc-row h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.svc-row .body { margin-bottom: 22px; }
.checks { display: grid; gap: 11px; margin-bottom: 26px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks .ic { margin-top: 3px; padding: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); stroke-width: 3; }
.checks .is-new .ic { background: var(--orange-wash); color: var(--orange-ink); }

/* Werte / Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; isolation: isolate; padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tile h3 { margin: 16px 0 8px; }
.tile p { font-size: 0.92rem; color: var(--ink-2); }
.tile:hover { box-shadow: var(--shadow-lift); }

/* Zeitstrahl */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green), var(--teal)); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -34px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 4px solid var(--green); box-shadow: var(--shadow); }
.timeline li:last-child::before { border-color: var(--orange); }
.timeline b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.timeline .mono { display: block; margin-bottom: 2px; color: var(--green-ink); }
.timeline p { font-size: 0.94rem; color: var(--ink-2); }

/* Kontaktkarten */
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.info-card .mono { display: block; }
.info-card b { font-family: var(--serif); font-size: 1.08rem; overflow-wrap: anywhere; }
.hours { display: grid; gap: 0; margin-top: 14px; padding: 6px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: 0.93rem; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.hours li:last-child { border-bottom: 0; color: var(--orange-ink); font-weight: 600; }
.hours b { color: var(--ink); font-weight: 600; }

/* Rechtstexte */
.prose { padding: clamp(24px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); color: var(--ink-2); font-size: 0.96rem; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.7rem; margin-bottom: 14px; color: var(--ink); }
.prose h3 { font-size: 1.22rem; margin: 34px 0 10px; color: var(--ink); }
.prose h4 { font-family: var(--serif); font-size: 1.04rem; margin: 22px 0 6px; color: var(--ink); }
.prose p { margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; display: grid; gap: 6px; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 0.9rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--ink); }
.prose .table-container { overflow-x: auto; }
.prose .contact-info-box, .prose .dsgvo-summary, .prose .important-note, .prose .rechtliche-basis, .prose .service-list { margin: 14px 0 18px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.prose .contact-info-box p, .prose .rechtliche-basis p { margin-bottom: 4px; }
.prose .rechtliche-basis h4, .prose .important-note h4 { margin-top: 0; }
.prose .dsgvo-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.prose .dsgvo-point h4 { margin-top: 0; }
.prose .service-item { padding: 3px 0; }
.prose .back-to-home { margin-top: 30px; }

/* ==========================================================================
   Bewegung
   ========================================================================== */
.js .rv { opacity: 0; translate: 0 26px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease), transform 0.45s var(--ease), rotate 0.5s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s ease; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s; }
.js .rv.in { opacity: 1; translate: 0 0; }
.js .rv .hl { background-size: 0% 0.4em; transition: background-size 1s var(--ease) calc(var(--d, 0s) + 0.35s); }
.js .rv.in .hl { background-size: 100% 0.4em; }

.rise { animation: rise 0.9s var(--ease) var(--d, 0s) both; }
.rise .hl { animation: mark 1s var(--ease) 0.8s both; }
.float { animation: floatY 8s ease-in-out infinite alternate; }
.float-slow { animation-duration: 12s; animation-delay: -4s; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mark { from { background-size: 0% 0.4em; } to { background-size: 100% 0.4em; } }
@keyframes floatY { from { translate: 0 -8px; } to { translate: 0 10px; } }
@keyframes photoIn { from { opacity: 0; clip-path: inset(14% 8% 14% 8% round 30px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 30px); } }
@keyframes cardIn { from { opacity: 0; margin-bottom: -60px; } to { opacity: 1; margin-bottom: 0; } }
@keyframes writeIn { from { width: 0; } to { width: 100%; } }
@keyframes pop { from { opacity: 0; scale: 0.2; } to { opacity: 1; scale: 1; } }
@keyframes stamp { 0% { opacity: 0; scale: 2.2; } 60% { opacity: 1; scale: 0.92; } 100% { opacity: 1; scale: 1; } }
@keyframes bubble { from { opacity: 0; translate: 0 14px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes drop { from { opacity: 0; translate: 0 -16px; } to { opacity: var(--to, 1); translate: 0 0; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes scan { 0%, 100% { translate: 0 -52px; opacity: 0; } 15%, 85% { opacity: 0.9; } 50% { translate: 0 52px; opacity: 0.9; } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 168, 90, 0.5); } 100% { box-shadow: 0 0 0 9px rgba(47, 168, 90, 0); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes dot { to { opacity: 1; scale: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Fortschrittsbalken */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--green), var(--teal), var(--orange)); pointer-events: none; }
@supports (animation-timeline: scroll()) {
    .scroll-progress { animation: progressGrow linear; animation-timeline: scroll(root block); }
    @keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Lichtschein, der dem Zeiger folgt */
.svc::after, .reason::after, .tile::after, .card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 0.45s var(--ease); background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 168, 90, 0.14), transparent 70%); }
.card { position: relative; isolation: isolate; }
.svc:hover::after, .reason:hover::after, .tile:hover::after, .card:hover::after { opacity: 1; }

/* Leichte Neigung zum Zeiger */
.svc, .reason, .tile, .card, .work { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.svc:hover, .reason:hover, .tile:hover, .card:hover, .work:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); }

/* Bilder ziehen sich beim Hereinscrollen auf */
.img-reveal { clip-path: inset(12% 0 12% 0 round 24px); opacity: 0; scale: 1.06; transition: clip-path 0.9s var(--ease), opacity 0.7s var(--ease), scale 1.1s var(--ease); }
.img-reveal.img-in { clip-path: inset(0 0 0 0 round 24px); opacity: 1; scale: 1; }

[data-count] { font-variant-numeric: tabular-nums; }

/* Sanfte Seitenwechsel */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) { animation: vtOut 0.26s var(--ease) both; }
    ::view-transition-new(root) { animation: vtIn 0.34s var(--ease) both; }
    @keyframes vtOut { to { opacity: 0; translate: 0 -8px; } }
    @keyframes vtIn { from { opacity: 0; translate: 0 12px; } }
}

/* ==========================================================================
   WhatsApp + Schnellzugriff am Handy
   ========================================================================== */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 140; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.75); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s var(--ease); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 38px -8px rgba(37, 211, 102, 0.9); }
.wa-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPuls 2.8s var(--ease) infinite; pointer-events: none; }
@keyframes waPuls { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

.wa-teaser { position: fixed; right: 20px; bottom: 88px; z-index: 139; width: min(312px, calc(100vw - 40px)); padding: 18px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); opacity: 0; transform: translateY(14px) scale(0.96); transform-origin: bottom right; pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.wa-teaser.open { opacity: 1; transform: none; pointer-events: auto; }
.wa-teaser-close { position: absolute; top: 9px; right: 11px; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.wa-teaser-close:hover { background: var(--surface); color: var(--ink); }
.wa-teaser-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.wa-teaser-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--surface); overflow: hidden; }
.wa-teaser-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.wa-teaser-ident { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.wa-teaser-ident b { font-size: 0.95rem; }
.wa-teaser-ident small { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; color: #12a66a; }
.wa-teaser-ident small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #12a66a; }
.wa-teaser-ident small.is-off { color: var(--muted); }
.wa-teaser-ident small.is-off::before { background: var(--muted); }
.wa-teaser-text { margin: 0 0 15px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.wa-teaser-cta { display: block; padding: 12px 18px; border-radius: 999px; background: #25d366; color: #fff; font-size: 0.9rem; font-weight: 600; text-align: center; transition: background-color 0.3s ease, transform 0.3s var(--ease); }
.wa-teaser-cta:hover { background: #1fb855; transform: translateY(-2px); }

.mobile-action-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .chip-a { left: -14px; }
    .check-card { left: -44px; }
    .seal { right: -14px; }
    .chip-b { right: -14px; }
    .hero-visual { margin-right: 14px; }
}

@media (max-width: 980px) {
    .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px; border-radius: 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity 0.3s, translate 0.4s var(--ease), visibility 0.3s; }
    .nav-links a { padding: 14px 14px; font-size: 1.02rem; border-radius: 10px; }
    .nav-links a:hover, .nav-links a[aria-current] { color: var(--green-ink); background: var(--green-wash); }
    .nav-links a::after { display: none; }
    .menu-open .nav-links { opacity: 1; visibility: visible; translate: 0 0; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { margin-left: auto; }

    .hero { padding: 124px 0 76px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-visual { justify-self: center; width: min(100%, 420px); margin: 0 auto 34px; }

    .why, .split, .card-wide, .svc-row { grid-template-columns: 1fr; }
    .svc-row:nth-child(even) .svc-media { order: 0; }
    .photos { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 480px; margin: 0 auto 24px; width: 100%; }
    .svc-grid, .tiles { grid-template-columns: 1fr 1fr; }
    .proof { grid-template-columns: 1fr; text-align: left; }
    .proof-dots-wrap { justify-items: start; }
    .notes { grid-template-columns: 1fr; }
    .note { rotate: 0deg !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .prose .dsgvo-points { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { padding-bottom: 68px; }
    .wa-fab { display: none; }
    .wa-teaser { right: 12px; left: 12px; bottom: 80px; width: auto; }

    .mobile-action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(22, 50, 42, 0.5); translate: 0 110%; transition: translate 0.5s var(--ease); }
    .mobile-action-bar.visible { translate: 0 0; }
    .mobile-action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-size: 0.86rem; font-weight: 600; background: var(--surface); color: var(--ink); }
    .mobile-action-bar .mab-wa { background: #e3f9ec; color: #0f7a45; }
    .mobile-action-bar .mab-cta { background: var(--orange); }
    .mobile-action-bar .ic { font-size: 1.05rem; }
}

@media (max-width: 640px) {
    .nav { gap: 8px; }
    .nav-name { font-size: 0.98rem; }
    .nav-name small { font-size: 0.52rem; letter-spacing: 0.09em; }
    .nav-cta { padding: 11px 13px; font-size: 0.8rem; }
    .nav-cta .ic, .hide-s { display: none; }

    .hero { padding-top: 112px; }
    .hero-cta, .hero-cta .btn { width: 100%; }
    .hero-stats { width: 100%; grid-template-columns: repeat(3, 1fr); padding: 12px 2px; }
    .hero-stats li { padding: 0 8px; text-align: center; }
    .hero-stats b { font-size: 1.4rem; }
    .hero-stats li > span { font-size: 0.7rem; line-height: 1.3; }
    .hero-visual { width: min(86%, 350px); margin-bottom: 96px; }
    .hero-visual::before { inset: 18px -12px -12px 18px; }
    .chip { font-size: 0.72rem; padding: 8px 11px; }
    .chip-a { left: -22px; top: 20px; }
    .chip-b { display: none; }
    .pill { font-size: 0.6rem; letter-spacing: 0.08em; padding: 7px 12px; }
    .check-card { left: -22px; bottom: -104px; width: 226px; padding: 14px 15px 11px; }
    .check-card li { font-size: 1.16rem; }
    .seal { width: 78px; height: 78px; top: -20px; right: -18px; }
    .seal span { font-size: 1.2rem; }

    .marquee span { font-size: 0.95rem; }
    .reasons, .svc-grid, .tiles, .bento, .form-row { grid-template-columns: 1fr; }
    .sec-head { margin-bottom: 38px; }
    .band .btn, .final-cta .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-head { padding: 124px 0 44px; }
    .jump { top: 72px; }
    .week span { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .beam, .fring, .ping::after, .week .on i::after, .wa-fab::after, .scroll-progress { display: none; }
    .marquee-track { animation: none; }
    .svc, .reason, .tile, .card, .work { transform: none !important; }
    .img-reveal { clip-path: none; opacity: 1; scale: 1; transition: none; }
}

/* ==========================================================================
   Einblicke (Bildergalerie) + zweispaltige Kundenstimmen
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; }
.gallery figure { position: relative; height: 360px; border-radius: 24px; overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:hover img { scale: 1.05; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 46px 16px 14px; background: linear-gradient(transparent, rgba(22, 38, 42, 0.82)); color: rgba(255, 255, 255, 0.86); font-size: 0.8rem; line-height: 1.4; }
.gallery figcaption b { display: block; font-family: var(--serif); font-size: 1.02rem; color: #fff; }
.notes-2 { grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }

@media (max-width: 980px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery figure { height: 280px; }
    .notes-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .gallery { grid-template-columns: 1fr; }
    .gallery figure { height: 240px; }
}


/* ==========================================================================
   Einblicke: echte Fotos aus der Arbeit, mit Vorher/Nachher
   ========================================================================== */
.works { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; }
.work { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 300px; border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.work:hover { box-shadow: var(--shadow-lift); }
.work-feature { grid-row: span 2; }

.work-media { position: absolute; inset: 0; margin: 0; background: var(--surface); }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease), opacity 0.9s ease; }
.work:hover .work-media img { scale: 1.06; }
.work-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 30, 28, 0) 34%, rgba(16, 30, 28, 0.86)); }
.work-body { position: relative; z-index: 1; margin-top: auto; padding: 18px 18px 16px; color: #fff; }
.work-body h3 { font-size: 1.1rem; margin: 8px 0 4px; }
.work-body p { font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.work-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-ink); }
.work-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* Zwei Bilder im Wechsel */
.work-media .is-b { opacity: 0; }
.work-media[data-show='b'] .is-a { opacity: 0; }
.work-media[data-show='b'] .is-b { opacity: 1; }
.work-count { position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; gap: 5px; padding: 6px 8px; border-radius: 999px; background: rgba(16, 30, 28, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work-count i { width: 16px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); transition: background-color 0.4s, width 0.4s var(--ease); }
.work-count i.on { width: 24px; background: #fff; }

/* Großes Motiv: Text steht unter dem Bild */
.work-feature .work-body { margin-top: 0; padding: 20px 22px 22px; color: var(--ink); }
.work-feature .work-body h3 { font-size: 1.32rem; }
.work-feature .work-body p { font-size: 0.92rem; color: var(--ink-2); }
.work-feature .work-tag { background: var(--green-wash); }
.work-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--hand); font-size: 1.25rem; color: var(--orange-ink); }

/* Vorher/Nachher in einem Foto */
.ba { position: relative; aspect-ratio: 1070 / 1081; overflow: hidden; background: var(--surface); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ba-zone { fill: rgba(16, 30, 28, 0); transition: fill 0.5s ease; }
.ba-line { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ba-linie { clip-path: inset(0 0 100% 0); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.in .ba-linie, .ba.in .ba-linie { animation: lineDown 1.6s var(--ease) 0.5s forwards; }
@keyframes lineDown { to { clip-path: inset(0 0 0 0); } }
.ba-tag { position: absolute; z-index: 2; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 13px; border-radius: 13px; border: 0; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-lift); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: left; cursor: pointer; opacity: 0; scale: 0.6; transition: transform 0.4s var(--ease), background-color 0.3s; }
.ba-tag b { font-family: var(--serif); font-size: 0.98rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.25; }
.ba-tag:hover, .ba-tag:focus-visible { transform: translateY(-3px); background: #fff; }
.ba-nachher { left: 5%; top: 44%; }
.ba-nachher b { color: var(--green-ink); }
.ba-vorher { right: 2.5%; top: 44%; }
.in .ba-tag, .ba.in .ba-tag { animation: pop 0.6s var(--ease) 1.5s forwards; }
.in .ba-vorher, .ba.in .ba-vorher { animation-delay: 1.75s; }
.ba-knob { position: absolute; z-index: 2; left: 76.5%; top: 64%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-lift); font-size: 1.05rem; opacity: 0; scale: 0.4; pointer-events: none; }
.ba-knob::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ring 2.6s ease-out infinite; }
.in .ba-knob, .ba.in .ba-knob { animation: pop 0.6s var(--ease) 1.3s forwards; }
/* Zeiger auf einem Schild: die andere Hälfte tritt zurück */
.ba-vorher:hover ~ .ba-svg .ba-zone-nachher, .ba-vorher:focus ~ .ba-svg .ba-zone-nachher,
.ba-nachher:hover ~ .ba-svg .ba-zone-vorher, .ba-nachher:focus ~ .ba-svg .ba-zone-vorher { fill: rgba(16, 30, 28, 0.62); }

/* Leistungsseite: quadratische Bildflächen für Hochformat-Fotos */
.svc-media.is-square img { aspect-ratio: 1 / 1; }
.svc-media .ba { border-radius: 24px; box-shadow: var(--shadow-lift); }
.svc-media .ba .ba-img { aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }

/* Vier Kacheln nebeneinander + Einzugsgebiet */
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.sub-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: clamp(48px, 7vw, 76px) 0 28px; }
.sub-head .eyebrow { margin: 0; }
.sub-head h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.locals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.locals a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: all 0.35s var(--ease); }
.locals a:hover { border-color: var(--green); color: var(--green-ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.locals .ic { color: var(--green); }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 980px) {
    .works { grid-template-columns: 1fr 1fr; }
    .work-feature { grid-column: 1 / -1; grid-row: auto; }
    .tiles-4 { grid-template-columns: 1fr 1fr; }
    .gallery-3 { grid-template-columns: 1fr 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    /* Am Handy: seitlich wischen */
    .works { display: flex; align-items: stretch; gap: 14px; margin: 0 -20px; padding: 6px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .works::-webkit-scrollbar { display: none; }
    .work { flex: 0 0 80%; min-height: 400px; scroll-snap-align: center; }
    .work-feature { flex-basis: 88%; }
    .works .rv { --d: 0s !important; }
    .ba-tag { padding: 6px 10px; }
    .ba-tag b { font-size: 0.86rem; }
    .ba-tag small { display: none; }
    .ba-knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
    .tiles-4, .gallery-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .swipe { display: flex; }
}
.swipe { display: none; justify-content: center; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.swipe .ic { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }

@media (prefers-reduced-motion: reduce) {
    .ba-linie { clip-path: none; }
    .ba-tag, .ba-knob { opacity: 1; scale: 1; }
    .ba-knob::after { display: none; }
}
