﻿/* ============================================================
   URHEBER-IMPULS — globals.css
   Design-Tokens, Base-Reset, Typografie
   ============================================================ */

/* ─── Design-Tokens ───────────────────────────────────────── */
:root {
  /* Farben */
  --primary:            #123C2F;
  --primary-foreground: #FAF7F1;
  --background:         #FAF7F1;
  --foreground:         #1F2522;
  --secondary:          #DDE8DF;
  --secondary-foreground: #123C2F;
  --accent:             #C8A24A;
  --accent-foreground:  #2B2118;
  --muted:              #E8DED2;
  --muted-foreground:   #5F625C;
  --destructive:        #8C3B2F;
  --destructive-bg:     #F5EAE8;
  --border:             #DED3C6;
  --input:              #D8CEC0;
  --ring:               #C8A24A;

  /* Typografie */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius:    0.875rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.25rem;

  /* Abstände */
  --section-py:        80px;
  --section-py-mobile: 48px;
  --container-max:     1160px;
  --text-max:          720px;
  --gap:               1.5rem;

  /* Schatten */
  --shadow-sm:  0 1px 3px rgba(18,60,47,0.07), 0 1px 2px rgba(18,60,47,0.04);
  --shadow-md:  0 4px 12px rgba(18,60,47,0.08), 0 2px 6px rgba(18,60,47,0.05);
  --shadow-lg:  0 12px 32px rgba(18,60,47,0.10), 0 4px 12px rgba(18,60,47,0.06);
}

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

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

/* Scope auf Elementor-Seiten — schlägt Astras (0-0-1)-Regeln mit (0-1-0) */
body.elementor-page {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typografie ───────────────────────────────────────────── */
body.elementor-page h1,
body.elementor-page h2,
body.elementor-page h3,
body.elementor-page h4,
body.elementor-page h5,
body.elementor-page h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.elementor-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
body.elementor-page h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); font-weight: 700; }
body.elementor-page h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 400; }
body.elementor-page h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-body); }

body.elementor-page p { line-height: 1.75; }
body.elementor-page p + p { margin-top: 1em; }

body.elementor-page a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

body.elementor-page a:hover { color: var(--primary); }

strong { font-weight: 600; }
em     { font-style: italic; }

body.elementor-page ul,
body.elementor-page ol { list-style: none; }

img, picture, video, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

address { font-style: normal; }

/* ─── Hilfklassen ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }

.font-heading { font-family: var(--font-heading); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Focus-Ring */
body.elementor-page :focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   URHEBER-IMPULS - global components
   Shared layout, navigation, typography helpers and UI components.
   ============================================================ */

/* ============================================================
   URHEBER-IMPULS — components.css
   Alle wiederverwendbaren UI-Komponenten
   ============================================================ */

/* ─── Container & Layout ───────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--section-py);
}

.section--secondary { background-color: var(--secondary); }
.section--muted     { background-color: var(--muted); }
.section--primary   {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.section--primary h2,
.section--primary h3,
.section--primary h4 {
  color: var(--primary-foreground);
}

.section__header {
  max-width: var(--text-max);
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__subline {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-top: 0.625rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.text-block {
  max-width: var(--text-max);
}

.text-block--center {
  max-width: var(--text-max);
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 768px) {
  .section { padding-block: var(--section-py-mobile); }
  .section__header { margin-bottom: 2rem; }
}

/* ─── SiteHeader ───────────────────────────────────────────── */
/* .elementor-page scope verhindert Konflikt mit Astras eigenem .site-header */
.elementor-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(250, 247, 241, 0.95);
}

.elementor-page .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.elementor-page .site-header__logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.elementor-page .site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.elementor-page .site-header__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background-color 0.15s;
}

.elementor-page .site-header__nav a:hover,
.elementor-page .site-header__nav a[aria-current="page"] {
  color: var(--primary);
  background-color: var(--secondary);
}

.elementor-page .site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.elementor-page .site-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}

