/* ==========================================================================
   Karin Fridl – Web Brand Guideline v2.1 (styles.css)
   Boutique-Kanzlei für Familienrecht, Wien (susannaperl.at & dieadvokatin.at Stil)
   Weblytics | Version 2.1 · August 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Tokens (Brand Guideline v2.1)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --ink: #050606;        /* Fließtext, Footer */
  --forest: #536856;     /* Primär, Buttons, Anker-Sektionen, Overlay-Menü */
  --sage: #9DAF81;       /* nur Flächen & Deko, nie Text */
  --cream: #FFFCEE;      /* Seitengrund, Header */
  --white: #FFFFFF;      /* Wechselsektionen, Karten */
  --gold: #D7C189;       /* Dekorativ; Text nur auf Tinte/Waldgrün ≥24px */
  --gold-dark: #928055;  /* Linien, Illustrationen, Rahmen */
  --gold-deep: #7E6B41;  /* Links, Eyebrows, Akzent-Text (WCAG AA: 5.0:1) */
  --grad-gold: linear-gradient(135deg, #D7C189 0%, #C9B27C 45%, #928055 100%);
  
  /* Typography */
  --ff-display: 'Marcellus', Georgia, serif;
  --ff-body: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;
  --ff-quote: 'Cormorant Garamond', Georgia, serif;
  --ff-accent: 'Cormorant Garamond', Georgia, serif;

  /* Focus & Accessibility */
  --focus: 2px solid var(--gold-deep);
  --focus-offset: 3px;

  /* Layout & Spacing */
  --maxw: 1240px;
  --header-h: 80px;
  --radius-arch: 240px 240px 18px 18px;
  --radius-card: 14px;
  --radius-btn: 2px;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 10px 30px rgba(5, 6, 6, 0.05);
  --shadow-hover: 0 16px 40px rgba(5, 6, 6, 0.09);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

body.menu-is-open {
  overflow: hidden;
}

/* Skip link for Accessibility (WCAG 2.1 AA) */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--gold);
}
.skip:focus {
  left: 0;
  outline: var(--focus);
  outline-offset: var(--focus-offset);
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: var(--focus) !important;
  outline-offset: var(--focus-offset) !important;
}

.on-dark a:focus-visible,
.on-dark button:focus-visible,
.on-dark input:focus-visible,
.on-dark textarea:focus-visible {
  outline: 2px solid var(--gold) !important;
}

/* Links */
a {
  color: var(--gold-deep);
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--gold-dark);
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 1.16;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

p {
  max-width: 68ch;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.on-dark .eyebrow {
  color: var(--gold);
}

/* Layout Containers & Sections */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

/* Section Themes (Brand Guideline) */
.s-cream {
  background-color: var(--cream);
  color: var(--ink);
}

.s-white {
  background-color: var(--white);
  color: var(--ink);
}

.s-forest {
  background-color: var(--forest);
  color: var(--cream);
}

.on-dark,
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark p {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   3. Jugenstil & Kanzlei Ornaments (Advokatin-Prinzip, eigenes Motivset)
   -------------------------------------------------------------------------- */
.orn {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem auto 2.2rem auto;
  max-width: 320px;
}
.orn::before,
.orn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold-dark);
  opacity: 0.65;
}
.orn svg {
  flex: none;
  color: var(--gold-dark);
}
.on-dark .orn::before,
.on-dark .orn::after {
  background: var(--gold);
  opacity: 0.45;
}
.on-dark .orn svg {
  color: var(--gold);
}

