/* MM Büromanagement – Relaunch-Prototyp "Gold & Navy" */

:root {
  --navy: #0e2a47;
  --navy-dark: #0a1f36;
  --navy-deep: #071729;
  --gold: #d4a445;
  --gold-bright: #e8bf6a;
  --gold-soft: rgba(212, 164, 69, 0.14);
  --text: #24303c;
  --text-light: #5a6a7a;
  --bg-light: #f6f8fb;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 14px;
  --max-width: 1140px;
  --shadow-card: 0 10px 30px rgba(14, 42, 71, 0.10);
  --shadow-card-hover: 0 18px 40px rgba(14, 42, 71, 0.16);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .brand-name { font-family: var(--font-head); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 0; top: 0; background: var(--white); padding: .5rem 1rem; z-index: 100; }

/* ---------- Header: zweistufig (Markenzeile + Navigationsleiste) ---------- */
.site-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 4px 18px rgba(7, 23, 41, 0.35);
}
.brand-row {
  max-width: var(--max-width); margin: 0 auto;
  padding: 1rem 1.25rem .9rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--white);
}
.brand-logo {
  height: 58px; width: auto; border-radius: 6px;
  outline: 1px solid rgba(232, 191, 106, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.55rem; letter-spacing: .02em;
}
.brand-tagline {
  color: var(--gold-bright);
  font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; margin-top: .15rem;
}
.gold-divider {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(212,164,69,.75) 12%, rgba(212,164,69,.75) 88%, transparent 100%);
}

/* Navigationsleiste über volle Browserbreite */
.main-nav {
  background: rgba(7, 23, 41, 0.45);
  width: 100%;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.main-nav ul {
  list-style: none; display: flex;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  flex-wrap: wrap; align-items: center;
  flex: 1; justify-content: flex-start;
}
.main-nav a {
  text-decoration: none; color: #dce6f0;
  font-weight: 600; font-size: 1rem; letter-spacing: .03em;
  padding: .95rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--gold-bright); }
.main-nav a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }
.nav-soon {
  color: #7f92a6; font-weight: 600; font-size: 1rem;
  letter-spacing: .03em; padding: 1.25rem 0;
  cursor: default; border-bottom: 2px dotted rgba(127, 146, 166, .5);
}

/* Sprachauswahl rechts in der oberen Header-Zeile */
.lang-switch {
  display: flex; align-items: center; gap: .6rem;
  color: var(--gold-bright);
  margin-left: auto;
}
.lang-mobile { display: none; }
.globus { width: 20px; height: 20px; }
.lang-label { color: #b8c6d6; letter-spacing: .04em; font-size: .9rem; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid transparent;
  border-radius: 8px; color: #b8c6d6;
  font-size: .9rem; font-weight: 600;
  padding: .15rem .5rem .15rem .35rem;
}
.lang-btn img.flag {
  height: 33px; width: auto;      /* einheitliche Höhe (ca. 59–66 px breit), Seitenverhältnis bleibt erhalten */
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
  display: block;
}
.lang-btn.active {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: var(--gold-soft);
}
.lang-disabled { cursor: default; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 3px;
  background: var(--gold-bright); position: absolute; left: 10px; border-radius: 2px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---------- Hero: linksbündiger Text, Goldlinien-Hintergrund ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 5.5rem 1.25rem;
  overflow: hidden;
}
/* Vollflächige Grafikebene hinter allen Inhalten */
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Dezenter Navy-Schleier nur am linken Rand, damit Überschrift und
   Schaltflächen lesbar bleiben; die Lichtwirkung wird sonst nicht gedämpft */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(7, 23, 41, .45) 0%,
    rgba(7, 23, 41, .18) 35%,
    rgba(7, 23, 41, 0) 58%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  align-items: center;
}
.hero-text { text-align: left; max-width: 640px; }
.hero-kicker {
  color: var(--gold-bright);
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .82rem; font-weight: 700; margin-bottom: 1.4rem;
}
.hero-kicker::after {
  content: ""; display: block; width: 56px; height: 2px;
  margin-top: 1rem; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.22; font-weight: 700; margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--gold-bright);
  font-style: italic; font-family: var(--font-head);
  letter-spacing: .06em; margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 999px;
  text-decoration: none; font-weight: 700;
  font-size: 1rem; letter-spacing: .02em;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(212,164,69,.35);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(212,164,69,.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(232,191,106,.7);
}
.btn-outline:hover { background: rgba(212,164,69,.12); }