.elementor-page .site-header__hamburger:hover { background-color: var(--secondary); }

.elementor-page .site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.elementor-page .site-header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.elementor-page .site-header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.elementor-page .site-header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.elementor-page .mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  z-index: 99;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.elementor-page .mobile-nav.is-open { display: flex; }

.elementor-page .mobile-nav a {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  transition: background-color 0.15s, color 0.15s;
}

.elementor-page .mobile-nav a:hover { background: var(--secondary); color: var(--primary); }
.elementor-page .mobile-nav .btn { margin-top: 0.75rem; text-align: center; display: block; }

@media (max-width: 860px) {
  .elementor-page .site-header__nav { display: none; }

  /* CTA mobil ausblenden — Spezifität (0,3,1) um body.elementor-page a.btn (0,2,1) zu schlagen */
  body.elementor-page a.site-header__cta,
  .elementor-page .site-header__cta { display: none !important; }

  .elementor-page .site-header__hamburger { display: flex; }
}

/* ─── SiteFooter ───────────────────────────────────────────── */
/* .elementor-page scope verhindert Konflikt mit Astras eigenem .site-footer */
.elementor-page .site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-block: 3.5rem 2rem;
}

.elementor-page .site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 241, 0.15);
}

.elementor-page .site-footer__logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-foreground);
  margin-bottom: 0.875rem;
}

.elementor-page .site-footer__brand p {
  font-size: 0.9375rem;
  color: rgba(250, 247, 241, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.elementor-page .site-footer__brand address {
  font-size: 0.875rem;
  color: rgba(250, 247, 241, 0.6);
  line-height: 1.8;
}

.elementor-page .site-footer__brand address a {
  color: rgba(250, 247, 241, 0.75);
  transition: color 0.15s;
}
.elementor-page .site-footer__brand address a:hover { color: var(--accent); }

.elementor-page .site-footer__nav-group h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 241, 0.5);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.elementor-page .site-footer__nav-group ul { display: flex; flex-direction: column; gap: 0.5rem; }

.elementor-page .site-footer__nav-group a {
  font-size: 0.9375rem;
  color: rgba(250, 247, 241, 0.75);
  transition: color 0.15s;
}
.elementor-page .site-footer__nav-group a:hover { color: var(--accent); }

.elementor-page .site-footer__legal {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(250, 247, 241, 0.4);
  text-align: center;
}

@media (max-width: 768px) {
  .elementor-page .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 0.875rem 1.625rem;
  text-decoration: none;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.12s, color 0.18s;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn--primary:hover {
  background-color: #0d2e24;
  box-shadow: var(--shadow-md);
  color: var(--primary-foreground);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  background-color: var(--muted);
  border-color: var(--muted-foreground);
  color: var(--primary);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 1.5px solid rgba(250, 247, 241, 0.35);
}

.btn--outline-light:hover {
  background-color: rgba(250, 247, 241, 0.1);
  border-color: rgba(250, 247, 241, 0.55);
  color: var(--primary-foreground);
}

.btn--gold {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn--gold:hover {
  background-color: #b8922f;
  box-shadow: var(--shadow-md);
  color: var(--accent-foreground);
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}

/* ─── AccentDivider ────────────────────────────────────────── */
.accent-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.accent-divider--center { margin-inline: auto; }

/* ─── QuotePull ────────────────────────────────────────────── */
.quote-pull {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.quote-pull__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-style: italic;
  color: var(--primary);
  line-height: 1.4;
}

.quote-pull__text--light { color: var(--primary-foreground); }

/* ─── TrustBar ─────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--background);
  border: 1px solid var(--border);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
}

.trust-badge svg { flex-shrink: 0; }

/* ─── SituationCard ────────────────────────────────────────── */
.situation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.situation-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.situation-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.situation-card__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--foreground);
  line-height: 1.5;
}

.situation-card__icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--accent);
  opacity: 0.6;
}

