/* ============================================================
   Kanzlei Hübner — gemeinsames Stylesheet
   Wird von index.html, impressum.html und datenschutz.html geladen.
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --dark:        #1a1118;
  --dark-mid:    #241620;
  --bg:          #faf8f6;
  --cream:       #f3ede8;
  --white:       #ffffff;
  --mauve:       #8b5e78;
  --mauve-dark:  #6d4a5f;
  --mauve-light: #c4a0b4;
  --gold:        #c8a96e;
  --gold-light:  #e2cc9a;
  --rosa-deep:   #734b63;   /* tiefes Rosa: Footer + Kooperation, Weiss darauf 7.2:1 */
  --gold-deep:   #8a6b2f;   /* Gold fuer helle Flaechen — erreicht 4.5:1 (WCAG AA) */
  --text:        #1c1a20;
  --muted:       #6b6475;
  --text-d:      #ede6ea;
  --muted-d:     #9e8fa0;
  --line:        #e5deda;
  --line-d:      rgba(255,255,255,.1);

  --shadow-sm:  0 2px 8px  rgba(26,17,24,.06);
  --shadow-md:  0 8px 24px rgba(26,17,24,.10);
  --shadow-lg:  0 20px 50px rgba(26,17,24,.15);

  --serif: Georgia, Cambria, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;

  --t-xs:   12px;
  --t-sm:   14px;
  --t-base: 16px;
  --t-md:   18px;
  --t-lg:   21px;
  --t-xl:   26px;
  --t-2xl:  34px;
  --t-hero: clamp(38px, 5vw, 68px);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --container:        1160px;
  --container-narrow: 760px;
  --ease: cubic-bezier(.16,1,.3,1);
  --dur:  200ms;
}

/* Dark sections */
[data-theme="dark"],
[data-theme="dark-mid"] {
  color: var(--text-d);
  --line: var(--line-d);
}
[data-theme="dark"]     { background-color: var(--dark); }
[data-theme="dark-mid"] { background-color: var(--dark-mid); }
[data-bg="cream"]       { background-color: var(--cream); }

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
/* Auf dunklen und rosa Flaechen waere der Mauve-Rahmen unsichtbar */
[data-theme="dark"] :focus-visible,
[data-theme="dark-mid"] :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-light); }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible, .reveal-item.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity:1; transform:none; transition:none; }
}

/* ============================================================
   SKIP LINK
============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 200;
}
.skip-link:focus {
  left: 16px; top: 16px;
  background: var(--mauve); color: #fff;
  padding: 8px 14px; border-radius: var(--r-sm);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: none;
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .03em; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 120ms var(--ease);
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--mauve); color: #fff;
  box-shadow: 0 4px 16px rgba(139,94,120,.3);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--mauve-dark);
  box-shadow: 0 6px 22px rgba(139,94,120,.4);
}
.btn-ghost {
  /* steht nur im Hero - der ist jetzt hell, also Rosa-Outline statt Weiss */
  background: transparent; color: var(--mauve);
  border: 1px solid rgba(139,94,120,.45);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--mauve);
  background: rgba(139,94,120,.07);
}
.btn-outline {
  background: transparent; color: var(--mauve);
  border: 1.5px solid var(--mauve);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--mauve); color: #fff;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,248,246,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(26,17,24,.06);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px; gap: 16px;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  height: 54px; width: auto;
  filter: none; /* Hero ist jetzt hell -> Logo in Originalfarben */
  transition: filter var(--dur) var(--ease);
}
.site-header.scrolled .brand-logo { filter: none; }

/* Desktop nav */
.desktop-nav {
  display: flex; align-items: center; gap: 2px;
}
.desktop-nav a:not(.btn) {
  padding: 9px 15px; border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 600;
  color: var(--text);
  transition: background var(--dur), color var(--dur);
}
.desktop-nav a:not(.btn):hover { background: var(--cream); }
.desktop-nav a:not(.btn).active { color: var(--mauve); }
.site-header.scrolled .desktop-nav a:not(.btn) { color: var(--text); }
.site-header.scrolled .desktop-nav a:not(.btn):hover { background: var(--cream); }
.site-header.scrolled .desktop-nav a:not(.btn).active { color: var(--mauve); }
.nav-cta { margin-left: 8px; }


/* Hamburger */
.hamburger {
  display: none; background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; color: var(--text);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.hamburger svg { display: block; }
.hamburger:hover { background: var(--cream); }

/* Mobile menu */
.menu-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(26,17,24,.5); z-index: 98;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.menu-backdrop.active { display: block; }
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 99; background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 20px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner {
  display: grid; gap: 4px;
}
.mobile-menu-inner a:not(.btn) {
  display: block; padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--text);
  transition: background var(--dur);
}
.mobile-menu-inner a:not(.btn):hover { background: var(--cream); }
.mobile-menu-inner .btn {
  margin-top: 8px; width: 100%; justify-content: center;
}

