/* ==========================================================================
   Dr. Markus Singer – gemeinsames Stylesheet
   Farbraum aus den Originalseiten: Gold #dea800 / #ffc000, Hellgrau #f2f1f1,
   Text #5c5c5c, graues Feder-Logo.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #dea800;
  --gold-hover: #ffc000;
  --gold-text: #8a6a00;      /* Gold für Text auf hellem Grund (Kontrast AA) */
  --gold-soft: #fbf4dd;
  --ink: #1d1d1d;
  --text: #3a3a3a;
  --muted: #5c5c5c;
  --line: #e3e1e1;
  --soft: #f2f1f1;
  --soft-2: #f8f7f7;
  --charcoal: #222222;
  --charcoal-2: #2c2c2c;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Verdana, system-ui, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .06);
  --header-h: 84px;
}

/* --- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold);
  vertical-align: middle; margin-right: .7rem; transform: translateY(-2px);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--ink); border-color: var(--gold); color: var(--gold-hover); }
.btn svg { width: 18px; height: 18px; }

/* --- Topbar -------------------------------------------------------------- */
.topbar { background: var(--charcoal); color: #cfcfcf; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.topbar a { color: #e9e9e9; text-decoration: none; }
.topbar a:hover { color: var(--gold-hover); }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: .4rem; color: var(--gold); }
.topbar__note { color: #a9a9a9; }

/* --- Header & Navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand__mark { width: 62px; height: 62px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand__name { width: 230px; height: auto; }
.brand__claim { width: 280px; height: auto; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem;
  padding: .7rem .75rem;
  font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  position: relative;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover::after, .nav__item:focus-within > .nav__link::after,
.nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link:hover { color: var(--ink); }
.nav__caret { width: 10px; height: 10px; transition: transform .2s; }

.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  list-style: none; margin: 0; padding: .5rem 0;
  background: var(--white); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub a {
  display: block; padding: .55rem 1.2rem; color: var(--text); text-decoration: none; font-size: .95rem; line-height: 1.4;
  border-left: 3px solid transparent;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--soft-2); border-left-color: var(--gold); color: var(--ink); }
.nav__cta { margin-left: .8rem; padding: .65rem 1.1rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-top, 125px) 0 0 0; z-index: 99;
    background: var(--white); border-top: 1px solid var(--line);
    overflow-y: auto; padding: 1rem 1.25rem 2rem;
    display: block; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 1rem .25rem; font-size: .95rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--gold-text); }
  .nav__caret { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border-top: 0; padding: 0 0 .8rem .6rem; min-width: 0;
  }
  .nav__sub a { padding: .45rem .8rem; font-size: .95rem; }
  .nav__cta { margin: 1.4rem 0 0; justify-content: center; width: 100%; }
  .brand__name { width: 210px; }
  .brand__claim { width: 270px; }
}
@media (max-width: 720px) {
  .topbar__note, .topbar .hide-sm { display: none; }
  .topbar ul { gap: .3rem 1.1rem; }
  :root { --header-h: 72px; }
  .brand__mark { width: 50px; height: 50px; }
  .brand__name { width: 180px; }
  .brand__claim { width: 210px; }
}
@media (max-width: 400px) {
  .brand__name { width: 150px; }
  .brand__claim { width: 170px; }
}

/* --- Hero (Startseite Kanzlei) ------------------------------------------ */
.hero { position: relative; color: var(--white); background: var(--charcoal); overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides picture, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slides picture { opacity: 0; animation: heroFade 18s infinite; }
.hero__slides picture:nth-child(1) { animation-delay: 0s; }
.hero__slides picture:nth-child(2) { animation-delay: 6s; }
.hero__slides picture:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.04); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.7) 45%, rgba(20,20,20,.25) 100%);
}
.hero__inner { padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem); max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero .eyebrow { color: var(--gold-hover); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: #ececec; max-width: 60ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Hero Variante ohne Bild (Immobilien) */
.hero--plain { background: radial-gradient(ellipse at 85% 20%, #3a3426 0%, var(--charcoal) 55%) ; }
.hero--plain::before { display: none; }
.hero__feather {
  position: absolute; right: max(2rem, calc(50% - 600px)); top: 50%; z-index: -1;
  width: clamp(220px, 32vw, 420px); transform: translateY(-50%); opacity: .14;
}
.hero__gold-line { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover), var(--gold)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slides picture { animation: none; }
  .hero__slides picture:first-child { opacity: 1; }
  * { transition: none !important; }
}

/* --- Sektionen ----------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--charcoal); color: #d9d9d9; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Karten (Nachfolger der alten "contentbox"-Kästen) */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__label {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .4rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.card__link svg { width: 16px; height: 16px; color: var(--gold); transition: transform .2s; }
.card__link:hover svg { transform: translateX(4px); }
.card__link::before { content: ""; position: absolute; inset: 0; }
.card__icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1rem; }

/* Spezialgebiete-Liste */
.topics { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); list-style: none; margin: 0; padding: 0; }
.topics a {
  display: flex; align-items: center; gap: 1rem; height: 100%;
  padding: 1.15rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.topics a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.topics__num { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); min-width: 2ch; line-height: 1; }
.topics__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Zitat */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.25; color: var(--white); margin: 0;
}
.quote__mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--gold); display: block; margin-bottom: 1rem; }
.quote footer { margin-top: 1.5rem; color: var(--gold-hover); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; font-weight: 600; }

