/* ═══════════════════════════════════════════════════════════
   CL-COMPONENTS v1.0 — Autismus-Stiftung Design System
   Deployed: 2026-04-16
   Source: component-library-v1.html
═══════════════════════════════════════════════════════════ */



/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  /* Farben */
  --pink:          #D82E67;
  --pink-dark:     #B01F52;
  --pink-light:    #FAE8EF;
  --pink-xlight:   #FDF4F7;
  --ink:           #1a1a1a;
  --body:          #515151;
  --muted:         #6b7280;
  --white:         #FFFFFF;
  --gray-bg:       #F8F8F8;
  --gray-line:     #EBEBEB;
  /* Blau — Hero-Hintergrundfarbe */
  --blue:          #060C2D;
  --blue-mid:      #0C1648;
  --blue-light:    #0E1A50;
  --blue-xlight:   #e8ecf8;
  --dark-bg:       #060C2D;

  /* Typographie */
  --font:          'Roboto', -apple-system, sans-serif;
  --max-w:         1200px;

  /* Radien */
  --r-sm:          8px;
  --r-md:          14px;
  --r-lg:          24px;
  --r-xl:          40px;

  /* Schatten */
  --shadow-sm:     0 2px 12px rgba(0,0,0,.07);
  --shadow-md:     0 6px 28px rgba(0,0,0,.10);
  --shadow-pink:   0 8px 28px rgba(216,46,103,.28);
}

/* ═══════════════════════════════════════════
   BASE RESET & LAYOUT
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.75;
  color: var(--body);
  background: #f0f1f3;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700; color: var(--ink);
  line-height: 1.2; letter-spacing: -0.015em;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink); line-height: 1.4;
  margin-bottom: 10px;
}
h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink); line-height: 1.4;
  margin-bottom: 8px;
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4em; margin-bottom: 1rem; }
li { margin-bottom: 0.4em; }
strong { color: var(--ink); font-weight: 700; }

/* ═══════════════════════════════════════════
   SECTION LABEL  ||  Kategorie-Überschrift
   Verwendung: <div class="section-label">Text</div>
═══════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label .bar {
  display: inline-block;
  width: 3px; height: 18px;
  background: var(--pink);
  border-radius: 2px;
}
/* Zwei Bars als ||  */
/* Hilfsvarianten */
.sl-center  { justify-content: center; }
.sl-white   { color: rgba(255,255,255,.65); }
.sl-white::before {
  background:
    linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)) 0/3px 100%,
    linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)) 5px/3px 100%;
  background-repeat: no-repeat;
}