/* ============================================================
   SECTION HEADER (shared)
============================================================ */
.s-head { margin-bottom: 52px; }
.s-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mauve);
}
.s-eyebrow span {
  display: block; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
.s-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2; color: var(--text); margin-bottom: 10px;
}
.s-head p { font-size: var(--t-base); color: var(--muted); }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  min-height: 85vh;
  display: flex; align-items: center;
  background: var(--bg);
  background-image: radial-gradient(ellipse 900px 700px at -5% -10%, #ffffff 0%, transparent 62%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px; align-items: center;
}

/* Hero copy */
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold-deep);
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--gold-deep); flex-shrink: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: var(--t-hero);
  line-height: 1.08; margin-bottom: 22px;
  color: var(--text);
}
.hero-title .accent {
  display: block; color: var(--mauve);
}
.hero-lead {
  font-size: var(--t-md); line-height: 1.72;
  color: var(--muted); max-width: 500px; margin-bottom: 34px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.hero-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-sm); color: var(--muted);
}
.hero-meta::before {
  content: ''; display: block;
  width: 18px; height: 1px; background: currentColor; flex-shrink: 0;
}

/* Hero portrait */
.hero-portrait-col {
  display: flex; justify-content: flex-end; align-items: center;
}
.hero-portrait-wrap {
  position: relative; width: 100%; max-width: 480px;
}
.hero-portrait-wrap::before {
  content: '';
  position: absolute; inset: -14px;
  border: 1px solid rgba(154,123,63,.40);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  border-radius: var(--r-xl); display: block;
}
.portrait-badge {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  background: rgba(26,17,24,.88);
  border: 1px solid rgba(200,169,110,.28);
  backdrop-filter: blur(12px);
  border-radius: 999px; padding: 8px 20px;
  font-size: var(--t-xs); font-weight: 700;
  color: var(--gold-light); letter-spacing: .09em; white-space: nowrap;
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip { padding: 52px 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 28px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.trust-label {
  font-size: var(--t-sm); font-weight: 700;
  color: var(--gold-light); letter-spacing: .03em;
  display: block; margin-bottom: 3px;
}
.trust-desc { font-size: var(--t-sm); color: var(--muted-d); display: block; }
.nowrap { white-space: nowrap; }
.trust-link {
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.trust-link:hover, .trust-link:focus-visible {
  color: var(--gold);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ============================================================
   SERVICES
============================================================ */
.services-section { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;   /* alle Karten gleich hoch, auch wenn 03 allein in Reihe 2 steht */
  gap: 20px;
}
.service-card,
.process-step {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mauve);
  border-radius: var(--r-md);
  padding: 28px 26px 26px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-left-color var(--dur);
}
.service-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}
.service-num,
.process-num {
  position: absolute; top: -8px; right: 18px;
  font-family: var(--serif); font-size: 88px; font-weight: 700;
  line-height: 1; color: var(--line); user-select: none; pointer-events: none;
  transition: color var(--dur);
}
.service-card:hover .service-num,
.process-step:hover .process-num { color: #f0e8e5; }
.service-icon,
.process-icon { color: var(--mauve); margin-bottom: 12px; position: relative; z-index: 1; }
.service-card h3,
.process-step h3 {
  font-size: var(--t-md); font-weight: 700;
  line-height: 1.3; margin-bottom: 8px;
  color: var(--text); position: relative; z-index: 1;
}
.service-card p,
.process-step p {
  font-size: var(--t-sm); line-height: 1.65;
  color: var(--muted); position: relative; z-index: 1;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px; align-items: center;
}
.about-portrait-wrap {
  position: relative; max-width: 480px; margin: 0 auto;
}
.about-portrait-wrap::after {
  content: '';
  position: absolute; inset: 16px;
  background: var(--mauve); opacity: .13;
  border-radius: var(--r-xl); z-index: 0;
}
.about-photo {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  border-radius: var(--r-xl); display: block;
}
.about-copy { display: grid; gap: 18px; }
.about-head { margin-bottom: 28px; }
.about-copy p { font-size: var(--t-base); line-height: 1.75; color: var(--muted); }
.expertise-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(139,94,120,.25);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em;
  color: var(--mauve); background: rgba(139,94,120,.06);
}
.about-details {
  display: grid; gap: 8px;
  font-size: var(--t-sm); color: var(--muted);
}
.about-detail-row { display: flex; gap: 8px; align-items: baseline; }
.about-detail-row strong { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ============================================================
   QUOTE BAND
============================================================ */
.quote-section { padding: 80px 0; }
.quote-wrap {
  position: relative; max-width: 720px;
  margin: 0 auto; text-align: center;
  padding: 0 20px;
}
.quote-mark {
  font-family: var(--serif); font-size: 120px; line-height: .8;
  color: var(--mauve); opacity: .4;
  display: block; margin-bottom: -20px;
  user-select: none; pointer-events: none;
}
.quote-wrap blockquote p {
  font-family: var(--serif); font-size: var(--t-lg); line-height: 1.75;
  color: var(--text-d); margin-bottom: 20px;
}
.quote-wrap cite {
  font-style: normal; font-size: var(--t-sm);
  font-weight: 700; letter-spacing: .08em; color: var(--gold);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section { padding: 100px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
/* Card base */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
}

/* Contact info */
.contact-info-stack { display: grid; gap: 20px; }
.contact-details-card { display: grid; gap: 18px; }
.contact-detail {
  display: grid; gap: 3px;
  padding-left: 20px; position: relative;
}
.contact-detail::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.contact-detail-label {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.contact-detail-value { font-size: var(--t-base); color: var(--text); }
.contact-detail a { transition: color var(--dur); }
.contact-detail a:hover { color: var(--mauve); }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); font-size: var(--t-sm);
  color: var(--muted); transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.social-link:hover { background: var(--cream); color: var(--mauve); border-color: var(--mauve); }
/* Anreise / Lageplan: externer Google-Maps-Link (kein Embed, DSGVO) */
.anreise-card { display: grid; gap: 12px; justify-items: start; }
.anreise-head { display: flex; align-items: center; gap: 10px; }
.anreise-head svg { color: var(--mauve); flex-shrink: 0; }
.anreise-head h3 { font-size: var(--t-md); font-weight: 700; color: var(--text); }
.anreise-text { font-size: var(--t-sm); line-height: 1.65; color: var(--muted); }
.anreise-link { gap: 8px; }
.anreise-hint { font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }

/* Contact form */
.form-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mauve);
}
.form-eyebrow span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-size: var(--t-sm); font-weight: 700; color: var(--text);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 12px 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font: inherit; font-size: var(--t-base); color: var(--text);
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
  appearance: none; -webkit-appearance: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--mauve);
  box-shadow: 0 0 0 3px rgba(139,94,120,.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.char-counter {
  font-size: var(--t-xs); color: var(--muted);
  text-align: right; margin-top: -4px;
}
.form-helper { font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }
.form-helper a { color: var(--mauve); }
.form-helper a:hover { text-decoration: underline; }
.form-note {
  font-size: var(--t-xs); color: var(--muted);
  min-height: 18px; margin-top: -4px;
}
.btn-submit { width: 100%; padding: 15px; font-size: var(--t-base); }

/* ============================================================
   PAGE CONTENT (Impressum / Datenschutz)
============================================================ */
.page-main { padding: 72px 0 100px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); font-weight: 600; color: var(--mauve);
  margin-bottom: 40px; transition: gap var(--dur);
}
.back-link:hover { gap: 12px; }
.back-link svg { flex-shrink: 0; }

.content-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 48px;
  box-shadow: var(--shadow-sm);
}
.page-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15; color: var(--text); margin-bottom: 6px;
}
.page-subtitle { font-size: var(--t-sm); color: var(--muted); margin-bottom: 40px; }

