/* Vorschaltseite "Website im Aufbau" (data/baustelle.json, tools/build.py -> bau_vorschalt).
   Bewusst neutral: altes Logo, aufgehellter Sichtbeton, keine Gestaltung der neuen Marke.
   Unabhaengig von site.css -- die Seite laedt nur diese Datei, eine Schrift und zwei Bilder. */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --text: #1f2120;
  --leise: #575a58;
  --gruen: #027635;          /* Gruen des alten Logos, auf Weiss 5,9:1 */
  --flaeche: rgba(255, 255, 255, .84);
  --linie: rgba(31, 33, 32, .12);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #eeedea;       /* traegt die Seite, bis das Bild da ist */
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  position: relative;
}

/* Sichtbeton, stark aufgehellt. Eigene feste Ebene statt background-attachment:
   fixed -- das ignoriert iOS Safari und skaliert sonst das Bild auf die volle
   Seitenhoehe. 100lvh deckt auch die Phase ab, in der die Adressleiste einklappt. */
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100lvh;
  background:
    linear-gradient(rgba(246, 245, 242, .74), rgba(246, 245, 242, .74)),
    url('../img/beton-1280.webp') center / cover no-repeat #eeedea;
  pointer-events: none;
}
@media (min-width: 1300px) {
  body::before {
    background:
      linear-gradient(rgba(246, 245, 242, .74), rgba(246, 245, 242, .74)),
      url('../img/beton-1920.webp') center / cover no-repeat #eeedea;
  }
}

a { color: var(--gruen); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 2px; }

.v {
  flex: 1 0 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: max(40px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
           32px max(20px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.v--text { justify-content: flex-start; }

.v-logo {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto 36px;
}
.v-logo img { display: block; width: 100%; height: auto; }
.v--text .v-logo { width: min(70%, 300px); margin-bottom: 28px; }

.v-karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: clamp(24px, 5vw, 48px);
}

.v-kicker {
  margin: 0 0 10px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leise);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}
h2 {
  margin: 32px 0 8px;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
}
p { margin: 0 0 14px; }
.v-lauf { font-size: 1.0625rem; color: var(--leise); max-width: 38em; }

.v-kontakt {
  font-style: normal;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--linie);
  display: grid;
  gap: 4px 40px;
}
@media (min-width: 620px) {
  .v-kontakt { grid-template-columns: 1fr 1fr; }
}
.v-kontakt p { margin: 0 0 12px; }
.v-kontakt strong { font-weight: 600; }
.v-kontakt .v-klein { font-size: .9375rem; color: var(--leise); }

/* Lange Zeichenketten (E-Mail, Firmenbuch) nicht ueber den Rand */
.v-karte { overflow-wrap: anywhere; }

.v-fuss {
  flex-shrink: 0;
  padding: 18px max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom))
           max(20px, env(safe-area-inset-left));
  text-align: center;
  font-size: .875rem;
  color: var(--leise);
}
.v-fuss ul {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}
.v-fuss a { color: var(--text); display: inline-block; padding: 6px 2px; }
.v-fuss p { margin: 0; }