.section-label::before {
  content: '';
  display: inline-flex;
  width: 12px; height: 18px;
  background:
    linear-gradient(var(--pink), var(--pink)) 0/3px 100%,
    linear-gradient(var(--pink), var(--pink)) 5px/3px 100%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: var(--font); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  border-radius: 50px; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--pink);  color: #fff; border-color: var(--pink); }
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); box-shadow: var(--shadow-pink); }
.btn-outline   { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn-outline-dark:hover { background: var(--pink-light); }
.btn-sm        { padding: 9px 20px; font-size: 0.72rem; }
.btn-ghost     { background: var(--gray-bg); color: var(--ink); border-color: var(--gray-line); }
.btn-ghost:hover { background: var(--pink-light); color: var(--pink); }

/* ═══════════════════════════════════════════
   PLACEHOLDER IMAGES
═══════════════════════════════════════════ */
.ph-img {
  width: 100%; border-radius: var(--r-md);
  min-height: 280px;
}
.ph-img-tall { min-height: 380px; }
.ph-img-short { min-height: 200px; }
.ph-img-sq { aspect-ratio: 1; min-height: unset; }

/* ═══════════════════════════════════════════
   MASKING IMAGE (Blob Shape)
═══════════════════════════════════════════ */
.blob-wrap {
  width: 100%; max-width: 460px;
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto;
}
.blob-wrap .blob-img {
  width: 100%; height: 100%;
  clip-path: url(#blob1);
  object-fit: cover;
}
.blob-wrap .blob-ph {
  width: 100%; height: 100%;
  clip-path: url(#blob1);
  display: flex; align-items: center; justify-content: center;
}
.blob-wrap img { width:100%;height:100%;object-fit:cover;clip-path:url(#blob1); }

/* ═══════════════════════════════════════════
   CARDS
═══════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-img img, .card-img .ph-img {
  border-radius: var(--r-md) var(--r-md) 0 0;
  min-height: 200px;
  margin-bottom: 0;
}
.card-img .card-body { padding: 22px; }
.card-img {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;
}
.card-img:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--pink-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--pink); stroke: var(--pink); }

/* ═══════════════════════════════════════════
   GRIDS
═══════════════════════════════════════════ */
.grid-2  { display: grid; grid-template-columns: 1fr 1fr;     gap: 28px; }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.split-50 { display: grid; grid-template-columns: 1fr 1fr;    gap: 56px; align-items: center; }
.split-40-60 { display: grid; grid-template-columns: 4fr 6fr; gap: 56px; align-items: center; }
.split-60-40 { display: grid; grid-template-columns: 6fr 4fr; gap: 56px; align-items: center; }

/* ═══════════════════════════════════════════
   SECTION WRAPPER
═══════════════════════════════════════════ */
.section { padding: 80px 0; background: var(--white); }
.section-gray { padding: 80px 0; background: var(--gray-bg); }
.section-pink { padding: 80px 0; background: var(--pink-xlight); }
.section-dark  { padding: 80px 0; background: var(--blue); }
.section-blue  { padding: 80px 0; background: var(--blue); }
.section-blue-mid { padding: 80px 0; background: var(--blue-mid); }

/* Progress bar */
.progress-wrap { background: var(--gray-line); border-radius: 99px; height: 10px; overflow: hidden; margin: 12px 0; }
.progress-bar { height: 100%; background: var(--pink); border-radius: 99px; transition: width .6s ease; }

/* Blockquote */
blockquote {
  border-left: 4px solid var(--pink);
  padding: 14px 20px;
  background: var(--pink-xlight);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--ink);
}
blockquote cite { display: block; font-size: 0.82rem; font-style: normal; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* Big stat number */
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900; color: var(--pink);
  line-height: 1; letter-spacing: -0.03em;
  display: block; margin-bottom: 8px;
}
.stat-label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.stat-sub   { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* Number step */
.step-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900; color: var(--pink);
  line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: block;
}

/* CTA Trenner */
.cta-stripe {
  background: var(--blue);
  padding: 36px 0;
}
.cta-stripe-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-stripe h3 { font-size: 1.3rem; color: #fff; margin: 0; font-weight: 700; }

/* Full width bg image CTA */
.fw-cta {
  position: relative; overflow: hidden;
  min-height: 420px;
  display: flex; align-items: center;
}
.fw-cta .fw-bg {
  position: absolute; inset: 0;
  background-image: url("https://autismusstiftung.de/enterprise/wp-content/uploads/2026/04/175^_autismus_stiftung_ergebnis.webp");
  background-size: cover;
  background-position: center 30%;
}
.fw-cta .fw-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(108deg, rgba(6,12,45,.92) 0%, rgba(12,22,72,.82) 28%, rgba(14,26,80,.60) 55%, rgba(0,0,0,.15) 100%);
}
.fw-cta .fw-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 60px 40px;
  max-width: 600px;
}
.fw-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.fw-cta p  { color: rgba(255,255,255,.85); font-size: 1rem; }

/* Accordion / FAQ */
.accordion-item {
  border-bottom: 1px solid var(--gray-line);
}
.accordion-btn {
  width: 100%; background: none; border: none;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-family: var(--font);
  font-size: 1rem; font-weight: 700; color: var(--ink);
  text-align: left; gap: 16px;
}
.accordion-btn .chev {
  flex-shrink: 0; width: 22px; height: 22px;
  transition: transform .25s;
  stroke: var(--pink);
}
.accordion-item.open .accordion-btn .chev { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding-bottom: 0;
}
.accordion-item.open .accordion-body {
  max-height: 400px; padding-bottom: 18px;
}

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
input, textarea, select {
  padding: 11px 14px; border: 1.5px solid var(--gray-line);
  border-radius: var(--r-sm); font-family: var(--font); font-size: 0.9rem;
  color: var(--ink); background: var(--white); transition: border-color .2s;
  width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--pink); }
textarea { min-height: 120px; resize: vertical; }
.required { color: var(--pink); }

/* Donation amounts */
.amount-grid { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.amount-btn {
  padding: 10px 20px; border: 2px solid var(--gray-line);
  border-radius: 50px; background: var(--white); cursor: pointer;
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
  transition: all .2s; font-family: var(--font);
}
.amount-btn:hover, .amount-btn.active { border-color: var(--pink); background: var(--pink-light); color: var(--pink); }
.amount-btn.featured { border-color: var(--pink); background: var(--pink); color: #fff; }
.amount-btn.featured:hover { background: var(--pink-dark); }

/* Team card */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 20px 24px;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--pink-light);
}
.team-avatar .ph-img { min-height: unset; height: 100%; border-radius: 50%; }
.team-role { font-size: 0.78rem; color: var(--pink); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.team-card h3 { margin-bottom: 4px; }
.team-card p  { font-size: 0.88rem; }

/* Trust badge */
.trust-badge {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: var(--shadow-sm);
}
.trust-badge svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--pink); stroke: var(--pink); margin-top: 2px; }
.trust-badge strong { display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 2px; }
.trust-badge span { font-size: 0.8rem; color: var(--muted); }

/* Table */
.as-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.as-table th {
  background: var(--pink); color: #fff;
  padding: 12px 16px; text-align: left;
  font-weight: 700; font-size: 0.82rem; letter-spacing: .04em;
}
.as-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-line); }
.as-table tr:last-child td { border-bottom: none; }
.as-table tr:nth-child(even) td { background: var(--gray-bg); }
.as-table tr:hover td { background: var(--pink-xlight); }

