/* AMBECK Homepage-Entwurf (Theo, 27.09.2026) — Leitidee „Lichtschnitt“:
   Durchgehend dunkel (Runde 5): Sections trennen sich über Ton-Nuancen, Facetten-Schnitt mit Haarlinie und
   leisem Lichtschleier, nicht über Helligkeit. Ice-Blue-Lichtlinie + Ziffern 01–07 als roter Faden. */

/* ——— Fonts (lokal, variable woff2) ——— */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #1A1D21;
  --bg-elev: #20242A;
  --surface: #262B31;
  --text: #F2F3F5;
  --muted: #A3AAB2;            /* 7.3:1 auf Graphite */
  --accent: #5FA8D3;
  --accent-hi: #7CB9E8;
  /* Section-Töne (Runde 5): Graphite ↔ leicht angehoben, EINE tiefe Section (Kontakt) */
  --tone-lift: #1F2328;        /* Portfolio, Über/Ablauf */
  --tone-deep: #15181B;        /* Kontakt */
  --card: #22272D;             /* Karten auf Graphite (Pakete, FAQ) */
  --card-hi: #262B31;          /* Karten auf angehobenem Ton (Ablauf, Leistungen) */
  --edge: rgba(242, 243, 245, 0.08);  /* 1px-Kante an Karten */
  --hair: rgba(242, 243, 245, 0.07);  /* Haarlinie am Section-Schnitt */
  --body: #C9CED4;             /* Fließtext in den Sections */
  --meta: #9AA3AD;             /* Meta/Kleintext */
  --slate: #23282E;            /* Demo-Portfolio: Deep Slate */
  --slate-text: rgba(242, 243, 245, 0.85);
  --slate-muted: rgba(242, 243, 245, 0.64);
  --slate-line: rgba(242, 243, 245, 0.08);
  --line: rgba(242, 243, 245, 0.1);
  --header-h: 84px;
  --container: 1120px;
  --cut: 26px;                 /* Facetten-Schnitt an Karten */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Typo-Skala (gleich zum Hero) */
  --fs-h2: clamp(2.1rem, 4.6vw, 3.9rem);
  --fs-h2-xl: clamp(2.6rem, 7vw, 6rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.7rem);
  --fs-lead: clamp(1.02rem, 1.3vw, 1.18rem);
  --space-section: clamp(4rem, 8vw, 6.75rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--accent); color: #0E1216; padding: 0.6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 4rem, var(--container)); } }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(26, 29, 33, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.logo img { height: clamp(34px, 4.4vw, 48px); width: auto; border-radius: 4px; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a { color: #C4CAD1; font-size: 0.92rem; font-weight: 500; padding: 0.4rem 0; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.nav-anim .site-nav a::after { transition: transform 0.35s var(--ease); } /* erst nach dem Start animieren → Reload ohne Nachziehen */
.site-nav a:hover, .site-nav a.is-active { color: var(--text); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 1.25rem 1rem 1.5rem; transform: translateY(-120%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0.3s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0.25rem; }
  .site-nav a { display: block; font-size: 1.1rem; padding: 0.6rem 0; color: var(--text); }
  .header-cta { display: none !important; }
  .nav-toggle { display: flex; }
}

