/* Centloop – Webseite. Farben wie in der App (Shared/Theme.swift) */
:root {
  --accent: #2F5BEA;
  --accent-strong: #2449C9;
  --accent-soft: rgba(47, 91, 234, .10);
  --on-accent: #FFFFFF;
  --bg: #F5F6F8;
  --bg-alt: #ECEEF3;
  --card: #FFFFFF;
  --text: #14161B;
  --text-2: #4A505E;
  --text-3: #6B7180;
  --line: #E1E4EA;
  --positive: #137A55;
  --header-bg: rgba(245, 246, 248, .78);
  --shadow: 0 1px 2px rgba(20, 22, 27, .04), 0 8px 24px rgba(20, 22, 27, .06);
  --shadow-lg: 0 30px 60px -20px rgba(20, 30, 70, .30), 0 10px 24px -12px rgba(20, 30, 70, .18);
  --bezel: #16181D;
  --rim: #BCC0C7;
  --ph-bg: #FFE58A;
  --ph-text: #4A3B00;
  --radius: 20px;
  --maxw: 1120px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --accent: #6D8CF0;
  --accent-strong: #8AA3F4;
  --accent-soft: rgba(109, 140, 240, .14);
  --on-accent: #0F1013;
  --bg: #0F1013;
  --bg-alt: #15171B;
  --card: #1C1E23;
  --text: #F2F3F5;
  --text-2: #B9BDC7;
  --text-3: #8E94A3;
  --line: #2C2F37;
  --positive: #3BC48F;
  --header-bg: rgba(15, 16, 19, .72);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(0, 0, 0, .5);
  --bezel: #2A2D35;
  --rim: #4B4F58;
  --ph-bg: #6B5500;
  --ph-text: #FFF4C2;
  color-scheme: dark;
}

/* Sprachen: nur die gewählte Sprache ist sichtbar */
html[data-lang="de"] .t:not([lang="de"]),
html[data-lang="en"] .t:not([lang="en"]),
html[data-lang="fr"] .t:not([lang="fr"]),
html[data-lang="es"] .t:not([lang="es"]),
html[data-lang="pt-PT"] .t:not([lang="pt-PT"]) { display: none !important; }

/* Hell/Dunkel-Bilder */
:root:not([data-theme="dark"]) .only-dark,
:root[data-theme="dark"] .only-light { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--text); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.controls { display: flex; align-items: center; gap: 8px; }
.lang-picker { position: relative; display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.lang-picker svg { position: absolute; left: 12px; width: 18px; height: 18px; pointer-events: none; color: var(--text-2); }
.lang-picker .chev { left: auto; right: 12px; width: 14px; height: 14px; }
.lang-picker select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit;
  font: inherit; font-size: 15px; font-weight: 500; height: 100%; padding: 0 34px 0 38px; border-radius: 999px; cursor: pointer;
}
.lang-picker select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lang-picker select option { color: #14161B; background: #fff; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-toggle:hover, .lang-picker:hover { border-color: var(--text-3); }
.theme-toggle svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon,
:root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }

/* ---------- Buttons ---------- */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 14px;
  background: var(--text); color: var(--bg); text-decoration: none; line-height: 1.1; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { color: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 12px; opacity: .8; }
.store-btn strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto 0; height: 680px; z-index: -1;
  background: radial-gradient(60% 60% at 75% 30%, var(--accent-soft), transparent 70%), radial-gradient(40% 40% at 10% 10%, var(--accent-soft), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); margin: 22px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .15s ease; }
.badge:hover { transform: translateY(-1px); }
.badge img { height: 48px; width: auto; }
.final-box .badges { justify-content: center; }
.offer { color: var(--text-2); font-size: 15px; }
.offer strong { color: var(--text); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 30px 0 0; }
.pills li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text-2); }
.pills svg { width: 16px; height: 16px; color: var(--positive); }
.hero-visual { display: flex; justify-content: center; }