/* ─── ProcessSteps ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.process-step__number {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  line-height: 1;
}

.process-step__content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.process-step__content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ─── DualCard ─────────────────────────────────────────────── */
.dual-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.dual-card__item {
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}

.dual-card__item--yes {
  background-color: var(--secondary);
}

.dual-card__item--no {
  background-color: var(--muted);
}

.dual-card__heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.dual-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dual-card__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--foreground);
}

.dual-card__list li svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 640px) {
  .dual-card { grid-template-columns: 1fr; }
}

/* ─── FeatureList ──────────────────────────────────────────── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-item__text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.1875rem;
}

.feature-item__text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ─── PricingCard ──────────────────────────────────────────── */
.pricing-card {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  max-width: 680px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.pricing-card__title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.625rem;
}

.pricing-card__sub {
  font-size: 1rem;
  color: rgba(250, 247, 241, 0.7);
  margin-bottom: 2rem;
  max-width: 48ch;
}

.pricing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.875rem;
}

.pricing-option {
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: rgba(250, 247, 241, 0.05);
}

.pricing-option__label {
  font-size: 0.875rem;
  color: rgba(250, 247, 241, 0.6);
  margin-bottom: 0.25rem;
}

.pricing-option__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1;
}

.pricing-option__note {
  font-size: 0.8125rem;
  color: rgba(250, 247, 241, 0.5);
  margin-top: 0.25rem;
}

.pricing-card__note {
  font-size: 0.9375rem;
  color: rgba(250, 247, 241, 0.65);
  margin-bottom: 1.875rem;
  border-top: 1px solid rgba(250, 247, 241, 0.12);
  padding-top: 1.25rem;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-options { grid-template-columns: 1fr; }
}

/* ─── TestimonialCard ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card__quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.75;
  margin-top: 1.25rem;
  font-style: italic;
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.25rem;
}

/* ─── BookingSection ───────────────────────────────────────── */
.booking-section {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.booking-section__intro {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.booking-placeholder {
  background: #fff;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.booking-placeholder strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.booking-disclaimer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .booking-section { padding: 1.75rem 1.25rem; }
}

/* ─── FaqAccordion ─────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2.5rem;
  max-width: 840px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item.is-open {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.faq-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-body);
  transition: background-color 0.15s;
}

.faq-item__trigger:hover { background-color: var(--muted); }

.faq-item.is-open .faq-item__trigger { background-color: var(--secondary); }

.faq-item__icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-item__body {
  max-height: 600px;
}

.faq-item__content {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ─── CredentialList ───────────────────────────────────────── */
.credential-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
}

.credential-badge svg { flex-shrink: 0; }

/* ─── DisclaimerBlock ──────────────────────────────────────── */
.disclaimer-block {
  background-color: var(--destructive-bg);
  border: 1px solid rgba(140, 59, 47, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--destructive);
  line-height: 1.6;
}

.disclaimer-block strong { color: var(--destructive); }

/* ─── Closing CTA Section ──────────────────────────────────── */
.closing-cta {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.closing-cta__text {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-block: 1rem 2rem;
  line-height: 1.7;
}

.closing-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ─── Portrait Placeholder ─────────────────────────────────── */
.portrait-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3/4;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.portrait-placeholder svg { color: var(--border); }

/* ─── Portrait Image ───────────────────────────────────────── */
.portrait-image {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ─── About Hero Layout ────────────────────────────────────── */
.about-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-hero { grid-template-columns: 1fr; gap: 2rem; }
  .portrait-placeholder { max-width: 200px; }
}

/* ─── Legal Page ───────────────────────────────────────────── */
.legal-content {
  max-width: var(--text-max);
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
}

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

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

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

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Form Styles ──────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
  background: #fff;
  border: 1.5px solid var(--input);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.18);
}

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

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-checkbox {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.5;
  cursor: pointer;
}

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

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

/* ─── Page Hero (Nicht-Salespage) ──────────────────────────── */
.page-hero {
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-hero__sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 52ch;
  line-height: 1.65;
}