/* ---------- Sektionen allgemein ---------- */
.section { max-width: var(--max-width); margin: 0 auto; padding: 4.5rem 1.25rem; }
.section-light { background: var(--bg-light); max-width: none; }
.section-light > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.section-title {
  text-align: center; font-size: 2rem; color: var(--navy);
  margin-bottom: .9rem;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 3px;
  margin: .9rem auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.section-intro { text-align: center; color: var(--text-light); max-width: 620px; margin: 0 auto 3rem; }

/* ---------- Hauptleistungskarten ---------- */
.cards-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-bottom: 3.5rem;
}
.card-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.card-main:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card-main-icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-main-icon svg { width: 34px; height: 34px; }
.card-main h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: .8rem; }
.card-main p { color: var(--text-light); margin-bottom: 1.1rem; }
.card-facts {
  list-style: none; margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: 8px;
}
.card-facts li {
  position: relative; padding-left: 1.6rem;
  color: var(--text); font-size: .95rem;
}
.card-facts li + li { margin-top: .35rem; }
.card-facts li::before {
  content: ""; position: absolute; left: .2rem; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.card-link {
  color: var(--gold); font-weight: 700; text-decoration: none;
  letter-spacing: .02em;
}
.card-link:hover { color: var(--navy); }

/* ---------- Ergänzende Leistungen ---------- */
.subsection-title {
  display: flex; align-items: center; gap: 1rem;
  font-size: .95rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .14em;
  font-family: var(--font-body); font-weight: 700;
  margin: 0 0 1.4rem;
}
.subsection-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.cards-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.card-secondary {
  background: var(--bg-light);
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
}
.card-secondary h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: .4rem; font-family: var(--font-head); }
.card-secondary p { color: var(--text-light); font-size: .95rem; }

/* ---------- Vorteile ---------- */
.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding-top: .5rem;
}
.benefit {
  text-align: center; padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.benefit-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 32px; height: 32px; }
.benefit h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .5rem; }
.benefit p { color: var(--text-light); font-size: .93rem; }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 4.5rem 1.25rem;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(115deg, transparent 88%, rgba(212,164,69,.12) 88%, rgba(212,164,69,.12) 88.3%, transparent 88.3%),
    linear-gradient(-115deg, transparent 94%, rgba(255,255,255,.04) 94%, rgba(255,255,255,.04) 94.3%, transparent 94.3%);
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.cta p { color: #cdd9e5; margin-bottom: 1.8rem; }
.cta-phone { margin-top: 1.4rem; font-size: 1.05rem; }
.cta-phone a { color: var(--gold-bright); text-decoration: none; font-weight: 700; }
.cta-phone a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b8c6d6; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem;
}
.site-footer h3 { color: var(--gold-bright); margin-bottom: .85rem; font-size: 1.05rem; }
.site-footer address { font-style: normal; margin-bottom: .85rem; line-height: 1.8; }
.site-footer a { color: #dce6f0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: .35rem; }
.footer-copy {
  text-align: center; padding: 1.1rem; font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .benefits { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 1.25rem .5rem; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a, .main-nav .nav-soon { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .brand-row > .lang-switch { display: none; }   /* oben kein Platz: Sprachauswahl ins Menü */
  .lang-mobile { display: flex; padding: .9rem 0 .6rem; }
}
@media (max-width: 700px) {
  .cards-main { grid-template-columns: 1fr; }
  .cards-secondary { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.25rem; }
  .hero-bg img { opacity: .55; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .brand { gap: .7rem; min-width: 0; }
  .brand-logo { height: 46px; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: 1.1rem; }
  .brand-tagline { font-size: .68rem; letter-spacing: .1em; }
  .nav-toggle { flex: 0 0 auto; }
}

/* ---------- Unterseiten: Buchhaltung ---------- */
.subhero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 4rem 1.25rem 4.5rem;
  overflow: hidden;
}
.subhero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.subhero .hero-kicker::after { margin-left: auto; margin-right: auto; }
.subhero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.25; font-weight: 700; margin-bottom: 1rem;
}
.subhero .hero-sub { margin-bottom: 1.6rem; }
.subhero-intro { color: #cdd9e5; max-width: 720px; margin: 0 auto; }

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  display: flex; align-items: center;
}
.service-item h3 {
  font-size: 1rem; color: var(--navy);
  font-family: var(--font-body); font-weight: 600;
  line-height: 1.45;
}

.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--text-light); margin-bottom: 1.1rem; font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }
.section .prose { text-align: left; }
.section-light .prose { text-align: center; }

