/* ==========================================================================
   Gille Talentwerk, Stylesheet
   Farben und Typografie nach 03_Dokumente/26_Markenhandbuch.md
   Keine externen Ressourcen. Schriften liegen lokal unter fonts/.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy:    #1E2D4F;
  --navy-d:  #152238;
  --navy-l:  #33456B;
  --gold:    #C0A068;
  --paper:   #F6F4F0;
  --line:    #E2DED6;
  --white:   #FFFFFF;

  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --maxw:  68rem;
  --prose: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Typografie ---------- */

h1, h2, h3 { margin: 0 0 .7em; color: inherit; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
}
h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--navy-l);
}

.kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-l);
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

strong, b { font-weight: 650; }
em { font-style: italic; }

/* Links: nie golden. Farbe des Textes, kenntlich durch Unterstreichung. */
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: var(--gold);
  transition: text-decoration-thickness .12s ease;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Grundraster ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--prose); }

section { padding: clamp(3.2rem, 8vw, 5.6rem) 0; }
section.tight { padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.paper { background: var(--paper); }
.navy  { background: var(--navy); color: var(--white); }
.navy .lead, .navy .kicker { color: rgba(255,255,255,.78); }
.navy .kicker { border-bottom-color: var(--gold); }

.rule { height: 2px; width: 3.5rem; background: var(--gold); border: 0; margin: 0 0 1.8rem; }

/* ---------- Kopfbereich ---------- */

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: var(--white);
  padding: .7rem 1.1rem; z-index: 20;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 1.05rem; padding-bottom: 1.05rem;
  flex-wrap: wrap;
}

/* Wortmarke nach Visitenkarte: TALENT navy + WERK gold, darunter Dennis Gille */
.brand { text-decoration: none; display: block; line-height: 1; }
.brand .mark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: .045em;
  color: var(--navy);
  display: block;
}
.brand .mark span { color: var(--gold); }
.brand .sub {
  display: block;
  margin-top: .34rem;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy-l);
}

.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav a {
  font-size: .875rem;
  font-weight: 550;
  letter-spacing: .02em;
  text-decoration: none;
  padding-bottom: .28rem;
  border-bottom: 2px solid transparent;
  color: var(--navy);
}
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }


/* ---------- Zweispaltiges Raster: Titelspalte links, Inhalt rechts ---------- */

.split {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.5rem 3.5rem;
  align-items: start;
}
.split > .head { position: sticky; top: 6.5rem; }
.split > .head h2 { margin-bottom: 0; }
.split > .body > *:first-child { margin-top: 0; }
.split .prose { max-width: var(--prose); }

@media (max-width: 62rem) {
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .split > .head { position: static; }
}

/* ---------- Rasterelemente ---------- */

/* ---------- Schaltflächen ---------- */

.btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }

.btn {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .82rem 1.5rem;
  text-decoration: none;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  transition: background .14s ease, color .14s ease;
}
.btn:hover { background: var(--navy-d); border-color: var(--navy-d); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.navy .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.navy .btn:hover { background: var(--paper); border-color: var(--paper); }
.navy .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.navy .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Listen mit goldenen Punkten ---------- */

ul.dotted { list-style: none; padding: 0; margin: 0 0 1.15em; }
ul.dotted li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .75rem;
}
ul.dotted li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: .48rem; height: .48rem;
  border-radius: 50%;
  background: var(--gold);
}
ul.dotted li:last-child { margin-bottom: 0; }

ol.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; }
ol.numbered li {
  counter-increment: n;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.5rem;
}
ol.numbered li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: .1em;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy-l);
}
ol.numbered li::after {
  content: "";
  position: absolute; left: .05rem; top: 2.1em; bottom: -1.1em;
  width: 2px; background: var(--line);
}
ol.numbered li:last-child { margin-bottom: 0; }
ol.numbered li:last-child::after { display: none; }
.navy ol.numbered li::before { color: var(--gold); }
.navy ol.numbered li::after { background: rgba(255,255,255,.18); }

/* ---------- Karten ---------- */

.cards {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.9rem 1.6rem;
}
.card h3 { margin-bottom: .6rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: .7rem;
  color: var(--navy);
}

/* ---------- Frage-Antwort-Block ---------- */

.qa { border-top: 1px solid var(--line); }
.qa > div {
  border-bottom: 1px solid var(--line);
  padding: 1.9rem 0;
}
.qa h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  margin-bottom: .55rem;
}
.qa p:last-child { margin-bottom: 0; }
.navy .qa, .navy .qa > div { border-color: rgba(255,255,255,.16); }

/* ---------- Faktenliste ---------- */

.facts { margin: 0; }
.facts > div {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt {
  font-size: .8125rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-l);
  padding-top: .18rem;
}
.facts dd { margin: 0; }

/* ---------- Hinweisblock ---------- */

.note {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  font-size: .9375rem;
}
.navy .note { background: rgba(255,255,255,.07); }

/* ---------- Kontaktzeile ---------- */

.contact-big {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  line-height: 1.45;
  margin: 1.6rem 0 0;
}
.contact-big a { text-decoration-thickness: 1px; }

/* ---------- Fußbereich ---------- */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3.4rem 0 2.4rem;
  font-size: .9375rem;
}
.site-footer .cols {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.site-footer b {
  display: block;
  font-size: .75rem; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .legal {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .8125rem;
  color: rgba(255,255,255,.68);
}

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 40rem) {
  .site-header .wrap { padding-top: .9rem; padding-bottom: .9rem; }
  .nav { gap: 1.05rem; width: 100%; }
  .nav a { font-size: .8125rem; }
  .facts > div { grid-template-columns: 1fr; gap: .3rem; }
  .btn { width: 100%; text-align: center; }
}

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