/* ─── Scroll-Reveal Animation ──────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ─── Mobile Fixes ─────────────────────────────────────────── */

/* Fix: Anfrage-Layout — Sidebar mobil unter Formular
   Inline-Style ist: grid-template-columns:1fr 360px (ohne Leerzeichen!)
   Alternativ kann in der JSON die Klasse .anfrage-layout gesetzt werden. */
.elementor-page .anfrage-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
}

.elementor-page .anfrage-layout > div:first-child {
  flex: 1 1 480px;
  min-width: 0;
}

.elementor-page .anfrage-layout > aside {
  flex: 0 1 360px;
  min-width: 0;
}

@media (max-width: 900px) {
  /* Inline-Style override — exakt wie er im DOM steht (ohne Leerzeichen) */
  .elementor-page [style*="grid-template-columns:1fr 360px"],
  .elementor-page [style*="grid-template-columns: 1fr 360px"] {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .elementor-page .anfrage-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .elementor-page .anfrage-layout > div:first-child,
  .elementor-page .anfrage-layout > aside {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ============================================================
   Customizer overrides moved into the child theme
   Buttons, footer refinements and homepage offer teaser.
   ============================================================ */

body.elementor-page a.btn,
body.elementor-page button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: 0.875rem;
  padding: 0.9375rem 1.75rem;
  text-decoration: none;
  transition: background-color 0.18s, box-shadow 0.18s,
              transform 0.12s, color 0.18s, border-color 0.18s;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
}

body.elementor-page a.btn:active,
body.elementor-page button.btn:active {
  transform: translateY(1px);
}

body.elementor-page a.btn.btn--primary,
body.elementor-page button.btn.btn--primary {
  background-color: #123C2F;
  color: #FAF7F1;
  border: none;
}

body.elementor-page a.btn.btn--primary:hover,
body.elementor-page button.btn.btn--primary:hover {
  background-color: #0d2e24;
  box-shadow: 0 4px 14px rgba(18, 60, 47, 0.22);
  color: #FAF7F1;
  text-decoration: none;
}

body.elementor-page a.btn.btn--primary:focus-visible,
body.elementor-page button.btn.btn--primary:focus-visible {
  outline: 2px solid #C8A24A;
  outline-offset: 3px;
}

body.elementor-page a.btn.btn--secondary,
body.elementor-page button.btn.btn--secondary {
  background-color: transparent;
  color: #123C2F;
  border: 1.5px solid #DED3C6;
}

body.elementor-page a.btn.btn--secondary:hover,
body.elementor-page button.btn.btn--secondary:hover {
  background-color: #E8DED2;
  border-color: #5F625C;
  color: #123C2F;
  text-decoration: none;
}

body.elementor-page a.btn.btn--secondary:focus-visible,
body.elementor-page button.btn.btn--secondary:focus-visible {
  outline: 2px solid #C8A24A;
  outline-offset: 3px;
}

body.elementor-page a.btn.btn--outline-light,
body.elementor-page button.btn.btn--outline-light {
  background-color: transparent;
  color: #FAF7F1;
  border: 1.5px solid rgba(250, 247, 241, 0.35);
}

body.elementor-page a.btn.btn--outline-light:hover,
body.elementor-page button.btn.btn--outline-light:hover {
  background-color: rgba(250, 247, 241, 0.1);
  border-color: rgba(250, 247, 241, 0.55);
  color: #FAF7F1;
  text-decoration: none;
}

body.elementor-page a.btn.btn--gold,
body.elementor-page button.btn.btn--gold {
  background-color: #C8A24A;
  color: #2B2118;
  border: none;
}

body.elementor-page a.btn.btn--gold:hover,
body.elementor-page button.btn.btn--gold:hover {
  background-color: #b8922f;
  box-shadow: 0 4px 14px rgba(200, 162, 74, 0.25);
  color: #2B2118;
  text-decoration: none;
}

body.elementor-page a.btn.btn--lg,
body.elementor-page button.btn.btn--lg {
  font-size: 1.0625rem;
  padding: 1.0625rem 2.125rem;
}

body.elementor-page a.btn.btn--sm,
body.elementor-page button.btn.btn--sm {
  font-size: 0.875rem;
  padding: 0.6875rem 1.25rem;
}

body.elementor-page .section--secondary a.btn.btn--primary {
  background-color: #123C2F;
  color: #FAF7F1;
  box-shadow: 0 2px 8px rgba(18, 60, 47, 0.15);
}

body.elementor-page .section--secondary a.btn.btn--primary:hover {
  background-color: #0d2e24;
  box-shadow: 0 4px 16px rgba(18, 60, 47, 0.25);
}

body.elementor-page .section--secondary a.btn.btn--secondary {
  background-color: #FAF7F1;
  border-color: #DED3C6;
  color: #123C2F;
}

body.elementor-page .section--secondary a.btn.btn--secondary:hover {
  background-color: #FFFFFF;
  border-color: #123C2F;
  color: #123C2F;
}

body.elementor-page .site-header__cta a.btn {
  font-size: 0.875rem;
  padding: 0.6875rem 1.375rem;
  border-radius: 0.875rem;
}

body.elementor-page .site-footer {
  background-color: #123C2F;
  color: #FAF7F1;
  padding-block: 4rem 2.5rem;
  margin-top: 0;
}

body.elementor-page .site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 241, 0.12);
}