.nav-soon-inline { cursor: default; }

@media (max-width: 920px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Kartenüberschriften der Hauptleistungen verlinken (Optik unverändert) */
.card-main h3 a { color: inherit; text-decoration: none; }
.card-main h3 a:hover { color: var(--gold); }

/* ---------- Unterseite: Firmenabsicherungen ---------- */
.vs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.vs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.vs-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.vs-icon svg { width: 32px; height: 32px; }
.vs-card h3 {
  font-size: 1.08rem; color: var(--navy);
  font-family: var(--font-body); font-weight: 700;
  line-height: 1.35; margin-bottom: .5rem;
}
.vs-branch {
  color: var(--gold); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .4rem;
}
.vs-text { color: var(--text-light); font-size: .95rem; margin-bottom: 1rem; }
.vs-card .vs-acc { margin-top: auto; }

/* Akkordeon (details/summary: ohne JavaScript, klick- und tastaturbedienbar) */
.vs-acc { border-top: 1px solid var(--border); }
.vs-acc summary {
  list-style: none; cursor: pointer;
  padding: .75rem 0 .25rem;
  color: var(--navy); font-weight: 700; font-size: .92rem;
  display: flex; align-items: center; justify-content: space-between;
}
.vs-acc summary::-webkit-details-marker { display: none; }
.vs-acc summary::after {
  content: ""; width: 9px; height: 9px;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .2s;
  margin-left: .75rem; flex: 0 0 auto;
}
.vs-acc[open] summary::after { transform: rotate(225deg); }
.vs-acc summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.vs-acc-body {
  padding: .5rem 0 .75rem; color: var(--text-light); font-size: .92rem;
  border-top: 1px dashed var(--border); margin-top: .25rem;
}
.vs-acc-body ul { margin: 0; padding-left: 1.1rem; }
.vs-acc-body li + li { margin-top: .4rem; }

/* Klar gekennzeichnete Platzhalter */
.ph { font-style: italic; }

@media (max-width: 1020px) { .vs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .vs-grid { grid-template-columns: 1fr; } }

/* Lange Fachbegriffe dürfen Karten auf Mobil nicht weiten */
.vs-card { min-width: 0; }
.vs-card h3, .vs-text, .vs-acc-body { overflow-wrap: break-word; }
.vs-card h3 { hyphens: auto; }

/* Branchen-Tags und Abgrenzungshinweis */
.vs-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: .75rem;
}
.vs-tags li {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(212, 164, 69, .35);
  border-radius: 999px;
  padding: .12rem .55rem;
}
.vs-note {
  font-size: .82rem; color: var(--text-light);
  background: var(--bg-light);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: .55rem .75rem; margin-bottom: .75rem;
}
.vs-acc-body strong { color: var(--navy); }

/* Zusatz Schriftfarbe: kräftiges Anthrazit für Beschreibungen und Beispiele;
   Beschreibung auf 5 sichtbare Zeilen begrenzt, Fade ausschließlich in der 5. Zeile */
