/* Gashi Automation – gemeinsames Stylesheet (Schriften lokal, keine externen Quellen) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/publicsans-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: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/publicsans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #111214; --bg-2: #151619; --surface: #1C1D20; --surface-2: #24252A;
  --line: rgba(210,212,218,.16); --line-2: rgba(210,212,218,.3);
  --text: #F2F2F2; --soft: #CFD1D6; --muted: #9A9CA3;
  --blue: #9EA3AD; --blue-2: #C4C8D0; --ice: #D6D9DE; --ink: #111214;
  /* Namen, die die 3D-Geschichte erwartet */
  --accent: var(--ice); --accent-ink: var(--ink); --blue-bright: var(--blue-2); --display: var(--head); --header: var(--hd); --blue-soft: rgba(158,163,173,.14); --accent-soft: rgba(214,217,222,.14); --radius: 14px; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px; --r: 18px; --hd: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--soft); font: 400 17px/1.65 var(--body); overflow-x: clip; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--ice); }
h1, h2, h3 { font-family: var(--head); color: var(--text); margin: 0 0 .5em; line-height: 1.08; font-weight: 700; font-stretch: 112%; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { padding-left: 1.1em; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ice); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 .78rem/1 var(--head); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-2); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--soft); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ph { color: var(--ice); background: rgba(214,217,222,.08); border: 1px dashed rgba(214,217,222,.45); border-radius: 6px; padding: 0 6px; font-size: .95em; white-space: normal; }