.content-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.content-section:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.content-section h2 {
  font-size: var(--t-md); font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.content-section p {
  font-size: var(--t-base); color: var(--muted);
  line-height: 1.75; margin-bottom: 6px;
}
.content-section p:last-child { margin-bottom: 0; }
.content-section ul { margin: 8px 0 0 20px; display: grid; gap: 5px; }
.content-section li { font-size: var(--t-base); color: var(--muted); line-height: 1.6; }
.content-section a {
  color: var(--mauve);
  /* Unterstreichung, damit Links nicht nur an der Farbe erkennbar sind (WCAG 1.4.1) */
  text-decoration: underline; text-underline-offset: 3px;
}
.content-section a:hover, .content-section a:focus-visible { color: var(--mauve-dark); }
.law-list { display: grid; gap: 10px; }
.law-note { margin-top: 14px; }
.content-section a:hover { text-decoration: underline; }
.placeholder { color: var(--muted); font-style: italic; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer[data-theme="dark"] {
  padding-top: 72px;
  /* Rosa statt Fast-Schwarz. Etwas tiefer als der Button-Ton (#8b5e78),
     damit die Texte den Kontrastwert 4.5:1 (WCAG AA) erreichen. */
  background-color: var(--rosa-deep);
  color: #fff;
  --line: rgba(255,255,255,.26);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 56px; padding-bottom: 56px;
}
.footer-logo-panel {
  display: inline-block;
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.footer-logo {
  /* Originalfarben statt Weiss-Umfaerbung — deshalb die helle Flaeche darunter */
  height: 128px; width: auto;
  filter: none;
  display: block;
}
.footer-tagline {
  font-size: var(--t-sm); color: rgba(255,255,255,.88);
  line-height: 1.65; max-width: 260px; margin-bottom: 10px;
}
.footer-rak {
  font-size: var(--t-xs); color: rgba(255,255,255,.82);
  letter-spacing: .04em;
}
.footer-col-title {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-light); margin-bottom: 16px; display: block;
}
.footer-nav-list { display: grid; gap: 10px; list-style: none; }
.footer-nav-list a {
  font-size: var(--t-sm); color: rgba(255,255,255,.88);
  transition: color var(--dur);
}
.footer-nav-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact-list { display: grid; gap: 10px; }
.footer-contact-list a, .footer-contact-list p {
  font-size: var(--t-sm); color: rgba(255,255,255,.88);
  transition: color var(--dur); line-height: 1.5;
}
.footer-contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.38); color: rgba(255,255,255,.9);
  transition: border-color var(--dur), color var(--dur);
}
.footer-social-link:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.22); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px; gap: 16px; flex-wrap: wrap;
}
.footer-bottom small { font-size: var(--t-xs); color: rgba(255,255,255,.85); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: var(--t-xs); color: rgba(255,255,255,.88);
  transition: color var(--dur);
}
.footer-legal a:hover { color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .hamburger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-portrait-col { justify-content: center; }
  .hero-portrait-wrap { max-width: 360px; }
  .hero-portrait-wrap::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-portrait-wrap { max-width: 520px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero-section { padding: 90px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 7vw, 52px); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-right: none; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .content-card { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .about-portrait-wrap { max-width: 100%; }
}

/* ============================================================
   ABLAUF / PROCESS
============================================================ */
.process-section { padding: 100px 0; }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px; list-style: none;
}


/* ============================================================
   FAQ
============================================================ */
.faq-section { padding: 100px 0; }
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto; display: grid; gap: 12px;
}
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: box-shadow var(--dur) var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-weight: 700; font-size: var(--t-base); color: var(--text);
  border-radius: var(--r-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0; color: var(--mauve);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { font-size: var(--t-base); line-height: 1.7; color: var(--muted); }
.faq-answer strong { color: var(--text); }

/* ============================================================
   NOTFALL-HINWEIS
============================================================ */
.emergency-strip { padding: 34px 0; }
.emergency-inner {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: 18px 44px; align-items: center;
}
.emergency-label {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--gold);
  white-space: nowrap;
}
.emergency-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px; list-style: none;
}
.emergency-list li {
  display: grid; gap: 2px;
  padding-left: 20px;
  border-left: 1px solid var(--line-d);
}
.emergency-name {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted-d);
}
.emergency-list a {
  font-size: var(--t-md); font-weight: 700; color: var(--text-d);
  letter-spacing: .01em; transition: color var(--dur);
}
.emergency-list a:hover { color: var(--gold-light); }
.emergency-note { font-size: var(--t-xs); color: var(--muted-d); }

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .emergency-inner { grid-template-columns: 1fr; gap: 16px; }
  .emergency-list { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   BLOCKSATZ — mehrzeilige Fließtexte, mit Silbentrennung
   (Silbentrennung verhindert große Wortlücken im Blocksatz)
============================================================ */
.hero-lead,
.s-head p,
.process-step p,
.about-copy p,
.faq-answer p,
.anreise-text,
.content-section p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}