.vs-text, .vs-acc-body { color: #252525; }
.vs-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.vs-clamp .vs-text { margin: 0; }

/* Einklappbare Beschreibung: 5. Zeile blendet nach rechts sanft aus,
   Umschalter "Mehr lesen" nur bei tatsächlich längerem Text.
   Fade liegt ausschließlich auf dem Textcontainer (.vs-clamp),
   der Link steht außerhalb davon und wird nie überdeckt. */
.vs-text-wrap { position: static; }
.vs-clamp { position: relative; }
.vs-clamp::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  height: 1.75em; width: 58%;
  background: linear-gradient(90deg, rgba(255,255,255,0), var(--white) 82%);
  pointer-events: none;
}
.vs-text-wrap.expanded .vs-clamp::after { display: none; }
.vs-text-wrap.expanded .vs-clamp {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.vs-more {
  display: none;
  margin-top: .3rem;
  color: var(--gold); text-decoration: none;
  font-weight: 700; font-size: .9rem;
  border: 0; background: none; padding: .1rem 0;
  cursor: pointer;
}
.vs-text-wrap.is-long .vs-more { display: block; width: 100%; text-align: right; }
.vs-more:hover { color: var(--navy); text-decoration: underline; }
.vs-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Unterseite: Dienstleistungsübersicht (kompakt) ---------- */
.cards-kern {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.card-kompakt { padding: 1.5rem 1.6rem; }             /* kompakter als die Startseiten-Karten */
.card-kompakt h3 { font-size: 1.25rem; }
.card-kompakt p { margin-bottom: .9rem; font-size: .97rem; }
.card-kompakt .card-main-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.card-kompakt .card-main-icon svg { width: 28px; height: 28px; }
.card-kompakt .card-facts { padding: .8rem 1.05rem; margin-bottom: 1.1rem; }
.benefits-kompakt { grid-template-columns: repeat(3, 1fr); }
.benefits-kompakt .benefit { padding: 1.1rem 1rem; }
.benefits-kompakt .benefit p { display: none; }
.benefits-kompakt .benefit-icon { width: 54px; height: 54px; margin-bottom: .8rem; }

@media (max-width: 700px) {
  .cards-kern { grid-template-columns: 1fr; }
  .benefits-kompakt { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Navigation: Dropdown Dienstleistungen ---------- */
.nav-link-group { display: flex; align-items: center; gap: .15rem; }
.dd-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-top: .15rem;
  background: none; border: 0; border-radius: 6px;
  color: var(--gold-bright); cursor: pointer;
  transition: transform .2s, background .2s;
}
.dd-toggle svg { width: 13px; height: 13px; }
.dd-toggle:hover { background: var(--gold-soft); }
.dd-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.has-dd { position: relative; }
.has-dd.open > .dd-toggle svg { transform: rotate(180deg); }

/* Desktop: Dropdown als schwebendes Panel direkt unter der Navigationsleiste.
   Selektor bewusst spezifitätsstark (ul.dd-menu), damit die ältere Regel
   .main-nav ul { display:flex; gap: … } das verschachtelte Menü nicht
   als sichtbare Flex-Zeile übersteuert (Ursache des Geöffnet-bei-Ladens-Fehlers). */
.main-nav ul.dd-menu {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 300px; margin-top: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(212, 164, 69, .45);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 36px rgba(7, 23, 41, .45);
  padding: .45rem;
  list-style: none;
  z-index: 120;
}
@media (min-width: 921px) {
  .has-dd:hover ul.dd-menu,
  .has-dd.open ul.dd-menu { display: block; }
}
.dd-menu li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.dd-menu a {
  display: block; white-space: nowrap;
  padding: .65rem 1rem;
  color: #dce6f0; font-weight: 600; font-size: .95rem;
  border: 0; text-decoration: none;
}
.dd-menu a:hover { color: var(--gold-bright); background: rgba(212, 164, 69, .10); }
.dd-menu a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.dd-menu li:first-child a { color: var(--gold-bright); }

/* Sprunganker nicht vom Sticky-Header verdecken */
#bueroservice { scroll-margin-top: 130px; }

/* Vorbereitete Menüpunkte: keine gepunktete Linie mehr */
.nav-soon {
  color: #7f92a6; font-weight: 600; font-size: 1rem;
  letter-spacing: .03em; padding: .95rem 0;
  cursor: default; border-bottom: 2px solid transparent;
}

/* Mobil: Untermenü eingeklappt, per Pfeil auf-/zuklappbar */
@media (max-width: 920px) {
  .has-dd { width: 100%; }
  /* Schriftzug "Dienstleistungen" exakt mittig (unabhängig vom Pfeil);
     der Pfeil wird absolut rechts neben dem zentrierten Text positioniert */
  .nav-link-group { position: relative; width: 100%; justify-content: center; align-items: center; gap: 0; }
  .nav-link-group > a { flex: 0 1 auto; text-align: center; }
  .nav-link-group .dd-toggle {
    position: absolute;
    left: 50%;
    margin-left: calc(4.9em - 7.5px);  /* Pfeil-Symbol (im 44-px-Kasten zentriert) ca. 8 px rechts vom Text */
  }
  .dd-toggle { width: 44px; height: 44px; }
  .has-dd.open ul.dd-menu { display: block; }
  .dd-menu {
    position: static; transform: none;
    min-width: 0; margin: 0 0 .5rem;
    background: rgba(7, 23, 41, .55);
    border: 0; border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    box-shadow: none; padding: .2rem 0 .2rem .25rem;
  }
  .dd-menu li + li { border-top: 0; }
  .dd-menu a { padding: .8rem 1rem; border-bottom: 0; }
}

/* Mobil: ältere ul-Flex-Regel außer Kraft setzen, Untermenü wirklich ausgeblendet */
@media (max-width: 920px) {
  
}

/* Sehr schmale Smartphones (≤ 360 px): Untertitel ausblenden, Marke kompakt */
@media (max-width: 360px) {
  .brand-tagline { display: none; }
  .brand-name { font-size: 1.05rem; }
}

/* Goldener Hover-Effekt für Desktop-Dropdown-Einträge:
   feine 2-px-Linie innerhalb des Eintrags, von links einblendend (~200 ms) */
@media (min-width: 921px) {
  .dd-menu a { position: relative; }
  .dd-menu a::after {
    content: ""; position: absolute;
    left: 1rem; right: 1rem; bottom: .38rem;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .2s ease;
  }
  .dd-menu a:hover::after,
  .dd-menu a:focus-visible::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .dd-menu a::after { transition: none; }
}

/* ---------- Unterseite: Preise ---------- */
.price-card { text-align: center; padding: 2rem 1.75rem 1.75rem; }
.price-value {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 700; color: var(--navy);
  line-height: 1.1; margin: .4rem 0 .1rem;
}
.price-unit { color: var(--gold); font-weight: 700; font-size: .92rem; margin-bottom: 1rem; }
.price-desc { color: var(--text-light); font-size: .95rem; margin-bottom: 1.2rem; }
.price-note {
  text-align: center; color: var(--text-light);
  font-size: .85rem; margin-top: 1.4rem;
}
.price-table { max-width: 860px; margin: 0 auto; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.4rem;
}
.price-row + .price-row { margin-top: .75rem; }
.price-name { color: var(--navy); font-weight: 600; font-size: .98rem; }
.price-amount { color: var(--text); font-weight: 700; font-size: .98rem; text-align: right; }

@media (max-width: 560px) {
  .price-row { flex-direction: column; gap: .25rem; }
  .price-amount { text-align: left; }
}

/* ---------- Preisseite: Feinschliff ---------- */
/* Kompakte zweispaltige Leistungsübersicht mit goldenen Häkchen */
.check-list { list-style: none; max-width: 860px; margin: 0 auto; }
.check-list li {
  position: relative; padding-left: 2rem;
  color: var(--text); font-size: .98rem;
  margin-bottom: .55rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700; font-size: 1.05rem;
}
.check-list-2col { columns: 2; column-gap: 3rem; }
.check-list-2col li { break-inside: avoid; }

/* Dezentere Abschnittsabstände auf der Preisseite */
.preise-section .section { padding-top: 3.75rem; padding-bottom: 3.75rem; }   /* ≈ 17 % kompakter */

/* Dezenter Datenschutz-Hinweis mit Informationssymbol */
.ds-hinweis {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  color: #b8c6d6; font-size: .88rem; max-width: 640px;
  margin: 0 auto 1.4rem; text-align: left;
}
.ds-icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold-bright); }

@media (max-width: 640px) {
  .check-list-2col { columns: 1; }
}

/* S-Kug-Preis: zweite Zeile dezenter, rechtsbündig unter der ersten */
.price-sub {
  display: block;
  font-weight: 400; font-size: .85rem; color: var(--text-light);
}

/* Mobil (Preisseite): Bezeichnung und Preis pro Kachel mit goldener Trennlinie trennen */
@media (max-width: 560px) {
  .price-row { flex-direction: column; gap: 0; align-items: flex-start; }
  .price-name { margin-bottom: .45rem; }
  .price-row::before {
    content: ""; display: block; order: 2;
    width: 32px; height: 2px; margin-bottom: .45rem;
    background: var(--gold); border-radius: 1px;
  }
  .price-name { order: 1; }
  .price-amount { order: 3; text-align: left; }
}

/* ---------- Unterseite: Über uns ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 3rem; align-items: center;
  max-width: var(--max-width); margin: 0 auto;
}
/* Vorstellung: Text | Porträt | Name/Schwerpunkte */
.about-vorstellung { grid-template-columns: 1.25fr auto 1fr; gap: 2.5rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.02rem; }
.about-text p:last-child { margin-bottom: 0; }
.subsection-heading {
  font-family: var(--font-head); font-size: 1.35rem; color: var(--navy);
  margin-bottom: 1rem;
}
.about-portrait { margin: 0; }
.about-portrait img {
  width: 250px; aspect-ratio: 4 / 5; object-fit: cover;   /* Ausschnitt ohne Verzerrung */
  object-position: center 15%;
  border-radius: 14px;
  border: 2px solid var(--gold);
  box-shadow: 0 14px 34px rgba(14, 42, 71, .22);
  display: block;
}
.about-steckbrief { align-self: center; }
.portrait-name {
  display: block; font-family: var(--font-head);
  font-size: 1.4rem; color: var(--navy); font-weight: 700;
  margin-bottom: .15rem;
}
.portrait-role {
  display: block; color: var(--gold); font-weight: 700;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.portrait-focus { list-style: none; }
.portrait-focus li {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); font-size: .95rem; font-weight: 600;
  padding: .55rem 0;
  border-top: 1px solid var(--border);
}
.portrait-focus li:first-child { border-top: 0; padding-top: 0; }
.portrait-focus svg {
  width: 22px; height: 22px; flex: 0 0 auto;
  color: var(--gold);
}
.werte-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: var(--max-width); margin: 0 auto;
}
.werte-grid .benefit p { display: block; }
.check-list-1col { columns: 1; }

