/* AIX Tel – O2 Business Landingpage */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --signal: #0019A5;      /* O2-Blau, wie auf dem Plakat */
  --signal-deep: #00127A;
  --ink: #0A1B6B;         /* Überschriften, Text */
  --night: #050E3C;       /* Footer */
  --wash: #EEF2FF;        /* helle Flächen */
  --glow: #5CE1FF;        /* Akzent auf Blau */
  --wa: #25D366;
  --wa-dark: #128C4B;
  --text: #2A3563;
  --muted: #5B6490;
  --line: #D6DDF5;
  --white: #FFFFFF;
  --radius-s: 8px;
  --radius-m: 14px;
  --wrap: 1160px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--signal); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: -0.02em; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
sup { font-size: .6em; line-height: 0; }
sub { font-size: .7em; line-height: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }

:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #06331A; }
.btn-wa:hover { background: #3BE07A; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-primary { background: var(--signal); color: var(--white); width: 100%; }
.btn-primary:hover { background: var(--signal-deep); }
.btn-primary[disabled] { opacity: .6; cursor: wait; }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-line:hover { border-color: var(--signal); }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* Hero */
.hero {
  color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(92,225,255,.22), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(0,10,80,.55), transparent 70%),
    var(--signal);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.topbar {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand img { width: 84px; height: auto; }
.partner {
  display: flex; align-items: center; gap: .6rem;
  margin-left: auto; font-size: .85rem; opacity: .9;
}
.partner img { width: 30px; height: auto; }
.topcall {
  display: none; color: var(--white); font-weight: 700; text-decoration: none;
  border-left: 1px solid rgba(255,255,255,.3); padding-left: 1rem;
}

.hero-grid {
  display: grid; gap: 0;
  padding-top: clamp(1rem, 5vw, 4rem);
}
/* Mobil: Preis direkt unter die Überschrift */
.hero-copy { display: contents; }
.tariff { order: 1; }
.hero h1 { order: 2; }
.sim { order: 3; }
.lead { order: 4; }
.actions { order: 5; }
.fine { order: 6; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: .5rem 0 1.25rem;
}
.tariff { font-weight: 700; font-size: 1.1rem; color: var(--glow); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 34em; color: rgba(255,255,255,.88); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }
.fine { font-size: .85rem; color: rgba(255,255,255,.7); }

/* SIM-Karte mit Preis */
.sim {
  position: relative;
  align-self: center;
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.4rem 1.2rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 22px;
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 8, 60, .6);
}
.chip {
  width: 40px; height: auto; margin-bottom: .6rem;
  fill: #F3D98B; stroke: #B8963A; stroke-width: 1.4;
}
.chip path { fill: none; }
.inf {
  position: absolute; right: 1.2rem; top: 3.6rem;
  width: 84px; height: auto;
  fill: none; stroke: var(--signal); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 330; stroke-dashoffset: 330;
  animation: draw 1.6s .3s cubic-bezier(.6,.1,.3,1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.sim-from { font-weight: 600; font-size: 1.1rem; }
.price {
  display: flex; align-items: flex-start;
  font-weight: 800; line-height: .85; letter-spacing: -0.05em;
  color: var(--signal);
  margin: .2rem 0 .5rem;
}
.price .num { font-size: clamp(4.6rem, 3.6rem + 6vw, 8.5rem); }
.price .cur { font-size: 3.2rem; margin: .5rem 0 0 .3rem; }
.per { font-weight: 700; font-size: 1.15rem; }
.was { margin-top: .4rem; color: var(--muted); }
.eff { font-size: .9rem; color: var(--muted); padding-top: .7rem; margin-top: .7rem; border-top: 1px dashed var(--line); }
.ends { margin-top: .8rem; font-weight: 700; color: var(--signal); }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.feature-list {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 0;
}
.feature-list li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.feature-list svg {
  width: 44px; height: 44px; flex: none; padding: 9px;
  color: var(--signal); background: var(--wash); border-radius: 12px;
}
.feature-list p { margin-top: .3rem; color: var(--muted); max-width: 40ch; }

.world {
  background: var(--ink);
  color: rgba(255,255,255,.85);
}
.world h2 { color: var(--white); }
.world-grid { display: grid; gap: 2rem; align-items: center; }
.world-grid p { margin-top: 1rem; max-width: 42ch; }
.options { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.options li {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.05rem 1.25rem;
  font-weight: 700; font-size: 1.15rem; color: var(--white);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-m);
}
.options svg { width: 26px; height: 26px; color: var(--glow); flex: none; }

.step-list {
  list-style: none; counter-reset: step;
  margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 2rem;
}
.step-list li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.step-list li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem;
  color: var(--white); background: var(--signal);
}
.step-list p { margin-top: .4rem; color: var(--muted); max-width: 32ch; }

.award { background: var(--wash); }
.award-grid { display: grid; gap: 2rem; align-items: center; }
.award-grid p { margin-top: .8rem; max-width: 46ch; }
.seal {
  width: 170px; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: var(--white);
  border: 3px solid var(--signal);
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--line);
}
.seal-grade { font-size: 1.7rem; font-weight: 800; color: var(--signal); line-height: 1; }
.seal-sub { font-size: .78rem; line-height: 1.3; margin-top: .4rem; color: var(--ink); font-weight: 600; }
.seal-src { font-size: .72rem; margin-top: .35rem; color: var(--muted); }

.store-grid { display: grid; gap: 2.5rem; }
address { font-style: normal; margin: 1.25rem 0 .8rem; font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.link { font-weight: 700; text-underline-offset: 4px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.5rem; margin: 1rem 0 0; }
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { margin: 0; }
.store-contact { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
.store-contact h3 { margin-bottom: .25rem; }

.faq { background: var(--wash); }
.faq h2 { margin-bottom: 2rem; }
details {
  background: var(--white); border-radius: var(--radius-m);
  margin-bottom: .6rem; border: 1px solid var(--line);
}
summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-weight: 700; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal);
  transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 1.25rem 1.25rem; color: var(--muted); }

.contact-grid { display: grid; gap: 2rem; }
.contact-grid > div p { margin-top: 1rem; max-width: 36ch; }
.contact-grid .alt { font-weight: 600; color: var(--ink); }
.form {
  display: grid; gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: 20px;
}
.row { display: grid; gap: .35rem; }
label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; /* verhindert iOS-Zoom */
  color: var(--ink); background: var(--white);
  padding: .8rem .9rem; min-height: 50px;
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--signal) 50%), linear-gradient(135deg, var(--signal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(0,25,165,.15); }
input[aria-invalid="true"] { border-color: #C62828; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.note { font-size: .85rem; color: var(--muted); }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--wa-dark); }
.form-status.err { color: #C62828; }

/* Footer */
.footer {
  background: var(--night); color: rgba(255,255,255,.7);
  padding: 3rem 0 7rem; font-size: .9rem;
}
.foot-top { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-top a, .foot-top .linklike { color: var(--white); }
.legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; line-height: 1.55; }
.legal p + p { margin-top: .7rem; }

/* Schnellkontakt */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dock a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  color: var(--ink); border: 2px solid var(--line);
}
.dock .dock-wa { background: var(--wa); border-color: var(--wa); color: #06331A; }
.dock svg { width: 20px; height: 20px; }

.wa-float {
  display: none;
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  place-items: center;
  box-shadow: 0 10px 25px -8px rgba(18,140,75,.7);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 34px; height: 34px; }

/* Cookie-Banner */
.consent {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  padding: .75rem;
}
.consent[hidden] { display: none; }
.consent-box {
  max-width: 720px; margin: 0 auto;
  background: var(--white); color: var(--text);
  border-radius: 18px; padding: 1.4rem;
  box-shadow: 0 -10px 50px rgba(5,14,60,.3);
  max-height: 85vh; overflow: auto;
  font-size: .92rem;
}
.consent-box h2 { font-size: 1.2rem; max-width: none; margin-bottom: .5rem; }
.consent-details { display: grid; gap: .6rem; margin: 1rem 0 0; }
.toggle {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-weight: 400;
}
.toggle input { width: 20px; height: 20px; min-height: 0; margin: .15rem 0 0; accent-color: var(--signal); -webkit-appearance: auto; appearance: auto; flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1.1rem; }
.btn-consent {
  flex: 1 1 180px; min-height: 48px;
  background: var(--signal); color: var(--white);
}
.btn-consent:hover { background: var(--signal-deep); }
.consent-actions .linklike { flex-basis: 100%; text-align: center; color: var(--ink); padding: .3rem; }

/* Rechtstexte */
.page-head { background: var(--signal); color: var(--white); padding: 1rem 0 2.5rem; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-top: 1.5rem; }
.legal-text { padding: 3rem 0 5rem; }
.legal-text h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; max-width: none; }
.legal-text h3 { margin: 1.4rem 0 .4rem; }
.legal-text p, .legal-text ul { margin: 0 0 .9rem; max-width: 70ch; }
.todo { background: #FFF3C4; padding: 0 .25em; border-radius: 3px; }

/* Breakpoints */
@media (min-width: 560px) {
  .store-contact { flex-direction: row; flex-wrap: wrap; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .world-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .award-grid { grid-template-columns: auto 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; }
  .form .row:nth-of-type(5), .form .row:nth-of-type(6), .note, .form .btn, .form-status { grid-column: 1 / -1; }
  .btn-primary { width: auto; justify-self: start; }
  .consent { padding: 1.25rem; }
}
@media (min-width: 900px) {
  .partner { margin-left: auto; }
  .topcall { display: block; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; }
  .hero-copy { display: block; }
  .hero h1 { font-size: clamp(3.4rem, 1.5rem + 3.6vw, 4.6rem); }
  .sim { justify-self: end; width: min(100%, 400px); margin: 0; padding: 2rem 2rem 1.75rem; }
  .chip { width: 52px; margin-bottom: 1.4rem; }
  .inf { width: 110px; right: 1.5rem; top: 5.2rem; }
  .was { margin-top: 1rem; }
  .eff { font-size: .95rem; padding-top: .9rem; margin-top: .9rem; }
  .store-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .store-contact { flex-direction: column; }
  .dock { display: none; }
  .wa-float { display: grid; }
  .footer { padding-bottom: 3rem; }
}
@media (max-width: 380px) {
  .partner span { display: none; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .inf { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}