body.elementor-page .site-footer__logo {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FAF7F1;
  margin-bottom: 1rem;
}

body.elementor-page .site-footer__brand p {
  font-size: 0.9375rem;
  color: rgba(250, 247, 241, 0.72);
  line-height: 1.65;
  margin-bottom: 1.375rem;
}

body.elementor-page .site-footer__brand address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(250, 247, 241, 0.55);
  line-height: 1.85;
}

body.elementor-page .site-footer__brand address a {
  color: rgba(250, 247, 241, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}

body.elementor-page .site-footer__brand address a:hover {
  color: #C8A24A;
}

body.elementor-page .site-footer__nav-group h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 241, 0.45);
  margin-bottom: 1.125rem;
}

body.elementor-page .site-footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

body.elementor-page .site-footer__nav-group a {
  font-size: 0.9375rem;
  color: rgba(250, 247, 241, 0.72);
  text-decoration: none;
  transition: color 0.15s;
}

body.elementor-page .site-footer__nav-group a:hover {
  color: #C8A24A;
}

body.elementor-page .site-footer__legal {
  margin-top: 2.25rem;
  font-size: 0.8125rem;
  color: rgba(250, 247, 241, 0.35);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body.elementor-page .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  body.elementor-page .site-footer {
    padding-block: 3rem 2rem;
  }
}

body.elementor-page .elementor-widget-html a.btn {
  color: inherit;
  text-decoration: none;
}

body.elementor-page .elementor-widget-html a.btn.btn--primary {
  color: #FAF7F1;
}

body.elementor-page .elementor-widget-html a.btn.btn--secondary {
  color: #123C2F;
}

/* Offer teaser: remove decorative wrapper around the "Zum Angebot" CTA. */
body.elementor-page .offer-teaser > div[style*="flex-shrink"],
body.elementor-page .offer-teaser > div:last-child {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ============================================================
   QA Global Mobile Override - erste Hero-Sektion
   Reduziert uebergrosse mobile Top-Gaps nach dem Header.
   ============================================================ */

@media (max-width: 640px) {
  body.elementor-page .hero,
  body.elementor-page .home-hero,
  body.elementor-page .page-hero,
  body.elementor-page .impulse-hero,
  body.elementor-page .about-hero-section {
    padding-top: 0.25rem !important;
  }

  body.elementor-page .hero,
  body.elementor-page .home-hero,
  body.elementor-page .impulse-hero,
  body.elementor-page .about-hero-section {
    padding-bottom: 0.75rem !important;
  }

  body.elementor-page .page-hero {
    padding-bottom: 0.75rem !important;
  }
}


/* ============================================================
   URHEBER-IMPULS — Startseite Angebots-Teaser Override
   Premium-Klärungssession stärker absetzen
   ============================================================ */

/* Gesamter Angebotsbereich */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] {
  position: relative;
  overflow: hidden;
  background: #E8DED2 !important;
  padding-block: clamp(4.5rem, 7vw, 7rem) !important;
  border-top: 1px solid rgba(18, 60, 47, 0.08);
  border-bottom: 1px solid rgba(18, 60, 47, 0.08);
}

