/* ─── WEBFONTS (selbst gehostet, DSGVO-konform) ─────────────────────────── */

/* EB Garamond — Headlines, Logo, Akzent-Serif */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/eb-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/eb-garamond-latin-700-normal.woff2") format("woff2");
}

/* Inter — Fließtext, UI, Buttons */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-soft: #faf8f4;
  --text: #1c252b;
  --muted: #5f6a70;
  --line: #d9dfdc;
  --accent: #1a3d3a;
  --accent-mid: #214f4b;
  --accent-soft: #e6efed;
  --accent-light: #c8deda;
  --gold: #b8975a;
  --gold-soft: #f5efe2;
  --shadow: 0 14px 40px rgba(20, 32, 36, 0.09);
  --shadow-sm: 0 4px 16px rgba(20, 32, 36, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --shell: 1140px;
  /* Schrift-Stacks: zentral hier definiert, damit ein Wechsel später nur an einer Stelle geschieht. */
  --font-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

p,
h1,
h2,
h3,
strong,
small,
a,
span {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
strong {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin: 0 auto;
}

/* ─── HEADER ─── */

#site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 280px;
}

.brand > span {
  min-width: 0;
}

.brand-mark {
  width: 3px;
  height: 2rem;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.brand strong,
.brand small {
  display: block;
  color: #fff;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.15;
}

.brand small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.35;
  font-family: var(--font-sans);
  font-weight: 400;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  flex: 1 1 240px;
  min-width: 0;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.2;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Der CTA-Link im Mobile-Menü wird auf Desktop ausgeblendet,
   dort gibt es stattdessen den .header-cta-Button. */
.nav-cta {
  display: none;
}

/* ─── HAMBURGER-TOGGLE (nur Mobile sichtbar) ─── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  flex-direction: column;
  gap: 5px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

#site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

#site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE-NAVIGATION (< 820px) ─── */
@media (max-width: 819px) {
  .header-shell {
    flex-wrap: nowrap;
    padding: 0.7rem 0;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-logo {
    height: 44px;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 auto;
    order: 2;
  }

  /* Desktop-CTA im Header ausblenden – Mobile nutzt .nav-cta im Overlay */
  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--accent);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  #site-header.is-nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
  }

  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0.9rem 1.2rem;
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
  }

  /* Scroll sperren, solange das Overlay offen ist */
  body.nav-open {
    overflow: hidden;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.button-dark {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.button-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── HERO ─── */

.hero {
  background: linear-gradient(135deg, var(--accent) 0%, #2a5e59 100%);
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(184, 151, 90, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtile architektonische Bildsprache: feines Linien-Raster,
   das an Grundrisse / Fassaden erinnert. Sehr dezent (~5% Deckkraft). */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.07'><path d='M0 30h60M30 0v60'/><rect x='10' y='10' width='40' height='40'/><rect x='20' y='20' width='20' height='20'/></g></svg>");
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: #fff;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.06;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.hero-copy .eyebrow {
  color: var(--gold);
}

.hero-text {
  max-width: 54ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ─── HERO TRUST-ROW (Pills unter den CTAs) ─── */
.hero-trust-row {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
}

.hero-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.18);
}

/* ─── HERO-FOTO (groß, prominent, rechts) ─── */
.hero-photo {
  margin: 0;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.hero-photo-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  display: block;
}

/* Goldener Akzentbalken oben links – greift das Markendetail aus dem Logo auf */
.hero-photo::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 56px;
  height: 56px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-top-left-radius: var(--radius);
  pointer-events: none;
  z-index: 1;
}

.hero-photo-caption {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.25rem;
}

.hero-photo-caption strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-photo-caption span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* Mobile: Foto unter den Text, kleiner */
@media (max-width: 819px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-photo {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-photo-img {
    max-height: 460px;
  }

  .hero-trust-row {
    gap: 0.4rem 1rem;
  }

  .hero-trust-row li {
    font-size: 0.86rem;
  }
}

/* ─── EXPERIENCE-STRIP (Stationen aus dem Werdegang) ─── */
.experience-strip {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  padding: 1.2rem 0;
}

.experience-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.experience-companies {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.5rem;
}

.experience-companies li {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #fff;
  position: relative;
  padding-left: 1.5rem;
}

.experience-companies li:not(:first-child)::before {
  content: "·";
  position: absolute;
  left: -0.8rem;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}

.experience-companies li:first-child {
  padding-left: 0;
}

@media (max-width: 720px) {
  .experience-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .experience-companies {
    flex-direction: column;
    gap: 0.5rem;
  }

  .experience-companies li,
  .experience-companies li:first-child {
    padding-left: 0;
  }

  .experience-companies li:not(:first-child)::before {
    display: none;
  }
}

/* ─── CREDENTIALS STRIP ─── */

.credentials-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

/* Goldene Akzentlinie oben – greift Markenfarbe auf */
.credentials-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent 100%
  );
  z-index: 1;
}

.credential-item {
  background: var(--surface);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background-color 200ms ease;
}

.credential-item:hover {
  background: var(--surface-soft);
}

.credential-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.credential-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ─── SECTIONS ─── */

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--accent);
  color: #fff;
}

.section-heading,
.section-copy {
  max-width: 64ch;
}

.section-heading.narrow {
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2,
.card h2,
.card h3,
.note-box h2,
.cta-box h2,
.legal-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  margin-bottom: 0.8rem;
}

.section-copy p,
.card p,
.note-box p,
.cta-box p,
.list-panel,
.audience-panel p,
.form-hint,
.form-feedback {
  color: var(--muted);
  line-height: 1.7;
}

.form-feedback--success {
  color: var(--accent);
  font-weight: 500;
}

.form-feedback--error {
  color: #b94040;
}