/* Personal Signature (Perl-Prinzip) */
.sig {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--forest);
  margin-top: 0.6rem;
  display: inline-block;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   4. Header Banner (Susanna Perl Boutique Style)
   
   Fixed header with two states:
   - Transparent over hero (with top dark scrim gradient)
   - Solid cream (#FFFCEE) after scroll > 40px with primary dark logo
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background-color var(--transition-smooth),
              border-color var(--transition-smooth),
              box-shadow var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

/* Scrolled state: Solid Cream background */
.header--scrolled {
  background: rgba(255, 252, 238, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(146, 128, 85, 0.22);
  box-shadow: 0 4px 24px rgba(5, 6, 6, 0.05);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo toggling */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.header-logo .logo-transparent {
  display: block;
}
.header-logo .logo-scrolled {
  display: none;
}

.header--scrolled .header-logo .logo-transparent {
  display: none;
}
.header--scrolled .header-logo .logo-scrolled {
  display: block;
}

.nowrap {
  white-space: nowrap;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Menu Trigger Button (Icon only, exactly 48px height matching CTA) */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  width: 48px;
  min-width: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 252, 238, 0.6);
  border-radius: var(--radius-btn);
  cursor: pointer;
  color: var(--cream);
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast);
}

.menu-trigger:hover {
  background-color: rgba(255, 252, 238, 0.15);
  border-color: var(--cream);
}

.header--scrolled .menu-trigger {
  color: var(--forest);
  border-color: var(--gold-dark);
}
.header--scrolled .menu-trigger:hover {
  background-color: rgba(215, 193, 137, 0.15);
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

/* Hamburger Icon (two lines) */
.menu-trigger-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 22px;
}

.menu-trigger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 1px;
}

/* Header CTA Button (Exactly 48px height matching menu trigger) */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 1.8rem;
}

.header .header-cta {
  background-color: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.header .header-cta:hover {
  background-color: #e4d3a6;
  border-color: #e4d3a6;
}

.header--scrolled .header-cta {
  background-color: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.header--scrolled .header-cta:hover {
  background-color: #3f5244;
  border-color: #3f5244;
}

/* --------------------------------------------------------------------------
   4b. Full-Screen Overlay Menu (Aufklappbares Menü in Waldgrün)
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.35s ease,
              visibility 0s 0.45s;
  overflow-y: auto;
}

.menu-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.3s ease,
              visibility 0s 0s;
}

.menu-overlay-header {
  border-bottom: 1px solid rgba(215, 193, 137, 0.2);
  height: var(--header-h);
  flex-shrink: 0;
}

.menu-overlay-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.menu-overlay-header .header-logo img {
  height: 40px;
}

.menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  width: 48px;
  min-width: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(215, 193, 137, 0.5);
  color: var(--cream);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.menu-close-btn:hover {
  background-color: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.menu-close-btn svg {
  width: 22px;
  height: 22px;
}

.menu-overlay-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.menu-overlay-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
}

.menu-overlay-info {
  border-right: 1px solid rgba(215, 193, 137, 0.2);
  padding-right: 3rem;
}

.menu-overlay-info h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.menu-overlay-info p {
  color: var(--sage);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.menu-info-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--cream);
}

.menu-info-contact-list a {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.menu-info-contact-list a:hover {
  color: var(--gold);
}

.menu-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-nav-item {
  border-bottom: 1px solid rgba(215, 193, 137, 0.15);
  padding-bottom: 1.1rem;
}

.menu-nav-item:last-child {
  border-bottom: none;
}

.menu-nav-link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--cream);
  transition: transform var(--transition-fast);
}

.menu-nav-link:hover {
  transform: translateX(8px);
}

.menu-nav-num {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  min-width: 32px;
}

.menu-nav-title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color var(--transition-fast);
}

.menu-nav-link:hover .menu-nav-title {
  color: var(--gold);
}

.menu-nav-subtext {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: var(--sage);
  margin-left: calc(32px + 1.2rem);
  margin-top: 0.2rem;
  display: block;
}

.menu-overlay-footer {
  border-top: 1px solid rgba(215, 193, 137, 0.2);
  padding: 1.2rem 0;
  background: rgba(5, 6, 6, 0.12);
  flex-shrink: 0;
}

.menu-overlay-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-primary:hover {
  background-color: #3f5244;
  border-color: #3f5244;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--forest);
  border-color: var(--gold-dark);
}

.btn-secondary:hover {
  background-color: rgba(215, 193, 137, 0.15);
  color: var(--forest);
}

/* Dark Section Buttons */
.on-dark .btn-primary {
  background-color: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.on-dark .btn-primary:hover {
  background-color: #e4d3a6;
  border-color: #e4d3a6;
  color: var(--ink);
  transform: translateY(-1px);
}

.on-dark .btn-secondary {
  color: var(--cream);
  border-color: var(--gold);
}

.on-dark .btn-secondary:hover {
  background-color: rgba(215, 193, 137, 0.12);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   6. Hero Section (100svh Fullscreen mit Portrait & weichem Grünverlauf links)
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--forest);
  color: var(--cream);
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: 2.5rem;
}

/* Portrait Image Container - Multi-directional soft fade with top green protection */
.hero-bg-container {
  position: absolute;
  right: clamp(0rem, 2vw, 4rem);
  top: 0;
  bottom: 0;
  width: clamp(340px, 48vw, 680px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: 
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 12%, black 28%, black 82%, rgba(0,0,0,0.3) 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, transparent 14%, rgba(0,0,0,0.3) 24%, black 36%, black 100%);
  -webkit-mask-composite: source-in;
  mask-image: 
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 12%, black 28%, black 82%, rgba(0,0,0,0.3) 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, transparent 14%, rgba(0,0,0,0.3) 24%, black 36%, black 100%);
  mask-composite: intersect;
}

.hero-bg-img {
  max-height: 94svh;
  height: auto;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* Green Gradient Overlay with solid top forest green for transparent header */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(180deg, rgba(83, 104, 86, 1) 0%, rgba(83, 104, 86, 0.98) 12%, rgba(83, 104, 86, 0.5) 24%, rgba(83, 104, 86, 0) 38%),
    linear-gradient(270deg, rgba(83, 104, 86, 0.6) 0%, rgba(83, 104, 86, 0) 14%),
    linear-gradient(90deg, 
      rgba(83, 104, 86, 1) 0%, 
      rgba(83, 104, 86, 1) 42%, 
      rgba(83, 104, 86, 0.85) 56%, 
      rgba(83, 104, 86, 0.25) 70%, 
      rgba(83, 104, 86, 0) 88%
    );
}

.hero-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 3;
}

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

