/* ==========================================================================
   Thorsten Mattis Beratung · Stylesheet
   Designbasis: Thorsten Mattis Immobilien (tm-im.com). Farben, Schriften und
   Bausteine sind übernommen. Gold für Fließtext und Buttons ist eine Stufe
   dunkler gesetzt, damit die Kontraste WCAG AA erfüllen.
   Keine Inline-Styles in den HTML-Dateien: Alles steht hier.
   ========================================================================== */

/* ---------- Reset & Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Farbpalette (wie tm-im.com) */
  --navy: #0f1e2e;
  --navy-light: #1c3149;
  --navy-deep: #08121c;
  --gold: #b8945c;          /* Schmuck: Linien, Icons */
  --gold-light: #d4b582;    /* Gold auf dunklem Grund */
  --gold-mid: #a3824f;      /* große Ziffern auf hellem Grund (min. 3:1) */
  --gold-dark: #8f7142;     /* Text und Buttons auf hellem Grund (4,5:1) */
  --gold-deeper: #76592f;   /* Hover der Buttons */
  --cream: #f5f1ea;
  --beige: #ebe4d6;
  --soft-grey: #f4f4f2;
  --text: #2a2a2a;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --line: #e4ddd0;

  /* Typografie */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --radius: 4px;
  --header-h: 86px;
  --shadow-sm: 0 2px 12px rgba(15, 30, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 30, 46, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 30, 46, 0.16);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

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

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 300;
  max-width: 720px;
}

.lead.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.75rem;
}

/* Eyebrow auf dunklem Grund */
.hero-fullwidth .eyebrow,
.page-header .eyebrow,
.cta-banner .eyebrow,
.focus-panel .eyebrow {
  color: var(--gold-light);
}

.hero-fullwidth .eyebrow::before,
.page-header .eyebrow::before,
.cta-banner .eyebrow::before,
.focus-panel .eyebrow::before {
  background: var(--gold-light);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2.align-start {
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 901px) {
  /* Bild bzw. Fragen-Panel links, Text rechts */
  .grid-2.reverse > :first-child {
    order: 2;
  }
}

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-deeper);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all var(--transition);
}

.btn-link:hover {
  color: var(--gold-dark);
  transform: translateX(4px);
}

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

.btn-row.center {
  justify-content: center;
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header.transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.transparent .nav-link,
.site-header.transparent .brand-name {
  color: var(--white);
}

.site-header.transparent.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}

.site-header.transparent.scrolled .nav-link,
.site-header.transparent.scrolled .brand-name {
  color: var(--navy);
}

.site-header .nav-link.nav-cta,
.site-header.transparent .nav-link.nav-cta,
.site-header.transparent.scrolled .nav-link.nav-cta {
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-radius: var(--radius);
}

.site-header.transparent:not(.scrolled) .brand-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: all var(--transition);
}

.site-header.transparent .menu-toggle span {
  background: var(--white);
}

.site-header.transparent.scrolled .menu-toggle span,
.menu-open .menu-toggle span,
.menu-open .site-header.transparent .menu-toggle span {
  background: var(--navy);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 968px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    visibility: hidden;
    transition: right var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .menu-open .nav {
    right: 0;
    visibility: visible;
  }

  .site-header .nav-link,
  .site-header.transparent .nav-link {
    font-size: 1.25rem;
    color: var(--navy);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* ---------- Hero mit Titelbild ---------- */
.hero-fullwidth {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-fullwidth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullwidth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Gesicht liegt bei ca. 65 % der Bildbreite. Ein Wert unter 50 % schiebt
     die Person bei schmaleren Fenstern (4:3) nach rechts, weg vom Text. */
  object-position: 38% center;
}

/* Verlauf links dunkel, rechts offen: Text links lesbar, Gesicht frei */
.hero-fullwidth::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg,
    rgba(8, 18, 28, 0.90) 0%,
    rgba(8, 18, 28, 0.70) 34%,
    rgba(8, 18, 28, 0.20) 58%,
    rgba(8, 18, 28, 0.05) 100%);
  pointer-events: none;
}

.hero-fullwidth::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(8, 18, 28, 0.30) 0%,
    transparent 30%,
    transparent 60%,
    rgba(8, 18, 28, 0.60) 100%);
  pointer-events: none;
}

.hero-fullwidth-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 11rem 0 4rem;
}

.hero-fullwidth-text {
  max-width: 600px;
}

.hero-fullwidth-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-fullwidth-text h1 .accent {
  color: var(--gold-light);
  font-style: italic;
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 720px;
}

.hero-stat .stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 1100px) {
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-fullwidth {
    min-height: 92vh;
  }

  .hero-fullwidth-bg img {
    object-position: 64% center;
  }

  .hero-fullwidth::before {
    background: linear-gradient(180deg,
      rgba(8, 18, 28, 0.55) 0%,
      rgba(8, 18, 28, 0.72) 45%,
      rgba(8, 18, 28, 0.92) 100%);
  }

  .hero-fullwidth-inner {
    padding: 9rem 0 3rem;
  }

  .hero-stats {
    gap: 1.75rem 2.25rem;
  }

  .hero-stat .stat-num {
    font-size: 2.1rem;
  }
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184, 148, 92, 0.2) 0%, transparent 50%);
}

