/* ============================================================
   OwnCity Homepage – Design System (Apple-inspiriert, monochrom)
   ============================================================ */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }

:root {
  --ink:      #1d1d1f;   /* Fast-Schwarz (Text) */
  --ink-2:    #6e6e73;   /* Sekundärtext */
  --bg:       #ffffff;
  --bg-2:     #f5f5f7;   /* helle Sektionsfläche */
  --bg-dark:  #000000;
  --line:     #d2d2d7;
  --accent:   #0071e3;   /* CTA / Links */
  --accent-press: #0060c8;
  --radius:   14px;
  --radius-lg:20px;
  --maxw:     1120px;
  --nav-h:    52px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout --- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
section { padding: clamp(72px, 11vw, 140px) 0; }

/* --- Typografie --- */
.eyebrow {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  margin: 0 0 14px;
}
h1, h2, h3 { letter-spacing: -0.022em; line-height: 1.06; font-weight: 700; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.15; }
.lead { font-size: clamp(19px, 2.4vw, 26px); color: var(--ink-2); font-weight: 500; line-height: 1.35; }
.muted { color: var(--ink-2); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 500; font-family: inherit;
  padding: 12px 24px; border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, transform .06s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: rgba(0,113,227,.08); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f2; }
.link-arrow { color: var(--accent); font-weight: 500; font-size: 17px; }
.link-arrow::after { content: " ›"; }
.link-arrow:hover { text-decoration: underline; }

/* --- Navigation --- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--ink); font-size: 14px; font-weight: 400; opacity: .85; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__cta { background: var(--accent); color:#fff !important; padding: 6px 15px; border-radius: 980px; font-size: 14px; opacity: 1 !important; }
.nav__cta:hover { background: var(--accent-press); }
.nav__burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.08); padding: 6px 22px 16px;
  }
  .nav.open .nav__links a { width: 100%; padding: 13px 0; font-size: 17px; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav.open .nav__cta { color: var(--accent) !important; background: transparent; padding: 13px 0; }
}

/* --- Hero --- */
.hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); text-align: center; }
.hero h1 { max-width: 14ch; margin: 0 auto 22px; }
.hero .lead { max-width: 40ch; margin: 0 auto 34px; }
.hero__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.hero__shot { max-width: 340px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.18)); }