/* dezenter Hintergrundschein */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"]::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12rem;
  top: -14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(238, 247, 240, 0.9) 0%, rgba(238, 247, 240, 0) 68%);
  pointer-events: none;
}

body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .container {
  position: relative;
  z-index: 1;
}

/* Section Header mehr Premium-Luft */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .section__header {
  margin-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .section__header h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.6rem, 5vw, 4.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  color: #123C2F !important;
}

/* Hauptkarte */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
  align-items: center !important;
  overflow: hidden;
  background: #EEF7F0 !important;
  border: 1px solid rgba(18, 60, 47, 0.16) !important;
  border-radius: 1.5rem !important;
  padding: clamp(2rem, 4vw, 3.75rem) !important;
  box-shadow: 0 18px 45px rgba(18, 60, 47, 0.1) !important;
}

/* grün-goldene Linie oben */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, #123C2F 0%, #123C2F 58%, #C8A24A 100%);
}

/* kleines Label oben rechts */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser::after {
  content: "Premium-Angebot";
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(18, 60, 47, 0.08);
  color: #123C2F;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Textbereich */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser > div:first-child {
  max-width: 680px;
}

/* Titel in Card */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__title {
  margin: 0 0 1rem !important;
  max-width: 620px;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  color: #123C2F !important;
}

/* Preis-/Meta-Zeile */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__meta {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1.5rem !important;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(200, 162, 74, 0.12);
  border: 1px solid rgba(200, 162, 74, 0.35);
  color: #A77E22 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

/* Beschreibung */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__text {
  max-width: 58ch;
  margin: 0 !important;
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: #4F5C55 !important;
}

/* CTA-Bereich rechts als kleine Aktionsfläche */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser > div:last-child {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 210px;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 60, 47, 0.12);
}

/* CTA Button */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser .btn.btn--primary {
  min-width: 170px;
  background-color: #123C2F !important;
  color: #FAF7F1 !important;
  box-shadow: 0 4px 14px rgba(18, 60, 47, 0.18) !important;
}

body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser .btn.btn--primary:hover {
  background-color: #0d2e24 !important;
  box-shadow: 0 6px 18px rgba(18, 60, 47, 0.24) !important;
}

/* Trustbar näher an die Card ziehen */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .trust-bar {
  margin-top: 1.5rem !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

/* Trust Badges hochwertiger */
body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .trust-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.625rem 0.95rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(18, 60, 47, 0.12) !important;
  color: #123C2F !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 16px rgba(18, 60, 47, 0.05);
}

body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .trust-badge svg {
  color: #123C2F !important;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 820px) {
  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser::after {
    position: static;
    width: fit-content;
    margin-bottom: 1.25rem;
    order: -1;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser > div:last-child {
    justify-content: flex-start !important;
    min-width: 0;
    width: 100%;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser .btn.btn--primary {
    width: 100%;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__meta {
    display: flex;
    width: 100%;
    border-radius: 1rem;
  }
}

@media (max-width: 560px) {
  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] {
    padding-block: 3.5rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser {
    padding: 2rem 1.25rem !important;
    border-radius: 1.25rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .section__header h2 {
    font-size: 2.5rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__title {
    font-size: 2.15rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .offer-teaser__text {
    font-size: 1rem !important;
  }

  body.elementor-page section.section--muted[aria-labelledby="offer-heading"] .trust-bar {
    justify-content: flex-start !important;
  }
}