/* Split / Intro */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem;
  background: var(--white); border-left: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.facts svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 2px; }
.facts strong { display: block; color: var(--ink); }
.facts span { color: var(--muted); font-size: .98rem; }

/* CTA-Band */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.6rem; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.cta-band p { margin: .3rem 0 0; }

/* --- Unterseiten --------------------------------------------------------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: clamp(2.4rem, 5vw, 3.8rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px;
  background: url("../img/logo-feder.png") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.page-head h1 { margin-bottom: .2em; max-width: 26ch; }
.page-head__lead { color: var(--muted); font-size: 1.12rem; max-width: 70ch; margin: .6rem 0 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--gold-text); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }

/* Fließtext */
.prose { max-width: 75ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg);
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 1.2rem; color: var(--ink); }
.prose .note { background: var(--soft-2); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; border-radius: var(--radius); }

.cert-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; border-top: 1px solid var(--line); }
.cert-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose .cert-list li::before { display: none; }
.prose .cert-list li { padding-left: 0; }
.cert-list b { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-text); line-height: 1.2; }
.cert-list span small { display: block; color: var(--muted); font-size: .92rem; }

.sv-badge { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--soft-2); border-radius: var(--radius); margin-bottom: 1.8rem; }
.sv-badge img { width: 62px; height: 57px; }
.sv-badge p { margin: 0; font-weight: 700; color: var(--ink); letter-spacing: .04em; font-size: .95rem; text-transform: uppercase; line-height: 1.4; }

.panel { background: var(--soft-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem .6rem; margin: 1.6rem 0; }
.panel h3 { margin-top: 0; }

.service-block { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: .5rem; }
.service-block h2 { display: flex; align-items: center; gap: .8rem; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-top: 0; }
.service-block h2 svg { width: 30px; height: 30px; color: var(--gold); flex: none; }

/* CV */
.cv-head { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; }
.cv-name { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); color: var(--ink); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.cv-roles { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.prose .cv-roles li { padding: .35rem .8rem; background: var(--gold-soft); border-radius: 99px; font-size: .92rem; color: var(--ink); margin: 0; }
.prose .cv-roles li::before { display: none; }
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; border-left: 2px solid var(--line); }
.prose .timeline li { padding: 0 0 1.1rem 1.6rem; margin: 0; }
.prose .timeline li::before { left: -6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; transform: none; background: var(--white); border: 2px solid var(--gold); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); }
.columns-2 { columns: 2 280px; column-gap: 2.5rem; }
.columns-2 li { break-inside: avoid; }

/* Sidebar */
.sidebar { display: grid; gap: 1.5rem; }
@media (min-width: 961px) and (min-height: 1050px) { .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-card { background: var(--charcoal); color: #d6d6d6; border-radius: var(--radius); padding: 1.8rem; border-top: 4px solid var(--gold); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 1.1rem; }
.contact-card .eyebrow { color: var(--gold-hover); margin-bottom: .4rem; }
.contact-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.45; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--gold-hover); text-decoration: underline; }
.contact-list small { display: block; color: #9d9d9d; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-card .btn { width: 100%; justify-content: center; }

.side-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.side-nav h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .45rem 0 .45rem .9rem; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; line-height: 1.35; font-size: .97rem; }
.side-nav a:hover, .side-nav a[aria-current="page"] { border-left-color: var(--gold); color: var(--ink); background: var(--soft-2); }

/* --- Kontakt ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid #cfcccc; border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222,168,0,.25); }
.form textarea { min-height: 180px; resize: vertical; }
.form__check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.form__check input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--gold); flex: none; }
.form__check label { font-weight: 400; color: var(--muted); margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-weight: 600; }
.alert--ok { background: #eef7ea; border-left: 4px solid #4c8a3a; color: #2d5a20; }
.alert--err { background: #fbecec; border-left: 4px solid #b3261e; color: #7c1b15; }
.alert[hidden] { display: none; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: #1a1a1a; color: #b9b9b9; font-size: .97rem; }
.site-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-hover), var(--gold)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 64px; height: 64px; flex: none; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--white); letter-spacing: .04em; line-height: 1.2; }
.footer-brand p { margin: .5rem 0 0; color: #a5a5a5; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #dcdcdc; text-decoration: none; }
.site-footer a:hover { color: var(--gold-hover); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #333; padding: 1.3rem 0; font-size: .87rem; color: #8e8e8e; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom ul { display: flex; gap: 1.4rem; }

/* --- Hilfsklassen -------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 2rem; }

@media print {
  .topbar, .site-header nav, .nav-toggle, .cta-band, .sidebar .btn, .hero__slides { display: none !important; }
  .site-header { position: static; }
  .hero { color: #000; background: none; }
  .hero::before { display: none; }
  .hero h1, .hero__lead { color: #000; }
  .layout { grid-template-columns: 1fr; }
  .site-footer { background: none; color: #000; }
}
