/* Schlichte Startseite für die Probezeit. Farben und Schriften wie die Werbeseite (website/stil.css) und die App. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("schriften/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  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: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("schriften/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("schriften/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  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: "Big Shoulders Display";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("schriften/big-shoulders-display-latin-ext-wght-normal.woff2") format("woff2");
  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 {
  color-scheme: light;
  --beton: #e3e7e6;
  --beton-hell: #eef1f0;
  --flaeche: #ffffff;
  --schiefer: #18242d;
  --schiefer-leise: #43525c;
  --zollstock: #f5a51e;
  --zollstock-tief: #d98a06;
  --stahl: #0e4a7d;
  --anreiss: #b3231a;
  --schrift: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --titel: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --tippen: 3.25rem;
  --kante: 3px 3px 0 var(--schiefer);
  --ruhig: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--schiefer);
  font-family: var(--schrift);
  font-size: 1.1rem;
  line-height: 1.55;
  background: var(--beton);
}

main { flex: 1; }

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--stahl); text-underline-offset: 3px; }

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

.rahmen {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 48rem) {
  .rahmen { padding-inline: 2rem; }
}

h1, h2 {
  font-family: var(--titel);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 10vw, 5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }

.gross {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  color: var(--schiefer-leise);
}
.klein { font-size: 1rem; }

/* Zeile mit kleinem Zollstock davor */
.marke-zeile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marke-zeile::before {
  content: "";
  width: 2.25rem;
  height: 0.6rem;
  background:
    repeating-linear-gradient(90deg, var(--schiefer) 0 2px, transparent 2px 7px) top left / 100% 45% no-repeat,
    var(--zollstock);
  border: 1.5px solid var(--schiefer);
}

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--tippen);
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: 2px solid var(--schiefer);
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms var(--ruhig), box-shadow 160ms var(--ruhig), background-color 160ms;
}
.knopf-gelb {
  background: var(--zollstock);
  color: var(--schiefer);
  box-shadow: var(--kante);
}
.knopf-gelb:hover { background: #ffb42e; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--schiefer); }
.knopf-gelb:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--schiefer); }
.knopf-rand { background: var(--flaeche); color: var(--schiefer); }
.knopf-rand:hover { background: var(--beton-hell); }
.knopf-klein { min-height: 2.9rem; padding: 0.4rem 1rem; font-size: 1rem; white-space: nowrap; flex: none; }
.knopf-gross { min-height: 4rem; padding: 0.8rem 2.2rem; font-size: 1.35rem; }
.knopf .pfeil { font-size: 1.4em; line-height: 1; }

/* Kopf */
.kopf {
  background: var(--flaeche);
  border-bottom: 2px solid var(--schiefer);
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.marke { margin-right: auto; padding-block: 0.5rem; }
.marke img { height: 1.75rem; width: auto; }

/* Startseite */
.start { padding-block: clamp(3rem, 10vh, 6rem) 4rem; }
.start h1 { margin-bottom: 1.25rem; }
.start .gross { max-width: 34rem; }
.start .knopf-gross { margin-top: 2.25rem; }
.start .hinweis-zeile { margin-top: 1.25rem; color: var(--schiefer-leise); }

.zollstock-band {
  height: 1.5rem;
  background:
    repeating-linear-gradient(90deg, var(--schiefer) 0 2px, transparent 2px 100%) 0 0 / 10px 45% repeat-x,
    repeating-linear-gradient(90deg, var(--schiefer) 0 2px, transparent 2px 100%) 0 0 / 50px 70% repeat-x,
    repeating-linear-gradient(90deg, transparent 0 calc(20rem - 3px), var(--schiefer) calc(20rem - 3px) 20rem),
    var(--zollstock);
  border-block: 2px solid var(--schiefer);
}

/* Fuß */
.fuss {
  background: var(--schiefer);
  color: #d3dadd;
}
.fuss-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.fuss a {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* Impressum und Datenschutz */
.blatt { padding-block: 3rem 4rem; }
.blatt h1 { font-size: clamp(2.6rem, 7vw, 4rem); margin-bottom: 1.5rem; }
.blatt p + p { margin-top: 1rem; }
.blatt h2 { font-size: 1.7rem; margin: 2.25rem 0 0.6rem; }
.blatt h3 { margin: 1.5rem 0 0.4rem; }
.blatt .liste { margin: 0.75rem 0 1rem; padding-left: 1.4rem; list-style: square; }
.blatt .liste li { margin-bottom: 0.4rem; }
.blatt .liste li::marker { color: var(--zollstock-tief); }
.blatt .stand { margin-top: 2.5rem; color: var(--schiefer-leise); }

@media (prefers-reduced-motion: reduce) {
  .knopf { transition: none; }
  .knopf-gelb:hover, .knopf-gelb:active { transform: none; }
}