/* ——— Buttons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.55rem; border-radius: 999px; font-weight: 600; font-size: 0.96rem; border: 1px solid transparent; white-space: nowrap; transition: background 0.25s var(--ease), border-color 0.25s, color 0.25s; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.86rem; }
.btn-primary { background: var(--accent); color: #0E1216; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { color: var(--text); border-color: rgba(242,243,245,0.22); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(95,168,211,0.12); }

/* ——— Typo ——— */
.eyebrow { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; flex: none; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); } /* Facette */
.hc-eyebrow::before { display: none; }
.h2 { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 1.1rem; }
.h2-xl { font-size: var(--fs-h2-xl); }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.lead { font-size: var(--fs-lead); color: var(--body); max-width: 40rem; line-height: 1.6; }
[data-mask] { overflow: hidden; padding: 0.04em 0.1em 0.2em 0; margin-bottom: calc(1.1rem - 0.2em); }
[data-mask] > span { display: inline-block; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ——— Sections & Facetten-Schnitte ——— */
.section { position: relative; padding: var(--space-section) 0; }
/* Töne je Section; --sec-bg speist auch die Ziffer-„Perle“ auf der Lichtlinie */
.section-dark { --sec-bg: var(--bg); background-color: var(--bg); }
.section-lift { --sec-bg: var(--tone-lift); background-color: var(--tone-lift); }
.section-slate { --sec-bg: var(--slate); background-color: var(--slate); }
.section-contact { --sec-bg: var(--tone-deep); }
:where(.section) p { color: var(--body); } /* Spezifität 0, jede Klassenregel gewinnt */
.section-cut { padding-top: calc(var(--space-section) + 16px); }
/* Übergang: Facetten-Schnitt in Section-Farbe + Haarlinie auf der Schnittkante (statischer drop-shadow, kein Scroll-Filter)
   + sehr weicher radialer Lichtschleier unter der Kante. Keine Bänder. */
.cut { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; display: block; pointer-events: none; z-index: 2; filter: drop-shadow(0 -1px 0 var(--hair)); }
.cut-fill { fill: var(--sec-bg, var(--bg)); }
.section-cut:not(.section-contact) { background-image: radial-gradient(ellipse 62% 300px at 50% 190px, rgba(95,168,211,0.05), rgba(95,168,211,0) 70%); }
.section-slate { color: var(--slate-text); }
.section-slate .h2 { color: var(--text); }
.section-slate .lead, .section-slate p { color: var(--slate-muted); }
.section-slate .lead strong { color: var(--slate-text); }
.cut-edge { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(95,168,211,0.7)); }

/* Karten: leicht angehobene Fläche, 1px-Kante, bei Hover/Fokus leise Ice-Blue-Oberlichtkante */
.service, .price, .step, .faq-item { box-shadow: inset 0 0 0 1px var(--edge); }
.service::after, .price::after, .step::after, .faq-item::after { content: ""; position: absolute; left: 0; right: var(--cut, 26px); top: 0; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(124,185,232,0) 0%, rgba(124,185,232,0.9) 35%, rgba(124,185,232,0.9) 70%, rgba(124,185,232,0) 100%);
  box-shadow: 0 0 10px rgba(95,168,211,0.55); opacity: 0; transition: opacity 0.35s var(--ease); }
.service:hover::after, .service:focus-within::after, .price:hover::after, .price:focus-within::after,
.step:hover::after, .faq-item:hover::after, .faq-item:focus-within::after, .faq-item[open]::after { opacity: 1; }

