/* TowerZERO Landing Page - Westkueste UG
   Stil: solide, vertrauenswuerdig, minimalistisch (schwarz/weiss + Orange-Akzent).
   Nur ASCII-Bindestriche in Kommentaren (Projekt-Stilregel). */

:root {
  --orange: #eb5b07;
  --orange-dark: #c84d05;
  --ink: #14130f;
  --muted: #5d5b54;
  --line: #e7e4dd;
  --bg: #ffffff;
  --bg-alt: #f7f5f1;
  --bg-ink: #14130f;
  --maxw: 1120px;
  --radius: 4px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.18rem; }

p { color: var(--muted); }
.ink { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand b { color: var(--orange); }
.brand .by { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-size: .96rem; font-weight: 500; }
.nav-links a:hover { color: var(--orange-dark); text-decoration: none; }
.lang { display: flex; gap: 8px; font-size: .82rem; border-left: 1px solid var(--line); padding-left: 20px; }
.lang a { color: var(--muted); font-weight: 600; text-transform: uppercase; }
.lang a.active { color: var(--orange); }
.nav-cta { font-size: .92rem !important; padding: 9px 18px; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.hero .eyebrow { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero h1 { max-width: 16ch; margin-bottom: 22px; }
.hero .lead { font-size: 1.22rem; max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.promo {
  margin-top: 40px;
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-alt);
  border-left: 4px solid var(--orange);
  padding: 18px 22px; border-radius: var(--radius);
  max-width: 640px;
}
.promo .tag { background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; margin-top: 3px; }
.promo p { color: var(--ink); font-size: .98rem; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--bg-ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #c7c4bb; }
.lead-head { max-width: 60ch; margin-bottom: 12px; }
.section-intro { max-width: 60ch; font-size: 1.08rem; margin-bottom: 44px; }
.kicker { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: #fff; }
.card .num { color: var(--orange); font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

.source { border-top: 3px solid var(--orange); }
.source .freq { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* feature list */
.features { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }
.features li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1rem; }
.features li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; background: var(--orange); border-radius: 3px; transform: rotate(45deg); }
.features li span { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- Dashboard screenshot ---------- */
.shot {
  margin: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 64px -30px rgba(20,19,15,.5);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

/* ---------- Dashboard mockup (legacy, ungenutzt) ---------- */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(20,19,15,.45); }
.mock-bar { background: var(--bg-ink); color: #fff; padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #4b4a44; }
.mock-bar .dot.live { background: var(--orange); }
.mock-bar .title { margin-left: 8px; font-weight: 600; }
.mock-bar .right { margin-left: auto; color: #b6b3aa; font-size: .78rem; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.mock-stats div { padding: 16px 18px; border-right: 1px solid var(--line); }
.mock-stats div:last-child { border-right: 0; }
.mock-stats .v { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.mock-stats .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
table.flog { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.flog th { text-align: left; padding: 11px 18px; background: var(--bg-alt); color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--line); }
table.flog td { padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
table.flog tr:last-child td { border-bottom: 0; }
.pill { font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.pill.start { background: #fdeee2; color: var(--orange-dark); }
.pill.ldg { background: #e8efe8; color: #2f6b39; }
.src-badge { font-size: .64rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- Comparison table ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.cmp td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cmp .us td { background: var(--bg-alt); }
.cmp .us td:last-child { color: var(--orange-dark); font-weight: 600; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2c2b26; border: 1px solid #2c2b26; border-radius: var(--radius); overflow: hidden; }
.trust-grid .t { background: var(--bg-ink); padding: 30px; }
.trust-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* honesty */
.honesty li { color: var(--ink); margin-bottom: 12px; padding-left: 18px; position: relative; font-size: 1rem; }
.honesty li::before { content: "-"; position: absolute; left: 0; top: 0; color: var(--muted); font-weight: 700; }
.honesty { list-style: none; max-width: 70ch; }

/* users / references */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ref .icao { color: var(--orange); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.ref .place { font-weight: 600; margin-bottom: 8px; }
.ref .status { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; }
.ref .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #36a34a; }
.beta-note { margin-top: 26px; color: var(--muted); font-size: .95rem; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
form .row { margin-bottom: 18px; }
form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
/* Erfolgs-/Fehler-Hinweis nach dem Absenden */
.formmsg { display: none; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .95rem; }
.formmsg.ok { background: #e8efe8; color: #2f6b39; border: 1px solid #cfe0cf; }
.formmsg.err { background: #fdeee2; color: #a8341a; border: 1px solid #f3d3bd; }
/* Honeypot-Feld: fuer Menschen unsichtbar, fuer Bots ein Koeder */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { margin-top: 12px; max-width: 72ch; }

/* ---------- Footer ---------- */
footer { background: var(--bg-ink); color: #c7c4bb; padding: 56px 0 36px; }
footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer a { color: #c7c4bb; }
footer a:hover { color: #fff; }
.foot-brand b { color: var(--orange); }
.foot-list { list-style: none; }
.foot-list li { margin-bottom: 10px; font-size: .95rem; }
.foot-bottom { border-top: 1px solid #2c2b26; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #8f8d85; }

/* scaffold banner for NL/FR */
.scaffold-banner { background: #fff8e6; border-bottom: 1px solid #f0e2b0; color: #6b5a16; text-align: center; padding: 10px 16px; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3, .grid-4, .trust-grid, .refs, .mock-stats { grid-template-columns: 1fr 1fr; }
  .grid-2, .contact-grid, .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; }
  .nav-links.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links.open .lang { border-left: 0; padding-left: 0; padding-top: 12px; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .trust-grid, .refs, .mock-stats { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
}