/* Erfahrung/Schwerpunkte: Spalten oben bündig, feine goldene Trennlinie */
.about-getrennt { align-items: start; position: relative; gap: 0; grid-template-columns: 1fr 1fr; }
.about-getrennt > .about-text { padding: 0 2.25rem; }   /* je 36 px Innenabstand zur Trennlinie */
.about-getrennt > .about-text:first-child { padding-left: 0; }
.about-getrennt > .about-text:last-child { padding-right: 0; }
.about-getrennt::before {
  content: ""; position: absolute;
  top: .4rem; bottom: .4rem; left: 50%;
  width: 1px; background: linear-gradient(180deg, var(--gold), rgba(212,164,69,.25));
}

@media (max-width: 1020px) {
  /* Vorstellung: zweispaltig, Steckbrief neben dem Porträt */
  .about-vorstellung { grid-template-columns: 1fr 1fr; }
  .about-vorstellung .about-text { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-vorstellung { gap: 1.75rem; }
  .about-portrait img { margin: 0 auto; }
  /* Mobil: Porträt und Steckbrief nebeneinander, Schwerpunkte darunter */
  .about-vorstellung { grid-template-columns: auto 1fr; align-items: center; }
  .about-vorstellung .about-text { grid-column: 1 / -1; }
  .about-steckbrief { align-self: center; }
  .werte-grid { grid-template-columns: 1fr; }
  /* Trennlinie entfällt, dezenter horizontaler Goldakzent */
  .about-getrennt { grid-template-columns: 1fr; }
  .about-getrennt::before { display: none; }
  .about-getrennt > .about-text { padding: 0; }
  .about-getrennt > .about-text + .about-text { border-top: 2px solid var(--gold); padding-top: 1.75rem; }
}

/* Mobil: Porträt zentriert, Steckbrief darunter (Überschreibt die nebenliegende Anordnung) */
@media (max-width: 860px) {
  .about-vorstellung { grid-template-columns: 1fr; }
  .about-portrait { justify-self: center; }
  .about-portrait img { width: 170px; }
  .about-steckbrief { text-align: center; }
  .portrait-name { margin-bottom: .1rem; }
  .portrait-role { margin-bottom: 1rem; }
  .portrait-focus { text-align: left; max-width: 320px; margin: 0 auto; }
}

/* ---------- Unterseite: Impressum ---------- */
.imp-block { max-width: 760px; margin: 0 auto; }
.imp-block h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.02rem; color: var(--navy);
  margin: 1.6rem 0 .5rem;
}
.imp-block h3:first-of-type { margin-top: 1.2rem; }
.imp-adresse { font-style: normal; line-height: 1.8; margin-bottom: .9rem; }
.imp-block p { color: var(--text-light); margin-bottom: .9rem; }
.imp-block a { color: var(--navy); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.imp-block a:hover { color: var(--gold); text-decoration: underline; }
.imp-liste { list-style: none; max-width: 560px; }
.imp-liste li {
  position: relative; padding-left: 1.6rem; margin-bottom: .5rem;
  color: var(--text-light);
}
.imp-liste li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 2px; background: var(--gold);
}
.imp-block strong { color: var(--navy); }