/* ============================================================
   KONTAKT-KARTE (ersetzt das frühere Formular)
============================================================ */
.contact-cta-card { display: grid; gap: 18px; align-content: start; }
.contact-cta-text {
  font-size: var(--t-base); line-height: 1.75; color: var(--muted);
}
.contact-cta-actions { display: grid; gap: 10px; }
.contact-cta-actions .btn {
  justify-content: center; gap: 10px; width: 100%;
}

/* ============================================================
   KOOPERATION
============================================================ */
.coop-section { padding: 100px 0; }

/* Eine geteilte Karte: links Claim auf Rosa, rechts Inhalt auf Weiss */
.coop-card {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.coop-claim {
  position: relative; margin: 0;
  display: grid; align-content: center; gap: 28px;
  padding: 64px 56px;
  background-color: var(--rosa-deep);
  background-image: radial-gradient(ellipse 560px 420px at 0% 0%, rgba(255,255,255,.11), transparent 70%);
  color: #fff;
}
.coop-claim-mark {
  display: block; width: 44px; height: 34px;
  color: var(--gold-light); opacity: .9;
}
.coop-claim-text {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 34px); line-height: 1.22;
  letter-spacing: -.005em;
}
.coop-claim-text span { display: block; }
.coop-claim-text span:last-child { color: var(--gold-light); }
.coop-claim cite {
  position: relative;
  font-style: normal; font-size: var(--t-sm); line-height: 1.5;
  color: rgba(255,255,255,.88);
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24);
}

