/* =========================================================
   Bernardy & Erdmann – Gestaltung
   Farben zentral oben änderbar
   ========================================================= */
:root {
  --bordeaux: #6b1f2a;
  --bordeaux-dunkel: #4a141c;
  --gold: #b8893d;
  --creme: #f6efe3;
  --creme-dunkel: #ece2d0;
  --text: #2b2420;
  --text-hell: #6a5f57;
  --weiss: #fffdf9;
  --rand: #e0d4c0;
  --schrift-titel: Georgia, "Times New Roman", serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-dunkel); }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: normal; line-height: 1.2; color: var(--bordeaux-dunkel); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }

.sprunglink { position: absolute; left: -9999px; }
.sprunglink:focus { left: 16px; top: 16px; background: var(--weiss); padding: 8px 14px; z-index: 100; }

/* ---------- Kopf ---------- */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--rand); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--schrift-titel); font-size: 1.45rem; color: var(--bordeaux-dunkel); }
.logo-und { color: var(--gold); font-style: italic; }
.logo-claim { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-hell); margin-top: 4px; }

.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hauptnav a {
  display: block; padding: 8px 14px; text-decoration: none; color: var(--text);
  border-radius: 4px; font-size: .98rem;
}
.hauptnav a:hover { background: var(--creme); color: var(--bordeaux-dunkel); }
.hauptnav a[aria-current="page"] { color: var(--bordeaux); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.menue-schalter, .menue-knopf { display: none; }

@media (max-width: 760px) {
  .menue-knopf {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer; padding: 10px;
  }
  .menue-knopf span { display: block; height: 2px; background: var(--bordeaux-dunkel); border-radius: 2px; transition: .2s; }
  .hauptnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--weiss); border-bottom: 1px solid var(--rand); box-shadow: 0 8px 20px rgba(0,0,0,.06);
  }
  .hauptnav ul { flex-direction: column; padding: 8px 20px 16px; gap: 0; }
  .hauptnav a { padding: 12px 4px; border-bottom: 1px solid var(--creme-dunkel); border-radius: 0; }
  .hauptnav a[aria-current="page"] { box-shadow: none; font-weight: 600; }
  .menue-schalter:checked ~ .hauptnav { display: block; }
  .menue-schalter:checked + .menue-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menue-schalter:checked + .menue-knopf span:nth-child(2) { opacity: 0; }
  .menue-schalter:checked + .menue-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Bereiche ---------- */
.held {
  background:
    radial-gradient(circle at 85% 20%, rgba(184,137,61,.18), transparent 45%),
    linear-gradient(135deg, var(--bordeaux-dunkel), var(--bordeaux));
  color: var(--creme);
  padding: clamp(56px, 10vw, 110px) 0;
}
.held h1 { color: var(--weiss); max-width: 16em; }
.held .einleitung { color: var(--creme); max-width: 36em; }
.dachzeile { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--gold); margin-bottom: 1.2em; }
.einleitung { font-size: 1.2rem; color: var(--text-hell); max-width: 42em; }

.seitenkopf { background: var(--creme); padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 5vw, 48px); border-bottom: 1px solid var(--rand); }
.seitenkopf h1 { margin-bottom: .3em; }

.abschnitt { padding: clamp(44px, 7vw, 80px) 0; }
.abschnitt-getoent { background: var(--creme); }