/* --- Trust / Wappen --- */
.trust { padding: clamp(48px,7vw,80px) 0; background: var(--bg-2); }
.trust p { text-align: center; color: var(--ink-2); font-weight: 500; margin: 0 0 30px; }
.wappen { display: flex; flex-wrap: wrap; gap: clamp(28px,5vw,64px); justify-content: center; align-items: center; }
.wappen img { height: clamp(56px, 9vw, 84px); width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.wappen img:hover { filter: grayscale(0); opacity: 1; }

/* --- Stats --- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(34px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; }
.stat .cap { color: var(--ink-2); font-size: 16px; margin-top: 6px; }
@media (max-width: 720px){ .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }

/* --- Feature-Sektionen --- */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.feature--reverse .feature__text { order: 2; }
.feature__text h2 { margin-bottom: 18px; }
.feature__text p { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 0 0 20px; }
.feature__media { display: flex; justify-content: center; }
.feature__media img { border-radius: var(--radius-lg); }
.feature__media.phone img { max-width: 300px; filter: drop-shadow(0 24px 48px rgba(0,0,0,.16)); border-radius: 0; }
.feature__media.frame img { box-shadow: 0 24px 60px rgba(0,0,0,.14); border: 1px solid var(--line); }
@media (max-width: 820px){
  .feature__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .feature--reverse .feature__text { order: 0; }
  .feature__text p { margin-left: auto; margin-right: auto; }
}

/* Dunkle Sektion */
.section--dark { background: var(--bg-dark); color: #f5f5f7; }
.section--dark h2 { color: #fff; }
.section--dark p { color: #a1a1a6; }

/* --- So funktioniert's --- */
.steps { text-align: center; }
.steps h2 { margin-bottom: clamp(40px,6vw,64px); }
.steps__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.step { padding: 34px 26px; background: var(--bg-2); border-radius: var(--radius-lg); text-align: left; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color:#fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 820px){ .steps__grid { grid-template-columns: 1fr; } }

/* --- Plattform-Band (CityHub) --- */
.platform { text-align: center; }
.platform .lead { max-width: 52ch; margin: 18px auto 0; }
.platform__badge { display:inline-flex; align-items:center; gap:10px; font-weight:600; color:var(--ink-2);
  border:1px solid var(--line); border-radius:980px; padding:8px 18px; font-size:15px; margin-bottom:22px; }

/* --- Anfrage / Formular --- */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-wrap > h2 { text-align: center; }
.form-wrap > .lead { text-align: center; max-width: 44ch; margin: 16px auto 44px; }
form.anfrage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1/-1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 3px; }
.form-actions { grid-column: 1/-1; display: flex; justify-content: center; margin-top: 8px; }
.form-actions .btn { font-size: 18px; padding: 14px 40px; }
.banner { grid-column:1/-1; padding: 14px 18px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.banner.ok  { background: #e7f6ec; color: #1d7a3a; }
.banner.err { background: #fdecec; color: #c0392b; }
@media (max-width: 620px){ form.anfrage { grid-template-columns: 1fr; } }

/* --- Footer --- */
.footer { background: var(--bg-dark); color: #86868b; padding: 64px 0 48px; font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 26px; }
.footer__logo img { height: 26px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: #d2d2d7; font-weight: 400; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__meta { line-height: 1.7; }
.footer__meta strong { color: #d2d2d7; }

/* --- Scroll-Reveal --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }

/* --- Rechtstexte / einfache Seiten --- */
.legal-nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08); }
.legal-nav .container { display: flex; align-items: center; height: var(--nav-h); }
.legal-nav img { height: 22px; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(44px,7vw,84px) 22px; }
.legal h1 { font-size: clamp(30px,5vw,44px); margin-bottom: 26px; }
.legal h2 { font-size: clamp(20px,3vw,26px); margin: 40px 0 12px; }
.legal p, .legal li { color: #333; font-size: 16px; line-height: 1.65; }
.legal a { word-break: break-word; }
.legal .back { display: inline-block; margin-top: 44px; }
.todo { background: #fff8e1; border: 1px solid #f0e0a0; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #7a5c00; margin: 16px 0; }

/* --- Abschnitts-Kopf --- */
.section-head { text-align: center; max-width: 52ch; margin: 0 auto clamp(40px,6vw,64px); }
.section-head .lead { margin-top: 14px; }

/* --- Karten (Leistungen) --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg-2); border-radius: var(--radius-lg); padding: 30px 28px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 860px){ .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .cards { grid-template-columns: 1fr; } }

/* --- Werte --- */
.werte__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.werte__item { border-top: 2px solid var(--ink); padding-top: 18px; }
.werte__item h3 { font-size: 21px; margin-bottom: 8px; }
.werte__item p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (max-width: 720px){ .werte__grid { grid-template-columns: 1fr; gap: 26px; } }

/* --- FAQ --- */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; padding: 22px 0; font-size: clamp(17px,2vw,20px); font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; color: var(--accent); font-weight: 400; font-size: 26px; line-height: 1; }
.faq__list details[open] summary::after { content: '\2013'; }
.faq__list details > div { padding: 0 0 24px; }
.faq__list details p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* --- Skip-Link & Fokus (Barrierefreiheit) --- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

/* --- Plattform-Logo (CityHub) --- */
.platform__kicker { color: #86868b; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.platform__logo { height: 52px; width: auto; display: block; margin: 0 auto 26px; }

/* --- Karten-Icons (Leistungen) --- */
.card svg { width: 30px; height: 30px; stroke: var(--accent); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; display: block; }

/* --- Preise --- */
.preis-card { max-width: 640px; margin: 0 auto; background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(30px,5vw,48px); text-align: center; }
.preis-card__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.preis-card__label { color: var(--ink-2); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.preis-card__price { font-size: clamp(26px,4vw,40px); font-weight: 700; letter-spacing: -.02em; }
.preis-list { list-style: none; padding: 0; margin: 0 auto 32px; text-align: left; max-width: 460px; display: grid; gap: 13px; }
.preis-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); }
.preis-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* --- Footer-Marken --- */
.footer__brands { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; margin-bottom: 24px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; color: #86868b; font-size: 13px; }
.footer__brand img { height: 26px; width: auto; opacity: .92; }
.footer__brand img.ch { height: 22px; }

/* --- Funnel (Erstgespräch) --- */
.funnel-wrap { max-width: 660px; margin: 0 auto; }
.funnel { background: var(--bg-2); border-radius: var(--radius-lg); padding: clamp(24px,4vw,44px); }
.funnel__progress { height: 5px; background: rgba(0,0,0,.08); border-radius: 5px; overflow: hidden; }
.funnel__progress span { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 5px; transition: width .35s ease; }
.funnel__count { font-size: 13px; color: var(--ink-2); font-weight: 600; margin: 10px 0 26px; letter-spacing: .02em; }
.funnel__step { display: none; }
.funnel__step.is-active { display: block; animation: funnelIn .35s ease; }
@keyframes funnelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.funnel__step h3 { font-size: clamp(20px,3vw,27px); margin-bottom: 22px; letter-spacing: -0.02em; }
.funnel__options { display: grid; gap: 12px; }
.funnel__opt { text-align: left; font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .06s; }
.funnel__opt::after { content: '→'; color: var(--accent); opacity: 0; transition: opacity .15s, transform .15s; }
.funnel__opt:hover { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.1); }
.funnel__opt:hover::after { opacity: 1; transform: translateX(3px); }
.funnel__opt:active { transform: scale(.99); }
.funnel__opt.is-sel { border-color: var(--accent); background: rgba(0,113,227,.06); }
.funnel__back { background: none; border: 0; color: var(--ink-2); font-family: inherit; font-size: 15px; cursor: pointer; padding: 10px 2px; margin-top: 18px; }
.funnel__back:hover { color: var(--ink); }
.funnel .fields { display: grid; gap: 16px; }
.funnel__summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.funnel__summary span { background: rgba(0,113,227,.08); color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 980px; }
.funnel .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.funnel .consent input { margin-top: 3px; }
.funnel__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.funnel__actions .funnel__back { margin-top: 0; }
.funnel__actions .btn { flex: 1; justify-content: center; }

/* Vertrauens-Zeile (Hero) */
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; color: var(--ink-2); font-size: 14px; font-weight: 500; margin-top: 22px; }
.hero__trust span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* Mitlaufender CTA */
.floating-cta { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--accent); color: #fff;
  padding: 14px 24px; border-radius: 980px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.floating-cta.show { opacity: 1; visibility: visible; transform: none; }
.floating-cta:hover { background: var(--accent-press); text-decoration: none; }
@media (max-width: 600px){ .floating-cta { right: 12px; bottom: 12px; left: 12px; text-align: center; } }
