/* Gompen Consulting & Realization — Platzhalterseite
 *
 * Farben und Schrift stammen aus dem GCR-Corporate-Design (gcr.yaml des
 * pdf-render-Skills), damit Website und PDF-Dokumente zusammenpassen.
 * Der goldene Streifen links ist das "stripe_left"-Element des Deckblatts.
 *
 * Raleway wird LOKAL ausgeliefert, nicht von Google geladen: die
 * Datenschutzerklaerung sagt "keine externen Schriftarten" zu - das muss
 * stimmen.
 */

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* aus gcr.yaml */
  --gold:   #b8892a;
  --dark:   #1a1a1a;
  --light:  #f5f5f3;
  --muted:  #9e9e9e;
  --subtle: #333333;
  --rule:   #cccccc;
  --white:  #ffffff;

  --gold-deep: #966f20;   /* abgedunkelt fuer Hover, Kontrast bleibt ausreichend */
  --stripe: 6px;          /* entspricht stripe_width 0.6 cm des Deckblatts */

  --font: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-left: var(--stripe) solid var(--gold);
}

/* ---- Startseite ---- */
body.home main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 72px 24px;
}

.logo {
  width: min(620px, 84vw);
  height: auto;
  display: block;
}

.claim {
  max-width: 46ch;
  margin: 0;
  color: var(--subtle);
  font-size: 1.04rem;
}

.rule {
  width: 72px;
  height: 1.5px;          /* rule_thickness 1.5 pt aus dem Deckblatt */
  background: var(--gold);
  border: 0;
  margin: 0;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
  color: var(--subtle);
}

a { color: var(--gold-deep); }

.contact a,
.page-body a {
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 137, 42, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact a:hover,
.page-body a:hover {
  color: var(--dark);
  border-bottom-color: var(--dark);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Kopf- und Fusszeile der Textseiten ---- */
.page-head {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 18px 26px;
}

.page-head .inner,
.page-body,
.site-foot .inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.brand { display: inline-block; border: 0; line-height: 0; }
.brand img { width: 200px; height: 34px; display: block; }
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---- Textseiten ---- */
main.page-body {
  flex: 1;
  padding: 46px 26px 64px;
}

h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--gold);          /* h1-Farbe "primary" laut gcr.yaml */
  text-wrap: balance;
}

.stand {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 40px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 38px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--dark);          /* h2-Farbe "dark" laut gcr.yaml */
  text-wrap: balance;
}

h2:first-of-type { margin-top: 0; }

p { margin: 0 0 16px; }

address {
  font-style: normal;
  margin: 0 0 16px;
  line-height: 1.6;
}

ul { margin: 0 0 16px; padding-left: 1.3em; }
li { margin-bottom: 6px; color: var(--subtle); }
li::marker { color: var(--gold); }

strong { font-weight: 700; }

/* ---- Fusszeile ---- */
.site-foot {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 18px 26px 24px;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-foot .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
}

.site-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }

.site-foot a {
  color: var(--subtle);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-foot a:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