.page-header-inner {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1.5rem;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--gold-light);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .page-header {
    padding: 8.5rem 0 3.5rem;
  }
}

/* ---------- Abschnitte ---------- */
.section-light {
  background: var(--cream);
}

/* ---------- Leistungskarten ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
  height: 100%;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.plain {
  padding: 1rem 0.5rem;
  background: transparent;
  border-color: transparent;
}

.service-card.plain:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--gold-dark);
  transition: all var(--transition);
}

.section-light .service-card.plain .service-icon {
  background: var(--white);
}

.service-card:hover .service-icon {
  background: var(--gold-dark);
  color: var(--white);
}

.service-card.plain:hover .service-icon {
  background: var(--cream);
  color: var(--gold-dark);
}

.section-light .service-card.plain:hover .service-icon {
  background: var(--white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.service-card li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.card-link:hover {
  color: var(--gold-dark);
}

/* ---------- Werte (01 / 02 / 03) ---------- */
.value-item {
  text-align: center;
  padding: 1rem;
}

.value-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold-mid);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

.value-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Ablauf (horizontal, Startseite) ---------- */
.process-grid {
  margin-top: 4rem;
}

.process-step {
  position: relative;
  padding: 2rem 1.25rem;
  text-align: center;
}

.process-step .step-num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  border: 4px solid var(--cream);
}

.process-step h3 {
  margin-top: 1.75rem;
  font-size: 1.35rem;
}

.process-step p {
  font-size: 0.93rem;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .process-grid {
    margin-top: 2rem;
    gap: 2.5rem;
  }
}

/* ---------- Ablauf (vertikal, Arbeitsweise) ---------- */
.step-list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.75rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

.step-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-item .step-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.step-item h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .step-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- Leistungsfelder: Text + Fragen-Panel ---------- */
.list-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--text-light);
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.panel-wrapper {
  position: relative;
  margin: 0 20px 20px 0;
}

.panel-decoration {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}

.focus-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  overflow: hidden;
}

.focus-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(184, 148, 92, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.focus-panel ul {
  position: relative;
  list-style: none;
}

.focus-panel li {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--white);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.focus-panel li:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.focus-panel li:last-child {
  padding-bottom: 0;
}

@media (max-width: 560px) {
  .focus-panel {
    padding: 2.25rem 1.75rem;
  }

  .focus-panel li {
    font-size: 1.3rem;
  }
}

.note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--text);
}

.section-light .note {
  background: var(--white);
}

.note a {
  border-bottom: 1px solid var(--gold);
}

/* ---------- Info-Karte (Zielgruppen) ---------- */
.info-card {
  padding: 2.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.info-card .check-list li:last-child {
  margin-bottom: 0;
}

/* ---------- Über mich: Porträt ---------- */
.about-img-wrapper {
  position: relative;
  margin: 0 20px 20px 0;
}

.about-img-decoration {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  aspect-ratio: 4 / 5;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.signature {
  margin-top: 2rem;
}

.signature-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.2;
}

.signature-role {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ---------- Kennzahlen ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat-band .stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--gold-mid);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-band .stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 700px) {
  .stat-band {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA-Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(184, 148, 92, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 720px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  max-width: 560px;
}

/* ---------- Kontakt ---------- */
.contact-layout {
  gap: 4rem;
}

.contact-intro {
  margin-bottom: 2rem;
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
}

a.contact-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--cream);
  color: var(--gold-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.contact-item .inline-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

/* ---------- Formular ---------- */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.form-hint {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--soft-grey);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 148, 92, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
}

.form-check a {
  color: var(--navy);
  text-decoration: underline;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-status.ok {
  background: #eef5ee;
  color: #1f5130;
  border: 1px solid #cfe3cf;
}

.form-status.info {
  background: var(--cream);
  color: var(--text);
  border: 1px solid var(--line);
}

.form-status.error {
  background: #fbeeee;
  color: #7a2020;
  border: 1px solid #efcfcf;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 340px;
}

.footer-heading {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* ---------- Fließtext (Rechtstexte) ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.prose ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  color: var(--text-light);
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.prose strong {
  color: var(--navy);
  font-weight: 600;
}

.prose a {
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.prose .highlight {
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.prose .highlight p:last-child {
  margin-bottom: 0;
}

.prose .stand {
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* ---------- Einblende-Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-indicator .line {
    animation: none;
  }

  .btn:hover,
  .service-card:hover,
  a.contact-item:hover,
  .btn-link:hover {
    transform: none;
  }
}

/* ---------- Hilfsklassen ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.narrow-block { max-width: 760px; margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
