/* ==========================================================================
   HK Growth Webstudio — dunkles, editoriales Design.
   Fraunces (Serife, Hervorhebungen) + Inter (Fließtext), beide selbst gehostet.
   Farben: warmes Schwarz, Papier-Abschnitte, ein Akzent (Grün der HK-Marke).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url(/assets/fonts/fraunces-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  --bg: #0c0d0b;
  --bg-deep: #070807;
  --surface: #141613;
  --surface-2: #1b1e1a;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f2f0ea;
  --text-2: #b4b3ac;
  --text-3: #8a8a83;
  --accent: #9ef5b5;
  --accent-light: #2b7353;
  --accent-ink: #0b1a10;
  --paper: #f3f1ea;
  --paper-2: #e9e6dd;
  --paper-line: rgba(13, 14, 12, .12);
  --ink: #0d0e0c;
  --ink-2: #4e524b;
  --ink-3: #686b64;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 8px 24px rgba(0, 0, 0, .3);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, fieldset, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.paper :focus-visible { outline-color: var(--accent-light); }
.ico { width: 1.05em; height: 1.05em; flex: none; }

.skip { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 12px 16px; background: var(--accent); color: var(--accent-ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; transform: translateY(-200%); transition: transform .2s; border-radius: 6px; }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.paper .eyebrow { color: var(--accent-light); }
.eyebrow-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(158, 245, 181, .15); }

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0; }
h1 em, h2 em, .statement em, .section-head em { font-style: italic; font-weight: 400; color: var(--accent); }
.paper h1 em, .paper h2 em, .paper .statement em { color: var(--accent-light); }
h3 { font-family: var(--sans); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 600px; }
.paper .lead { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(158, 245, 181, .15); }
.btn-primary:hover { background: #b6f8c7; box-shadow: 0 14px 36px rgba(158, 245, 181, .25); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--ink); border-color: rgba(13, 14, 12, .3); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.paper .btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(13, 14, 12, .18); }
.paper .btn-primary:hover { background: #262925; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .2s, border-color .2s, gap .2s; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243, 241, 234, .92); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--paper-line); color: var(--ink); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-logo { width: 104px; height: auto; display: block; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: -.04em; font-variation-settings: "opsz" 9; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.brand-text small { font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.nav-mobile-cta { display: none; }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 14px; background: var(--ink); color: var(--paper); box-shadow: none; }
.header-cta:hover { background: #262925; }
.burger { display: none; width: 44px; height: 44px; margin-right: -8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; z-index: 110; }
.burger span { width: 22px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; border-radius: 2px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 55% at 72% 38%, rgba(158, 245, 181, .13), transparent 70%), radial-gradient(40% 40% at 10% 10%, rgba(255, 255, 255, .05), transparent 60%); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 86px); margin: 26px 0 24px; }
.hero .lead { font-size: clamp(17px, 1.4vw, 19px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.proofs li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.proofs b { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.proofs span { font-size: 12.5px; color: var(--text-3); letter-spacing: .02em; }

/* Rein typografischer Hero (Standard) */
.hero-none .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero-none .hero-copy { max-width: 1040px; }
.hero-none h1 { font-size: clamp(50px, 8.2vw, 122px); max-width: 12ch; margin: 28px 0 28px; }
.hero-none .lead { max-width: 680px; font-size: clamp(17px, 1.5vw, 20px); }
.hero-none .proofs { max-width: 900px; margin-top: 56px; }
.hero-none::after { content: ""; position: absolute; right: -6vw; bottom: -18vw; width: 48vw; height: 48vw; max-width: 760px; max-height: 760px; border-radius: 50%; border: 1px solid rgba(158, 245, 181, .14); box-shadow: inset 0 0 0 60px rgba(158, 245, 181, .025); pointer-events: none; z-index: -1; }
/* Foto rechts, schwarz-weiß */
.hero-photo { position: relative; max-width: 440px; justify-self: end; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line-2); filter: grayscale(1) contrast(1.05) brightness(.92); box-shadow: var(--shadow); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(12, 13, 11, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.hero-stage { position: relative; padding: 24px 0 24px 0; }
.hero-stage.has-phone { padding-bottom: 56px; padding-right: 36px; }
.phone-hero { right: -4px; bottom: 0; width: 25%; min-width: 112px; transform: rotate(-3deg) translateZ(0); }
.hero-stage:hover .phone-hero { transform: rotate(0) translateY(-4px); }
.browser { position: relative; background: #0f110e; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #1a1d19; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser-bar i { margin-left: 12px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-style: normal; font-size: 11px; color: var(--text-3); display: flex; align-items: center; padding: 0 10px; letter-spacing: .02em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.browser-hero { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: 70% 50%; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(158, 245, 181, .18); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(158, 245, 181, .18); } 50% { box-shadow: 0 0 0 7px rgba(158, 245, 181, .06); } }

/* ---------- Logo-Zeile ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-deep); overflow: hidden; }
.trust-inner { display: flex; align-items: center; gap: 36px; padding: 22px var(--gutter); }
.trust-label { flex: none; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); max-width: 150px; line-height: 1.5; }
.marquee { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { flex: none; display: flex; align-items: center; height: 44px; }
.logo-item img { height: 40px; width: auto; max-width: 190px; object-fit: contain; opacity: .8; filter: brightness(0) invert(1); transition: opacity .3s; }
.logo-item:hover img { opacity: 1; }
.logo-name { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper + .paper { border-top: 1px solid var(--paper-line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 60px); margin-top: 18px; }
.section-intro { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 600px; }
.paper .section-intro { color: var(--ink-2); }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; max-width: none; }
.section-head-split .eyebrow { grid-column: 1 / -1; }
.section-head-split h2 { margin-top: 0; }
.section-head-split .section-intro { margin-top: 0; padding-bottom: 8px; }

/* Ausgangslage */
.problem-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--paper-line); }
.problem-list li { display: grid; gap: 22px; padding: 32px 32px 36px 0; border-bottom: 1px solid var(--paper-line); align-content: start; }
.problem-list li + li { border-left: 1px solid var(--paper-line); padding-left: 32px; }
.num { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--accent-light); letter-spacing: .05em; }
.problem-list h3 { font-size: 21px; margin-bottom: 10px; }
.problem-list p { color: var(--ink-2); font-size: 15.5px; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; letter-spacing: -.015em; margin-top: 56px; max-width: 980px; text-wrap: balance; font-variation-settings: "opsz" 72; }