/* ─── PAGE HERO (inner pages) ─── */

.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #2a5e59 100%);
  padding: 4.5rem 0 3.5rem;
  color: #fff;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: 1rem;
}

.page-hero .hero-text {
  color: rgba(255, 255, 255, 0.75);
  max-width: 62ch;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ─── EYEBROW ─── */

.eyebrow,
.panel-label,
.footer-label {
  margin-bottom: 0.65rem;
  color: var(--accent-mid);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-sans);
}

.panel-label,
.footer-label {
  color: var(--muted);
}

/* ─── FACT PANEL ─── */

.fact-list {
  display: grid;
  gap: 0.9rem;
}

.fact-row,
.contact-item,
.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(28, 37, 43, 0.08);
}

.fact-row:last-child,
.contact-item:last-child,
.legal-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-row span,
.contact-item span,
.legal-row span {
  color: var(--muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fact-row strong,
.contact-item strong,
.legal-row strong {
  text-align: right;
  line-height: 1.35;
  font-size: 0.95rem;
}

.panel-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── SPLIT LAYOUT ─── */

.split-layout,
.contact-layout,
.footer-shell {
  display: grid;
  gap: 2rem;
}

.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.split-layout-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

/* ─── ABOUT LAYOUT ─── */

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 100px;
}

.profile-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ─── CARDS ─── */

.card,
.note-box,
.cta-box,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card,
.step-card,
.note-box,
.cta-box,
.legal-card {
  padding: 1.75rem 2rem;
}

.card {
  height: 100%;
}

.card-accent {
  border-top: 3px solid var(--gold);
}

.card-compact p {
  margin-bottom: 0;
}

.card-grid,
.trust-grid,
.steps-grid,
.legal-stack {
  display: grid;
  gap: 1.15rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── INTRO SPLIT ─── */

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 3rem;
  align-items: start;
}

/* ─── AUDIENCE ─── */

.audience-panel,
.list-panel,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
}

.list-panel {
  display: grid;
  gap: 0.85rem;
}

.list-item {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}

/* ─── STEPS ─── */

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  position: relative;
  height: 100%;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
}

/* ─── CTA BOX ─── */

.cta-box {
  background: linear-gradient(135deg, var(--accent) 0%, #2a5e59 100%);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-box .eyebrow {
  color: var(--gold);
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ─── QUALIFICATION LIST ─── */

.qualification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.qualification-list li {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
  font-size: 0.97rem;
}

.honorar-box {
  border-left: 4px solid var(--gold);
}

/* ─── CONTACT ─── */

.contact-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 1.15rem;
}

.contact-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-card {
  width: 100%;
  max-width: 620px;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-direct a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-direct a:hover {
  color: var(--accent-mid);
}

.contact-divider {
  color: var(--line);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── BARRIEREFREIHEIT: Skip-Link & Fokus ─── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── FAQ-LISTE ─── */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 880px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: background-color 160ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--surface-soft);
}

.faq-question {
  flex: 1;
}

.faq-indicator {
  flex: 0 0 auto;
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.faq-indicator::before,
.faq-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease;
}

.faq-indicator::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-indicator::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 1rem 0 0;
  line-height: 1.7;
}

.form-optional {
  font-weight: 400;
  font-size: 0.85em;
  color: var(--muted);
  font-family: var(--font-sans);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
  max-height: 280px;
  overflow-y: auto;
  transition: border-color 160ms ease, height 100ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-mid);
  background: #fff;
}

/* ─── LEGAL ─── */

.legal-card,
.legal-stack {
  max-width: 860px;
}

/* ─── FOOTER ─── */

#site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
}

.footer-shell {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3rem 0 4rem;
  gap: 2.5rem;
}

.footer-label {
  color: var(--gold) !important;
}

.footer-shell h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.footer-shell p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.82rem !important;
  margin-top: 1rem !important;
}

.footer-shell a[href^="mailto"],
.footer-shell a[href^="tel"] {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .split-layout-reverse,
  .about-layout,
  .intro-split,
  .contact-layout,
  .footer-shell,
  .cta-box,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-box {
    display: grid;
  }

  .section {
    padding: 4rem 0;
  }

  /* Sticky-Foto auf Mobil deaktivieren – sonst klebt das Porträt
     im Viewport, während der Text darunter durchscrollt. */
  .about-photo {
    position: static;
    top: auto;
    max-width: 280px;
    margin: 0 auto 1.5rem;
  }

  .profile-photo {
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
}

@media (max-width: 760px) {
  .header-shell {
    justify-content: center;
  }

  .brand,
  .site-nav,
  .header-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .brand {
    align-items: flex-start;
  }

  .card-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .fact-row,
  .contact-item,
  .legal-row {
    flex-direction: column;
    gap: 0.3rem;
  }

  .fact-row strong,
  .contact-item strong,
  .legal-row strong {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .card,
  .step-card,
  .note-box,
  .cta-box,
  .legal-card,
  .audience-panel,
  .list-panel,
  .hero-panel {
    padding: 1.35rem 1.2rem;
  }

  .button-row .button,
  .header-cta {
    width: 100%;
  }

  .credential-item {
    padding: 1.25rem 1.5rem;
  }

  .credential-number {
    font-size: 2rem;
  }
}

/* ─── SUCCESS MODAL ─── */

#success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 220ms ease;
}

#success-modal.is-visible {
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 36, 0.55);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(16px);
  transition: transform 220ms ease;
}

#success-modal.is-visible .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.modal-box p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.modal-close {
  min-width: 160px;
}

/* Card-Link für 404-Seite und ähnliche Karten-Verweise */
.card .card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.card .card-link:hover,
.card .card-link:focus-visible {
  border-bottom-color: var(--gold);
}
