/* 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;
  min-height: 100vh;
  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; }
}
