/* WAVE.FILM Online-Beratung
   Weiß, schwarz, WAVE-Gelb. Anton für Headlines (Versalien), Arimo für Text.
   Schriften liegen lokal in assets/fonts (SIL Open Font License), kein Google-Abruf. */

@font-face { font-family: "Anton"; src: url("fonts/Anton-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Arimo"; src: url("fonts/Arimo.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --yellow: #f0bb00;   /* aus dem Logo gemessen */
  --ink:    #000;
  --page:   #fff;
  --grey:   #66696e;
  --line:   #d9dadc;
  --bar:    76px;      /* Header und sichtbare Fußleiste, ca. 2 cm */
  --head: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Arimo", Arial, "Helvetica Neue", sans-serif;
  --col: 660px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.18; }

/* Header: schwarze Leiste, Logo mittig */
.bar.top { position: sticky; top: 0; z-index: 10; height: calc(var(--bar) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px); background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: 20px; }
.brand { grid-column: 2; display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }
.pct { grid-column: 1; font-size: 14px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.lang { grid-column: 3; justify-self: end; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 400 15px var(--text); color: #bdbdbd; text-decoration: underline; text-decoration-color: #555; text-underline-offset: 4px; }
.lang:hover { color: #fff; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #2a2a2a; }
.progress i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .35s ease; }

/* Hauptbereich: füllt den Bildschirm bis auf eine 2-cm-Fußleiste */
main { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 20px 40px;
  min-height: calc(100vh - 2 * var(--bar)); min-height: calc(100svh - 2 * var(--bar) - env(safe-area-inset-top, 0px)); }

.start { padding-top: 14vh; text-align: center; }
.start h1 { font-size: clamp(44px, 10vw, 84px); margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--grey); max-width: 28em; margin: 0 auto 36px; }

/* Buttons wie auf wave.film: Pille, zweizeilig, Gelb mit Schwarz oder Kontur */
.btn2 { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 30px 10px 22px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; font-family: var(--text); }
.btn2 b { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; }
.btn2 small { display: block; font-size: 13px; line-height: 1.4; opacity: .8; }
.btn2 .ico { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn2.primary { background: var(--yellow); border-color: var(--yellow); }
.btn2.primary:hover { background: #ffc800; }
.btn2:not(.primary):hover { background: #f4f4f4; }
.btn2:disabled { opacity: .4; cursor: default; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); font: 700 16px var(--text); cursor: pointer; text-decoration: none; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); }
.btn.ghost { border-color: transparent; padding-left: 0; font-weight: 400; color: var(--grey); }
.btn.ghost:hover { color: var(--ink); }
.btn:disabled { opacity: .35; cursor: default; }

/* Fragen */
.q, .result { padding-top: 7vh; }
.qhead h2, .result > h2 { font-size: clamp(32px, 6.4vw, 52px); margin: 0 0 10px; outline: none; }
.hint { color: var(--grey); margin: 0 0 4px; font-size: 16px; }
.opts { display: grid; gap: 10px; margin: 26px 0 28px; }
.opt { width: 100%; min-height: 58px; padding: 14px 20px; text-align: left; border: 1.5px solid var(--line); border-radius: 16px;
  background: #fff; color: var(--ink); font: 400 17px/1.45 var(--text); cursor: pointer; transition: border-color .12s, background-color .12s; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.opt.custom { border-style: dashed; color: var(--grey); }
.opt.custom[aria-pressed="true"] { color: var(--ink); border-style: solid; }
.opt:disabled { cursor: default; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Ergebnis */
.rec { border: 1.5px solid var(--ink); border-radius: 20px; padding: 24px; margin: 22px 0 14px; }
.rec .area { margin: 0; color: var(--grey); font-size: 15px; }
.rec h3 { font-size: 34px; margin: 8px 0 10px; }
.rec .price { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.rec .incl { margin: 0 0 18px; color: var(--grey); }
.alt { padding: 14px 0; border-bottom: 1px solid var(--line); }
.alt p { margin: 0; }
.alt .label { color: var(--grey); font-size: 15px; }
.block { padding: 14px 0 4px; border-bottom: 1px solid var(--line); }
.block h4, .next h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.block ul { margin: 0 0 10px; padding-left: 1.1em; }
.block li { margin: 4px 0; }
.note { border-left: 5px solid var(--yellow); padding: 6px 0 6px 14px; margin: 16px 0; }
.next { padding: 22px 0 6px; }
.next p { margin: 0 0 16px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--grey); margin: 20px 0; }
.classic { margin-top: 34px; }
.classic h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.contact { display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 15px; margin: 22px 0 0; }
.contact span { color: var(--grey); }
.result .nav { border-top: 1px solid var(--line); padding-top: 16px; }

/* Fußbereich: schwarze Leiste unten sichtbar, Rest beim Scrollen */
.foot { background: var(--ink); color: #b5b5b5; font-size: 15px; }
.dock { height: var(--bar); display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  border-bottom: 1px solid #262626; padding: 0 20px; }
.dock a { color: #fff; text-decoration: none; }
.dock a:hover { color: var(--yellow); }
.more { max-width: var(--col); margin: 0 auto; padding: 36px 20px calc(36px + env(safe-area-inset-bottom, 0px)); }
.more h2 { color: #fff; font-size: 24px; margin: 30px 0 10px; }
.more h2:first-child { margin-top: 0; }
.more p { margin: 0 0 12px; }
.more .fine { color: #8c8c8c; }
.more a { color: #fff; }
.areas { list-style: none; padding: 0; margin: 0; }
.areas li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #262626; }
.areas li > :first-child { color: #fff; }
.areas li > :last-child { color: var(--yellow); white-space: nowrap; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .start { padding-top: 9vh; }
  .brand img { height: 38px; }
  .pct { display: none; }
  .dock { gap: 18px; font-size: 14px; }
  .areas li { flex-direction: column; gap: 0; }
  .ctas .btn2 { width: 100%; }
  .result .nav .btn.yellow { width: 100%; justify-content: center; order: -1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Ratgeber */
.article { padding-top: 6vh; }
.article h1 { font-size: clamp(38px, 8vw, 64px); margin: 0 0 16px; }
.article h2 { font-size: 28px; margin: 36px 0 8px; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.article th, .article td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article .cta { margin: 36px 0 10px; }

.also { border: 1.5px dashed var(--ink); border-radius: 20px; padding: 20px 24px; margin: 14px 0; }
.also .label { margin: 0; color: var(--grey); font-size: 15px; }
.also h3 { font-size: 26px; margin: 6px 0 8px; }
.also .price { font-weight: 700; margin: 0 0 12px; }

/* Verstanden-Liste */
.understood { padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.understood h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.understood dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 12px; font-size: 15px; }
.understood dt { color: var(--grey); }
.understood dd { margin: 0; }
@media (max-width: 560px) { .understood dl { grid-template-columns: 1fr; gap: 0; } .understood dd { margin-bottom: 8px; } }

/* Anfrageformular */
.inq { margin: 26px 0 10px; padding: 24px; border: 1.5px solid var(--ink); border-radius: 20px; scroll-margin-top: calc(var(--bar) + 16px); }
.inq h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.inq .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fld { display: block; margin: 12px 0 0; font-size: 14px; color: var(--grey); }
.fld input, .fld textarea { display: block; width: 100%; margin-top: 4px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 400 16px/1.4 var(--text); color: var(--ink); background: #fff; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); outline: none; }
.fld textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 14px; color: var(--grey); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.formmsg { margin: 12px 0 0; font-weight: 700; }
.formmsg:empty { display: none; }
.result .ctas button.btn2 { font-family: var(--text); }
@media (max-width: 560px) { .inq { padding: 18px; } .inq .grid { grid-template-columns: 1fr; } .inq .btn.yellow { width: 100%; justify-content: center; } }
