/* Platzhalter-Seite "Onlineportal in Vorbereitung". Komplett statisch: kein JavaScript, keine Cookies, keine fremden Server. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-bold.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --accent: #d9f24a;
  --muted: #8d8d8d;
  --line: #3a3a3a;
  --text-muted: #d4d4d4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

p,
h1,
h2,
ul,
address {
  margin: 0;
}

a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Kopfzeile */
.top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.brand {
  display: inline-block;
  color: var(--paper);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand-hl {
  display: inline-block;
  padding: 0 0.2em;
  background: var(--accent);
  color: var(--ink);
  line-height: 1.1;
}

.badge {
  padding: 0.5rem 0.85rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

/* Hauptteil */
.main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2.25rem 0 2.5rem;
}

.headline {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.25rem, 11.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.line {
  display: block;
  white-space: nowrap;
}

.headline mark {
  display: inline-block;
  padding: 0 0.18em;
  background: var(--accent);
  color: var(--ink);
  line-height: 1.1;
}

.lower {
  display: grid;
  gap: 2rem;
}

.intro {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.5;
}

.callout {
  padding-left: 1.25rem;
  border-left: 5px solid var(--accent);
}

.callout-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.callout-text {
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.callout-text a {
  color: var(--paper);
}

/* Fußzeile */
.foot {
  flex: none;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-style: normal;
}

.contact strong {
  color: var(--paper);
  font-weight: 700;
}

/* Desktop */
@media (min-width: 48rem) {
  .page {
    padding: 2rem 3rem 2.5rem;
  }

  .top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .main {
    gap: 3.5rem;
    padding: 3rem 0 3.5rem;
  }

  .headline {
    font-size: clamp(4rem, 7.6vw, 7rem);
  }

  /* Erste Zeile bleibt auf dem Desktop zusammen */
  .line-split {
    display: inline;
  }

  .lower {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }

  .intro {
    font-size: 1.125rem;
  }

  .callout {
    justify-self: start;
  }

  .cities {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    font-size: 1.125rem;
  }

  .contact {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
  }

}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .cities {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 1.25rem;
  }
}

.callout-more {
  margin-top: 0.5rem;
}

/* Fragen und Antworten (faq.html): Akkordeon mit details/summary, ohne JavaScript */
.badge-wide {
  display: none;
}

.faq-layout {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

.back {
  font-size: 0.9375rem;
}

.faq-title {
  margin-top: 1.5rem;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.5rem, 11vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
}

.faq-lead {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 2rem;
  align-items: start;
  gap: 0 0.75rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-no {
  padding-top: 0.45rem;
  color: var(--muted);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.faq-q {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.faq-item summary:hover .faq-q {
  color: var(--accent);
}

.faq-icon {
  position: relative;
  display: block;
  width: 2rem;
  height: 2rem;
  background: #2b2b2b;
  color: var(--paper);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 0.875rem;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 0.875rem;
}

.faq-item[open] .faq-icon {
  background: var(--accent);
  color: var(--ink);
}

.faq-item[open] .faq-icon::after {
  display: none;
}

.faq-a {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.faq-a p + p {
  margin-top: 0.85rem;
}

.faq-a a {
  color: var(--paper);
}

.foot-plain {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 48rem) {
  .top-faq {
    flex-direction: row;
  }

  .badge-wide {
    display: block;
  }

  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 3rem 6rem;
    align-items: start;
    padding: 3rem 0 4rem;
  }

  .faq-title {
    font-size: clamp(3.25rem, 5.6vw, 5rem);
  }

  .faq-lead {
    font-size: 1rem;
  }

  .faq-q {
    font-size: 1.75rem;
  }

  .faq-item summary {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2rem;
    padding: 1.5rem 0;
  }

  .faq-a {
    padding-left: 3.25rem;
    padding-right: 3rem;
    font-size: 1rem;
  }

  .foot-plain {
    margin-top: auto;
  }
}

/* Textlink mit gelber Unterlegung */
.hl-link {
  display: inline-block;
  padding: 0 0.3em;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.hl-link:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Impressum */
.legal {
  max-width: 36rem;
  font-size: 1.0625rem;
}

.legal-h {
  margin-bottom: 0.5rem;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.legal > * + .legal-h {
  margin-top: 3.5rem;
}

.legal p + p {
  margin-top: 0.85rem;
}

.legal p {
  color: var(--text-muted);
}

@media (min-width: 48rem) {
  .legal {
    padding-top: 1.5rem;
  }

  .legal-h {
    font-size: 1.75rem;
  }
}
