/* Gestaltung aus dem bestehenden Nuxt-Build uebernommen.
   Umbruchpunkte und Werte stammen 1:1 aus dessen CSS:
   600px  Basisschrift 16/20, Titel 26/33, Fusszeile Innenabstand 16
   800px  Wortmarke zentriert, Kopfabstand 11
   358px  Fusszeile: "Hedit" ausgeblendet, Links auf volle Breite */

@font-face {
  font-display: swap;
  font-family: ABCMonument;
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/ABCMonumentGrotesk-Regular.woff2") format("woff2"),
       url("/fonts/ABCMonumentGrotesk-Regular.woff") format("woff");
}

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

html {
  font-family: ABCMonument, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
}
body {
  margin: 0;
  padding: 0;
  /* 100vh meint auf Mobilgeraeten die Hoehe ohne Browserleiste und ist
     damit groesser als der sichtbare Bereich. dvh passt sich an. */
  min-height: 100vh;
  min-height: 100dvh;
  color: #000;
  background: #fff;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

/* Kopf */
.navInnerContainer {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1750px;
  padding-top: 23px;
  position: relative;
  width: 100%;
  min-height: 62px;
}
.wortmarke {
  position: absolute;
  top: 23px;
  left: 24px;
  margin-left: env(safe-area-inset-left);
  height: 32px;
  display: flex;
  align-items: center;
  line-height: 0;
}
.wortmarke svg { width: 115px; height: auto; display: block; fill: #000; }

/* Inhalt */
main { flex: 1; }

/* Abstand wie .centeredTitle.bigmargin im Build: fester Abstand nach oben,
   nicht vertikal zentriert. */
h1.centeredTitle {
  font-size: 52px;
  line-height: 64px;
  font-weight: 400;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
  margin: 188px auto 0;   /* ergibt Titeloberkante 250px wie in der Vorlage */
}
.nebensatz {
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
  margin: 32px auto 0;
}
.nebensatz a { color: #000; }

/* Textseiten */
.textspalte { max-width: 784px; margin: 0 auto; padding: 74px 20px 0; width: 100%; }
.impressumBlock { margin: 0 0 40px; }
.blockTitle { padding: 0 6px; font-size: 20px; line-height: 26px; }
.impressumBlock p { margin: 0; padding: 0 6px; font-size: 20px; line-height: 26px; white-space: pre-line; }
.impressumBlock a { color: #000; }

/* Fusszeile */
.footerLinks {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 1750px;
  margin: 64px auto 0;
  padding: 0 max(env(safe-area-inset-right, 24px), 24px) 10px;
  text-align: left;
}
.footerLinks .left { flex-grow: 1; }
.footerLinks .right a { color: #000; margin-left: 24px; text-decoration: none; }
.footerLinks .right a:hover, .footerLinks .right a:focus { text-decoration: underline; }

@media screen and (max-width: 800px) {
  .navInnerContainer { padding-top: 11px; min-height: 42px; }
  .wortmarke { top: 15px; left: 50%; transform: translateX(-50%); margin-left: 0; }
  .wortmarke svg { width: 108px; }
}

@media screen and (max-width: 600px) {
  html { font-size: 16px; line-height: 20px; }
  h1.centeredTitle { font-size: 26px; line-height: 33px; margin-top: 140px; }  /* Titeloberkante 182px */
  .nebensatz { font-size: 16px; line-height: 20px; margin-top: 24px; }
  .blockTitle, .impressumBlock p { font-size: 16px; line-height: 20px; }
  .textspalte { padding-top: 48px; }
  .footerLinks { padding: 0 16px calc(8px + env(safe-area-inset-bottom) / 2); }
}

@media screen and (max-width: 358px) {
  .footerLinks .left { display: none; }
  .footerLinks .right { display: flex; flex-basis: 100%; justify-content: space-between; width: 100%; }
  .footerLinks .right a { margin-left: 0; }
}


/* ---------- Fragefeld ---------- */
.frageBereich { max-width: 680px; margin: 56px auto 0; padding: 0 20px; width: 100%; }

.fragePille {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  padding: 0 22px;
  height: 60px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fragePille:focus-within {
  border-color: #000;
  box-shadow: 0 0 0 1px #000;
}
.fragePille svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: #6b6b6b; stroke-width: 2; }
.fragePille input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  line-height: 26px;
  color: #000;
  padding: 0;
}
.fragePille input::placeholder { color: #8a8a8a; }
.fragePille button {
  flex: 0 0 auto;
  border: 0;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.fragePille button:disabled { opacity: .4; cursor: default; }

.frageHinweis { font-size: 14px; line-height: 20px; color: #8a8a8a; margin: 12px 4px 0; }

.frageAntwort {
  margin: 28px 0 0;
  padding: 22px 24px;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  font-size: 18px;
  line-height: 26px;
  white-space: pre-line;
}
.frageAntwort.fehler { border-color: #e0c3c3; color: #8a2020; }
.frageAntwort .quelle { display: block; margin-top: 14px; font-size: 13px; color: #8a8a8a; }
.frageAntwort .quelle a { color: #8a8a8a; text-decoration: none; border-bottom: 1px solid #cfcfcf; }
.frageAntwort .quelle a:hover, .frageAntwort .quelle a:focus { color: #000; border-bottom-color: #000; }
.frageAntwort[hidden] { display: none; }

@media screen and (max-width: 600px) {
  .frageBereich { margin-top: 40px; padding: 0 20px; }
  .fragePille { height: 54px; padding: 0 16px; gap: 10px; }
  .fragePille input { font-size: 16px; line-height: 20px; }
  .fragePille button { font-size: 14px; padding: 9px 16px; }
  .frageAntwort { font-size: 16px; line-height: 24px; padding: 18px 18px; }
}