/* Facetten-Karte: Ecke oben rechts + unten links geschnitten */
.facet { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.facet-lg { clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
[data-clip] > * { will-change: auto; }

/* ——— Leistungen ——— */
#leistungen { padding-top: clamp(1.75rem, 3.5vh, 2.75rem); }
.services { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .services { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.service { background: linear-gradient(160deg, var(--card-hi) 0%, var(--tone-lift) 100%); position: relative; }
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 55%, rgba(95,168,211,0.14) 72%, transparent 86%); pointer-events: none; }
.service-inner { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.service-index { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(95,168,211,0.6); margin-bottom: 1.25rem; }
.service p { color: var(--body); margin-bottom: 1.25rem; max-width: 34rem; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3rem); }

/* ——— Reales Portfolio (groß, ruhig, gestaffelt) ——— */
.works { display: grid; gap: clamp(4rem, 9vw, 7.5rem); }
.work { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 1000px) {
  .work { grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .work-flip { grid-template-columns: 5fr 7fr; }
  .work-flip .work-media { order: 2; }
}
.work-media { position: relative; display: block; overflow: hidden; background: #111418; aspect-ratio: 16 / 9.4; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.work-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(242,243,245,0.08); pointer-events: none; transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.work-media { cursor: pointer; }
/* Lichtkante an der Karte bei Hover und Tastaturfokus (Outline würde vom clip-path abgeschnitten → Fokusring innen) */
.work-media:hover::after { border-color: rgba(124,185,232,0.75); box-shadow: inset 0 0 0 1px rgba(124,185,232,0.35), inset 0 0 28px rgba(95,168,211,0.25); }
.work-media:focus-visible { outline: none; }
.work-media:focus-visible::after { border: 3px solid var(--accent-hi); box-shadow: inset 0 0 0 5px rgba(14,18,22,0.85); }
@media (hover: hover) and (pointer: fine) { .work-media:hover img { transform: scale(1.035); } }
.work-chip { position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 1; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(14,18,22,0.86); color: var(--text); font-size: 0.8rem; font-weight: 600; transition: background 0.25s; }
.work-media:hover .work-chip, .work-media:focus-visible .work-chip { background: var(--accent); color: #0E1216; }
.work-meta { display: flex; gap: 1rem; align-items: center; color: var(--meta); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9rem; }
.work-no { color: var(--accent); font-weight: 600; }
.work-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: calc(1rem - 0.2em); }
.work-body > p:not(.work-meta) { color: var(--body); max-width: 30rem; margin-bottom: 1.4rem; }
.link-arrow { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(95,168,211,0.4); padding-bottom: 0.2rem; }
.link-arrow:hover { color: var(--accent-hi); border-color: var(--accent-hi); }
.badge { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.01em; }
.badge-live { background: rgba(95,168,211,0.14); color: var(--accent-hi); border: 1px solid rgba(95,168,211,0.35); }
.section-badge { margin: 0 0 1rem; }
.badge-demo { background: rgba(95,168,211,0.12); color: var(--accent-hi); border: 1px solid rgba(95,168,211,0.32); }

/* Cursor-Vorschau (Desktop) */
/* Position nur per gsap.quickTo (transform x/y, 16px rechts unten vom Zeiger); Ein/Aus am inneren span */
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 1500; pointer-events: none; will-change: transform; }
.cursor-tag span { display: block; padding: 0.45rem 0.85rem; background: var(--accent); color: #0E1216; font-weight: 600; font-size: 0.82rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,0.35); opacity: 0; transform: scale(0.7); transform-origin: 0 0; transition: opacity 0.2s, transform 0.3s var(--ease); }
.cursor-tag.is-on span { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor-tag { display: none; } }

/* ——— Demo-Index (à la eliotbesson.com: Liste + Hover-Vorschau) ——— */
.hint-desktop { display: none; margin-top: 1rem; font-size: 0.85rem; }
.index-list { border-bottom: 1px solid var(--slate-line); }
.index-item { border-top: 1px solid var(--slate-line); }
.index-link { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.35rem 1rem; padding: 1.5rem 0; align-items: baseline; color: var(--slate-text); transition: opacity 0.35s var(--ease); }
.index-no { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.index-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 5.2vw, 4.4rem); line-height: 1.05; letter-spacing: -0.045em; transition: transform 0.5s var(--ease); }
.index-cat, .index-text, .index-thumb, .index-go { grid-column: 2; }
.index-cat { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-muted); }
.index-text { color: var(--slate-muted); max-width: 36rem; }
.index-thumb { position: relative; display: block; margin-top: 0.9rem; aspect-ratio: 16 / 9; background: #1A1D21; overflow: hidden; }
.index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ki-badge, .preview-badge { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(26,29,33,0.85); color: #F2F3F5; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; }
.index-go { margin-top: 0.6rem; font-weight: 600; color: var(--accent); }
.index-link:hover .index-go, .index-link:focus-visible .index-go { color: var(--accent-hi); }
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
  .hint-desktop { display: block; }
  .index-link { grid-template-columns: 3.5rem minmax(0, 1.5fr) minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; padding: 1.6rem 0; }
  .index-name { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(2rem, 3.7vw, 3.4rem); min-width: 0; }
  .index-cat { grid-column: 3; grid-row: 1; align-self: end; }
  .index-text { grid-column: 3; grid-row: 2; align-self: start; font-size: 0.92rem; }
  .index-go { grid-column: 4; grid-row: 1 / span 2; margin: 0; }
  .index-no { grid-row: 1 / span 2; }
  .index-thumb { display: none; }
  .index-list.is-hovering .index-link { opacity: 0.28; }
  .index-list.is-hovering .index-link.is-active { opacity: 1; }
  .index-link.is-active .index-name { transform: translateX(0.6rem); }
  .index-cat, .index-text { transition: opacity 0.3s var(--ease); }
  .index-list.is-hovering .index-cat, .index-list.is-hovering .index-text { opacity: 0; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) and (prefers-reduced-motion: reduce) {
  /* ohne Motion keine Hover-Vorschau → Thumbnails statisch in der Zeile */
  .index-link { grid-template-columns: 3.5rem minmax(0, 1.4fr) minmax(0, 1fr) 190px auto; }
  .index-thumb { display: block; grid-column: 4; grid-row: 1 / span 2; margin: 0; }
  .index-go { grid-column: 5; }
}
.preview { position: fixed; left: 0; top: 0; z-index: 900; width: min(26vw, 360px); pointer-events: none; opacity: 0; visibility: hidden; }
.preview-clip { aspect-ratio: 16 / 9; overflow: hidden; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); background: #1A1D21; box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.preview-clip img { width: 100%; height: 100%; object-fit: cover; }

/* ——— Pakete ——— */
.prices { display: grid; gap: 1.25rem; }
.prices { row-gap: 2rem; } /* gestapelt: Platz für das Badge über der Karte */
@media (min-width: 960px) { .prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price { background: var(--card); position: relative; }
.price-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(1.75rem, 3vw, 2.25rem); }
/* Empfohlen: feine Ice-Blue-Kante + weiches Leuchten (Leuchten am Wrapper, weil die Karte selbst geclippt ist) */
.price-featured { background: linear-gradient(165deg, #27313A 0%, var(--card) 70%); box-shadow: inset 0 0 0 1px rgba(95,168,211,0.42), inset 0 40px 60px -40px rgba(95,168,211,0.22); }
.price-featured::before { content: ""; position: absolute; left: 0; right: var(--cut); top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hi) 55%, transparent); box-shadow: 0 0 14px rgba(95,168,211,0.6); }
.price-wrap-featured::before { content: ""; position: absolute; inset: -8% -10%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(95,168,211,0.16), rgba(95,168,211,0.05) 55%, rgba(95,168,211,0) 100%); }
.prices { position: relative; z-index: 0; }
#pakete, #ueber { overflow-x: clip; } /* Schein-Pseudos dürfen nie horizontal scrollen lassen (y bleibt sichtbar für den Schnitt) */
/* Badge liegt als Label AUF der Oberkante (außerhalb des clip-path der Karte), nimmt keinen Platz ein */
.price-wrap { position: relative; display: flex; }
.price-wrap > .price { flex: 1; }
.price-badge { position: absolute; z-index: 2; top: -0.75rem; /* = halbe Badge-Höhe (0.72rem × 1.2 + 2 × 0.3rem + 2px) → mittig auf der Kante; kein transform, das bleibt frei für die Reveal-Animation */ left: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; border: 1px solid rgba(14,18,22,0.35); white-space: nowrap; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--accent); color: #0E1216; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price-tag { color: var(--body); min-height: 3.2em; }
.price-amount { color: var(--text); font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 2.9rem); letter-spacing: -0.04em; margin: 1rem 0 1.25rem; line-height: 1; }
.price-amount span { font-size: 0.45em; font-weight: 600; color: var(--meta); letter-spacing: 0; margin-right: 0.2rem; }
.price-amount small { font-size: 0.35em; font-weight: 600; color: var(--meta); letter-spacing: 0; }
.price .ticks { flex: 1; }
/* Runde 6: Umfang-Zeile oben, „Alles aus …“-Überleitung, gemeinsame Meta-Zeile unten */
.price-scope { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); padding: 0.9rem 0; border-top: 1px solid var(--line); }
.price-plus { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; border-top: 1px solid var(--line); color: var(--accent-hi); font-weight: 600; }
.price-plus::before { content: "+"; position: absolute; left: 0.05rem; top: 0.5rem; font-weight: 700; color: var(--accent); }
.price .ticks li { font-size: 0.97rem; line-height: 1.45; }
.price-meta { margin: 1.25rem 0 1.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--meta); font-size: 0.9rem; font-weight: 500; }
.price-meta span { white-space: nowrap; }
.prices-note { margin-top: clamp(2rem, 4vw, 2.75rem); max-width: 62rem; color: var(--meta); font-size: 0.92rem; line-height: 1.6; }
/* Desktop: Zeilen aller drei Karten per Subgrid gekoppelt → Titel, Tagline, Preis, Umfang, Liste, Meta und Button auf gleichen Linien */
@media (min-width: 960px) {
  @supports (grid-template-rows: subgrid) {
    .prices { grid-template-rows: repeat(8, auto); row-gap: 0; }
    .price-wrap { grid-row: span 8; display: grid; grid-template-rows: subgrid; row-gap: 0; }
    .price-wrap > .price { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; row-gap: 0; }
    .price-inner { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; row-gap: 0; height: auto; }
    .price-inner > .h3 { grid-row: 1; }
    .price-inner > .price-tag { grid-row: 2; min-height: 0; }
    .price-inner > .price-amount { grid-row: 3; }
    .price-inner > .price-scope { grid-row: 4; }
    .price-inner > .price-plus { grid-row: 5; }
    .price-inner > .ticks { grid-row: 6; align-self: start; }
    .price-inner:not(:has(.price-plus)) > .ticks { grid-row: 5 / 7; } /* Starter ohne Überleitung: keine Lücke */
    .price-inner > .price-meta { grid-row: 7; align-self: end; }
    .price-inner > .btn { grid-row: 8; align-self: end; }
  }
}
.price .btn { align-self: flex-start; }