/* Lange einzelne Wörter in Abschnittstiteln (z. B. "Außergerichtliche") umbrechbar machen */
.section-title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) {
  .section-title { font-size: 1.6rem; }
}
.imp-liste li { overflow-wrap: break-word; hyphens: auto; }

/* ---------- Unterseite: FAQ ---------- */
.faq-liste { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);   /* durchgehende marineblaue Oberkante */
  border-radius: 12px;
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.4rem;
  color: var(--navy); font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 11px; height: 11px; flex: 0 0 auto;
  border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg);               /* geschlossen: Pfeil nach unten */
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(225deg); }  /* geöffnet: Pfeil nach oben */
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.faq-antwort {
  padding: 0 1.4rem 1.2rem;
  border-top: 1px solid var(--border);
}
.faq-antwort p {
  color: var(--text-light); font-size: .98rem;
  padding-top: 1rem; margin: 0;
}
.faq-antwort a { color: var(--navy); font-weight: 600; text-decoration: none; }
.faq-antwort a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Unterseite: Datenschutzerklärung ---------- */
.ds-toc ul { list-style: none; max-width: 720px; margin: 0 auto; }
.ds-toc a {
  display: block; padding: .5rem .9rem;
  color: var(--navy); font-weight: 600; text-decoration: none;
  border-left: 3px solid var(--gold);
  background: var(--bg-light);
  border-radius: 0 8px 8px 0;
  margin-bottom: .4rem;
}
.ds-toc a:hover { background: var(--gold-soft); }
.ds-toc a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ds-titel {
  font-family: var(--font-head); font-size: 1.35rem; color: var(--navy);
  margin-bottom: 1rem; scroll-margin-top: 130px;   /* Abstand unter dem fixierten Header */
}
.ds-liste { list-style: none; max-width: 640px; margin: 0 0 .9rem; }
.ds-liste li {
  position: relative; padding-left: 1.6rem; margin-bottom: .45rem;
  color: var(--text-light);
}
.ds-liste li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 2px; background: var(--gold);
}
.ds-liste strong { color: var(--navy); }
.imp-block p { overflow-wrap: anywhere; }