/* Kopfzeile */
.hd { position: fixed; inset: 0 0 auto 0; height: var(--hd); z-index: 50; background: rgba(17,18,20,.92); border-bottom: 1px solid var(--line); }
.hd .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font: 700 .92rem/1 var(--head); font-stretch: 120%; letter-spacing: .16em; }
.brand img { width: 34px; height: 31px; flex: none; }
.burger { flex: none; }
@media (max-width: 480px) { .brand { font-size: .74rem; letter-spacing: .12em; gap: 9px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-size: .93rem; padding: 10px 11px; border-radius: 10px; white-space: nowrap; }
.brand { white-space: nowrap; flex: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav .btn { margin-left: 10px; color: var(--ink); }
.nav .btn:hover { background: #EEF0F3; color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1260px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--hd) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--hd)); overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; background: var(--ice); color: var(--ink); font: 600 .98rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { background: #EEF0F3; color: var(--ink); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--blue-2); }
.btn.sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(3px); }

/* Abschnitte, Karten */
main { display: block; }
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; overflow-x: clip; }
.sec.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 60px); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); position: relative; transition: border-color .25s, transform .25s; transform-style: preserve-3d; }
.card:hover { border-color: var(--line-2); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.big { padding: clamp(26px, 4vw, 48px); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); min-height: 320px; display: flex; flex-direction: column; }
.card.big .btns { margin-top: auto; padding-top: 24px; }
.num { font: 700 .8rem/1 var(--head); font-stretch: 120%; letter-spacing: .18em; color: var(--blue-2); margin-bottom: 16px; display: block; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem/1 var(--head); font-stretch: 116%; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); border: 1px solid rgba(214,217,222,.35); border-radius: 999px; padding: 7px 12px; margin-bottom: 16px; }
.tag.demo { color: var(--muted); border-color: var(--line-2); }
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--line); }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--ice); border-bottom: 2px solid var(--ice); transform: rotate(-45deg); }
.split { display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.note { border-left: 2px solid var(--blue); padding: 4px 0 4px 18px; color: var(--muted); font-size: .93rem; }

/* Einblenden beim Scrollen */
/* Aufploppen: Karten springen mit leichtem Federn und kleiner Drehung an ihren Platz */
.js .rv { opacity: 0; transform: translateY(44px) scale(.93) rotate(var(--rot, 0deg)); transform-origin: 50% 100%;
  transition: opacity .5s ease, transform .95s cubic-bezier(.34, 1.42, .52, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .grid > .rv:nth-child(odd) { --rot: -1.4deg; } .js .grid > .rv:nth-child(even) { --rot: 1.4deg; }
.js .sec-head.rv, .js .faq.rv, .js .split > .rv { --rot: 0deg; transform: translateY(30px); }
.js .sec-head.rv.in, .js .faq.rv.in, .js .split > .rv.in { transform: none; }
/* Abschnitte schieben sich wie Karten übereinander */
.sec.alt { border-radius: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) 0 0; margin-top: calc(-1 * clamp(22px, 3vw, 36px)); border-bottom: 0; box-shadow: 0 -24px 60px rgba(0,0,0,.35); z-index: 1; }
.js .sec.alt.panel { opacity: 1; transform: translateY(70px); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js .sec.alt.panel.in { transform: none; }

/* Seitenkopf der Unterseiten */
.phero { padding: calc(var(--hd) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 90px); background: radial-gradient(900px 420px at 80% -10%, rgba(214,217,222,.08), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.js .phero h1 { animation: glide .9s cubic-bezier(.2,.7,.2,1) both; }
.js .phero .lead, .js .phero .btns { animation: glide .9s .12s cubic-bezier(.2,.7,.2,1) both; }
@keyframes glide { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }

/* Preise */
.price { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--head); font-stretch: 110%; color: var(--text); margin: 6px 0 4px; }
.price small { font: 400 .95rem/1.3 var(--body); color: var(--muted); display: block; margin-top: 8px; }
.plan { display: flex; flex-direction: column; }
.plan .btns { margin-top: auto; padding-top: 22px; }
.plan.core { border-color: rgba(214,217,222,.5); background: linear-gradient(170deg, #303138, var(--surface) 70%); }
.b2b { margin-top: 26px; font-size: .92rem; color: var(--muted); }
.orbits { position: relative; }
.orbits::before, .orbits::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid var(--line); border-radius: 50%; translate: -50% -50%; pointer-events: none; }
.orbits::before { width: min(120vw, 1300px); aspect-ratio: 1 / .38; }
.orbits::after { width: min(90vw, 940px); aspect-ratio: 1 / .34; border-style: dashed; animation: spin 80s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.orbits .grid { position: relative; z-index: 1; }

/* Fragen */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 600 1.1rem/1.35 var(--head); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.7rem/1 var(--body); color: var(--ice); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; margin: 0; }

/* Formular */
.form { display: grid; gap: 18px; }
.form label, .form legend { display: block; font-weight: 600; color: var(--text); margin-bottom: 7px; font-size: .95rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 15px; font: inherit; min-height: 50px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ice); outline-offset: 1px; border-color: transparent; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts label { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; color: var(--soft); cursor: pointer; min-height: 46px; }
.opts label:has(input:checked) { border-color: var(--ice); color: var(--text); background: rgba(214,217,222,.08); }
.opts input { accent-color: var(--ice); width: 18px; height: 18px; }
.cbx { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--soft) !important; }
.cbx input { accent-color: var(--ice); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form-msg { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); }
.form-msg[hidden] { display: none; }

/* Fußzeile */
.ft { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 34px; font-size: .94rem; }
.ft .cols { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.ft h2 { font: 600 .76rem/1 var(--head); font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft li { margin: 0 0 8px; }
.ft a { color: var(--soft); text-decoration: none; }
.ft a:hover { color: var(--ice); text-decoration: underline; }
.ft .base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; color: var(--muted); }

/* Demo-Karten, Mia */
.demo-card .shot { aspect-ratio: 16 / 10; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 22px; overflow: hidden; position: relative; }
.say { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.say li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 16px; color: var(--text); max-width: 46ch; }
.say li::before { content: "„"; color: var(--ice); }
.say li::after { content: "“"; color: var(--ice); }
.chat { display: grid; gap: 14px; }
.chat .step { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.chat time { font: 600 .9rem/1.6 var(--head); color: var(--ice); }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal ul { max-width: 74ch; }
.about-photo { aspect-ratio: 4 / 5; border: 1px dashed rgba(214,217,222,.45); border-radius: var(--r); display: grid; place-items: center; background: var(--surface); color: var(--ice); max-width: 420px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .sec-head.rv, .js .faq.rv, .js .split > .rv, .js .sec.alt.panel { opacity: 1 !important; transform: none !important; }
}

/* Übernommene Seiten (Voice Agents, Über mich, Automatisierung) */
.stack { display: grid; gap: 16px; align-content: start; }
.h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.2; }
.callout strong { display: block; color: var(--text); font-family: var(--head); margin-bottom: 8px; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: st; }
.steps > .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; counter-increment: st; }
.steps > .step::before { content: "0" counter(st); display: block; font: 700 .8rem/1 var(--head); letter-spacing: .18em; color: var(--blue-2); margin-bottom: 14px; }
.pain h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.pain h3::before { content: "„"; color: var(--blue-2); } .pain h3::after { content: "“"; color: var(--blue-2); }
.pain dl { margin: 0; display: grid; gap: 14px; }
.pain dt { font: 600 .72rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pain dd { margin: 0; }
.pain dd.fix { color: var(--text); }

/* „Dazu passend“: Website als Zusatzangebot */
.also { margin-top: 20px; padding: clamp(22px, 3vw, 34px); border: 1px dashed var(--line-2); border-radius: var(--r); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.also > div { flex: 1 1 420px; min-width: 0; }
.also p:last-child { margin-bottom: 0; }
/* Rechner verpasste Anrufe */
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; margin-bottom: 22px; }
.calc-row label { font-weight: 600; color: var(--text); }
.calc-row output { font: 700 1.15rem/1 var(--head); color: var(--text); font-variant-numeric: tabular-nums; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--ice); height: 28px; cursor: pointer; }
.calc-row input[type=range]:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 6px; }
.calc-out .price { margin: 10px 0 18px; }

/* Sprachnachricht (KI-Analyse): Mikrofon im Textfeld wie im Messenger */
.msgbox { position: relative; }
.msgbox textarea { padding-right: 64px; padding-bottom: 52px; }
.mic { position: absolute; right: 10px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--ice, #D6D9DE); color: #111214; transition: transform .15s, background .15s; }
.mic:hover { transform: scale(1.06); }
.mic:focus-visible { outline: 2px solid var(--ice, #D6D9DE); outline-offset: 3px; }
.mic svg { width: 22px; height: 22px; fill: currentColor; }
.mic .i-stop, .mic.an .i-mic { display: none; }
.mic.an .i-stop { display: block; }
.mic.an { background: #e5484d; color: #fff; animation: recPuls 1.2s ease-in-out infinite; }
.rec-zeit { position: absolute; right: 64px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-size: .9rem; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; }
.rec-fertig { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.rec-fertig audio { flex: 1; min-width: 0; max-width: 380px; height: 40px; }
.rec-weg { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line, rgba(255,255,255,.2)); background: transparent; color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.rec-status { margin: 6px 0 0; }
.rec-status:empty { display: none; }
.msgbox [hidden], .rec-fertig[hidden] { display: none !important; }
@keyframes recPuls { 50% { box-shadow: 0 0 0 8px rgba(229,72,77,.25); } }
@media (prefers-reduced-motion: reduce) { .mic.an { animation: none; } }
#kontaktformular > div { min-width: 0; }
.rec-fertig { min-width: 0; }
.rec-fertig audio { width: 100%; max-width: none; }
