/* =========================================================================
   DIE KAISER — Expertin für Familienunternehmen
   Dunkle, edle Bildsprache · Anthrazit / Messing-Gold / Elfenbein
   Mobile-first, responsiv, voll selbst-enthalten (nur Webfonts extern)
   ========================================================================= */

/* ----------  Design Tokens  ---------- */
:root {
  /* Farben */
  --bg:          #14161a;
  --bg-2:        #181b21;
  --bg-3:        #1e222a;
  --panel:       #1a1d24;
  --ink:         #ece7dd;
  --ink-soft:    #b6b1a6;
  --ink-faint:   #837f76;
  --gold:        #b08d57;
  --gold-bright: #cda86c;
  --gold-deep:   #8a6d40;
  --line:        #2a2d34;
  --line-gold:   rgba(176, 141, 87, .26);

  /* Typografie */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Maße */
  --container: 1180px;
  --measure: 64ch;
  --radius: 4px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Bewegung */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: #14161a; }

/* ----------  Typografie-Hilfen  ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.display {
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.9rem); }
.lead {
  font-size: clamp(1.15rem, 1.05rem + .6vw, 1.5rem);
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
}
.serif-accent { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); }
.text-gold { color: var(--gold-bright); }

p { max-width: var(--measure); }
p + p { margin-top: 1.1rem; }

/* ----------  Layout  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.divider-line { height: 1px; background: var(--line); border: 0; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.7rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #14161a;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -16px rgba(176,141,87,.7);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line-gold);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ----------  Header / Navigation  ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 22, 26, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .26em;
  font-weight: 600;
  padding-left: .26em;
}
.brand__sub {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .35rem;
  padding-left: .3em;
}
.nav__links { display: none; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: .4rem;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: -8px;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 24px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile-Menü-Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(16, 18, 22, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  color: var(--ink);
  padding-block: .5rem;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 1rem;
}
.mobile-menu a .num { font-family: var(--font-sans); font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.mobile-menu .mobile-contact { margin-top: 2.5rem; color: var(--ink-soft); font-size: .95rem; line-height: 2; }
.mobile-menu .mobile-contact a { font-family: var(--font-sans); font-size: inherit; border: 0; padding: 0; color: var(--gold-bright); display: inline; }

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: min(70vw, 720px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(176,141,87,.16), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  opacity: .25;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero__claim {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 1.6rem;
}
.hero h1 { margin-bottom: 1.8rem; max-width: 18ch; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__lead { max-width: 46ch; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__motto {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
}
.hero__motto span {
  font-family: var(--font-display);
  font-size: 1.25rem; font-style: italic;
  color: var(--ink-soft);
}
.hero__motto span b { color: var(--gold-bright); font-style: normal; font-weight: 500; }

/* ----------  Kaiser-Rad (SVG)  ---------- */
.rad { width: 100%; max-width: 460px; margin-inline: auto; }
.rad svg { width: 100%; height: auto; overflow: visible; }
.rad__ring-outer { animation: rad-spin 80s linear infinite; transform-origin: 260px 260px; }
.rad__ring-mid   { animation: rad-spin 120s linear infinite reverse; transform-origin: 260px 260px; }
@keyframes rad-spin { to { transform: rotate(360deg); } }
.rad__label { font-family: var(--font-sans); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink); font-weight: 500; }
.rad__center-word { font-family: var(--font-display); font-style: italic; font-size: 21px; fill: var(--gold-bright); }
.rad__center-sub { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .28em; fill: var(--ink-faint); text-transform: uppercase; }
.rad__node { fill: var(--gold); }
.rad__node--soft { fill: var(--bg); stroke: var(--gold); stroke-width: 1.4; }
.rad figcaption {
  text-align: center; margin-top: 1.5rem;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}