.coop-body {
  display: grid; align-content: center; gap: 22px;
  padding: 56px 52px;
}
.coop-body .s-head { margin-bottom: 0; }
.coop-text {
  font-size: var(--t-base); line-height: 1.75; color: var(--muted);
  text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}
.coop-link { margin: 0; }
.coop-link .btn { gap: 10px; }

@media (max-width: 900px) {
  .coop-card { grid-template-columns: 1fr; }
  .coop-claim { padding: 52px 40px 44px; }
  .coop-body { padding: 44px 40px 48px; }
}
@media (max-width: 580px) {
  .coop-section { padding: 72px 0; }
  .coop-card { border-radius: var(--r-lg); }
  .coop-claim { padding: 44px 26px 36px; gap: 22px; }
  .coop-claim-mark { width: 36px; height: 28px; }
  .coop-body { padding: 36px 26px 40px; }
  /* Blocksatz reisst bei schmaler Spalte grosse Wortluecken -> hier linksbuendig */
  .coop-text { text-align: left; }
  .coop-link .btn { width: 100%; }
}


/* ============================================================
   MOBILE-OPTIMIERUNG (Handy, bis 580 px)
   Gemessen bei 375 px: Tippflächen, Schriftgrößen, Blocksatz,
   Abstände und Überlauf. Steht bewusst am Dateiende, damit diese
   Regeln die allgemeinen Regeln oben überschreiben.
============================================================ */
@media (max-width: 580px) {
  /* Lesbarkeit: die beiden kleinsten Schriftstufen etwas größer */
  :root { --t-xs: 12px; --t-sm: 14px; }

  /* Kompakterer Header */
  .header-inner { padding-block: 10px; }
  .hamburger { min-width: 44px; min-height: 44px; }
  .brand-logo { height: 44px; }

  /* Weniger Leerraum zwischen den Abschnitten */
  .hero-section { padding: 36px 0 56px; }
  .hero-inner { gap: 40px; }
  .trust-strip { padding: 32px 0; }
  .services-section, .process-section, .about-section,
  .faq-section, .contact-section, .coop-section { padding: 64px 0; }
  .quote-section { padding: 56px 0; }
  .s-head { margin-bottom: 32px; }

  /* Sprungziele aus dem Menü nicht unter dem fixierten Header verstecken */
  main section[id] { scroll-margin-top: 64px; }

  /* Blocksatz reißt in schmalen Spalten große Wortlücken -> linksbündig */
  .hero-lead, .s-head p, .process-step p, .about-copy p,
  .faq-answer p, .anreise-text, .content-section p, .coop-text,
  .service-card p { text-align: left; }

  /* Lange Einzelwoerter in Hauptueberschriften (z. B. "Datenschutzerklaerung")
     duerfen umbrechen, statt die Seite breiter zu machen */
  .page-title {
    font-size: clamp(26px, 8.5vw, 34px);
    overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual;
  }

  /* Buttons dürfen umbrechen, statt über den Rand zu laufen */
  .btn { white-space: normal; max-width: 100%; text-align: center; }

  /* Tippflächen mindestens 44 px hoch */
  .emergency-list a,
  .contact-detail-value[href],
  .footer-nav-list a,
  .footer-contact-list a,
  .footer-legal a,
  .back-link,
  .law-list a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer-nav-list, .footer-contact-list { gap: 0; }
  .footer-legal { gap: 0 22px; flex-wrap: wrap; }

  /* Footer-Logo passt in die Breite, ohne verzerrt zu werden */
  .footer-logo { height: 96px; }

}


/* ============================================================
   DATENSCHUTZ – Download-Abschnitt
============================================================ */
.content-section[id] { scroll-margin-top: 100px; }
.dse-download { margin-top: 16px; }
