/* WolfRope – statische Seite fuer wolfrope.de
   Farben und Schriften nach dem WolfRope-Designsystem. */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --creme: #F8F4ED;
  --beige: #EDE4D5;
  --hanko: #9C2A2A;
  --dunkel: #3C2F2F;
  --gedeckt: #6B5A55;
  --linie: #D9CCB8;
  --schrift-titel: "Playfair Display", Georgia, "Times New Roman", serif;
  --schrift-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1.25rem, 5vw, 4rem);
  --breite: 68rem;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--creme);
  color: var(--dunkel);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

p { margin: 0 0 1em; }

/* ---------- Startseite ---------- */

.buehne {
  flex: 1;
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(2.5rem, 9vh, 6rem) var(--rand) clamp(2.5rem, 8vh, 5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  align-content: center;
  position: relative;
}

/* Bambuszweig: ragt oben rechts in die Startseite, bleibt Hintergrund */
.bambus {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(7rem, 21vw, 20rem);
  height: auto;
  pointer-events: none;
}

.marke { margin: 0; }

.marke img {
  display: block;
  width: clamp(15rem, 30vw, 22rem);
  height: auto;
}

.botschaft { max-width: 33rem; }

.einstieg {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.stand { margin: 1.25rem 0 0; }

.stand-en {
  margin: 0.75rem 0 0;
  color: var(--gedeckt);
  font-size: 0.9375rem;
}

.kontakt {
  background: var(--beige);
  border-top: 1px solid var(--linie);
}

.kontakt-raster {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 3.5rem) var(--rand);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: start;
  gap: 2rem clamp(1.5rem, 5vw, 4rem);
}

.kontakt-raster h2 {
  margin: 0 0 0.25rem;
  font-family: var(--schrift-text);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.kontakt-raster p,
.kontakt-raster address {
  margin: 0;
  font-style: normal;
}

.kontakt-raster ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hanko {
  display: block;
  width: clamp(6rem, 9vw, 7.5rem);
  height: auto;
  align-self: center;
}

/* ---------- Fusszeile ---------- */

.fuss {
  background: var(--beige);
  border-top: 1px solid var(--linie);
  font-size: 0.9375rem;
}

.fuss-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 1.25rem var(--rand);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.fuss ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.fuss p { margin: 0; color: var(--gedeckt); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.kopf {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 1.5rem var(--rand) 0;
}

.kopf a { display: inline-block; }

.kopf img {
  display: block;
  width: 9rem;
  height: auto;
}

.textseite {
  flex: 1;
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4rem) var(--rand) clamp(3rem, 9vh, 5rem);
}

.textseite > * { max-width: 40rem; }

.textseite h1 {
  margin: 0 0 1.5rem;
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.textseite h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--schrift-titel);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.2;
}

.textseite address {
  margin: 0 0 1em;
  font-style: normal;
}

.textseite ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.textseite li { margin-bottom: 0.25em; }
.textseite strong { font-weight: 600; }

.textseite .stand-datum { color: var(--gedeckt); font-size: 0.9375rem; margin-top: 2.5rem; }

/* Offene Punkte: nur im Prototyp. Vor dem Livegang darf keiner mehr vorkommen. */
.offen {
  display: inline-block;
  padding: 0.1em 0.5em;
  background: transparent;
  color: var(--hanko);
  border: 1px dashed var(--hanko);
  border-radius: 3px;
  font-weight: 600;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 44rem) {
  .buehne {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
    align-content: start;
  }
  .marke img { width: min(16rem, 78vw); }
  .kontakt-raster { grid-template-columns: minmax(0, 1fr); }
  .hanko { width: 6rem; justify-self: start; }
}

@media print {
  body { background: #fff; }
  .kontakt, .fuss { background: #fff; }
}
