/* MAI MUSIC – Stylesheet
   Farben und Schrift nach Flyer-CI 2025. */

/* Montserrat wird selbst gehostet (keine Verbindung zu Google). Die woff2-Dateien liegen in /fonts/
   und werden beim automatischen Build geladen – fehlen sie, greift die Systemschrift. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #0F71B8;
  --blue-dark: #0B5A93;
  --blue-soft: #E7F0F9;
  --magenta: #AD3193;
  --violet: #763B7D;
  --violet-soft: #F6E8F3;
  --teal: #0F5F6A;
  --ink: #1B2440;
  --ink-2: #3A4460;
  --muted: #4A5470;
  --line: #E2E6EE;
  --line-strong: #B8C0D0;
  --bg: #F3F5F9;
  --card: #FFFFFF;
  --footer: #0C3F52;
  --gradient: linear-gradient(115deg, var(--magenta) 0%, var(--violet) 45%, var(--teal) 100%);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(27, 36, 64, .08);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.h-caps { text-transform: uppercase; color: var(--blue); font-weight: 800; letter-spacing: .01em; font-size: clamp(28px, 4vw, 40px); }
.h2 { font-weight: 800; font-size: clamp(24px, 3vw, 32px); }
.lead { color: var(--ink-2); font-size: 18px; max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--white { background: #fff; color: var(--blue); text-transform: uppercase; letter-spacing: .03em; font-weight: 800; }
.btn--white:hover { color: var(--blue-dark); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: 16px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: 22px; color: var(--blue); }
.brand__claim { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.header-call { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; color: var(--ink); }
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); flex-direction: column; gap: 0;
    padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-call .label { display: none; }
  .header-call { padding: 0 14px; }
}

/* Hero */
.hero { background: var(--gradient); color: #fff; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 56px 20px 96px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__media { flex: 1 1 420px; min-width: 0; }
.hero__media img { border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 10, 40, .45); }
.hero h1 { font-weight: 800; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.05; text-transform: uppercase; }
.hero p { font-size: 19px; max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 10px; }
.chip--white { background: #fff; color: var(--blue); font-weight: 800; letter-spacing: .04em; }
.chip--outline { border: 1.5px solid rgba(255,255,255,.75); }
.chip--blue { background: var(--blue-soft); color: var(--blue); }
.chip--violet { background: var(--violet-soft); color: #8A2775; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { background: var(--gradient); color: #fff; padding: 48px 0 56px; }
.page-hero h1 { font-weight: 800; font-size: clamp(28px, 4.4vw, 46px); }
.page-hero p { margin-top: 12px; font-size: 18px; max-width: 760px; }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.page-hero .crumbs { color: rgba(255,255,255,.9); padding: 0 0 14px; }
.page-hero .crumbs a { color: #fff; }

/* Fakten */
.facts { margin-top: -52px; position: relative; }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.fact { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.fact__value { font-weight: 800; font-size: 28px; color: var(--blue); }
.fact__label { font-size: 14px; color: var(--muted); }

/* Kurzantwort-Box */
.answer { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.answer h2 { font-size: 22px; font-weight: 800; }
.answer p { color: var(--ink-2); max-width: 900px; }

/* Paketkarten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1468 / 1000; object-fit: cover; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card h3 { font-size: 21px; font-weight: 800; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__claim { font-weight: 600; color: var(--violet); font-size: 15px; }
.card__gear { font-size: 14px; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__foot .btn { position: relative; z-index: 1; min-height: 44px; padding: 0 16px; font-size: 14px; }
.price { font-weight: 800; font-size: 28px; color: var(--blue); }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.badge { position: absolute; top: 12px; left: 12px; background: #FFD23F; color: var(--ink); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 8px; text-transform: uppercase; }

/* Tabelle */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; vertical-align: top; }
.compare thead th { background: var(--blue); color: #fff; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare td.num { font-weight: 700; color: var(--blue); white-space: nowrap; }
.compare tbody th a { color: var(--ink); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; counter-increment: step; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.steps strong { font-size: 18px; }
.steps span { color: var(--muted); font-size: 14px; }

/* Hinweisbox */
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.note > div { flex: 1 1 420px; min-width: 0; }
.note--blue { background: var(--blue-soft); border-color: transparent; }

/* Video (lädt erst nach Klick) */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--gradient); }
.video button { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 20px; color: #fff; }
.video button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.video strong { font-size: 18px; }
.video small { font-size: 12px; opacity: .95; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 700; 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(--blue); font-weight: 800; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > :first-child { flex: 1 1 300px; min-width: 0; }
.split > :last-child { flex: 999 1 560px; min-width: 0; }

/* Städte */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.pill:hover { border-color: var(--blue); color: var(--blue); }

/* Banner Notfall */
.banner { background: var(--gradient); color: #fff; }
.banner__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 40px 20px; }
.banner h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; }

/* Paket-Detail */
.product { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.product__media { flex: 1 1 520px; min-width: 0; }
.product__media img { border-radius: 18px; box-shadow: 0 16px 40px rgba(27, 36, 64, .15); }
.product__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.product__info h1 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.buybox .price { font-size: 40px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.panels { display: flex; flex-wrap: wrap; gap: 24px; }
.panel { flex: 1 1 440px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.gear { width: 100%; border-collapse: collapse; font-size: 15px; }
.gear th { text-align: left; padding: 10px 12px 10px 0; width: 42%; vertical-align: top; }
.gear td { padding: 10px 0; color: var(--ink-2); }
.gear tr + tr { border-top: 1px solid var(--line); }
.download { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); border: 2px solid var(--blue); text-decoration: none; color: var(--ink); background: #fff; }
.download__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.mini a { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--ink); }
.mini img { width: 112px; border-radius: 10px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team__person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.team__person strong { display: block; font-size: 18px; }

/* Formular */
.contact { display: flex; flex-wrap: wrap; gap: 40px; }
.contact__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__form { flex: 999 1 560px; min-width: 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 26px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { font-weight: 800; font-size: 17px; color: var(--blue); text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid-6 > * { grid-column: 1 / -1; } .team { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { min-height: 48px; border-radius: 10px; border: 1px solid var(--line-strong); padding: 0 12px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; width: 100%; }
.field textarea { padding: 12px; min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-strong); cursor: pointer; font-size: 14px; line-height: 1.3; }
.choice input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice small { display: block; color: var(--muted); font-size: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.form-msg--error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3B9B9; }
.form-done { background: var(--card); border: 2px solid var(--blue); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.form-done h3 { color: var(--blue); font-size: 26px; font-weight: 800; }
.info-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* Fließtext */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 22px; font-weight: 800; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; }
.tips { counter-reset: tip; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tips li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: tip; }
.tips li strong { display: block; font-size: 18px; margin-bottom: 6px; }
.tips li strong::before { content: counter(tip) ". "; color: var(--blue); }
.tips li p { color: var(--ink-2); font-size: 15px; }

/* Footer */
.site-footer { background: var(--footer); color: #DCE6EE; font-size: 14px; }
.site-footer a { color: #DCE6EE; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding: 48px 20px 28px; }
.footer__grid h2 { font-size: 15px; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 20px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand img { width: 44px; height: 44px; }

/* Schnell-Anruf auf dem Handy */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px; }
  .callbar .btn { flex: 1; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hervorgehobenes Paket (Paket L) */
.card--featured { outline: 3px solid var(--blue); outline-offset: -3px; }
.card--featured .badge { background: var(--blue); color: #fff; }
.compare tr.is-featured td, .compare tr.is-featured th { background: #E7F1FA; font-weight: 700; }

/* WhatsApp im Kopfbereich */
.header-wa { white-space: nowrap; }
@media (max-width: 900px) { .header-wa .label { display: none; } .header-wa { padding: 0 12px; } }

/* Karte im Footer */
.footer__map { padding-top: 8px; padding-bottom: 8px; }
.map { position: relative; height: 260px; border-radius: var(--radius); overflow: hidden; background: #0A3445; border: 1px solid rgba(255,255,255,.15); }
.map button { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 20px; text-align: center; color: #fff;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px); }
.map button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.map small { opacity: .85; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