/* ---------- Globaler "Nach oben"-Button ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease,
              background-color .2s ease, color .2s ease;
  z-index: 90;
  padding: 0;
}
.to-top.sichtbar { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 640px) {
  .to-top { width: 44px; height: 44px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .to-top svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
  .to-top:hover { transform: none; }
}

/* ---------- Datenschutzseite: kompaktere Abschnittsabstände (≈ 25 %) ---------- */
.ds-seite .section { padding-top: 3.375rem; padding-bottom: 3.375rem; }   /* 72 px → 54 px */

/* ---------- Sprachumschalter: Hover und Fokus ----------
   Hover: silberner 1-px-Rahmen um die Flagge (nur nicht-aktive Sprache).
   Aktiv: goldener Rahmen (bestehend, unverändert). */
.brand-row a.lang-btn img.flag, .lang-mobile a.lang-btn img.flag {
  transition: border-color .15s ease;
  border: 1px solid transparent;
  border-radius: 5px;
}
.brand-row a.lang-btn:not(.active):hover img.flag, .lang-mobile a.lang-btn:not(.active):hover img.flag {
  border-color: #C0C0C0;
}
a.lang-btn:not(.active):hover {
  cursor: pointer;
}
a.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Mobile Sprachauswahl: Flagge und Kürzel immer nebeneinander.
   .main-nav a setzt display:block (Zeile ~380) – dies überschreibt für Sprach-Links. */
@media (max-width: 920px) {
  .main-nav .lang-mobile a.lang-btn {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0;
    white-space: nowrap;
  }
}