/* DIVIDER between components */
.comp-divider { height: 1px; background: var(--gray-line); margin: 0; }

/* Page chrome for the reference doc */
.page-chrome {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.comp-header {
  background: var(--dark-bg);
  padding: 14px 28px;
  display: flex; align-items: center; gap: 14px;
}
.comp-header .comp-id {
  background: var(--pink); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 4px;
  font-family: 'SF Mono', monospace;
}
.comp-header .comp-name {
  color: #fff; font-size: 0.9rem; font-weight: 700;
}
.comp-header .comp-desc {
  color: rgba(255,255,255,.5); font-size: 0.8rem; margin-left: auto;
}

/* Page outer wrapper */
.ref-page { max-width: 1320px; margin: 0 auto; padding: 40px 24px; }
.ref-hero {
  background: linear-gradient(108deg, var(--blue) 0%, var(--blue-mid) 50%, #162060 100%);
  padding: 48px 40px;
  border-radius: 16px;
  margin-bottom: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.ref-hero h1 { color: #fff; font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 8px; }
.ref-hero p  { color: rgba(255,255,255,.65); font-size: 0.92rem; max-width: 520px; }
.ref-section-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 0 20px;
  display: flex; align-items: center; gap: 14px;
}
.ref-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-line);
}
.token-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; padding: 28px;
}
.token-swatch {
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.token-color { height: 56px; }
.token-label { background: #fff; padding: 8px 10px; }
.token-label strong { display: block; font-size: 0.78rem; color: var(--ink); }
.token-label span   { font-size: 0.72rem; color: var(--muted); font-family: monospace; }

/* Two-tile + CTA layout (PDF 01.2) */
.tiles-cta { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; }
.tiles-cta .tile-card { display: flex; flex-direction: column; }
.tiles-cta .tile-card .tile-body { flex: 1; display: flex; flex-direction: column; }
.tiles-cta .tile-card .tile-body p { flex: 1; }
.tile-card {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.tile-card .tile-img .ph-img { min-height: 170px; border-radius: 0; }
.tile-card .tile-body { padding: 16px 18px; }
.tile-card .tile-cat { font-size: 0.75rem; font-weight: 700; color: var(--pink); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.tile-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.tile-card p  { font-size: 0.82rem; }

/* CTA box (inside tile grid) */
.cta-box { padding: 28px 24px; }
.cta-box .section-label { display: flex; }



/* ═══════════════════════════════════════════
   RESPONSIVE OVERRIDES
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .split-50, .split-40-60, .split-60-40 { grid-template-columns: 1fr; gap: 32px; }
  .container { padding: 0 20px; }
  .section, .section-gray, .section-dark, .section-pink { padding: 48px 0; }
  .cta-stripe-inner { flex-direction: column; text-align: center; }
  .fw-cta { min-height: 320px; }
}

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

/* FAQ details/summary custom styling */
.cl-page details {
  border-bottom: 1px solid var(--gray-line);
}
.cl-page details summary {
  padding: 18px 0;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cl-page details summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--pink);
  font-weight: 300;
  transition: transform .2s;
}
.cl-page details[open] summary::after {
  content: '−';
}
.cl-page details > div {
  padding-bottom: 18px;
  color: var(--body);
  line-height: 1.75;
}

/* Ensure cl-page wrapper doesn't conflict with theme */
.cl-page {
  font-family: var(--font);
  color: var(--body);
  line-height: 1.75;
}
.cl-page img {
  max-width: 100%;
  height: auto;
}










/* -- Hero-to-Section gap v4 -- */
.c27-top-content-margin {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hero-v1 {
  padding-bottom: 24px !important;
  justify-content: flex-end !important;
}
.cl-page > .section:first-of-type {
  padding-top: 40px !important;
}


/* -- Phone icon-btn link fix -- */
.nav-wrap .nav-actions a.icon-btn,
.nav-wrap .nav-actions a.icon-btn svg,
a.icon-btn[aria-label="Kontakt"],
a.icon-btn[aria-label="Kontakt"] svg {
  color: #231F20 !important;
  stroke: #231F20 !important;
  text-decoration: none !important;
}
.nav-actions a.icon-btn:hover,
.nav-actions a.icon-btn:hover svg {
  color: #D82E67 !important;
  stroke: #D82E67 !important;
}

/* -- Footer Trust: full-width, 4 equal columns on desktop -- */
.f-trust {
  grid-column: 1 / -1 !important;
}
@media (min-width: 1024px) {
  .f-trust-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .f-trust-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 767px) {
  .f-trust-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
}


/* phone-link-fix */
.nav-wrap .nav-actions a[aria-label="Kontakt"],
.nav-wrap .nav-actions a[aria-label="Kontakt"] svg {
  color: #231F20 !important;
  stroke: #231F20 !important;
}
.nav-wrap .nav-actions a[aria-label="Kontakt"]:hover,
.nav-wrap .nav-actions a[aria-label="Kontakt"]:hover svg {
  color: #D82E67 !important;
  stroke: #D82E67 !important;
}


/* -- Search Overlay -- */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,12,45,0.92);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}
.search-overlay-inner form {
  display: flex;
  gap: 0;
}
.search-overlay-inner input[type="search"] {
  flex: 1;
  font-size: 20px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px 0 0 12px;
  outline: none;
  background: #fff;
  color: #060C2D;
}
.search-overlay-inner input[type="search"]::placeholder {
  color: #999;
}
.search-overlay-inner button[type="submit"] {
  padding: 16px 24px;
  border: none;
  border-radius: 0 12px 12px 0;
  background: #D82E67;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.search-overlay-inner button[type="submit"]:hover {
  background: #c0245a;
}
.search-overlay .close-overlay {
  position: absolute;
  top: 32px; right: 32px;
  width: 48px; height: 48px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.search-overlay .close-overlay:hover {
  background: rgba(255,255,255,0.1);
}

/* -- Login Overlay -- */
.login-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,12,45,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.login-overlay.active {
  opacity: 1;
  visibility: visible;
}
.login-overlay-inner {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
}
.login-overlay-inner h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #060C2D;
  margin: 0 0 8px;
}
.login-overlay-inner p {
  color: #666;
  margin: 0 0 32px;
  font-size: 15px;
}
.login-overlay-inner .login-field {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.login-overlay-inner .login-field:focus {
  border-color: #D82E67;
}
.login-overlay-inner .login-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #D82E67;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.login-overlay-inner .login-submit:hover {
  background: #c0245a;
}
.login-overlay .close-overlay {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.login-overlay .close-overlay:hover {
  background: #f0f0f0;
  color: #333;
}

/* -- Hero content: move up -- */
.hero-v1 {
  justify-content: flex-end !important;
}
.hero-v1 .hero-breadcrumb {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
}


/* -- Hero content position fine-tune -- */
.hero-v1 .hero-content {
  margin-bottom: 32px !important;
}


/* -- Donate Overlay -- */
.donate-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,12,45,0.92);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  padding: 24px;
}
.donate-overlay.active {
  opacity: 1;
  visibility: visible;
}
.donate-overlay-inner {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.donate-overlay .close-overlay {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.donate-overlay .close-overlay:hover {
  background: #f0f0f0;
  color: #333;
}
.donate-header {
  text-align: center;
  margin-bottom: 24px;
}
.donate-header h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #060C2D;
  margin: 8px 0 6px;
}
.donate-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Amount buttons */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.amount-btn {
  padding: 12px 0;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  color: #060C2D;
  cursor: pointer;
  transition: all .2s;
}
.amount-btn:hover {
  border-color: #D82E67;
  color: #D82E67;
}
.amount-btn.active {
  border-color: #D82E67;
  background: rgba(216,46,103,0.08);
  color: #D82E67;
}
.amount-custom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.amount-custom:focus-within {
  border-color: #D82E67;
}
.amount-custom span {
  padding: 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #999;
}
.amount-custom input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 12px 12px 0;
  font-size: 16px;
  color: #060C2D;
}

/* Fields */
.donate-fields {
  margin-bottom: 20px;
}
.donate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.donate-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.donate-input:focus {
  border-color: #D82E67;
}

/* Payment methods */
.donate-methods h3 {
  font-size: 14px;
  font-weight: 700;
  color: #060C2D;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.method-tab {
  flex: 1;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.method-tab.active {
  border-color: #D82E67;
  color: #D82E67;
  background: rgba(216,46,103,0.05);
}
.bank-details {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.bank-details p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #444;
}
.bank-ref {
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px solid #e0e0e0;
  color: #D82E67 !important;
}
.donate-submit {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #D82E67;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.donate-submit:hover {
  background: #c0245a;
}
.paypal-btn {
  background: #0070ba;
  color: #fff !important;
}
.paypal-btn:hover {
  background: #005ea6;
}
.donate-footer-note {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 16px 0 0;
  line-height: 1.5;
}

/* === RESPONSIVE FIXES 2026-04-16 === */

/* iPad Pro / Tablet: hide btn-donate, show only icons */
.vp-tablet .btn-donate {
  display: none !important;
}

/* Hero CTAs: side by side on desktop */
.hero-ctas {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}
.hero-cta {
  white-space: nowrap !important;
}

/* iPhone / small mobile: footer grid single column, prevent overflow */
@media (max-width: 480px) {
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    overflow: hidden !important;
  }
  .f-nav, .f-brand, .f-trust {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
  }
  .f-nav ul {
    padding-left: 0 !important;
    list-style: none !important;
  }
}

/* === DARK SECTION TEXT COLORS === */
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: #fff !important;
}
.section-dark .section-label,
.section-blue .section-label {
  color: var(--pink) !important;
}
.section-dark .stat-label,
.section-blue .stat-label {
  color: #fff !important;
}
.section-dark .stat-sub,
.section-blue .stat-sub {
  color: rgba(255,255,255,0.7) !important;
}
.section-dark p,
.section-blue p {
  color: rgba(255,255,255,0.85) !important;
}
.section-dark .stat-num,
.section-blue .stat-num {
  color: var(--pink) !important;
}