/* ——— Über / Ablauf ——— */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 6vw, 6rem); } }
.about-visual { max-width: 420px; }
/* Über-mich-Bild (Runde 5): Kristall-Facette statt Kasten. Rahmen = Verlaufs-„Kante“ (1,5px), hell nur entlang der
   Facette oben links, sonst Haarlinie; dahinter ein weicher radialer Ice-Blue-Schein (nur Gradient, kein filter). */
.about-visual { position: relative; isolation: isolate; width: 100%; margin-inline: auto; }
@media (max-width: 899px) { .about-visual { width: min(100%, 320px); margin-inline: 0 auto; } } /* mobil kleiner, Platz für den Schein */
.about-visual::before { content: ""; position: absolute; inset: -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side at 40% 38%, rgba(95,168,211,0.26), rgba(95,168,211,0.09) 45%, rgba(95,168,211,0) 100%); }
.about-crystal { --crystal: polygon(24% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 24%);
  position: relative; aspect-ratio: 1; display: grid; place-items: center; clip-path: var(--crystal);
  background: linear-gradient(135deg, rgba(124,185,232,0.25) 6%, #BFE0F5 12.5%, rgba(95,168,211,0.6) 19%, rgba(95,168,211,0.14) 32%, rgba(242,243,245,0.04) 50%, rgba(242,243,245,0.03) 78%, rgba(95,168,211,0.28) 90%, rgba(95,168,211,0.06) 100%); }
.about-crystal::before { content: ""; position: absolute; inset: 1.5px; clip-path: var(--crystal);
  background:
    linear-gradient(118deg, transparent 52%, rgba(95,168,211,0.10) 61%, rgba(124,185,232,0.22) 63%, rgba(95,168,211,0.08) 65%, transparent 74%),
    repeating-linear-gradient(58deg, transparent 0 58px, rgba(95,168,211,0.045) 58px 59px),
    radial-gradient(circle at 50% 46%, #2B3139 0%, #22272D 42%, #1C1F24 78%, #1A1D21 100%); } /* löst sich zum Rand in den Section-Ton auf */
.about-crystal::after { content: ""; position: absolute; inset: 1.5px; clip-path: var(--crystal); pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 58%, rgba(8,10,12,0.32) 100%); } /* leichte Innen-Vignette */
/* Lichtkante genau auf der Facette oben links (0,24% → 24%,0), außerhalb des Clips, damit sie nach außen leuchten darf */
.about-visual::after { content: ""; position: absolute; left: 0; top: 24%; width: 33.94%; height: 1.5px; z-index: 2; pointer-events: none;
  transform-origin: 0 50%; transform: rotate(-45deg);
  background: linear-gradient(90deg, rgba(191,224,245,0) 0%, #CFE8F8 30%, #CFE8F8 70%, rgba(191,224,245,0) 100%);
  box-shadow: 0 0 10px 1px rgba(95,168,211,0.75), 0 0 28px 4px rgba(95,168,211,0.28); border-radius: 2px; }
.about-crystal img { position: relative; z-index: 1; width: 56%; height: auto; border-radius: 50%; filter: brightness(0.84);
  box-shadow: 0 0 0 1px rgba(124,185,232,0.35), 0 0 0 7px rgba(95,168,211,0.06), 0 24px 60px rgba(0,0,0,0.55); }
.about-body > p { margin-bottom: 1rem; max-width: 38rem; }
.about-sub { margin-top: 2rem; font-size: 1.2rem; }
.ticks-2 { max-width: 38rem; }
.process { margin-top: clamp(4rem, 8vw, 6.5rem); }
.process-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.steps { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--card-hi); padding: 1.5rem 1.4rem 1.75rem; min-height: 9rem; --cut: 18px; }
.step-no { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; }
.step-title { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); margin-bottom: 0.5rem; }

/* ——— FAQ: Facetten-Zeilen, Lichtkante links beim Öffnen (native <details>, ohne JS) ——— */
.faq { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: start; } }
.faq-list { display: grid; gap: 0.6rem; }
.faq-item { --cut: 16px; background: var(--card); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); position: relative; }
.faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(95,168,211,0.7); transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease); }
.faq-item[open]::before { transform: scaleY(1); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; min-height: 44px; border-radius: 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-q { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--text); transition: color 0.25s; }
.faq-item summary:hover .faq-q, .faq-item[open] .faq-q { color: var(--accent-hi); }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--accent); transition: transform 0.35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 1.35rem 1.35rem; color: var(--body); max-width: 44rem; }
.faq-a a[href^="tel:"] { white-space: nowrap; }
.faq-a a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-item[open] .faq-a { animation: faq-in 0.4s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ——— Kontakt (Finale mit Lichtschnitt) ——— */
.section-contact { background: var(--tone-deep); overflow-x: clip; overflow-y: visible; } /* y sichtbar, sonst wird der Facetten-Schnitt oben abgeschnitten */
.contact-light { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(112deg, transparent 58%, rgba(95,168,211,0.12) 66%, rgba(124,185,232,0.32) 69%, rgba(95,168,211,0.1) 72%, transparent 80%),
  repeating-linear-gradient(58deg, transparent 0 86px, rgba(95,168,211,0.05) 86px 87px),
  repeating-linear-gradient(-32deg, transparent 0 86px, rgba(95,168,211,0.035) 86px 87px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); }
.contact { position: relative; }
.contact .lead { margin-bottom: clamp(2rem, 4vw, 3rem); }
.contact-grid { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 3rem; } }
.call { display: block; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--accent); color: #0E1216; transition: background 0.3s var(--ease); }
.call:hover { background: var(--accent-hi); }
.call-label { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.call-label::after { content: "→"; font-size: 1.1rem; transition: transform 0.3s var(--ease); }
.call:hover .call-label::after { transform: translateX(6px); }
.call-number { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 6.4vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.05; margin: 0.6rem 0 0.8rem; white-space: nowrap; }
.call-note { display: block; font-size: 0.98rem; color: #0E1216; }
.contact-side { display: grid; gap: 1.75rem; padding-bottom: 0.5rem; }
.contact-mail-value { font-size: 1.1rem; }
.email-link { color: var(--accent-hi); border-bottom: 1px solid rgba(124,185,232,0.4); }
.email-link:hover { color: var(--text); }
.contact-mail .meta-label, .contact-phone .meta-label { color: #9CCBEA; }
.contact-phone a { color: var(--text); border-bottom: 1px solid rgba(95,168,211,0.4); }
.contact-direct { margin: 1rem 0 2.25rem; color: var(--body); font-size: var(--fs-lead); }
.contact-direct a { color: var(--accent-hi); font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(124,185,232,0.4); }
.footer-contact { margin-top: 0.5rem; }
.footer-contact a { color: #C4CAD1; }
.meta-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.6rem; }
.contact-address .meta-label { color: #9CCBEA; }
.contact-address address { font-size: 1.1rem; line-height: 1.7; color: var(--text); }

/* ——— Footer ——— */
.site-footer { background: #111316; border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.92rem; color: var(--muted); }
.footer-inner { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.2fr 2fr auto; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 0.8rem; border-radius: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.footer-nav a { color: #C4CAD1; padding: 0.3rem 0; }
.footer-nav a:hover { color: var(--text); }
.legal { margin-top: 2rem; display: grid; gap: 0.5rem; }
.legal summary { cursor: pointer; color: #C4CAD1; padding: 0.3rem 0; }
.legal p { padding: 0.5rem 0 0.25rem; max-width: 48rem; }

/* ——— Motion-Startzustände (nur mit JS-Motion, siehe js/hero-boot.js) ——— */
.m-motion [data-r] { opacity: 0; transform: translateY(26px); }
.m-motion [data-mask] > span { transform: translateY(108%); }
.m-motion [data-clip]:not(.is-in) { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ——— Lichtlinie (eine durchgehende Linie, js/lightline.js) ——— */
main { position: relative; }
.lightline { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; overflow: visible; display: block; }
.ll-under { display: none; } /* Graphite-Unterlage war nur fürs Kühlgrau nötig */
.ll-core, .ll-glow { fill: none; stroke: url(#ll-grad); stroke-linecap: round; stroke-linejoin: round; }
.ll-core { stroke-width: 1.6; }
.ll-glow { stroke-width: 7; opacity: 0.16; }
.ll-tip { fill: #CFE6F6; opacity: 0; }
.ll-halo { fill: var(--accent); opacity: 0; }
.ll-tip-on .ll-tip { opacity: 1; }
.ll-tip-on .ll-halo { opacity: 0.22; }
.ll-static .ll-tip, .ll-static .ll-halo { display: none; }

/* ——— Section-Ziffern: sitzen auf der Lichtlinie ——— */
.sec-no { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: rgba(242,243,245,0.5); margin-bottom: 1rem; }
.nav-anim .sec-no { transition: color 0.5s var(--ease), text-shadow 0.5s var(--ease), opacity 0.4s; } /* erst nach dem Start → Reload ohne Nachziehen */
.sec-no.is-lit { color: var(--accent-hi); text-shadow: 0 0 14px rgba(95,168,211,0.55); }
@media (min-width: 1340px) {
  /* breit: Ziffer steht im Seitenrand genau auf der Linie (Position per JS), Hintergrund „fädelt“ die Linie ein */
  .sec-no { position: absolute; left: 0; top: 0; z-index: 6; margin: 0; padding: 0.5rem 0.45rem; font-size: 1.35rem; opacity: 0; background: var(--sec-bg, var(--bg)); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--edge); } /* „Perle“ auf der Linie */
  .ll-ready .sec-no { opacity: 1; }
}
