/* =========================
   Vertical Rhythm Tokens
   ========================= */

:root {
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2.5rem;   /* 40px */
  --space-xl: 3.5rem;   /* 56px */
}

/* =========================
   Headings Rhythm
   ========================= */

.article-content h1 {
  margin: 0 0 var(--space-lg);
}

.article-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

/*
.article-content h2:first-child,
.article-content h3:first-child {
  margin-top: 0;
} */

/* =========================
   FAQ Vertical Rhythm
   ========================= */

.article-faq {
  margin-top: var(--space-sm);
}

.faq-item {
  padding: var(--space-sm) 0;
}

.faq-answer {
  margin-top: var(--space-sm);
}

/* =========================
   TOC Rhythm
   ========================= */

.article-toc {
  margin-bottom: var(--space-xl);
}

.article-toc li {
  margin-bottom: var(--space-xs);
}

/* =========================
   Article Entry Title (H1)
   ========================= */

.article-content .entry-title,
.article-content h1.entry-title {
  color: #0A2342;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}


@media (max-width: 767px) {
    .et_pb_title_container h1 {
        font-size:30px;
    }
  }

/* =========================
   Text Blocks
   ========================= */

.article-content p {
  margin: 0 0 var(--space-md);
}

.article-content ul,
.article-content ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.2em;
}

.article-content li {
  margin-bottom: var(--space-xs);
}


/* =========================
   Article Hero
   ========================= */

.article-hero {
  position: relative;
  height: 60vh;
  max-height: 520px;
  background-size: cover;
  background-position: center;
}

/* Mobile Crop */
@media (max-width: 767px) {
  .article-hero {
    height: 42vh;
    background-position: center top;
  }
}

/* Overlay für Kontrast */
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.05) 70%,
    rgba(0,0,0,0) 100%
  );
}

/* =========================
   Table of Contents
   ========================= */

.article-toc a {
  color: var(--c-primary);
  text-decoration: none;
  font-weight: 500;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--c-primary-hover);
  text-decoration: underline;
}

.article-toc a.is-active {
  font-weight: 600;
}


/* =========================
   Breadcrumbs
   ========================= */

.article-breadcrumbs {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.75;
  gap: 0px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bc-css {
  padding: 0 4px;
  background: rgba(0, 0, 0, 0.1);
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.2);
  border-width: 1px;
  border-radius: 4px;
}

/*
.article-breadcrumbs span {
  margin: 0 6px;
} */

.article-breadcrumbs {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

.article-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-breadcrumbs span {
  margin: 0 8px;
}


/* =========================
   Breadcrumbs (Pill Style)
   ========================= */


.article-breadcrumbs .breadcrumb-item {
  background: #f1f3f5;
  color: #555;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1;
}

.article-breadcrumbs .breadcrumb-separator {
  color: #999;
  font-weight: 600;
}



/* =========================
   FAQ
   ========================= */

 /* FAQ Layout */

 .faq-item {
   border-bottom: 1px solid #e5e7eb;
 }

 /* Toggle Button */
 .faq-toggle {
   all: unset;
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   cursor: pointer;
   font-size: var(--fs-h3);
   font-weight: 600;
   color: var(--c-h2);
 }

 /* Keyboard focus */
 .faq-toggle:focus-visible {
   outline: 3px solid var(--c-primary);
   outline-offset: 4px;
   border-radius: 4px;
 }

 /* Question text */
 .faq-question-text {
   flex: 1;
 }

 /* Plus Icon */
 .faq-icon {
   width: 32px;
   height: 32px;
   border: 2px solid var(--c-primary);
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 20px;
   font-weight: 700;
   color: var(--c-primary);
   margin-left: 16px;
 }

 /* Answer */
 .faq-answer {
   margin-top: 12px;
   padding-left: 4px;
 }

 .faq-answer p:last-child {
   margin-bottom: 0;
 }

/* kein hässlicher Hover */
.faq-toggle:hover {
  background: transparent;
}






/* =========================
   FAQ – Headline Fix (Desktop + Mobile)
   ========================= */

/* Reset Button komplett visuell */
.faq-toggle {
  background: transparent !important;
  padding: 0;
  border: 0;
  box-shadow: none;
}

/* Kein Hover-Hintergrund – nirgendwo */
.faq-toggle:hover,
.faq-toggle:active,
.faq-toggle:focus {
  background: transparent !important;
}

/* Frage = echte Headline */
.faq-question-text {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--c-h2);
}

/* Desktop: etwas mehr Luft */
@media (min-width: 768px) {
  .faq-toggle {
    padding: 16px 0;
  }

  .faq-question-text {
    font-size: 22px;
  }
}

/* Mobile: etwas kompakter */
@media (max-width: 767px) {
  .faq-question-text {
    font-size: 20px;
  }
}

/* Plus-Icon ruhig halten */
.faq-icon {
  flex-shrink: 0;
  background: transparent;
}

/* Kein Focus-Müll von Divi */
.faq-toggle:focus {
  outline: none;
}

/* Nur sichtbarer, sauberer Keyboard-Focus */
.faq-toggle:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 4px;
  border-radius: 6px;
}


/* =========================
   FAQ – Override Global Button Styles
   ========================= */

.article-faq .faq-toggle {
  background: transparent;
  color: inherit;
}

.article-faq .faq-toggle:hover,
.article-faq .faq-toggle:focus,
.article-faq .faq-toggle:active {
  background: transparent;
}







/* =========================
   FAQ Toggle – Reset gegen custom.css
   ========================= */

.article-faq .faq-toggle {
  all: unset;                /* uff */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;

  font-family: var(--font-base);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-h2);

  padding: var(--space-sm) 0;
}

.article-faq .faq-toggle:hover {
  background: transparent;
}


/* =========================
   FAQ Icon (Plus / Minus)
   ========================= */

.article-faq .faq-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--c-primary);
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  font-weight: 700;
  color: var(--c-primary);
  margin-left: 16px;

  position: relative;
}

/* Plus
.article-faq .faq-icon::before {
  content: '+';
  line-height: 1;
}

/* Minus bei geöffnetem Zustand
.article-faq .faq-toggle[aria-expanded="true"] .faq-icon::before {
  content: '–';
} */

/* =========================
   FAQ Item Separator
   ========================= */

.article-faq .faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.article-faq .faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

/* =========================
   FAQ Answer
   ========================= */

.article-faq .faq-answer {
  margin-top: var(--space-sm);
  padding-left: 4px;
}

.article-faq .faq-answer[hidden] {
  display: none;
}




















/* gemini */
/* Globales Seiten-Padding für den Artikel-Container */
.article-content {
    box-sizing: border-box;
    width: 100%;
    /* Mobile Standard: 16px */
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet & Desktop: 30px ab 768px */
@media (min-width: 768px) {
    .article-content {
        padding-left: 30px;
        padding-right: 30px;
    }
}