/* ----------  „Über Sie" Liste  ---------- */
.you-list { display: grid; gap: 0; counter-reset: you; margin-block: 1rem; }
.you-list li {
  counter-increment: you;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.you-list li:last-child { border-bottom: 1px solid var(--line); }
.you-list li::before {
  content: counter(you, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: .15rem;
  font-variant-numeric: tabular-nums;
}
.you-list li p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.you-emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem);
  font-style: italic;
  color: var(--gold-bright);
  margin: 2.5rem 0 1.5rem;
}
.signature {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--ink);
  margin-top: 1.5rem;
}
.signature small { display: block; font-family: var(--font-sans); font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-top: .4rem; }

/* ----------  Grid-Helfer  ---------- */
.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.grid-cards { display: grid; gap: 1.25rem; }

/* ----------  Generische Karte  ---------- */
.card {
  background: linear-gradient(180deg, var(--bg-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .5rem; }
.card .role { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* Team-Karte Monogramm */
.monogram {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--gold-bright);
  margin-bottom: 1.4rem;
  background: radial-gradient(circle at 30% 25%, rgba(176,141,87,.18), transparent 70%);
}

/* ----------  Aktuelles / Presse  ---------- */
.news-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item .month {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; padding-top: .25rem;
}
.news-item h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.news-item p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.news-item .tag { font-size: .72rem; color: var(--ink-faint); letter-spacing: .1em; margin-top: .6rem; display: inline-block; }

/* ----------  Leistungen  ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  color: var(--ink-soft);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tag-list li:hover { border-color: var(--line-gold); color: var(--ink); }
.tag-list--gold li { border-color: var(--line-gold); color: var(--ink); }

.feature {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.feature__media {
  background: radial-gradient(circle at 50% 40%, var(--bg-3), var(--bg) 75%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; place-items: center;
}
.checklist { display: grid; gap: .85rem; margin-top: 1.6rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; color: var(--ink-soft); }
.checklist li::before {
  content: ""; width: 7px; height: 7px; margin-top: .65rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(176,141,87,.12);
}

/* Großes Zitat */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 3.4vw, 3.4rem);
  line-height: 1.15;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
}
.pullquote .text-gold { font-style: normal; }

/* ----------  Kontakt  ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--gold); }
.field input, .field textarea {
  font: inherit;
  font-size: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: .9rem 1rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--bg-3); }
.form__note { font-size: .8rem; color: var(--ink-faint); }
.form__hint { font-size: .82rem; color: var(--ink-faint); margin-top: .25rem; }
.form__hint code { color: var(--gold-bright); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82em; }

.contact-card {
  background: linear-gradient(180deg, var(--bg-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.contact-card h3 { margin-bottom: 1.8rem; }
.contact-list { display: grid; gap: 1.4rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.contact-list .ic {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-gold); border-radius: 50%; color: var(--gold-bright);
}
.contact-list .ic svg { width: 18px; height: 18px; }
.contact-list .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .2rem; }
.contact-list .v { color: var(--ink); }
.contact-list a.v:hover { color: var(--gold-bright); }

/* ----------  Footer  ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand__name { font-size: 1.6rem; }
.footer-motto { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-bright); margin-top: 1rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--ink-soft); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8rem; color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }

/* ----------  Legal-Seiten  ---------- */
.legal {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: var(--section-y);
}
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); margin-bottom: .6rem; }
.legal .back { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-bright); font-size: .85rem; letter-spacing: .08em; margin-bottom: 2.5rem; }
.legal .back:hover { gap: .8rem; }
.legal h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); margin-top: 2.8rem; margin-bottom: .9rem; }
.legal h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.legal p, .legal li { color: var(--ink-soft); max-width: 75ch; }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; margin-top: 1rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.9; margin-top: 1rem; }
.legal a { color: var(--gold-bright); }
.legal a:hover { text-decoration: underline; }
.legal .updated { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-faint); }

/* ----------  Scroll-Reveal  ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----------  Responsive (mobile-first → größere Viewports)  ---------- */
@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: -1; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .you-cta { display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 2rem; }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}