/* === AS-PAGE CONTENT STYLING v1.0 === */

/* Content wrapper */
.as-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  font-family: 'Roboto', sans-serif;
  color: var(--ink, #231F20);
  line-height: 1.75;
}
.as-content-wrap > .section-label:first-child {
  display: none; /* hero already shows this */
}

/* Headings inside content */
.as-page h2,
.as-content-wrap h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--blue, #060C2D);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--pink, #D82E67);
  line-height: 1.3;
}
.as-page h2:first-child,
.as-content-wrap h2:first-child {
  margin-top: 0;
}
.as-page h3,
.as-content-wrap h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--blue, #060C2D);
  margin: 32px 0 12px;
  line-height: 1.35;
}

/* Paragraphs */
.as-page p,
.as-content-wrap p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.75;
}

/* Lists */
.as-page ul,
.as-content-wrap ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.as-page ul li,
.as-content-wrap ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  line-height: 1.65;
}
.as-page ul li::before,
.as-content-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--pink, #D82E67);
  border-radius: 50%;
}

/* Info box */
.as-page .info-box,
.as-content-wrap .info-box {
  background: #f0f4ff;
  border-left: 4px solid var(--blue, #060C2D);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.as-page .info-box p:last-child,
.as-content-wrap .info-box p:last-child { margin-bottom: 0; }

/* Warning / highlight box */
.as-page .warn-box,
.as-content-wrap .warn-box {
  background: #fff5f8;
  border-left: 4px solid var(--pink, #D82E67);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.as-page .warn-box p:last-child,
.as-content-wrap .warn-box p:last-child { margin-bottom: 0; }

/* Cards in grid */
.as-page .grid-2,
.as-content-wrap .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 600px) {
  .as-page .grid-2,
  .as-content-wrap .grid-2 {
    grid-template-columns: 1fr;
  }
}
.as-page .card,
.as-content-wrap .card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
}
.as-page .card:hover,
.as-content-wrap .card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.as-page .card h3,
.as-content-wrap .card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--pink, #D82E67);
  border: none;
  padding: 0;
}
.as-page .card p,
.as-content-wrap .card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* CTA section */
.as-page .cta-section,
.as-content-wrap .cta-section {
  background: linear-gradient(135deg, var(--blue, #060C2D) 0%, #1a2456 100%);
  border-radius: 16px;
  padding: 40px 32px;
  margin: 40px 0;
  text-align: center;
  color: #fff;
}
.as-page .cta-section h3,
.as-content-wrap .cta-section h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}
.as-page .cta-section p,
.as-content-wrap .cta-section p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
}
.as-page .cta-button,
.as-content-wrap .cta-button {
  display: inline-block;
  background: var(--pink, #D82E67);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background .2s, transform .2s;
}
.as-page .cta-button:hover,
.as-content-wrap .cta-button:hover {
  background: #c0245a;
  transform: translateY(-1px);
}

/* CTA stripe (bottom) */
.as-content-wrap + .cta-stripe,
.as-content-wrap .cta-stripe,
section.cta-stripe {
  background: var(--pink, #D82E67);
  padding: 32px 20px;
  text-align: center;
  border-radius: 0;
  margin: 0;
}
section.cta-stripe .container {
  max-width: 820px;
  margin: 0 auto;
}
section.cta-stripe p {
  color: #fff !important;
  font-size: 1.1rem;
  margin: 0 0 16px;
  font-weight: 600;
}
section.cta-stripe .btn {
  display: inline-block;
  background: #fff;
  color: var(--pink, #D82E67) !important;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s;
}
section.cta-stripe .btn:hover {
  background: #f5f5f5;
}

/* Weiterführende Links – cleaner */
.as-page h2:last-of-type + ul,
.as-content-wrap h2:last-of-type + ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}
.as-page h2:last-of-type + ul li,
.as-content-wrap h2:last-of-type + ul li {
  padding: 0;
}
.as-page h2:last-of-type + ul li::before,
.as-content-wrap h2:last-of-type + ul li::before {
  display: none;
}
.as-page h2:last-of-type + ul li a,
.as-content-wrap h2:last-of-type + ul li a {
  display: inline-block;
  padding: 8px 18px;
  background: #f5f5f5;
  border-radius: 50px;
  color: var(--blue, #060C2D);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.as-page h2:last-of-type + ul li a:hover,
.as-content-wrap h2:last-of-type + ul li a:hover {
  background: var(--pink, #D82E67);
  color: #fff;
}

/* Links in content */
.as-page a,
.as-content-wrap a {
  color: var(--pink, #D82E67);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.as-page a:hover,
.as-content-wrap a:hover {
  color: #c0245a;
  text-decoration: underline;
}

/* Strong emphasis in lists */
.as-page li strong,
.as-content-wrap li strong {
  color: var(--blue, #060C2D);
}

/* === TOC NAVIGATION v1.0 === */
.toc-nav {
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.toc-nav .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.toc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink, #D82E67);
  white-space: nowrap;
}
.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.toc-links a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue, #060C2D);
  text-decoration: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all .2s;
}
.toc-links a:hover,
.toc-links a.active {
  background: var(--pink, #D82E67);
  color: #fff;
  border-color: var(--pink, #D82E67);
}
@media (max-width: 600px) {
  .toc-nav { position: relative; }
  .toc-nav .container { flex-direction: column; align-items: flex-start; }
  .toc-links { gap: 4px; }
  .toc-links a { font-size: 0.75rem; padding: 5px 10px; }
}

/* === SOURCES LIST === */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.source-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.source-tag {
  display: inline-block;
  background: var(--blue, #060C2D);
  color: #fff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.source-item p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  color: #555 !important;
}
.source-item em {
  color: var(--blue, #060C2D);
}
.source-ref {
  font-size: 0.78rem !important;
  color: #999 !important;
  margin-top: 6px !important;
  font-style: italic;
}
@media (max-width: 600px) {
  .source-item { flex-direction: column; gap: 8px; }
}

/* === NEWS WIDGET === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 24px;
  text-decoration: none !important;
  color: var(--ink, #231F20) !important;
  transition: box-shadow .2s, transform .2s;
}
.news-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.news-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.news-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue, #060C2D);
  margin: 0 0 8px;
  line-height: 1.35;
}
.news-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  margin: 0 0 12px;
  flex-grow: 1;
}
.news-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink, #D82E67) !important;
}

/* === PILL LINKS === */
.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pill-links a {
  display: inline-block;
  padding: 8px 18px;
  background: #f5f5f5;
  border-radius: 50px;
  color: var(--blue, #060C2D) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.pill-links a:hover {
  background: var(--pink, #D82E67);
  color: #fff !important;
}

/* === GRID-3 CONTENT CARDS === */
.as-content-wrap .grid-3,
.cl-page .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .as-content-wrap .grid-3,
  .cl-page .grid-3 { grid-template-columns: 1fr; }
}

/* === SMOOTH SCROLL FOR ANCHORS === */
html { scroll-behavior: smooth; }

/* === 404 PAGE v1.0 === */
.err404-hero {
  background: linear-gradient(135deg, var(--blue, #060C2D) 0%, #1a2456 100%);
  padding: 80px 20px 64px;
  text-align: center;
  color: #fff;
}
.err404-badge {
  display: inline-block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--pink, #D82E67);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.err404-hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.err404-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Search */
.err404-search {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.err404-search input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: var(--ink, #231F20);
  outline: none;
  background: transparent;
}
.err404-search button {
  border: none;
  background: var(--pink, #D82E67);
  color: #fff;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
}
.err404-search button:hover { background: #c0245a; }

/* Link cards */
.err404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 28px 20px;
  text-decoration: none !important;
  color: var(--ink, #231F20) !important;
  transition: box-shadow .2s, transform .2s;
}
.err404-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.err404-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--pink, #D82E67);
  stroke: var(--pink, #D82E67);
}
.err404-icon svg { stroke: var(--pink, #D82E67); }
.err404-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue, #060C2D);
  margin: 0 0 6px;
}
.err404-card p {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
  line-height: 1.45;
}

/* Link lists in cards */
.err404-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
}
.err404-links li {
  padding: 4px 0 !important;
}
.err404-links li::before { display: none !important; }
.err404-links a {
  color: var(--blue, #060C2D) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}
.err404-links a:hover {
  color: var(--pink, #D82E67) !important;
}
