/* Time Keeper Live — Produktseite (Serion GmbH)
   Farben und Anmutung folgen dem Programm: dunkles Becken-Blau, Cyan-Akzent. */

:root {
  --bg: #08161e;
  --bg2: #0b1b24;
  --panel: #0e2430;
  --panel2: #12303e;
  --line: #1e3d4c;
  --accent: #36e0cf;
  --accent-dark: #14b8a6;
  --gold: #ffc53d;
  --text: #e9f4f8;
  --dim: #93aeba;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: .8em;
}
.lead { font-size: 1.12rem; color: var(--dim); max-width: 62ch; }
.dim { color: var(--dim); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Kopfzeile ---------- */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 22, 30, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand small { display: block; font-size: .66rem; font-weight: 500; color: var(--dim); letter-spacing: .04em; }
/* min-width:0 ist entscheidend: sonst schiebt die Navigation die ganze Seite
   breiter als das Fenster, statt selbst zu scrollen (Handy-Ansicht) */
nav.main { margin-left: auto; display: flex; gap: 4px; align-items: center; overflow-x: auto; min-width: 0; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a {
  color: var(--text); padding: 7px 12px; border-radius: 8px; font-size: .95rem; white-space: nowrap;
}
nav.main a:hover { background: var(--panel); text-decoration: none; }
nav.main a.active { color: var(--accent); background: var(--panel); }
.langs { display: flex; gap: 2px; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.langs a { padding: 5px 7px; font-size: .8rem; color: var(--dim); text-transform: uppercase; border-radius: 6px; }
.langs a.active { color: var(--bg); background: var(--accent); font-weight: 700; }
.langs a:hover { text-decoration: none; color: var(--text); }
.langs a.active:hover { color: var(--bg); }

/* Handy: Kopfzeile in zwei Reihen — Marke und Sprachen oben, Menü darunter */
@media (max-width: 720px) {
  .top .wrap { height: auto; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 8px; }
  .brand small { display: none; }
  nav.main { order: 3; width: 100%; margin-left: 0; padding-bottom: 2px; }
  .langs { margin-left: auto; }
  .hero { padding-top: 46px; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 650; font-size: 1rem;
  background: var(--accent); color: #06222a; border: 1px solid var(--accent); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(54, 224, 207, .22); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: rgba(54, 224, 207, .08); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- Abschnitte ---------- */
section { padding: 74px 0; border-top: 1px solid transparent; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.tight { padding: 52px 0; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 30% 40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(54, 224, 207, .16), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
.hero-img { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.hero-note { font-size: .92rem; color: var(--dim); margin-top: 1.6em; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }

/* ---------- Raster ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent-dark); transform: translateY(-2px); }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--dim); font-size: .97rem; }
.card .shot { margin: -24px -24px 20px; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }

/* Nummerierte Schritte */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -14px; left: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #06222a; font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
}

/* Bild + Text abwechselnd */
.feature { display: grid; gap: 30px; align-items: center; padding: 26px 0; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1.15fr; }
  .feature.flip .feature-txt { order: 2; }
}
.feature img { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .42); cursor: zoom-in; }
.feature h3 { color: var(--text); }
.feature p { color: var(--dim); margin: 0; }

/* ---------- Tabelle ---------- */
table.specs { width: 100%; border-collapse: collapse; margin-top: 1.4em; }
table.specs th, table.specs td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs th { width: 210px; color: var(--accent); font-weight: 600; white-space: nowrap; }
table.specs td { color: var(--dim); }
@media (max-width: 620px) {
  table.specs th, table.specs td { display: block; width: auto; border: 0; padding: 4px 0; }
  table.specs tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Preise ---------- */
.price { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price.hot { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(54, 224, 207, .25), 0 20px 46px rgba(0, 0, 0, .45); }
/* Das Abzeichen schwebt am Rand, damit die Titel aller drei Karten auf gleicher Höhe bleiben */
.price .badge {
  position: absolute; top: -13px; right: 20px;
  background: var(--accent); color: #06222a; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.price .amount { font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; }
.price .per { color: var(--dim); font-size: .95rem; margin-bottom: 1em; }
.price ul { list-style: none; padding: 0; margin: 1em 0 0; }
.price li { padding-left: 26px; position: relative; margin-bottom: .5em; color: var(--dim); font-size: .96rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Anmelde-Knopf in der Kopfzeile */
.anmelden-knopf {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: .9rem; margin-left: 10px;
}
.anmelden-knopf:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) { .anmelden-knopf { margin-left: auto; } }

/* Anleitung: PDF-Karte und Schrittkarten */
.pdf-karte {
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--accent-dark); border-radius: var(--radius); padding: 24px 26px;
}
.pdf-karte h2 { margin-bottom: .3em; }
.pdf-karte p { margin: 0; max-width: 60ch; }

.schritte { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 1.6em; }
@media (min-width: 800px) { .schritte { grid-template-columns: 1fr 1fr; } }
.schritt {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px;
}
.schritt h3 { font-size: 1.02rem; margin-bottom: .35em; }
.schritt p { margin: 0; color: var(--dim); font-size: .96rem; }

/* Hinweiskasten (z.B. Windows-Meldung beim ersten Start) */
.box-hinweis {
  margin-top: 1.8em; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid #ffb020; background: rgba(255, 176, 32, .07);
}
.box-hinweis h3 { margin-bottom: .4em; color: #ffc978; }
.box-hinweis p { margin: 0; }

/* ---------- Formular ---------- */
form.tkl { display: grid; gap: 16px; max-width: 560px; }
form.tkl label { display: block; font-size: .9rem; color: var(--dim); margin-bottom: 6px; }
form.tkl input[type=text], form.tkl input[type=email], form.tkl select, form.tkl textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font-family: inherit; font-size: 1rem;
}
form.tkl input:focus, form.tkl select:focus, form.tkl textarea:focus { outline: 2px solid var(--accent-dark); border-color: transparent; }
form.tkl .check { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--dim); }
form.tkl .check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--accent); }
.msg { padding: 14px 16px; border-radius: 10px; margin-bottom: 1em; }
.msg.ok { background: rgba(54, 224, 207, .12); border: 1px solid var(--accent-dark); }
.msg.err { background: rgba(255, 107, 107, .12); border: 1px solid #ff6b6b; color: #ffc9c9; }

/* ---------- Demo ---------- */
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.demo-tabs button {
  padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); font-family: inherit; font-size: .95rem; cursor: pointer;
}
.demo-tabs button.active { background: var(--accent); color: #06222a; border-color: var(--accent); font-weight: 650; }
.demo-stage {
  position: relative; background: #04101a; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 16 / 9;
}
.demo-stage iframe { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; }
.demo-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: .92rem; color: var(--dim); }
.demo-bar button {
  padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font-family: inherit; cursor: pointer;
}
.demo-bar button:hover { border-color: var(--accent-dark); }

/* ---------- Fusszeile ---------- */
footer.bottom { border-top: 1px solid var(--line); background: var(--bg2); padding: 40px 0; margin-top: 40px; font-size: .92rem; }
footer.bottom .wrap { display: flex; gap: 26px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
footer.bottom a { color: var(--dim); }
footer.bottom a:hover { color: var(--accent); }
.fnav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Bild-Lupe ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(3, 10, 14, .92); display: none;
  place-items: center; z-index: 100; padding: 24px; cursor: zoom-out;
}
.lightbox.on { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Platzhalterseite ---------- */
.soon { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; }
.soon .logo { width: 84px; height: 84px; margin: 0 auto 26px; }
.soon h1 { margin-bottom: .3em; }
.soon .langs-soon { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--dim); font-size: .95rem; }