.zweispaltig { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.abschnitt-bild { border-radius: 6px; box-shadow: 0 10px 30px rgba(74,20,28,.15); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.karte {
  background: var(--weiss); border: 1px solid var(--rand); border-top: 3px solid var(--gold);
  border-radius: 6px; padding: 24px 26px;
}
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.abschnitt:not(.abschnitt-getoent) .karte { background: var(--creme); }

.hakenliste { list-style: none; padding: 0; margin: 0 0 1.2em; }
.hakenliste li { position: relative; padding-left: 1.7em; margin-bottom: .45em; }
.hakenliste li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: bold; }

blockquote {
  margin: 1.5em 0 0; padding: 18px 24px; border-left: 3px solid var(--gold);
  font-family: var(--schrift-titel); font-style: italic; font-size: 1.25rem; color: var(--bordeaux-dunkel);
  background: var(--creme);
}

.aufruf { text-align: center; max-width: 720px; }
.aufruf .knoepfe { justify-content: center; }
.gruss { margin-top: 2em; font-family: var(--schrift-titel); font-style: italic; color: var(--text-hell); }
.gruss strong { font-style: normal; color: var(--bordeaux-dunkel); }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.knopf {
  display: inline-block; padding: 13px 24px; border-radius: 4px; text-decoration: none; font-weight: 600;
  background: var(--gold); color: var(--weiss); border: 2px solid var(--gold); transition: .15s;
}
.knopf:hover { background: #a07533; border-color: #a07533; color: var(--weiss); }
.knopf-hell { background: transparent; color: inherit; border-color: currentColor; }
.held .knopf-hell { color: var(--creme); }
.knopf-hell:hover { background: rgba(255,255,255,.1); color: inherit; border-color: currentColor; }
.abschnitt .knopf-hell { color: var(--bordeaux); }
.abschnitt .knopf-hell:hover { background: var(--creme); color: var(--bordeaux-dunkel); }

/* ---------- Über uns ---------- */
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.profil { background: var(--weiss); border: 1px solid var(--rand); border-radius: 6px; padding: 28px; }
.profil-bild { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin-bottom: 18px; border: 3px solid var(--creme-dunkel); }
.profil h2 { margin-bottom: .1em; }
.profil-tel { margin-bottom: 1.2em; }
.profil h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-family: var(--schrift-text); margin-top: 1.4em; }
.profil ul { padding-left: 1.2em; margin: 0; }
.profil li { margin-bottom: .25em; }

/* ---------- Jobs ---------- */
.positionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.positionen ul { list-style: none; padding: 0; margin: 0; }
.positionen li { padding: 5px 0; border-bottom: 1px dashed var(--rand); }
.positionen li:last-child { border-bottom: 0; }

/* ---------- Referenzen ---------- */
.jahre { columns: 3 280px; column-gap: 40px; }
.jahr { break-inside: avoid; margin-bottom: 32px; }
.jahr h2 {
  font-size: 1.6rem; margin-bottom: .4em; padding-bottom: .2em;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.jahr ul { list-style: none; padding: 0; margin: 0; }
.jahr li { padding: 4px 0; }
.sterne { color: var(--gold); letter-spacing: 1px; font-size: .9em; white-space: nowrap; }
.sterne sup { font-size: .7em; color: var(--gold); font-weight: bold; }
.aeltere { margin-top: 12px; border-top: 1px solid var(--rand); padding-top: 24px; }
.aeltere summary {
  cursor: pointer; font-weight: 600; color: var(--bordeaux); margin-bottom: 28px;
  display: inline-block; padding: 10px 20px; border: 2px solid var(--bordeaux); border-radius: 4px;
}
.aeltere summary:hover { background: var(--creme); }
.hinweis { margin-top: 24px; font-style: italic; color: var(--text-hell); }

/* ---------- Textseiten ---------- */
.text { max-width: 780px; }
.text h2 { font-size: 1.35rem; margin-top: 1.8em; }
.text h2:first-child { margin-top: 0; }
.klein { font-size: .9rem; color: var(--text-hell); }

/* ---------- Fuß ---------- */
.fuss { background: var(--bordeaux-dunkel); color: var(--creme-dunkel); padding: 48px 0 0; font-size: .95rem; }
.fuss a { color: var(--creme); }
.fuss-innen { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 30px; }
.fuss-name { font-family: var(--schrift-titel); font-size: 1.25rem; color: var(--weiss); margin-bottom: .4em; }
.fussnav { display: flex; flex-direction: column; gap: 6px; }
.fuss-copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; padding-bottom: 22px; font-size: .85rem; color: rgba(246,239,227,.6); }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .zweispaltig, .profile, .fuss-innen { grid-template-columns: 1fr; }
  .profil { padding: 22px; }
}

@media print {
  .kopf, .fuss, .knoepfe { display: none; }
  .held { background: none; color: var(--text); }
  .held h1 { color: var(--text); }
}
