/* GipfelNetz – Stylesheet nach CI (Briefing Abschnitt 7) */

@font-face {
  font-family: "Zilla Slab";
  src: url("fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --fels-dunkel: #2B3A40;
  --fels-hell: #E7E4DC;
  --laerche: #57683F;
  --glut: #C17A2E;
  --tinte: #20262A;
  --weiss: #FDFCFA;
  --font-head: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-text: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--tinte);
  background: var(--weiss);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fels-dunkel);
}

a { color: var(--laerche); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--glut);
  outline-offset: 2px;
}

img, svg { max-width: 100%; height: auto; }

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fels-dunkel);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
header.site {
  background: var(--weiss);
  border-bottom: 1px solid #d8d4c9;
}
.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand .wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--fels-dunkel);
}
nav.main a {
  color: var(--fels-dunkel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 1.1rem;
}
nav.main a:hover { color: var(--glut); }

/* Hero */
.hero {
  background: var(--fels-dunkel);
  color: var(--fels-hell);
  padding: 4rem 0 4.5rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3rem);
  max-width: 22ch;
  margin-bottom: 1rem;
}
.hero p.sub {
  max-width: 46ch;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero .ort {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #b8c2c6;
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  background: var(--glut);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: none;
  font-size: 1.05rem;
}
.btn:hover { background: #a8681f; }
.btn.sekundaer {
  background: transparent;
  border: 2px solid var(--fels-hell);
  color: var(--fels-hell);
  margin-left: 0.75rem;
}
.btn.sekundaer:hover { background: rgba(231, 228, 220, 0.12); }

/* Sections */
section { padding: 3.5rem 0; }
section h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 0.5rem;
}
section .lead {
  max-width: 60ch;
  margin-bottom: 2rem;
  color: #4a5257;
}

.hell { background: var(--fels-hell); }

.karten {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 1.5rem;
}
.karte {
  background: #fff;
  border: 1px solid #ddd9ce;
  border-radius: 6px;
  padding: 1.4rem;
}
.karte h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.karte p { font-size: 0.97rem; }
.karte .num {
  font-family: var(--font-mono);
  color: var(--glut);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* Erlös-Callout */
.callout {
  background: var(--laerche);
  color: #fff;
  border-radius: 6px;
  padding: 1.75rem 1.6rem;
  margin-top: 2rem;
}
.callout h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.5rem; }
.callout p { max-width: 65ch; }
.callout .zahl {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  white-space: nowrap;
}

/* Referenz */
.referenz {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 44rem) {
  .referenz { grid-template-columns: 1fr 1fr; }
}
.referenz .bild {
  background: var(--fels-dunkel);
  border-radius: 6px;
  overflow: hidden;
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.referenz .fakten {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--laerche);
  margin: 0.75rem 0 1rem;
}

/* Testimonials */
.zitate {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 1.5rem;
}
blockquote.zitat {
  background: #fff;
  border-left: 4px solid var(--glut);
  border-radius: 0 6px 6px 0;
  padding: 1.4rem;
  font-style: italic;
}
blockquote.zitat footer {
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fels-dunkel);
}
.platzhalter-hinweis {
  display: inline-block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75rem;
  background: #f3e3cf;
  color: #8a5a1d;
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  margin-bottom: 0.6rem;
}

/* Leitsatz */
.leitsatz {
  background: var(--fels-dunkel);
  color: var(--fels-hell);
  text-align: center;
}
.leitsatz p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  max-width: 34ch;
  margin: 0 auto;
}

/* Kontakt */
.kontakt-box {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 1.5rem;
}
.kontakt-weg {
  background: #fff;
  border: 1px solid #ddd9ce;
  border-radius: 6px;
  padding: 1.4rem;
}
.kontakt-weg .wert {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--fels-dunkel);
  font-weight: 500;
  word-break: break-word;
}
.kontakt-weg a { color: var(--fels-dunkel); }

/* Footer */
footer.site {
  background: var(--fels-dunkel);
  color: #b8c2c6;
  padding: 2rem 0;
  font-size: 0.9rem;
}
footer.site a { color: var(--fels-hell); }
footer.site .zeile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Unterseiten (Impressum, Datenschutz) */
main.textseite { padding: 3rem 0 4rem; }
main.textseite h1 { margin-bottom: 1.5rem; }
main.textseite h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
main.textseite p, main.textseite ul { margin-bottom: 0.9rem; max-width: 70ch; }
main.textseite ul { padding-left: 1.3rem; }

@media (max-width: 40rem) {
  .hero { padding: 3rem 0; }
  .btn.sekundaer { margin-left: 0; margin-top: 0.75rem; }
  nav.main { width: 100%; }
  nav.main a { margin-left: 0; margin-right: 1rem; }
}