.hero h1,
.hero .hero-title {
  font-family: var(--ff-display);
  color: var(--cream);
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 18ch;
}

.hero p.hero-sub {
  color: var(--cream);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 42ch;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Scroll Indicator (Dezenter Scroll-Hinweis) */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.hero-scroll-hint:hover {
  opacity: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 24px;
  background: var(--gold);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   7. Einstieg & Signatur Section (Perl-Prinzip)
   -------------------------------------------------------------------------- */
.einstieg-box {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.einstieg-box p.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.einstieg-quote {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  color: var(--forest);
  line-height: 1.5;
  margin: 2.2rem auto 1.2rem auto;
  max-width: 36ch;
}

/* --------------------------------------------------------------------------
   8. Schwerpunkte / Services Section (2 oben, 2 unten)
   -------------------------------------------------------------------------- */
.services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

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

.card {
  background: var(--white);
  border: 1px solid rgba(146, 128, 85, 0.35);
  border-radius: var(--radius-card);
  padding: 2.4rem 2rem;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.s-cream .card {
  background: var(--white);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-dark);
}

.card-icon-arch {
  width: 52px;
  height: 64px;
  border-radius: 26px 26px 4px 4px;
  background: var(--cream);
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold-deep);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.65;
  flex-grow: 1;
}

/* Advice Note Box (Vergleichsprüfung) */
.note-box {
  background: var(--cream);
  border-left: 3.5px solid var(--gold-dark);
  padding: 1.2rem 1.4rem;
  margin-top: 1.4rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.note-box b {
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8b. Gold-Banner (CI-Goldton mit Waldgrün-Schrift)
   -------------------------------------------------------------------------- */
.gold-banner {
  background-color: var(--gold);
  color: var(--forest);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(146, 128, 85, 0.35);
  border-bottom: 1px solid rgba(146, 128, 85, 0.35);
}

.gold-banner-quote {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  color: var(--forest);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Für wen ich arbeite (Zielgruppe / Invertierter Farb-Anker)
   -------------------------------------------------------------------------- */
.zielgruppe-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.zielgruppe-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.gender-neutral-box {
  background: rgba(255, 252, 238, 0.08);
  border: 1px solid rgba(215, 193, 137, 0.4);
  border-radius: 12px;
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.gender-neutral-box h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.gender-neutral-box p {
  margin-bottom: 0;
  font-size: 0.98rem;
  color: var(--cream);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Über Karin Fridl Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-bio p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-expectations {
  background: var(--white);
  border: 1px solid rgba(146, 128, 85, 0.35);
  border-radius: var(--radius-card);
  padding: 2.2rem 2rem;
}

.about-expectations h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.check-list {
  list-style: none;
  margin: 1rem 0;
  max-width: 72ch;
}

.check-list li {
  padding: 0.55rem 0 0.55rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(146, 128, 85, 0.22);
  font-size: 0.95rem;
  line-height: 1.55;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
}

.on-dark .check-list li {
  border-bottom-color: rgba(215, 193, 137, 0.25);
}
.on-dark .check-list li::before {
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   11. Ablauf / Process Section
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.process-step {
  background: var(--white);
  border: 1px solid rgba(146, 128, 85, 0.3);
  border-radius: var(--radius-card);
  padding: 2.4rem 2rem;
  position: relative;
  text-align: center;
}

.process-num {
  font-family: var(--ff-quote);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Card */
.price-card {
  background: var(--white);
  border: 1px solid rgba(146, 128, 85, 0.35);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 3rem auto 0 auto;
}

.price-badge {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.6rem;
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.price-amount small {
  font-size: 1rem;
  font-family: var(--ff-body);
  color: var(--ink);
}

.price-details {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   12. FAQ Section (Akkordeon)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 2.5rem auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(146, 128, 85, 0.3);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  list-style: none;
  transition: color var(--transition-fast);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--forest);
}

.faq-answer {
  padding: 0 0 1.4rem 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   13. Klartext Recht Teaser Section (Video-Rubrik in Bogenrahmen)
   -------------------------------------------------------------------------- */
.teaser-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(146, 128, 85, 0.35);
  border-radius: var(--radius-card);
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
}

.teaser-badge {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.6rem;
}

.teaser-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  aspect-ratio: 16/9;
  background: var(--white);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(83, 104, 86, 0.3);
}

/* --------------------------------------------------------------------------
   14. Kontakt / Contact Section (Advokatin-Prinzip: Großes Portrait + Wege)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--cream);
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
  color: var(--cream);
}

.contact-detail-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-item a {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail-item a:hover {
  color: var(--gold);
}

/* Contact Form */
.contact-form {
  background: rgba(5, 6, 6, 0.22);
  border: 1px solid rgba(215, 193, 137, 0.3);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--cream);
}

.form-group label .required-asterisk {
  color: var(--gold);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.98rem;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 193, 137, 0.3);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.2rem;
  margin-bottom: 1.8rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  margin-top: 0.2rem;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.84rem;
  color: rgba(255, 252, 238, 0.85);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--gold);
  text-decoration: underline;
}

/* Captcha Anti-Spam Security Box */
.form-captcha-group {
  background: rgba(255, 252, 238, 0.06);
  border: 1px solid rgba(215, 193, 137, 0.35);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}

.captcha-label-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.captcha-question-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-refresh-captcha {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--gold);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-refresh-captcha:hover {
  transform: rotate(45deg);
  opacity: 0.85;
}

.captcha-input {
  background: rgba(255, 252, 238, 0.95);
  color: var(--ink);
  font-weight: 600;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.form-feedback.is-success {
  display: block;
  background: rgba(157, 175, 129, 0.35);
  border: 1px solid var(--sage);
  color: var(--cream);
}

.form-feedback.is-error {
  display: block;
  background: rgba(143, 47, 47, 0.35);
  border: 1px solid #ff7b7b;
  color: #ffdede;
}

/* --------------------------------------------------------------------------
   15. Footer (Tinte)
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 252, 238, 0.75);
  padding: 4rem 0 2.5rem 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(215, 193, 137, 0.2);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 252, 238, 0.12);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 252, 238, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 252, 238, 0.55);
}

.footer-credit {
  color: rgba(255, 252, 238, 0.65);
}

.footer-credit a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-content {
    max-width: 520px;
  }

  .about-grid,
  .zielgruppe-container,
  .contact-grid,
  .menu-overlay-grid,
  .teaser-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .menu-overlay-info {
    border-right: none;
    border-bottom: 1px solid rgba(215, 193, 137, 0.2);
    padding-right: 0;
    padding-bottom: 2rem;
  }

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

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .header .wrap {
    padding: 0 1.2rem;
  }

  .header-logo img {
    height: 36px;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .header-cta {
    display: none; /* CTA is prominently inside overlay drawer & hero on mobile */
  }

  .menu-trigger {
    height: 44px;
    min-height: 44px;
    width: 44px;
    min-width: 44px;
  }

  /* Hero Section on Mobile - prevents any overlap between buttons and "Mehr erfahren" */
  .hero {
    min-height: 100svh;
    height: auto;
    padding-top: calc(var(--header-h) + 1.2rem);
    padding-bottom: 7rem; /* Generous clearance for the scroll hint */
    display: flex;
    align-items: flex-end;
    position: relative;
  }

  .hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: clamp(300px, 48vh, 400px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, rgba(0,0,0,0.5) 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 55%, rgba(0,0,0,0.5) 78%, transparent 100%);
  }

  .hero-bg-img {
    height: 100%;
    width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 8%; /* Centers head and face perfectly at the top */
    display: block;
  }

  .hero-gradient-overlay {
    background: 
      linear-gradient(180deg, rgba(83, 104, 86, 0.85) 0%, rgba(83, 104, 86, 0.15) 18%, rgba(83, 104, 86, 0) 35%),
      linear-gradient(0deg, 
        rgba(83, 104, 86, 1) 0%, 
        rgba(83, 104, 86, 1) 50%, 
        rgba(83, 104, 86, 0.8) 65%, 
        rgba(83, 104, 86, 0) 85%
      );
  }

  .hero-content {
    max-width: 100%;
    margin-top: clamp(250px, 42vh, 340px);
    margin-bottom: 1rem;
    position: relative;
    z-index: 4;
  }

  .hero h1,
  .hero .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero p.hero-sub {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-scroll-hint {
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .card {
    padding: 2rem 1.6rem;
  }

  .gold-banner {
    padding: 3.5rem 1.4rem;
  }

  .gold-banner-quote {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
  }

  .gender-neutral-box {
    padding: 2rem 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.9rem;
  }

  .menu-overlay-body {
    padding: 2rem 0;
  }

  .menu-nav-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .menu-nav-subtext {
    font-size: 0.8rem;
    margin-left: calc(28px + 1rem);
  }
}

@media (max-width: 480px) {
  .hero-content {
    margin-top: clamp(240px, 40vh, 320px);
  }

  .price-card {
    padding: 2rem 1.4rem;
  }

  .price-amount {
    font-size: 2.4rem;
  }

  .faq-summary {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }

  .form-control {
    font-size: 16px; /* Prevents iOS auto-zoom */
  }
}

/* --------------------------------------------------------------------------
   17. Subpage & Legal Content Styles (Datenschutzerklärung)
   -------------------------------------------------------------------------- */
.header--subpage {
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(146, 128, 85, 0.25);
  box-shadow: 0 4px 20px rgba(5, 6, 6, 0.04);
}

.header--subpage .menu-trigger {
  color: var(--forest);
  border-color: var(--gold-dark);
}

.legal-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 4rem 0 3.5rem 0;
  border-bottom: 1px solid rgba(215, 193, 137, 0.3);
}

.legal-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.03em;
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  color: var(--cream);
}

.legal-hero-meta {
  font-size: 0.92rem;
  color: var(--sage);
}

.legal-container {
  padding: 4.5rem 0 6rem 0;
  background: var(--cream);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.8;
  font-size: 1.05rem;
}

.legal-content h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--forest);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(146, 128, 85, 0.25);
}

.legal-content h3 {
  font-family: var(--ff-display);
  font-size: 1.22rem;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.legal-content p {
  margin-bottom: 1.3rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.8rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--forest);
}

.legal-note-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 0.95rem;
}

.legal-draft-badge {
  display: inline-block;
  background: rgba(215, 193, 137, 0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.82rem;
  margin-top: 0.6rem;
  font-family: var(--ff-body);
}

.legal-back-nav {
  margin-bottom: 1.5rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.legal-back-link:hover {
  color: var(--cream);
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   18. Scroll-To-Top Button
   -------------------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 24px rgba(5, 6, 6, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              visibility 0.3s;
  z-index: 99;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(5, 6, 6, 0.35);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 1.5rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
  }
  .scroll-top-btn svg {
    width: 19px;
    height: 19px;
  }
}