/* ---------- Telefonrahmen ---------- */
.phone {
  position: relative; width: min(320px, 78vw); aspect-ratio: 1206 / 2622; border-radius: 14.7% / 6.8%;
  background: #0B0C0E; padding: 1.4%; box-shadow: 0 0 0 2px var(--rim), var(--shadow-lg);
}
.phone img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 13.7% / 6.3%; background: var(--card); }
/* Dynamic Island und Tasten wie beim iPhone 17 Pro */
.phone .island { position: absolute; z-index: 2; top: 1.9%; left: 50%; transform: translateX(-50%); width: 30.4%; aspect-ratio: 126 / 37; background: #000; border-radius: 999px; }
.phone .hw { position: absolute; width: 3px; background: var(--rim); }
.phone .hw.a { left: -5px; top: 17%; height: 3.4%; border-radius: 2px 0 0 2px; }
.phone .hw.v1 { left: -5px; top: 23.5%; height: 6.4%; border-radius: 2px 0 0 2px; }
.phone .hw.v2 { left: -5px; top: 31.2%; height: 6.4%; border-radius: 2px 0 0 2px; }
.phone .hw.s { right: -5px; top: 25.5%; height: 10%; border-radius: 0 2px 2px 0; }
.phone.sm { width: min(290px, 74vw); }

/* ---------- Abschnitte ---------- */
section { scroll-margin-top: 80px; }
.features { padding: 40px 0 24px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-visual { display: flex; justify-content: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.kicker .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); }
.kicker svg { width: 19px; height: 19px; }
.feature h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 750; }
.feature p { color: var(--text-2); font-size: 18px; margin: 16px 0 20px; max-width: 30em; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text); }
.checks svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }

.band { background: var(--bg-alt); padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 750; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: 16px; }

.icons-band { padding: 88px 0; }
.icons-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 8px; }
.icons-row img { width: 76px; height: 76px; border-radius: 22.5%; box-shadow: var(--shadow); transition: transform .2s ease; }
.icons-row img:hover { transform: translateY(-4px) rotate(-3deg); }
.duo { display: flex; justify-content: center; gap: 28px; margin-top: 52px; }

.privacy-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 920px; }
.shield { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-lg); }
.shield svg { width: 48px; height: 48px; }
.privacy-band h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 750; }
.privacy-band p { color: var(--text-2); margin: 14px 0 16px; font-size: 18px; }
.arrow-link { font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }

.pricing { padding: 88px 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 20px; }
.plan { position: relative; background: var(--card); border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { font-size: 20px; font-weight: 650; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 14px; }
.price strong { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.price .unit { color: var(--text-3); font-weight: 500; }
.plan p { color: var(--text-2); font-size: 16px; }
.price-note { text-align: center; color: var(--text-3); font-size: 14px; max-width: 640px; margin: 26px auto 0; }

.final { padding: 24px 0 96px; }
.final-box { background: var(--accent); color: var(--on-accent); border-radius: 32px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.final-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255,255,255,.12); }
.final-box h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.final-box p { margin: 14px 0 28px; opacity: .92; }
.final-box p a { color: inherit; font-weight: 600; }
.final-box .store-btn { background: var(--on-accent); color: var(--accent); }
:root[data-theme="dark"] .final-box .store-btn { background: #0F1013; color: #F2F3F5; }

/* ---------- Unterseiten ---------- */
.page { padding: 48px 0 88px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.page .sub { color: var(--text-3); margin: 10px 0 36px; }
.page h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.page h3 { font-size: 18px; font-weight: 650; margin: 26px 0 8px; letter-spacing: -0.01em; }
.page p { color: var(--text-2); margin: 0 0 12px; }
.page .card { margin-bottom: 14px; }
.page address { font-style: normal; color: var(--text); line-height: 1.7; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 26px; font-size: 15px; }
.back svg { width: 16px; height: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 17px; position: relative; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list .answer { padding: 0 22px 20px; color: var(--text-2); }
mark.ph { background: var(--ph-bg); color: var(--ph-text); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--text-3); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; padding: 0; margin: 0; }
.foot-links a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; }

/* ---------- Responsiv ---------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row { align-items: center; }
  .badges, .pills { justify-content: center; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; text-align: left; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 58px; }
  .brand span { font-size: 18px; }
  .lang-picker select { padding: 0 28px 0 34px; font-size: 14px; }
  .lang-picker svg { left: 10px; width: 16px; height: 16px; }
  .lang-picker .chev { right: 10px; }
  .hero { padding-top: 36px; }
  .grid3, .plans { grid-template-columns: 1fr; }
  .band, .icons-band, .pricing { padding: 64px 0; }
  .privacy-band .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .duo { gap: 14px; }
  .duo .phone { width: 44vw; }
  .icons-row { gap: 12px; }
  .icons-row img { width: 60px; height: 60px; }
  .badge img { height: 44px; }
  .final-box { padding: 44px 20px; border-radius: 24px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
}
