/* Malerbetrieb Thumann – Stylesheet
   Schrift lokal gehostet (keine Google Fonts, keine externen Requests) */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Logo-Grün + Komplementär (Violett) */
  --lime: #76e236;
  --lime-2: #a8f06f;
  --lime-soft: #e3f9d3;
  --mint: #f3fcec;
  --emerald: #2fc46e;
  --violet: #7a62b8;
  --violet-2: #a993dc;
  --violet-soft: #f3f0fa;
  --night: #2a2438;
  --ink: #16141d;
  --ink-soft: #5a5766;
  --line: #e4e2ea;
  --paper: #fbfbf8;
  --white: #fff;
  --radius: 20px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; overflow-x: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; position: relative;
}
/* iOS Safari ignoriert overflow-x auf body allein: clip auf html + body verhindert seitliches Wischen */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
p, li, blockquote, summary { text-wrap: pretty; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .08em; }

/* Buttons: weiße Füllung gleitet beim Hover von unten herein */
.btn {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font: 700 0.95rem/1 var(--font); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--white); transform: translateY(102%); transition: transform .6s var(--ease-out);
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ghost { border-color: rgba(22,20,29,.25); color: var(--ink); background: rgba(255,255,255,.45); }
.btn svg { width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { color: var(--ink); border-color: rgba(22,20,29,.12); transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(22,20,29,.5); }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover svg { transform: translateX(4px); }
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(251,251,248,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.93rem; position: relative; }
.nav-links small { display: none; }
.menu-contact { display: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { text-decoration: none; font-weight: 700; font-size: 0.93rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s ease, opacity .2s ease, top .35s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.site-header.open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Hero – Farbverlauf in Grüntönen */
.hero {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 130px 0 90px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #f4fdea 0%, #dff8c9 45%, #c3f0a6 100%);
}
.hero-bg { position: absolute; inset: -80px; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; opacity: .85; will-change: transform; transform: translateZ(0); }
.blob-1 { width: 56vw; height: 56vw; left: -14vw; top: -18vw; background: radial-gradient(circle, #76e236 0%, rgba(118,226,54,0) 68%); }
.blob-2 { width: 50vw; height: 50vw; right: -12vw; top: 4vh; background: radial-gradient(circle, #2fc46e 0%, rgba(47,196,110,0) 66%); opacity: .55; }
.blob-3 { width: 46vw; height: 46vw; left: 24vw; bottom: -26vw; background: radial-gradient(circle, #b9f27f 0%, rgba(185,242,127,0) 68%); }
.blob-4 { width: 26vw; height: 26vw; right: 16vw; bottom: 6vh; background: radial-gradient(circle, #e9ffd6 0%, rgba(233,255,214,0) 70%); opacity: 1; }
.hero-grain { position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hero-inner { max-width: 980px; margin-inline: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 600; font-size: 0.88rem; margin-bottom: 30px; }
.hero-badge b { background: var(--ink); color: var(--lime); border-radius: 999px; padding: 4px 10px; font-size: 0.78rem; }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 5.2rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { margin: 28px auto 40px; color: #3b3a44; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 6vw, 72px); margin-top: 64px; }
.hero-stats div { font-size: 0.88rem; color: #3b3a44; line-height: 1.35; }
.hero-stats strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }

/* Section head */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 64px; }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); display: flex; flex-direction: column; will-change: transform;
}
.service-media { overflow: hidden; aspect-ratio: 16/11; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.service-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-num { font-size: 0.8rem; font-weight: 700; color: var(--violet); margin-bottom: 10px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.service-tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span { font-size: 0.75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: #2c5a12; }

/* Zielgruppen (Komplementär) */
.audience { background: var(--night); color: #f2eefa; overflow: hidden; }
.audience::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; background: radial-gradient(circle, rgba(169,147,220,.35), transparent 65%); pointer-events: none; }
.audience .lead { color: rgba(242,238,250,.72); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card { position: relative; border-radius: var(--radius); padding: 44px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.audience-card .tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); margin-bottom: 22px; }
.audience-card:nth-child(2) .tag { background: var(--violet-2); color: var(--ink); }
.audience-card h3 { font-size: 1.9rem; margin-bottom: 12px; }
.audience-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.audience-card li { padding: 12px 0 12px 32px; border-top: 1px solid rgba(255,255,255,.1); position: relative; font-size: 0.97rem; }
.audience-card li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 13px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }

.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 48px; color: var(--ink-soft); font-size: 0.9rem; }
.brands strong { font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }

/* Timeline */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.tl-list { list-style: none; margin: 0; padding: 0; }
.timeline::before, .timeline-progress { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--line); }
.timeline-progress { background: linear-gradient(var(--lime), var(--emerald)); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; width: 50%; padding: 0 56px 64px 0; text-align: right; }
.tl-item:nth-child(odd) { margin-left: 50%; padding: 0 0 64px 56px; text-align: left; }
.tl-dot { position: absolute; top: 6px; right: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--lime); z-index: 1; }
.tl-item:nth-child(odd) .tl-dot { left: -11px; right: auto; }
.tl-year { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; color: var(--violet); }
.tl-item h3 { margin-bottom: 8px; }
.tl-item p { color: var(--ink-soft); margin: 0; }
.tl-item:last-child { padding-bottom: 0; }
@media (min-width: 901px) { .tl-item + .tl-item { margin-top: -72px; } }

/* Team-Slider */
.team { background: var(--white); overflow: hidden; }
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.slider-nav button:hover { background: var(--ink); color: var(--white); }
.slider-nav button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.slider-nav svg { width: 20px; height: 20px; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: grab; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.member { flex: 0 0 clamp(240px, 26vw, 300px); scroll-snap-align: start; }
.member-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--mint); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; pointer-events: none; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-since { position: absolute; left: 12px; bottom: 12px; background: var(--lime); color: var(--ink); font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.member:first-child .member-since { background: var(--violet); color: var(--white); }
.member h3 { margin: 18px 0 4px; font-size: 1.2rem; }
.member p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-size: 1.05rem; line-height: 1.6; }
.quote figcaption { margin-top: auto; font-size: 0.88rem; color: var(--ink-soft); }
.quote figcaption strong { color: var(--ink); display: block; }

/* Region */
.region { background: var(--mint); }
.region-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; }
.region-list li { list-style: none; background: var(--white); padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 0.93rem; }
.region-list li.main { background: var(--ink); color: var(--lime); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316141d' stroke-width='2.4'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq details p { color: var(--ink-soft); padding-bottom: 24px; margin: 0; max-width: 70ch; }

/* Kontakt */
.contact { background: var(--night); color: #f2eefa; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 50vw; height: 50vw; left: -20vw; bottom: -25vw; background: radial-gradient(circle, rgba(118,226,54,.28), transparent 65%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); position: relative; }
.contact-info .lead { color: rgba(242,238,250,.7); margin: 22px 0 40px; }
.contact-lines { display: grid; gap: 20px; }
.contact-lines a { text-decoration: none; display: block; }
.contact-lines small { display: block; font-size: 0.8rem; font-weight: 600; color: var(--lime); margin-bottom: 2px; }
.contact-lines span { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; font-size: 0.88rem; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: .2s; }
.chips input:checked + span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--violet); }
.consent { display: flex; gap: 10px; align-items: start; font-size: 0.85rem; color: var(--ink-soft); font-weight: 400 !important; }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.88rem; margin: 0; }

/* Footer */
.site-footer { background: var(--night); color: rgba(242,238,250,.6); border-top: 1px solid rgba(255,255,255,.08); padding: 36px 0; font-size: 0.88rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--lime); }

.callbar { display: none; }

/* Unterseiten */
.legal { max-width: 760px; padding: 140px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .logo, .nav-cta { position: relative; z-index: 2; }
  /* Vollbild-Menü */
  .menu {
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh; overflow: hidden; overscroll-behavior: contain;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2dvh;
    padding: calc(76px + 1.5dvh) 20px calc(16px + 1.5dvh + env(safe-area-inset-bottom));
    background: linear-gradient(165deg, #f4fdea 0%, #e2f8cf 55%, #cdf3b2 100%);
    visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .site-header.open .menu { visibility: visible; opacity: 1; transition: opacity .35s ease; }
  .site-header.open { background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-links { display: block; }
  .nav-links li { border-bottom: 1px solid rgba(22,20,29,.1); }
  .nav-links a { display: flex; align-items: baseline; gap: 14px; padding: clamp(5px, 1.5dvh, 16px) 2px; font-size: clamp(1.35rem, min(8vw, 4.4dvh), 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
  .nav-links a::after { display: none; }
  .nav-links small { display: inline; font-size: 0.8rem; font-weight: 700; letter-spacing: 0; color: var(--violet); min-width: 22px; }
  .nav-links a:active { color: var(--ink-soft); }
  .menu-contact { display: grid; gap: clamp(6px, 1.3dvh, 14px); }
  .menu-cta { justify-content: center; width: 100%; padding: clamp(11px, 1.9dvh, 18px) 24px; font-size: 1rem; }
  .menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(6px, 1.1dvh, 10px); }
  .menu-grid a { display: block; padding: clamp(7px, 1.3dvh, 14px) 16px; border-radius: 14px; background: rgba(255,255,255,.65); text-decoration: none; font-weight: 700; font-size: 0.88rem; line-height: 1.3; overflow-wrap: anywhere; }
  .menu-grid .wide { grid-column: 1 / -1; }
  .menu-grid small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
  .menu-open { overflow: hidden; }
  .menu-open .callbar { opacity: 0; pointer-events: none; }
  .section-head, .contact-grid, .audience-grid, .quotes { grid-template-columns: 1fr; }
  .timeline::before, .timeline-progress { left: 11px; }
  .tl-item, .tl-item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 48px 48px; text-align: left; }
  .tl-dot, .tl-item:nth-child(odd) .tl-dot { left: 0; right: auto; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 40;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    transition: opacity .3s ease;
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.92rem; white-space: nowrap;
    background: var(--ink); color: var(--white); box-shadow: 0 12px 28px -12px rgba(22,20,29,.55);
  }
  .callbar a + a { background: var(--lime); color: var(--ink); }
  .callbar svg { width: 17px; height: 17px; flex: none; }
  .site-footer { padding-bottom: calc(36px + 88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 900px), (hover: none) { .hero-grain { display: none; } }
@media (max-width: 420px) { .callbar a + a svg { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services, .form { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
  .audience-card, .quote { padding: 26px; }
  .member { flex-basis: 78%; }
  .hero-stats strong { font-size: 2rem; }
}
.legal h3 { font-size: 1.05rem; margin: 24px 0 6px; letter-spacing: -0.01em; }
.legal a { color: var(--violet); }
.legal .btn { color: var(--white); }
.footer-row .credit { color: var(--lime); }


/* Preloader */
.preloader { display: none; }
.is-loading .preloader {
  display: grid; place-items: center; align-content: center; gap: 10px;
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
}
.is-loading body { overflow: hidden; }
.pl-bucket { width: 92px; height: auto; overflow: visible; }
.pl-count { font-weight: 800; letter-spacing: -0.04em; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.pl-pct { font-size: .5em; margin-left: 4px; vertical-align: top; color: var(--violet); }

/* FAQ: Inhalt wird per GSAP weich auf- und zugeklappt */
.faq-body { overflow: hidden; }
.faq summary::after { transition: transform .6s cubic-bezier(.22, 1, .36, 1), background-color .4s ease; }
.faq summary { transition: color .3s ease; }
@media (hover: hover) { .faq summary:hover { color: var(--ink-soft); } }

/* Laufband unter dem Hero */
.marquee { overflow: hidden; background: var(--ink); color: var(--white); padding: 22px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee span { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); flex: none; }

/* Überschriften: Wörter gleiten aus einer Maske */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* Header blendet beim Runterscrollen aus */
.site-header { transition: background .3s, box-shadow .3s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.site-header.hide { transform: translateY(-100%); }

/* Kontaktzeile in der Seitenmitte */
.cta-strip { padding: 0 0 clamp(56px, 8vw, 96px); }
.cta-strip-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px;
  padding: 22px 26px; border-radius: var(--radius); background: var(--lime-soft);
}
.cta-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cta-strip p { margin: 0; font-size: 1.05rem; line-height: 1.5; max-width: 52ch; }
.cta-strip strong { display: block; font-size: 1.2rem; letter-spacing: -0.02em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-actions .btn { padding: 14px 22px; }
@media (max-width: 900px) {
  .cta-strip-inner { grid-template-columns: auto 1fr; }
  .cta-actions { grid-column: 1 / -1; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}
/* Pillen-Buttons ausblenden, solange das Formular im Bild ist */
.at-contact .callbar { opacity: 0; pointer-events: none; transform: translateY(16px); }
.callbar { transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }

/* Kundenstimmen-Sektion */
.quotes-section { background: var(--white); padding-top: 0; }

/* Leistungen auf dem Handy kompakt: kleines Bild links, Text rechts */
@media (max-width: 640px) {
  .service { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px; align-items: start; }
  .service-media { aspect-ratio: 1; border-radius: 14px; }
  .service-body { padding: 0; }
  .service-num, .service-tags { display: none; }
  .service h3 { font-size: 1.1rem; margin-bottom: 6px; }
  .service p { font-size: 0.92rem; line-height: 1.55; }
  .services { gap: 12px; }
}

/* Browser-Oberflächen im Stil der Seite */
::selection { background: var(--lime); color: var(--ink); }
input, textarea { caret-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.contact :focus-visible, .audience :focus-visible, .site-footer :focus-visible, .callbar :focus-visible { outline-color: var(--lime); }
.track:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.faq summary:focus-visible { outline-offset: 2px; }
.contact .form :focus-visible { outline-color: var(--ink); }
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
  .hero-stats div { font-size: 0.78rem; }
  .hero-stats strong { font-size: 1.7rem; }
}
.footer-nap { font-style: normal; }
.footer-nap a { text-decoration: none; }
.footer-nap a { white-space: nowrap; }