/* Leistungen */
.deliverable-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.deliverable { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.deliverable:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-3px); }
.deliverable .tag { font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: .06em; }
.deliverable h3 { font-size: 20px; }
.deliverable p { font-size: 15px; color: var(--text-2); }
.deliverable .pain { position: relative; padding: 12px 14px 12px 16px; border-left: 2px solid #f0b58a; background: rgba(240, 181, 138, .06); border-radius: 0 8px 8px 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.deliverable .pain span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #f0b58a; margin-bottom: 4px; font-weight: 600; }
.deliverable .points { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.deliverable .points li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.deliverable .points .ico { color: var(--accent); width: 15px; height: 15px; margin-top: 3px; }

/* Automatisierung */
.automation { background: var(--bg-deep); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.automation::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(158, 245, 181, .08), transparent 60%); pointer-events: none; }
.automation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; position: relative; }
.flow { display: grid; gap: 0; counter-reset: flow; }
.flow li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow .num { color: var(--accent); font-size: 16px; padding-top: 3px; }
.flow h3 { font-size: 20px; margin-bottom: 8px; }
.flow p { color: var(--text-2); font-size: 15.5px; max-width: 460px; }
.log { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.log-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.log-head b { font-size: 14px; }
.log-head small { margin-left: auto; font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.log-rows { padding: 10px 0; }
.log-rows li { display: grid; grid-template-columns: 76px 1fr 20px; align-items: center; gap: 14px; padding: 12px 20px; font-size: 14px; color: var(--text-2); border-bottom: 1px dashed var(--line); }
.log-rows li:last-child { border-bottom: 0; }
.log-rows time { font-family: var(--serif); font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.log-rows .ico { color: var(--accent); width: 16px; height: 16px; }
.log-rows .log-final { color: var(--text); font-weight: 600; background: rgba(158, 245, 181, .06); }
.log-rows .log-final time { color: var(--accent); }
.automation-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--text-2); letter-spacing: .01em; }
.chips-sm li { padding: 5px 11px; font-size: 11.5px; }
.paper .chips li { border-color: var(--paper-line); color: var(--ink-2); }

/* Pakete */
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; }
.package-highlight { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 30px 70px rgba(13, 14, 12, .22); }
.badge { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.package h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.package-audience { font-size: 14.5px; color: var(--ink-2); min-height: 44px; }
.package-highlight .package-audience { color: var(--text-2); }
.package-price { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.package-highlight .package-price { border-color: var(--line-2); }
.package-price b { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.package-price small { font-size: 13px; color: var(--ink-3); }
.package-highlight .package-price small { color: var(--text-3); }
.package-duration { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--accent-light); font-weight: 600; }
.package-highlight .package-duration { color: var(--accent); }
.features { display: grid; gap: 10px; flex: 1; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.package-highlight .features li { color: var(--text-2); }
.features .ico { color: var(--accent-light); margin-top: 3px; width: 16px; height: 16px; }
.package-highlight .features .ico { color: var(--accent); }
.package .btn { margin-top: 10px; }
.package-highlight .btn-primary { background: var(--accent); color: var(--accent-ink); }
.package-highlight .btn-primary:hover { background: #b6f8c7; }
.package-note { margin-top: 28px; font-size: 14px; color: var(--ink-3); max-width: 760px; }

/* Referenzen */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.work-visual { position: relative; padding: 0 0 54px 0; }
.browser-card { transition: transform .5s var(--ease), box-shadow .5s; }
.work-card:hover .browser-card { transform: translateY(-6px); }
.browser-card img { transition: object-position 2.4s var(--ease); }
.work-card:hover .browser-card img { object-position: bottom; }
.phone { position: absolute; right: 18px; bottom: 0; width: 23%; min-width: 96px; background: #0f110e; border: 1px solid var(--line-2); border-radius: 18px; padding: 6px; box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform .5s var(--ease); }
.work-card:hover .phone { transform: rotate(0) translateY(-4px); }
.phone img { width: 100%; aspect-ratio: 560 / 1212; object-fit: cover; object-position: top; border-radius: 12px; }
.work-card-logo .work-visual { padding-bottom: 0; }
.work-logo { aspect-ratio: 3 / 2.2; display: grid; place-items: center; padding: 40px; background: linear-gradient(160deg, var(--paper), var(--paper-2)); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .5s var(--ease); }
.work-card:hover .work-logo { transform: translateY(-6px); }
.work-logo img { max-height: 160px; max-width: 55%; object-fit: contain; }
.work-wordmark { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.02em; text-align: center; color: var(--ink); font-variation-settings: "opsz" 144, "SOFT" 60; }
.work-info { margin-top: 20px; display: grid; gap: 12px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.work-meta span:first-child { color: var(--accent); }
.work-meta .work-index { margin-left: auto; }
.work-badge { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); letter-spacing: .08em; }
.work-badge-own { border-color: rgba(158, 245, 181, .5); color: var(--accent); background: rgba(158, 245, 181, .07); }
.work-card-linked .work-visual { display: block; color: inherit; }
.work-info h3 a { transition: color .2s; }
.work-info h3 a:hover { color: var(--accent); }
.work-info h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.work-info p { color: var(--text-2); font-size: 15.5px; max-width: 520px; }

/* Ablauf */
.process { background: var(--bg-deep); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps .num { font-size: 30px; color: var(--accent); margin-bottom: 14px; }
.steps small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.steps h3 { font-size: 21px; }
.steps p { color: var(--text-2); font-size: 15px; }
.process-note { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 6px; }
.member img, .member-initials { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--paper-2); margin-bottom: 14px; filter: saturate(.85); transition: filter .4s; }
.member:hover img { filter: saturate(1); }
.member-initials { display: grid; place-items: center; font-family: var(--serif); font-size: 44px; color: var(--ink-3); background: linear-gradient(160deg, var(--paper-2), #ddd9cd); }
.member h3 { font-size: 19px; }
.member-role { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
.member p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }

/* Einblicke */
.gallery { background: var(--bg-deep); border-top: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid figure { display: grid; gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-grid figcaption { font-size: 13px; color: var(--text-3); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.4; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .3s var(--ease), border-color .2s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq-answer { padding: 0 48px 24px 0; }
.faq-answer p { color: var(--text-2); font-size: 15.5px; }

/* Termin buchen */
.booking { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line); overflow: hidden; }
.booking::before { content: ""; position: absolute; left: -10%; bottom: -30%; width: 55vw; height: 55vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(158, 245, 181, .1), transparent 60%); pointer-events: none; }
.booking-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; position: relative; }
.booking-copy h2 { font-size: clamp(38px, 5vw, 64px); margin: 18px 0 20px; }
.booking-bullets { display: grid; gap: 12px; margin-top: 28px; }
.booking-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.booking-bullets .ico { color: var(--accent); margin-top: 4px; }
.booking-external { margin-top: 32px; }
.booking-or { margin-top: 14px; font-size: 13.5px; color: var(--text-3); }
.direct { display: grid; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); justify-items: start; }
.direct small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.direct a { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 550; color: var(--text); transition: color .2s; }
.direct a:hover { color: var(--accent); }
.direct .ico { color: var(--accent); }
.booking-form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-head b { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.form-head span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--accent); white-space: nowrap; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields label, .slot-date { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea, .slot-date input { width: 100%; min-width: 0; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.fields select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23b4b3ac' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fields input::placeholder, .fields textarea::placeholder { color: var(--text-3); }
.fields input:focus, .fields select:focus, .fields textarea:focus, .slot-date input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(158, 245, 181, .12); }
.fields textarea { resize: vertical; min-height: 96px; }
.fields input[aria-invalid="true"], .fields select[aria-invalid="true"] { border-color: #ff9c8f; }
.slot-set legend { font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 10px; }
.slot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot input[type="radio"] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); transition: border-color .2s, background .2s; font-size: 13px; }
.slot span b { font-weight: 600; color: var(--text); }
.slot span small { font-size: 11.5px; color: var(--text-3); }
.slot input:checked + span { border-color: var(--accent); background: rgba(158, 245, 181, .08); }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot-date { font-weight: 500; }
.slot-date input { color-scheme: dark; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 13px; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.consent input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.privacy-note { margin: 12px 0 20px; font-size: 12.5px; color: var(--text-3); line-height: 1.55; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.booking-form button[type="submit"]:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--accent); }
.form-status.error { color: #ff9c8f; }
.form-done { display: grid; gap: 14px; padding: 28px 8px; text-align: center; }
.form-done .ico { width: 44px; height: 44px; color: var(--accent); margin: 0 auto; }
.form-done b { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.02em; }
.form-done p { color: var(--text-2); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--paper-line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 48px; border-bottom: 1px solid var(--paper-line); }
.footer-cols-4 { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
.footer-brand p { margin-top: 20px; max-width: 360px; font-size: 14.5px; color: var(--ink-2); }
.footer-brand address { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; font-weight: 600; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; width: max-content; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 22px; font-size: 13px; color: var(--ink-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover, .to-top:hover { color: var(--ink); }
.footer-links { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-links-group { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.footer-links b { color: var(--ink-2); font-weight: 600; margin-right: 6px; }
.footer-links a { color: var(--ink-3); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.mobile-cta { display: none; }

/* ---------- Landingpages (Region, Leistung, Branche) ---------- */
.landing .hero-none h1 { font-size: clamp(40px, 6.4vw, 92px); max-width: 14ch; }
.landing-text { max-width: 760px; }
.landing-text p { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.landing-text p + p { margin-top: 16px; }
.landing-related .deliverable h3 a { color: inherit; text-decoration: none; }
.landing-related .deliverable h3 a:hover { color: var(--accent); }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.page { padding: 64px 0 96px; }
.page-inner { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 18px; }
.page .lead { margin-bottom: 36px; }
.page section { margin-top: 32px; }
.page h2 { font-size: 24px; margin-bottom: 10px; }
.page p { color: var(--text-2); font-size: 15.5px; }
.page p + p { margin-top: 12px; }
.page a:not(.btn) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(42px, 6vw, 70px); }
  .proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliverable-grid, .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid { gap: 20px; }
  .package-highlight { grid-column: 1 / -1; }
  .steps, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .site-nav { gap: 20px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .header-inner { height: 64px; }
  .brand-logo { height: 38px; }
  .header-cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .site-nav { position: fixed; inset: 64px 0 0; z-index: 105; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 20px var(--gutter) 40px; background: rgba(243, 241, 234, .98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .menu-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  /* backdrop-filter makes the header the containing block of the fixed menu; drop it while the menu is open so the panel spans the viewport */
  .menu-open .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .site-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--paper-line); font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); }
  .site-nav .nav-mobile-cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 24px; min-height: 56px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; font-weight: 600; }
  .hero { padding: 48px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { padding: 12px 0 24px; max-width: 640px; }
  .hero-photo { max-width: 420px; justify-self: start; }
  .hero-none h1 { font-size: clamp(46px, 10vw, 88px); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser-hero { transform: none; }
  .section-head-split { grid-template-columns: 1fr; gap: 18px; }
  .section-head-split .section-intro { padding-bottom: 0; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li { padding: 26px 0; }
  .problem-list li + li { border-left: 0; padding-left: 0; }
  .automation-grid, .faq-grid, .booking-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq .section-head { position: static; }
  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-label { max-width: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); margin: 20px 0 18px; }
  .hero .lead { font-size: 16px; }
  .actions .btn { width: 100%; }
  .proofs { gap: 14px; margin-top: 36px; }
  .proofs b { font-size: 19px; }
  .hero-stage.has-phone { padding-right: 20px; padding-bottom: 44px; }
  .phone-hero { min-width: 96px; right: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .deliverable-grid, .package-grid { grid-template-columns: 1fr; }
  .package { padding: 26px 22px; }
  .steps, .team-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .member h3 { font-size: 16px; }
  .member p { font-size: 13.5px; }
  .log-rows li { grid-template-columns: 62px 1fr 18px; padding: 11px 14px; font-size: 13px; }
  .phone { min-width: 84px; right: 10px; }
  .booking-form { padding: 20px 16px; border-radius: 16px; }
  .fields { grid-template-columns: 1fr; }
  .fields .full { grid-column: auto; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .slot-date { grid-column: 1 / -1; }
  .form-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .direct a { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 96px; }
  .footer-bottom { justify-content: flex-start; }
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 15px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transform: translateY(0); transition: transform .3s var(--ease), opacity .3s; }
  .mobile-cta.is-hidden { transform: translateY(120%); opacity: 0; }
}

/* ---------- Referenzen: kompakte Logo-Karten ---------- */
.work-sub { margin: 64px 0 22px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.work-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.work-grid-compact .work-logo { aspect-ratio: 4 / 3; padding: 28px; }
.work-grid-compact .work-logo img { max-height: 96px; max-width: 62%; }
.work-grid-compact .work-info { margin-top: 16px; gap: 10px; }
.work-grid-compact .work-meta { flex-wrap: wrap; gap: 8px 12px; }
.work-grid-compact .work-info h3 { font-size: 22px; }
.work-grid-compact .work-info p { font-size: 14.5px; }
@media (max-width: 900px) {
  .work-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
  .work-sub { margin-top: 48px; }
}
@media (max-width: 600px) {
  .work-grid-compact { gap: 28px 14px; }
  .work-grid-compact .work-logo { padding: 20px; }
  .work-grid-compact .work-logo img { max-height: 64px; max-width: 72%; }
  .work-grid-compact .work-info h3 { font-size: 17px; }
  .work-grid-compact .work-info p { font-size: 13.5px; }
  .work-grid-compact .work-index, .work-grid-compact .chips { display: none; }
}

/* ---------- Mobil: kein Querscrollen, kompaktere Abstände ---------- */
html, body { overflow-x: clip; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .work-visual { padding-bottom: 44px; }
  .phone { right: 0; width: 26%; min-width: 86px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding: 40px 0 16px; }
  .trust-inner { padding: 18px var(--gutter); gap: 12px; }
  .problem-list li { padding: 20px 0; }
  .deliverable-grid { gap: 12px; }
  .deliverable { padding: 22px 18px 24px; gap: 12px; border-radius: 16px; }
  .deliverable h3 { font-size: 19px; }
  .deliverable .pain { padding: 12px 14px; font-size: 14px; }
  .deliverable .points li { font-size: 13.5px; }
  .package-grid, .deliverable-grid, .team-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package { padding: 24px 20px; min-width: 0; }
  .package .btn { padding-left: 16px; padding-right: 16px; font-size: 15px; white-space: normal; text-align: center; }
  .package h3 { font-size: 26px; }
  .package-price b { font-size: 26px; }
  .package-audience { min-height: 0; }
  .work-grid { gap: 36px; }
  .work-info { margin-top: 14px; gap: 10px; }
  .work-info h3 { font-size: 24px; }
  .work-info p { font-size: 14.5px; }
  .link-arrow { padding: 8px 0 6px; }
  .faq-list summary { padding: 16px 0; font-size: 16px; }
  .faq-answer { padding-right: 36px; }
  .booking-form { padding: 18px 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { min-width: 0; }
  .footer-col a { padding: 3px 0; width: auto; overflow-wrap: anywhere; }
  .footer-bottom { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-cta, .booking-form, .marquee-track[aria-hidden="true"] { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Glossar ---------- */
.glossary { display: grid; gap: 26px; max-width: 760px; margin: 0; }
.glossary div { padding-top: 22px; border-top: 1px solid var(--paper-line); }
.glossary dt { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.glossary dd { margin: 8px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
