/* Startseiten turq.app (DE unter /, sonst /<lang>/) und 404.
   Farb-Tokens, Marke und Knopf-Grundstil stehen in tokens.css (vorher einbinden). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.nav { display: flex; gap: 22px; margin-left: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.spacer { flex: 1; }
/* Sprachmenü: <details> ohne JavaScript, Kürzel der aktuellen Sprache als Pille */
.langmenu { position: relative; }
.langmenu summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px;
  background: var(--inset); color: var(--text);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
.langmenu[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.langmenu summary:hover { background: var(--border); }
.langmenu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 6px; list-style: none; min-width: 172px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.langmenu li a, .langmenu li span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
}
.langmenu li a:hover { background: var(--inset); }
.langmenu li [aria-current="true"] { color: var(--primary); }
.langmenu li [aria-current="true"]::after { content: "✓"; font-weight: 800; }
.langmenu summary:focus-visible, .langmenu li a:focus-visible, .nav a:focus-visible,
footer a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 45% 70% at 78% 50%, rgba(28, 206, 153, 0.16), transparent 72%),
    radial-gradient(ellipse 60% 55% at 10% -10%, rgba(45, 225, 252, 0.13), transparent 70%),
    linear-gradient(128deg, #040c16 0%, #071a2d 50%, #0b2c52 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0 60px, rgba(255, 255, 255, 0.022) 60px 95px, rgba(255, 255, 255, 0) 95px 170px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--primary); }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; margin-top: 14px; color: #fff; }
.accent { background: linear-gradient(90deg, var(--primary), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 20px; font-size: clamp(17px, 1.9vw, 20px); color: #c4d9e1; max-width: 33em; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.fine { font-size: 13.5px; color: var(--muted); }

.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 258px; border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #1b2b3b, #0a141f);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
/* 540 x 984: Screenshot 9:16 plus Statusleisten-Streifen (Bildskript), damit die Uhr nicht in der Ecke verschwindet */
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 540 / 984; object-fit: cover; background: var(--card); }
.phones .back { right: 0; top: 0; transform: rotate(5deg); opacity: 0.9; width: 236px; }
.phones .front { left: 8%; top: 48px; transform: rotate(-3deg); }

/* ---------- Abschnitte ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; margin-top: 10px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }

.card { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-card); padding: 24px; }
.card h3 { font-size: 20px; line-height: 1.25; font-weight: 800; }
.card p { margin-top: 10px; color: var(--muted); }
.num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(28, 206, 153, 0.14); color: var(--primary); font-weight: 800; margin-bottom: 18px;
}
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shot figure { margin: 0; }
.shot .phone { position: relative; width: 100%; max-width: 270px; margin: 0 auto; }
.shot figcaption { text-align: center; margin-top: 20px; }
.shot figcaption strong { display: block; font-size: 18px; font-weight: 800; }
.shot figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .phone { position: relative; width: 100%; max-width: 290px; margin: 0 auto; }
.split.flip .media { order: 2; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; margin-top: 10px; }
.split p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.split p.strong { color: var(--text); }
.hint {
  margin-top: 22px; display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px; background: var(--inset); color: var(--text); font-size: 14.5px;
}
.hint svg { flex: none; margin-top: 2px; }

.isnt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.isnt .card h3 { font-size: 18px; }

.plans { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--border); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
thead th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, 0.02); }
thead th.pro { color: var(--primary); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--primary); font-weight: 700; }
td.no { color: var(--muted); }
tr.price td { font-weight: 700; }
.plans-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); font-style: italic; max-width: 760px; }

.data { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.data li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--card); border-radius: 16px; }
.data li svg { flex: none; margin-top: 3px; }
.data-link { margin-top: 20px; display: inline-block; font-weight: 700; }

.join {
  background:
    radial-gradient(ellipse 50% 70% at 50% 115%, rgba(28, 206, 153, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg), #071a2d);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps .card { display: flex; flex-direction: column; }
.steps .card p { flex: 1; }
.steps .btn { margin-top: 18px; align-self: flex-start; }
.good { margin-top: 16px; }
.good h3 { font-size: 17px; }
.good ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.good li { margin: 6px 0; }

footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 32px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .footer-lang { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer .footer-lang a, footer .footer-lang span { font-size: 14px; padding: 4px 0; }
footer .footer-lang [aria-current="true"] { color: var(--text); font-weight: 700; }
footer .copy { color: var(--muted); font-size: 13px; margin-left: auto; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 40px; }
  .phones { height: 440px; max-width: 420px; width: 100%; margin: 8px auto 0; }
  .phone { width: 200px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 25px; }
  .phones .back { width: 184px; right: 4%; }
  .phones .front { left: 4%; top: 40px; }
  .reasons, .isnt { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .media { order: 0; }
  .split .phone { max-width: 240px; }
}
/* Handy: Seitenrand wie in der App (Spacing.screen.horizontal = 20). Nichts darf am
   Rand angeschnitten wirken, deshalb Hero-Handys ganz im Bild und Galerie als Raster. */
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .topbar .btn-sm { display: none; }
  .reasons, .isnt, .data, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .shot figcaption { margin-top: 14px; }
  .shot figcaption strong { font-size: 15px; }
  .shot figcaption span { font-size: 13px; }
  table { min-width: 0; }
  th, td { padding: 12px 10px; font-size: 14px; }
  .phones { height: 330px; max-width: 320px; }
  .phone { width: 160px; border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 20px; }
  .phones .back { width: 142px; right: 7%; }
  .phones .front { left: 7%; top: 30px; }
  .shot .phone, .split .phone { border-radius: 24px; padding: 6px; }
  footer .copy { margin-left: 0; width: 100%; }
}
