/* =====================================================================
   STYLE.CSS - Mein Notfallpass
   Projekt: https://mein-notfallpass.de
   =====================================================================

   TABLE OF CONTENTS
   =====================================================================

   00. Meta & Charset
   01. CSS Variables & Design Tokens (:root)
   02. Reset & Base Styles
   03. Typography & Text Styles
   04. Layout & Container
   05. Navigation & Header
       05.1 Main Navigation
       05.2 User Menu & Dropdown
       05.3 Navigation Icons (Custom SVG)
   06. Buttons & Interactive Elements
   07. Forms & Input Fields
   08. Cards & Components
   09. Utilities & Helper Classes
   10. Page-Specific Styles
       10.1 Home Page
       10.2 Services Pages
       10.3 About Us
       10.4 FAQ
       10.5 Partner Page
       10.6 Contact Page
       10.7 Admin Pages
   11. Media Queries & Responsive
   12. Print Styles
   13. Third-Party (Cookie Consent, etc.)

   ===================================================================== */

@charset "UTF-8";

/* =====================================================================
   00. META & PROJECT INFO
   ===================================================================== */
/**
 * Project: Mein Notfallpass
 * Version: 2.0
 * Last Updated: 2026-01-06
 * Maintainer: Development Team
 *
 * Notes:
 * - WCAG 2.1 AA compliant color contrasts
 * - Mobile-first responsive design
 * - CSS Variables for theming
 */

/* =====================================================================
   01. CSS VARIABLES & DESIGN TOKENS
   ===================================================================== */
/* =====================================================================
   02. RESET & BASE STYLES
   ===================================================================== */
/**
 * Modern CSS Reset
 * - Box-sizing reset for all elements
 * - Remove default margins and paddings
 * - Set base font size and line height
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Hilfsklasse: Inhalte fÃ¼r Screenreader verfÃ¼gbar, visuell ausgeblendet */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Container-Helfer fÃ¼r Inhalte im Main-Bereich */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/**
 * Design Tokens & CSS Variables
 *
 * All design tokens are centralized here for easy theming
 * and maintenance. Follows WCAG 2.1 AA color contrast requirements.
 */
:root {
  /* Farben Markenwelt */
  --primary: #1F2A44;
  /* Hauptblau dunkel, Header/Buttons */
  --primary-600: #0f2742;
  /* noch dunkler fÃ¼r Hover/Abgrenzungen */
  --primary-100: #f7f9fc;
  /* helle FlÃ¤chen */

  --secondary: #00FFFF;
  /* Akzent TÃ¼kis */
  --accent: #0096a6;
  /* Akzent Gelb fÃ¼r Fokus/Indikatoren */

  --text-dark: #111111;
  /* Text auf hellem Hintergrund */
  --text-light: #FFFFFF;
  /* Text auf dunklem Hintergrund */
  --text-muted: #2a3a4a;
  /* dezente Hinweise */

  --border: #e1e7f0;
  /* helle Rahmenfarbe */
  --border-strong: #c7d1e0;
  /* stÃ¤rkere Rahmenfarbe */

  --bg-light: #FFFFFF;
  /* helle Karten-/InhaltsflÃ¤chen */
  --bg-dark: #000000;
  /* optionaler dunkler Hintergrund */

  --bg-soft: #f7f9fc;
  /* weiche HintergrÃ¼nde (Karten/Boxen) */
  --primaryHover: #0f2742;
  /* Hover-Farbe fÃ¼r Buttons/FlÃ¤chen */

  --shadow: rgba(0, 0, 0, 0.08);

  /* Typografie */
  --fs-xl: clamp(1.6rem, 2.5vw, 2.2rem);
  --fs-lg: 1.5rem;
  --fs-md: 1.125rem;
  --fs-sm: 1rem;

  /* AbstÃ¤nde */
  --gap-xs: .35rem;
  --gap-sm: .5rem;
  --gap-md: 1rem;
  --gap-lg: 2rem;

  /* Radius & Fokus */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* WCAG 2.1 AA â€“ zentrale Variablen */
  --focus-ring: 3px solid #0096a6;
  --focus-alt: 3px solid #99c2ff;
  --sticky-offset: 64px;
  --skip-bg: var(--primary);
  --skip-color: var(--text-light);
  --skip-x: .75rem;
  --skip-y: .75rem;
  --surface: #ffffff;
}

/* Theme Toggle Icons - Basis-Styles */
.theme-icon {
  width: 20px;
  height: 20px;
  transition: opacity 0.2s, transform 0.2s;
}

.theme-icon--sun {
  display: block;
}

.theme-icon--moon {
  display: none;
}

.codeeingabe {
  display: flex;
  align-items: center;
  gap: 8px;
}

.codeeingabe input {
  height: 36px;
  padding: 6px 10px;
  max-width: 380px;
}

.codeeingabe button {
  height: 36px;
}

/* Mobile: Wortmarke Ã¼ber dem Code-Feld anzeigen */
/* ===== Header/Nav Ã¯Â¿Â½ CLEAN ===== */
.main-nav {
  background: var(--primary, #1f2a44);
  color: #fff;
  position: relative;
  z-index: 20
}

.main-nav .nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  position: relative;
  overflow: visible
}

.main-nav a {
  color: inherit;
  text-decoration: none
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.main-nav li {
  display: inline-flex;
  align-items: center;
  gap: .5rem
}

/* Hamburger */
.nav-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.nav-toggle .icon-bars {
  width: 22px;
  height: 22px;
  fill: #fff
}

/* ===== User-Dropdown (einheitlich fÃ¯Â¿Â½r alle Breakpoints) ===== */
.nav-user {
  position: relative
}

.nav-user__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  padding: 6px 0;
  z-index: 10000;
  white-space: nowrap
}

.nav-user.is-open .nav-user__menu {
  display: block
}

.nav-user__menu li {
  display: block
}

.nav-user__menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem !important;
  color: #111 !important;
  text-decoration: none;
  border-radius: 8px
}

.nav-user__menu a:hover,
.nav-user__menu a:focus {
  background: #f3f6ff;
  outline: none
}

.nav-user__group-title {
  padding: .45rem .9rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #6b7280;
  text-transform: uppercase
}

.nav-user__separator {
  height: 1px;
  background: #e5e7eb;
  margin: .35rem .6rem;
  border-radius: 1px
}

/* =====================================================================
   31) Export Batch PDF Buttons
   Hinweis: bewusst minimal, kollisionsarm.
   =====================================================================
   ===================================================================== */
.export-actions {
  margin: 1rem 0;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.export-actions .btn {
  cursor: pointer;
  text-decoration: none;
}

.export-range {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.export-range input[type="number"] {
  width: 7rem;
  padding: .35rem .5rem;
}

/* =====================================================================
   32) Form-Actions mit Zeitstempel rechts
   =====================================================================
   ===================================================================== */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .75rem;
}

.form-actions .updated {
  margin-left: auto;
  font-size: .9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Kartenbilder konsistent skalieren */
.feature-list--grid .feature-media,
.feature-item .feature-media {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.feature-item .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Split-Layout: Text + Bild nebeneinander */
.feature-item--split {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 1.25rem;
  align-items: center;
}

.feature-item--split .feature-media {
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 480px;
}

/* Optional: Obergrenze fÃ¯Â¿Â½r KartenhÃ¶he */
.feature-list--grid .feature-media {
  max-height: 220px;
}

/* === HERO ÃœBERSCHRIFT ÃœBER DEM BILD =============================== */
#home-main .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  position: relative;
}

/* Panel und Bild: Bild etwas nach unten, Text bleibt oben */
#home-main .hero .panel {
  align-self: start;
  padding-top: var(--space-lg);
}

#home-main .hero .figure {
  align-self: end;
  margin-top: var(--space-sm);
}

/* Ãœberschrift direkt Ã¼ber dem Bild, bÃ¼ndig links mit Bildkante */
#home-main .hero h1 {
  margin-bottom: var(--space-md);
  color: #fff;
  font-size: var(--fs-xxl);
  line-height: 1.1;
  position: relative;
  z-index: 3;
}

/* Button visuell klarer */
#home-main .hero .btn {
  margin-top: var(--space-sm);
  background: #fff;
  color: var(--accent);
  border: none;
  padding: .8rem 1.2rem;
  border-radius: .6rem;
  font-weight: 600;
}

#home-main .hero .btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Mobile: alles Ã¼bereinander, Text bleibt oben */


/* Continuation of 12.7 ADMIN PAGES - Admin Interface */
/**
 * Admin page specific styles
 * Applies only to /admin.php
 */
.admin-wrap {
  margin-top: 1.5rem;
}

/* Abstand zwischen service-header und Cards in admin.php */
.service-section .service-header {
  margin-bottom: 2rem;
}

/* 2-Spalten-Grid für Code-Generator und PDF-Export - breiter */
.admin-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .admin-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* 2-Spalten-Grid für Code zurücksetzen und Pass-Statistiken */
.admin-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .admin-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Grid: mobil 1 Spalte, ab 1069px zwei Spalten */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Card Header optisch klarer */
.card>header {
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: .75rem 1rem;
  border-top-left-radius: var(--radius, 12px);
  border-top-right-radius: var(--radius, 12px);
}

.card>header h2 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.card .body {
  padding: 1rem;
}

/* Form */
.admin-form .form-group {
  margin-bottom: .75rem;
}

.admin-form label {
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
}

.admin-form input[type="number"],
.admin-form input[type="text"] {
  width: 100%;
  max-width: 360px;
}

.admin-form .checkbox {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.admin-form .form-actions {
  margin-top: .5rem;
}

/* Exportbereich */
.export-actions {
  display: grid;
  gap: .75rem;
}

.export-actions .export-range {
  display: grid;
  grid-template-columns: auto 120px auto 120px auto;
  gap: .5rem .75rem;
  align-items: center;
}

.export-actions .btn {
  white-space: nowrap;
}



/* Ergebnisliste */
.admin-results .body {
  padding-top: 0;
}

.result-item {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: .75rem 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--border, #d7dce3);
}

.result-item:last-child {
  border-bottom: 0;
}

.result-qr img {
  display: block;
  width: 108px;
  height: auto;
}

.result-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .95rem;
}

.result-meta strong {
  font-weight: 700;
  color: var(--primary, #1f2a44);
}

/* Kleintext */
.text-muted.small {
  font-size: .85rem;
  color: var(--text-muted, #6b7280);
}

/* =====================================================================
   12.7.1 ADMIN PAGES - Pass-Statistiken
   ===================================================================== */
/**
 * Statistik-Card fÃ¼r Admin-Bereich
 * Zeigt Ãœbersicht Ã¼ber Pass-Status
 */

/* Grid fÃ¼r Statistik-Boxen */
.stats-grid {
  display: grid;
  gap: 1rem;
}

/* Basis fÃ¼r Statistik-Box */
.stat-item {
  padding: 0.75rem;
  border-radius: 8px;
}

/* Varianten fÃ¼r verschiedene Statistik-Typen */
.stat-item--default {
  background: #f7f9fc;
}

.stat-item--success {
  background: #e8f5e9;
}

.stat-item--warning {
  background: #fff3e0;
}

.stat-item--info {
  background: #f3e5f5;
}

.stat-item--neutral {
  background: #eceff1;
}

/* Label Ã¼ber der Zahl */
.stat-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.25rem;
}

/* GroÃŸe Zahl */
.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-value--default {
  color: #1F2A44;
}

.stat-value--success {
  color: #2e7d32;
}

.stat-value--warning {
  color: #f57c00;
}

.stat-value--info {
  color: #7b1fa2;
}

.stat-value--neutral {
  color: #546e7a;
}

/* Kleine Zahl/Text unter der Hauptzahl */
.stat-meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Hinweisbereich unter den Statistiken */
.stats-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e7f0;
}

.stats-hint small {
  color: #666;
}

/* =====================================================================
   34) FAQ: Layout, Accordion, Typografie
   =========================================================
   ===================================================================== */
/* Grid fÃ¼r diese Seite */
#faq-page {
  --sticky-offset: 80px;
  row-gap: 1.5rem;
}

/* Header ruhiger, grÃ¶ÃŸer */
.service-header {
  background: var(--primary-900, #0b1a2d);
  color: var(--text-light);
  border-radius: .6rem;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.service-header h1 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.25;
}

.service-header .lead {
  margin-top: .4rem;
  font-size: 1.05rem;
  opacity: .9;
}

/* Sidebar feiner */
.service-sidebar {
  top: var(--sticky-offset, 80px);
  border-radius: .6rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.service-sidebar a {
  display: block;
  padding: .5rem .6rem;
  border-radius: .4rem;
}

.service-sidebar a:hover,
.service-sidebar a:focus {
  background: var(--primary-50, #eef4ff);
  color: var(--primary-900, #0b1a2d);
}

/* Accordion Cards */
.faq .faq-item {
  margin: .75rem 0;
  border: 1px solid var(--border, #e1e7f0);
  border-radius: .6rem;
  background: var(--bg, #fff);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.1rem 1rem 2rem;
  line-height: 1.6;
  /* mehr ZeilenhÃ¶he */
  font-weight: 600;
}

.faq .faq-item .a {
  padding: .9rem 1.1rem 1.2rem 2rem;
  line-height: 1.75;
  /* luftiger Text */
}

/* zugÃ¤nglicher Chevron ohne Sonderzeichen */
.faq .faq-item summary {
  position: relative;
}

.faq .faq-item summary::before {
  content: "";
  position: absolute;
  left: .9rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .2s ease;
}

.faq .faq-item[open] summary::before {
  transform: translateY(-50%) rotate(45deg);
}

/* Fokus klar */
.faq .faq-item summary:focus {
  outline: var(--focus-ring, 2px solid #3b82f6);
  outline-offset: 2px;
  border-radius: .4rem;
}

/* Back-to-top Link */
.back-top {
  margin-top: 1rem;
}

.back-top .link-quiet {
  text-decoration: underline;
}

/* Mobile: einspaltig */


/* Notices kompatibel mit bestehender Messaging-Farbenwelt */
.notice {
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin: .75rem 0 1rem;
  border: 1px solid var(--border, #e1e7f0);
  background: var(--bg-soft, #f7f9fc);
}

.notice--ok {
  border-left: 4px solid #2e7d32;
  background: #e8f5e9;
}


/* =====================================================================
   35) Media: Min-Width (mobile-first)
   =====================================================================
   ===================================================================== */
@media (min-width:600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:700px) {
  .cards.cards--about {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--hero {
    grid-template-columns: 1.6fr 1fr;
  }

  #about-main .cards.cards--grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about-main .card--hero {
    grid-template-columns: 1.6fr 1fr;
  }
}

@media (min-width:720px) {
  #home-main .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:768px) {
  .service-header--split {
    grid-template-columns: 1fr 2fr;
    text-align: left;
  }

  .service-header--split .hero-copy {
    margin: 0;
    text-align: left;
  }
}

@media (min-width:800px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:960px) {
  .page-layout {
    grid-template-columns: 240px 1fr;
  }

  .filter-nav ul {
    flex-direction: column;
    overflow: visible;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:980px) {
  .layout {
    grid-template-columns: 280px 1fr;
  }
}

@media (min-width:1024px) {
  #home-main .hero .panel {
    max-width: 46ch;
  }

  #home-main .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.cards--about {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--hero {
    grid-column: 1 / -1;
    grid-template-columns: 2fr 1fr;
    padding: 1.25rem;
  }

  #about-main .cards.cards--grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #about-main .card--hero {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width:1069px) {
  .nav-toggle {
    display: none
  }

  .nav-left {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
  }

  .nav-right {
    display: flex;
    gap: 1rem;
    margin-left: auto
  }

  .main-nav a {
    padding: .35rem .6rem
  }

  .admin-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

@media (min-width:1200px) {
  .service-header--split {
    grid-template-columns: 1fr 3fr;
  }
}

/* =====================================================================
   36) Media: Max-Width (progressive enhancement)
   =====================================================================
   ===================================================================== */
@media (max-width:480px) {
  .nav-user__name {
    display: none;
  }

  .export-actions .export-range {
    grid-template-columns: 1fr 1fr;
  }

  .export-actions .export-range label {
    display: none;
  }
}

/* Mobile Layout Kompakt: reduziert Padding und Typo im Content Bereich */
@media (max-width:520px) {
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
  }

  /* Hauptbereich kompakter, verhindert horizontales Ziehen */
  main {
    max-width: 100%;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  section.content {
    max-width: 100%;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  .container,
  .wrap {
    max-width: 100%;
    padding: 1rem .75rem;
  }

  /* Karten und Grid dÃ¼rfen nicht breiter als Viewport werden */
  .card,
  .grid,
  .layout,
  .media {
    min-width: 0;
    max-width: 100%;
  }

  /* Lange Tabellen oder Inhalte scrollen intern statt das Layout zu sprengen */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* GroÃŸe Ãœberschriften im Content etwas reduzieren */
  section.content h1 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}



@media (max-width:600px) {
  .form-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
  }

  .form-actions .btn {
    align-self: stretch;
  }

  .feature-list--grid .feature-media {
    max-height: 180px;
  }
}

@media (max-width:640px) {
  .card-grid>.card {
    grid-column: span 12;
  }
}

@media (max-width:719.98px) {
  #home-main .hero {
    grid-template-columns: 1fr;
  }

  #home-main .hero .panel,
  #home-main .hero .figure {
    max-width: none;
    align-self: center;
    text-align: center;
  }

  #home-main .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width:768px) {

  header,
  nav,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions>.btn {
    width: 100%;
    text-align: center;
  }

  nav {
    gap: var(--gap-md);
  }

  main,
  section.content,
  .container,
  .wrap {
    padding: var(--gap-md);
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .media {
    align-items: flex-start;
  }

  .header-inner {
    grid-template-areas:
      "logo"
      "brand"
      "form";
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logo {
    grid-area: logo;
  }

  .brandwordmark {
    grid-area: brand;
    align-self: center;
    order: 2;
    margin-top: 4px;
  }

  .header-actions {
    grid-area: form;
    order: 3;
    justify-self: stretch;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .theme-icon {
    width: 20px;
    height: 20px;
  }

  .theme-icon--sun {
    display: block;
  }

  .theme-icon--moon {
    display: none;
  }

  .codeeingabe {
    width: 100%;
    flex: 1;
  }

  .codeeingabe input {
    flex: 1;
  }

  .main-nav .nav-inner {
    display: flex;
    align-items: center;
    gap: 8px
  }

  /* Burger LINKS */
  .nav-toggle {
    display: flex;
    order: 1;
    margin-right: .5rem
  }

  /* User-Leiste RECHTS sichtbar */
  .nav-right {
    order: 3;
    margin-left: auto;
    display: flex;
    gap: .75rem
  }

  /* Linke Liste als Panel unter der Leiste */
  #mainNavLeft {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: var(--primary, #1f2a44);
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    z-index: 2
  }

  .main-nav.is-open #mainNavLeft {
    display: flex
  }
}

@media (max-width:900px) {
  .aboutus-layout {
    grid-template-columns: 1fr;
  }

  .aboutus-image {
    margin-top: var(--gap-md);
    text-align: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    max-height: none;
  }

  .service-wrapper {
    flex-direction: column;
  }

  #main-content .service-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width:960px) {
  .feature-item--split {
    grid-template-columns: 1fr;
  }

  .feature-item--split .feature-media {
    max-width: none;
    aspect-ratio: 16/9;
  }
}

@media (max-width:992px) {
  .service-header--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width:1100px) {
  .card-grid>.card {
    grid-column: span 6;
  }
}

/* =====================================================================
   37) Media: Range Queries
   =====================================================================
   ===================================================================== */
@media (min-width:769px) and (max-width:1068px) {
  .nav-toggle {
    display: none;
  }

  /* Container bleibt in einer Zeile */
  .main-nav .nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    /* verhindert den Zeilenumbruch */
  }

  /* Linke Liste kann innerhalb ihres Bereichs umbrechen */
  .nav-left {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    /* erlaubt internen Umbruch */
    flex: 1 1 auto;
    /* dehnt sich aus, aber verdrÃ¯Â¿Â½ngt nichts */
    min-width: 0;
    /* Fix fÃ¯Â¿Â½r Safari/Chrome Ã¯Â¿Â½ verhindert Push nach unten */
  }

  /* Rechte Liste bleibt fest rechts */
  .nav-right {
    display: flex;
    gap: .8rem;
    margin-left: auto;
    /* schiebt sie nach rechts */
    flex: 0 0 auto;
    white-space: nowrap;
    /* keine ZeilenumbrÃ¯Â¿Â½che */
  }

  .main-nav a {
    padding: .3rem .55rem;
  }
}

/* =====================================================================
   38) Media: User Preferences
   =====================================================================
   ===================================================================== */
@media (prefers-reduced-motion:reduce) {
  #home-main .card {
    transition: none;
  }
}

/* =====================================================================
   39) Media: Print
   =====================================================================
   ===================================================================== */
@media (print) {

  body,
  main,
  footer {
    background: var(--bg-light) !important;
    color: var(--text-dark) !important;
  }

  header,
  nav,
  footer {
    display: none !important;
  }
}

/* 12.9 SUPPORT/DONATE PAGE (#unterstuetzen) */
/**
 * Support page with donation options
 * Grid layout with equal boxes
 */
#unterstuetzen .feature-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#unterstuetzen .feature-item {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  min-height: 240px;
  /* gleichmÃ¤ÃŸig hohe Boxen */
}

#unterstuetzen .feature-item:hover,
#unterstuetzen .feature-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  border-color: rgba(31, 42, 68, .18);
}

/* Bildabschnitt */
#unterstuetzen .feature-media {
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 .9rem 0;
  aspect-ratio: 16/9;
}

#unterstuetzen .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Textabschnitt */
#unterstuetzen .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .4rem;
}

#unterstuetzen .feature-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

#unterstuetzen .feature-body p {
  margin: 0;
  color: var(--text-muted, #4b5563);
  font-size: .95rem;
  line-height: 1.55;
}

#unterstuetzen .feature-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive */
@media (max-width:700px) {
  #unterstuetzen .feature-item {
    padding: 1rem;
    min-height: 210px;
  }
}

/* =====================================================================
   12.10 ACTIVATION PAGE (#aktivierung)
   ===================================================================== */
/**
 * Activation/Registration page styles
 */
#aktivierung {
  width: 100%;
  max-width: 1280px;
  /* gleiche Gesamtbreite */
  margin: 0 auto 3rem auto;
  text-align: left;
}

#aktivierung h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

/* Box mit gleicher FlÃ¤che wie Vorteilskartencontainer */
#aktivierung .aktivierung-box {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 2rem 2rem 2.25rem;
  width: 100%;
}

/* Steps */
#aktivierung .steps-list {
  counter-reset: step;
  list-style: none;
  margin: 0 auto 2rem auto;
  padding: 1rem 1.5rem;
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 10px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, .04);
}

#aktivierung .steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.6rem 0;
}

/* Zahlenkreise, immer gleiche GrÃ¶ÃŸe, kein ZusammendrÃ¼cken */
#aktivierung .steps-list li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.08);
  flex-shrink: 0;
}

#aktivierung h3 {
  font-size: 1.2rem;
  color: var(--primary, #1f2a44);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

#aktivierung p {
  max-width: 900px;
  margin: 0.4rem auto;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: center;
}

#aktivierung .claim {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--primary, #1f2a44);
}

/* Responsive */
@media (max-width:700px) {
  #aktivierung .steps-list {
    padding: 0.75rem 1rem;
  }

  #aktivierung .steps-list li {
    gap: 0.9rem;
    padding: 0.5rem 0;
    align-items: center;
  }

  #aktivierung .steps-list li::before {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
    font-size: 1rem;
  }

  #aktivierung .aktivierung-box {
    padding: 1.25rem;
  }
}

/* =====================================================================
   12.11 BENEFITS PAGE (#vorteile)
   ===================================================================== */
/**
 * Benefits/Advantages page with feature grid
 */
#vorteile .feature-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#vorteile .feature-item {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: all .25s ease;
  padding: 1.4rem 1.4rem;
  /* gleichmÃ¤ÃŸig auf allen Seiten */
  min-height: 160px;
}

#vorteile .feature-item:hover,
#vorteile .feature-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  border-color: rgba(31, 42, 68, .18);
}

#vorteile .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
  height: 100%;
}

/* Titel + Icon */
#vorteile .feature-body h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary, #1f2a44);
  word-break: keep-all;
}

#vorteile .feature-body h3 i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .08);
  flex-shrink: 0;
}

/* Text */
#vorteile .feature-body p {
  margin: 0;
  color: var(--text-muted, #4b5563);
  font-size: .96rem;
  line-height: 1.55;
  letter-spacing: 0.1px;
}

/* Responsive */
@media (max-width:700px) {
  #vorteile .feature-item {
    padding: 1.1rem;
    min-height: 140px;
  }
}

/* Continuation of 12.8 PRODUCTS PAGE (#produkte) */
/**
 * Products page with split-card layout
 */
#produkte {
  max-width: 1280px;
  margin: 0 auto 3rem;
}

#produkte #produkte-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: .6rem;
  margin: 0 0 1.25rem 0;
}

/* Karte */
#produkte .feature-item--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  /* Text : Bild */
  gap: 1.5rem;
  align-items: center;
}

/* Textspalte */
#produkte .feature-item--split .feature-body {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

#produkte .feature-item--split .feature-body p {
  margin: 0;
  line-height: 1.65;
}

#produkte .feature-item--split .list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

#produkte .feature-item--split .list li {
  position: relative;
  padding-left: 1.35rem;
}

#produkte .feature-item--split .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .10);
}

#produkte .feature-item--split .short-claim {
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

/* Button zentriert */
#produkte .feature-item--split .feature-body p:last-child {
  text-align: center;
}

#produkte .feature-item--split .btn {
  display: inline-flex;
  margin: .5rem auto 0 auto;
  padding: .62rem 1.25rem;
}

/* Bildspalte */
#produkte .feature-item--split .feature-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

#produkte .feature-item--split .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  /* vertikaleres Motiv */
  object-fit: cover;
  object-position: 70% center;
  /* Fokus leicht nach rechts */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

/* Feinabstimmung groÃŸ */
@media (min-width:1069px) {
  #produkte .feature-item--split {
    padding: 1.5rem 2rem;
  }
}

/* Responsive: untereinander, Bild zuerst */
@media (max-width:900px) {
  #produkte .feature-item--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #produkte .feature-item--split .feature-media {
    order: -1;
  }
}

/* =====================================================================
   44) Warum es den Notfallpass gibt â€“ grÃ¶ÃŸere Typo, bessere Balance
   =====================================================================
   ===================================================================== */
#warum {
  max-width: 1280px;
}

#warum #warum-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

/* Split-Layout */
#warum .feature-item--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
}

/* Textblock */
#warum .feature-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#warum .feature-body p {
  margin: 0;
  font-size: 1.05rem;
  /* grÃ¶ÃŸerer Text */
  line-height: 1.7;
  color: var(--text, #1a1a1a);
}

/* Bild */
#warum .feature-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

#warum .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  #warum .feature-item--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #warum .feature-media {
    order: -1;
  }
}

/* =====================================================================
   45) About-Cards â€“ gleichmÃ¤ÃŸige Textausrichtung und Buttons
   =====================================================================
   ===================================================================== */
.cards.cards--about {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* Kartenlayout - wie feature-item auf dienste.php */
.cards.cards--about .card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: auto;
}

/* Titel - wie feature-body h3 auf dienste.php */
.cards.cards--about .card__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

/* TextblÃ¶cke - wie feature-body auf dienste.php */
.cards.cards--about p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cards.cards--about .checklist {
  margin: 0;
  flex-grow: 1;
}

/* Checkliste */
.cards.cards--about .checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .45rem;
}

.cards.cards--about .checklist li {
  position: relative;
  padding-left: 1.35rem;
}

.cards.cards--about .checklist li::before {
  display: none;
}

/* Aktionen */
.cards.cards--about .actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .5rem;
}

.cards.cards--about .actions .btn {
  flex: 1 1 auto;
  text-align: center;
  padding: .55rem 1rem;
  line-height: 1.1;
  white-space: nowrap;
  min-width: 130px;
}

/* Einheitlicher Abstand - wie feature-item auf dienste.php */
@media (min-width: 1069px) {
  .cards.cards--about .card {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  .cards.cards--about .card {
    min-height: unset;
  }
}

/* =====================================================================
   46) Wer wir sind â€“ Breite und Stil wie 4er-Grid (About-Cards)
   =====================================================================
   ===================================================================== */
#wer-wir-sind {
  max-width: 1280px;
  /* gleiche Breite wie die Cards unten */
  margin: 0 auto 3rem;
  /* zentriert mit gleichem Abstand */
  padding: 0;
  /* kein zusÃ¤tzliches AuÃŸenpadding */
}

#wer-wir-sind.service-header--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.5rem;
  /* angeglichen an Karten-Padding */
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

/* Titel */
#wer-wir-sind .hero-copy h2 {
  margin: 0 0 .75rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: .6rem;
}

/* Textblock */
#wer-wir-sind .hero-copy {
  padding: .25rem .75rem .25rem .75rem;
  /* gleichmÃ¤ÃŸiger Innenabstand */
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

#wer-wir-sind .hero-copy p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--text, #1a1a1a);
}

/* Liste */
#wer-wir-sind .key-points {
  list-style: none;
  margin: .25rem 0 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

#wer-wir-sind .key-points li {
  position: relative;
  padding-left: 1.35rem;
}

#wer-wir-sind .key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .10);
}

/* Bild */
#wer-wir-sind .hero-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

#wer-wir-sind .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  #wer-wir-sind .hero-media {
    order: -1;
  }

  #wer-wir-sind .hero-copy {
    padding: .25rem .25rem;
  }
}

/* =====================================================================
   47) Hero auf Mobile kleiner
   =========================================
   ===================================================================== */
@media (max-width:700px) {

  /* dunkler Banner-Hero (falls vorhanden) */
  .hero-banner {
    padding: 1rem 1.1rem;
  }

  .hero-banner h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin: 0 0 .4rem 0;
  }

  .hero-banner p {
    font-size: .98rem;
    line-height: 1.55;
    max-width: 42ch;
  }

  /* generische Split-Header kleiner */
  .service-header--split {
    gap: .9rem;
    padding: 1rem 1.1rem;
  }
}

/* =====================================================================
   48) â€žWer wir sindâ€œ â€“ Bild links, kleiner
   =========================================
   ===================================================================== */
@media (max-width:700px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
  }

  #wer-wir-sind .hero-copy {
    order: 1;
  }

  /* Bild links ausrichten und nicht zu groÃŸ */
  #wer-wir-sind .hero-media {
    order: 2;
    display: flex;
    justify-content: flex-start;
    /* links */
    align-items: center;
    overflow: visible;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  }

  #wer-wir-sind .hero-media img {
    width: min(88vw, 420px);
    /* kleiner skalieren */
    height: auto;
    object-fit: contain;
    border-radius: 10px;
  }
}

/* =====================================================================
   49) 2.1) Mobile-Optimierung Textausrichtung
   =========================================
   ===================================================================== */
@media (max-width:700px) {
  #wer-wir-sind .hero-copy {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #wer-wir-sind .hero-copy h2 {
    text-align: left;
    margin-left: 0;
  }

  #wer-wir-sind .hero-copy p,
  #wer-wir-sind .hero-copy ul {
    text-align: left;
    margin-left: 0;
  }

  /* Bild wieder breiter fÃ¼r gleichmÃ¤ÃŸigen Look */
  #wer-wir-sind .hero-media {
    justify-content: center;
  }

  #wer-wir-sind .hero-media img {
    width: 96%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* =====================================================================
   50) Letzte Boxen untereinander auf Mobile
   (About-Cards 4er-Grid)
   =========================================
   ===================================================================== */
@media (max-width:600px) {
  .cards.cards--about {
    grid-template-columns: 1fr;
    /* stapeln nur bei sehr kleinen Bildschirmen */
    gap: 1rem;
  }
}

/* =====================================================================
   51) Footer â€“ mit Grid, symmetrisch und responsiv
   =====================================================================
   ===================================================================== */
footer[role="contentinfo"] {
  background: #1a2238;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  border-top: 4px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  gap: 1.2rem;
}

/* Â©-Zeile mittig mit Abstand */
footer[role="contentinfo"] p {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  font-size: 1.15rem;
}

/* Linkzeile */
footer[role="contentinfo"] .footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 1.4rem;
  justify-content: center;
  align-items: center;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* Links */
footer[role="contentinfo"] .footer-links a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}

footer[role="contentinfo"] .footer-links a:hover,
footer[role="contentinfo"] .footer-links a:focus {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, .4);
}

/* Trennpunkte als Pseudo-Element */
footer[role="contentinfo"] .footer-links a+a::before {
  content: "â€¢";
  margin-right: 1.2rem;
  color: rgba(255, 255, 255, .45);
}

/* =====================================================================
   52) Mobile â€“ Links untereinander, zentriert
   =====================================
   ===================================================================== */
@media (max-width: 700px) {
  footer[role="contentinfo"] {
    font-size: 1rem;
    padding: 1.8rem 1rem;
    gap: 1rem;
  }

  footer[role="contentinfo"] .footer-links {
    grid-auto-flow: row;
    gap: .6rem;
  }

  footer[role="contentinfo"] .footer-links a+a::before {
    content: none;
  }
}

/* Footer-Links: Desktop bleibt wie gehabt (eine Zeile) */
footer[role="contentinfo"] .footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
}

/* Links als Buttons, keine Trennzeichen */
footer[role="contentinfo"] .footer-links {
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: 720px;
  width: 100%;
}

footer[role="contentinfo"] .footer-links a+a::before {
  content: none !important;
}

footer[role="contentinfo"] .footer-links a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  text-align: center;
  min-width: 150px;
}

footer[role="contentinfo"] .footer-links a:hover,
footer[role="contentinfo"] .footer-links a:focus {
  background: rgba(255, 255, 255, .14);
}

/* Desktop: eine Zeile, Wrap bei Bedarf */
@media (min-width:701px) {
  footer[role="contentinfo"] .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
  }
}

/* Mobile: 2 Spalten â€“ 1. Zeile Impressum/Datenschutz, dann AGB/Nach oben */
@media (max-width:700px) {
  footer[role="contentinfo"] .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: .8rem 1rem;
    justify-items: center;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(1) {
    grid-column: 1;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(2) {
    grid-column: 2;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(3) {
    grid-column: 1;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(4) {
    grid-column: 2;
  }
}

/* =====================================================================
   53) CTA â€“ â€žJetzt startenâ€œ: fokussierte Karte, groÃŸes Eingabefeld, klare Aktionen
   =====================================================================
   ===================================================================== */
.service-cta {
  max-width: 1100px;
  margin: 0 auto 3rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 2rem 2rem 1.75rem;
  text-align: center;
}

.service-cta>h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2rem);
  margin: 0 0 .6rem 0;
  color: var(--primary, #1f2a44);
}

.service-cta>p {
  margin: 0 0 1.25rem 0;
  line-height: 1.65;
  color: var(--text, #1a1a1a);
}

/* Formularkarte */
.service-cta .cta-form {
  max-width: 760px;
  margin: 0 auto 1.1rem;
}

.service-cta .cta-form-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem .75rem;
  align-items: end;
}

/* Label Ã¼ber dem Feld, zentriert */
.service-cta label {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: .15rem;
}

/* Eingabefeld */
.service-cta input[type="text"] {
  padding: .9rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #cfe4ff;
  border-radius: 10px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}

.service-cta input[type="text"]:focus {
  border-color: #7db6ff;
  box-shadow: 0 0 0 4px rgba(125, 182, 255, .25);
}

/* Submit-Button rechts neben dem Feld */
.service-cta .cta-form-inner button[type="submit"] {
  padding: .9rem 1.1rem;
  border-radius: 10px;
  background: #1f2a44;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(31, 42, 68, .25);
  box-shadow: 0 6px 14px rgba(31, 42, 68, .18);
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease;
}

.service-cta .cta-form-inner button[type="submit"]:hover {
  opacity: .95;
}

.service-cta .cta-form-inner button[type="submit"]:active {
  transform: translateY(1px);
}

/* Hinweiszeile */
.service-cta .hint {
  grid-column: 1 / -1;
  margin: .15rem 0 0 0;
  font-size: .95rem;
  color: var(--text-muted, #4b5563);
}

/* PrimÃ¤re/sekundÃ¤re Aktionen darunter */
.service-cta .cta-actions {
  margin-top: .6rem;
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: .8rem;
}

.service-cta .btn {
  padding: .7rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.service-cta .btn-primary {
  background: #1f2a44;
  color: #fff;
  box-shadow: 0 6px 14px rgba(31, 42, 68, .18);
  border: 1px solid rgba(31, 42, 68, .25);
}

.service-cta .btn-secondary {
  background: #eaf1fb;
  color: #1f2a44;
  border: 1px solid #d4e1f7;
}

/* â€žZurÃ¼ck nach obenâ€œ unaufdringlich */
.service-cta .back-top {
  margin-top: .9rem;
}

.service-cta .back-top .link-quiet {
  color: var(--text-muted, #4b5563);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
}


/* Responsive */
@media (max-width: 780px) {
  .service-cta {
    padding: 1.5rem 1rem 1.25rem;
  }

  .service-cta .cta-form-inner {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .service-cta .cta-actions {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .service-cta .btn {
    width: 100%;
  }
}

/* CTA-Box Breite angleichen an andere Service-Boxen */
.service-cta {
  max-width: none;
  width: 100%;
  border-radius: 12px;
  margin: 0 auto 3rem auto;
  box-sizing: border-box;
}

/* Einheitlicher Innenabstand */
.service-cta {
  padding: 2rem clamp(1rem, 3vw, 3rem);
}

/* Text und Formelemente zentriert, aber nicht zu schmal */
.service-cta .cta-form {
  max-width: 720px;
  width: 100%;
}

.service-cta .cta-actions {
  max-width: 720px;
  margin: 1rem auto 0;
  width: 100%;
}

/* Mobile â€“ gleiche SeitenabstÃ¤nde wie andere Boxen */
@media (max-width: 700px) {
  .service-cta {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
}

/* =====================================================================
   54) Cookie Banner â€“ Vollbreit oben, mitlaufend, Farben Mein-Notfallpass
   =====================================================================
   ===================================================================== */
.cc-banner {
  position: relative;
  /* lÃ¤uft mit dem Inhalt mit */
  width: 100%;
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 4px solid var(--accent, #0096a6);
  z-index: 9999;
}

.cc-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cc-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: .75rem;
}

.cc-text a {
  color: var(--accent, #0096a6);
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
}

.cc-btn {
  border: none;
  border-radius: 30px;
  font: inherit;
  cursor: pointer;
  padding: .6rem 1.4rem;
  transition: background .2s, color .2s;
}

.cc-btn.primary {
  background: var(--accent, #0096a6);
  color: #111;
}

.cc-btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cc-btn:hover,
.cc-btn:focus {
  filter: brightness(1.15);
}

/* mobile optimiert */
@media (max-width: 640px) {
  .cc-text {
    font-size: .9rem;
  }

  .cc-btn {
    flex: 1 1 45%;
  }
}


@media (prefers-color-scheme: light) {
  :root {
    --cc-bg: #111827;
    --cc-fg: #ffffff;
    --cc-muted: #e5e7eb;
    --cc-border: #d1d5db;
  }
}

/* Cookie Consent additions */
.cc-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 2147483646;
  background: var(-- --primary);
  color: var(-- --text-light);
  border-top: 1px solid var(--cc-border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.cc-btn:hover,
.cc-btn:focus {
  outline: 2px solid var(--cc-accent);
  outline-offset: 2px;
}

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  padding: 24px;
  background: rgba(0, 0, 0, .5);
}

.cc-modal[open] {
  display: block;
}

.cc-dialog {
  max-width: 720px;
  margin: 6vh auto;
  background: var(--surface, #fff);
  color: var(--text, #111);
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.cc-dialog header,
.cc-dialog footer {
  padding: 12px 16px;
  background: var(--cc-muted);
  border-bottom: 1px solid var(--cc-border);
}

.cc-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--cc-border);
  border-bottom: none;
  background: transparent;
}

.cc-dialog .cc-body {
  padding: 16px;
  line-height: 1.55;
}

.cc-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cc-switch label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cc-switch small {
  opacity: .8;
}

.cc-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .2s ease;
}

.cc-toggle .dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  transition: left .2s ease, background .2s ease;
}

.cc-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.cc-toggle input:checked+.dot {
  left: 21px;
  background: var(--cc-accent);
}

body.has-cc-banner {
  padding-bottom: 90px;
}

/* =====================================================================
   55) Cookie-Consent Buttons & Hover-Farben (Corporate Update)
   ==========================================================
   ===================================================================== */
:root {
  --cc-accent: #1f2a44;
  /* Dunkelblau Grundfarbe */
  --cc-accent-hover: #0096a6;
  /* TÃ¼rkis fÃ¼r Hover */
  --cc-btn-text: #ffffff;
}

/* Hauptbuttons (Akzeptieren / Ablehnen / Banner-Buttons) */
.cc-dialog footer button,
.cc-banner button,
.cc-btn.primary,
.cc-btn.reject {
  background: var(--cc-accent);
  color: var(--cc-btn-text);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

/* Hover/Fokus â†’ TÃ¼rkis */
.cc-dialog footer button:hover,
.cc-banner button:hover,
.cc-btn.primary:hover,
.cc-btn.reject:hover,
.cc-dialog footer button:focus,
.cc-banner button:focus,
.cc-btn.primary:focus,
.cc-btn.reject:focus {
  background: var(--cc-accent-hover);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

/* SekundÃ¤r-Button (â€žSpeichernâ€œ) hellgrau */
.cc-dialog footer button:first-child,
.cc-btn.ghost {
  background: #f3f4f6;
  color: var(--cc-accent);
  border: 1px solid #d1d5db;
}

.cc-dialog footer button:first-child:hover,
.cc-btn.ghost:hover {
  background: #e5e7eb;
  color: var(--cc-accent-hover);
  border-color: #cbd5e1;
}

/* =====================================================================
   56) Mein-Notfallpass Cookie-Consent â€“ final vereinheitlicht
   ==========================================================
   ===================================================================== */
:root {
  --cc-accent: #1f2a44;
  /* Dunkelblau */
  --cc-accent-hover: #0096a6;
  /* TÃ¼rkis */
  --cc-border-light: rgba(255, 255, 255, .18);
}

/* Banner-Link */
.cc-text a {
  color: #0096a6;
  text-decoration: underline;
}

.cc-text a:hover {
  color: #66c8d2;
}

/* Dialog-Hintergrund */
.cc-dialog {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cc-dialog header,
.cc-dialog footer {
  background: #1f2a44;
  color: #ffffff;
  border-color: #0f172a;
}

.cc-dialog .cc-body {
  background: #f5f5f5;
  color: #111827;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

/* Texte */
.cc-dialog h1,
.cc-dialog h2,
.cc-dialog h3 {
  color: #ffffff;
}

.cc-dialog p,
.cc-dialog small,
.cc-dialog label {
  color: #111827;
}

/* SchlieÃŸen-Button */
.cc-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .15s;
}

.cc-close:hover,
.cc-close:focus {
  color: #0096a6;
  transform: scale(1.1);
  outline: none;
}

/* =====================================================================
   57) Einheitliche Buttons â€“ alle blau mit Schatten
   ==========================================================
   ===================================================================== */
.cc-dialog footer button,
.cc-btn,
.cc-btn.reject,
.cc-banner button {
  background: var(--cc-accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--cc-border-light) !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25) !important;
  cursor: pointer !important;
  transition: background .2s, box-shadow .2s, transform .15s;
}

/* Hover/Fokus */
.cc-dialog footer button:hover,
.cc-btn:hover,
.cc-btn.reject:hover,
.cc-banner button:hover {
  background: var(--cc-accent-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35) !important;
  transform: translateY(-1px);
}

.cc-dialog footer button:focus,
.cc-btn:focus {
  outline: 2px solid var(--cc-accent-hover);
  outline-offset: 2px;
}

/* Speichern-Button explizit gleich einfÃ¤rben */
.cc-dialog footer button:first-child {
  background: var(--cc-accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--cc-border-light) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25) !important;
}

.cc-dialog footer button:first-child:hover {
  background: var(--cc-accent-hover) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35) !important;
}

/* =====================================================================
   58) Slider dunkelblau / Punkt tÃ¼rkis
   ==========================================================
   ===================================================================== */
.cc-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #1f2a44;
  transition: background .2s;
}

.cc-toggle .dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  transition: left .2s, background .2s;
}

.cc-toggle input:checked+.dot {
  left: 21px;
  background: #0096a6;
}

/* Spenden-Seite: Abschnitt #warum wie #worum und #spendenlink */
#unterstuetzen #warum .feature-list {
  display: block;
  /* kein Grid hier */
  margin: 0;
  padding: 0;
}

#unterstuetzen #warum .feature-list>li.feature-item {
  width: 100%;
  /* volle Kartenbreite wie oben */
  margin: 0;
  /* keine Zentrierung */
  min-height: 0;
  /* gleiche HÃ¶he-Logik wie Default */
  padding: 1rem 1.1rem;
  /* konsistente InnenabstÃ¤nde */
}

#unterstuetzen #warum .feature-body h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
}

#unterstuetzen #warum .feature-body p {
  margin: 0;
  line-height: 1.55;
}

/* =====================================================================
   59) ZurÃ¼ck-nach-oben Link â€“ im Stil des GoFundMe-Buttons
   =====================================================================
   ===================================================================== */
.back-top {
  text-align: center;
  margin-top: 1.5rem;
}

.back-top a {
  display: inline-block;
  background: #1f2a44;
  /* fester PrimÃ¤rton */
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  /* satter Schatten */
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.back-top a:hover,
.back-top a:focus {
  background: #0096a6;
  /* TÃ¼rkis aus Root */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 150, 166, 0.35);
  /* leicht tÃ¼rkisfarbener Glow */
}

/* =================================================================
   60) Partner Seite
   ================================================================= */

main.page-partner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* ================= Hero kompakter und zentriert ================= */

main.page-partner .hero-inline {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 160px) 1fr;
  align-items: center;
  background: var(--primary, #1f2a44);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 18px;
  padding: .6rem 1.25rem;
  margin: 2rem 0 2.5rem;
  column-gap: 1rem;
  min-height: auto;
}

main.page-partner .hero-inline .hero-img {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(15, 23, 42, .3);
}

main.page-partner .hero-inline .hero-title {
  padding: 0 1rem;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

@media (max-width: 720px) {
  main.page-partner .hero-inline {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  main.page-partner .hero-inline .hero-img {
    height: 132px;
    border-radius: 8px 8px 0 0;
  }

  main.page-partner .hero-inline .hero-title {
    padding: .55rem .9rem;
  }
}

/* ================= Grid fÃ¼r Karten ================= */

main.page-partner .section {
  margin-top: .35rem;
}

main.page-partner .grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  main.page-partner .grid {
    grid-template-columns: 1fr;
  }
}

main.page-partner .card {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

/* ================= Medienbereich Logo Avatar
   Bild oben  Text darunter  alles mittig
   ================= */

main.page-partner .media-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  text-align: center;
  flex: 1;
}

main.page-partner .media-row>div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
  margin-top: auto;
}

main.page-partner .logo,
main.page-partner .avatar {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

main.page-partner .logo img,
main.page-partner .avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main.page-partner h3 {
  margin: 0 0 .5rem 0;
  color: var(--primary, #1f2a44);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ================= Buttons und Social Links ================= */

main.page-partner .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--primary, #1f2a44);
  border: 1px solid var(--primary, #1f2a44);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter .2s;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

main.page-partner .btn:hover {
  filter: brightness(1.05);
}

main.page-partner .btn:focus {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* Social Link Container */

main.page-partner .socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: .75rem;
}

main.page-partner .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--primary, #1f2a44);
  border: 1px solid #d1d5db;
  text-decoration: none;
  flex-shrink: 0;
}

main.page-partner .socials a svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* Wenn es nur einen Link gibt  Darstellung als schmaler Balken mittig */

main.page-partner .socials a:only-child {
  width: 200px;
  height: 40px;
  border-radius: 999px;
}

main.page-partner .socials a:hover {
  background: var(--accent, #00b3c7);
  color: #fff;
}

main.page-partner .socials a:focus-visible {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* ================= A11y und Hinweis ================= */

main.page-partner .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main.page-partner .empty-note {
  margin: .6rem 0 0;
  color: #6b7280;
}

/* Fix: Entfernt das unerwÃ¼nschte dunkle nav Styling innerhalb Partnerkarten */
main.page-partner nav {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
}

/* ================= Influencer-Bereich: Visuelle Trennung ================= */
main.page-partner .creator-section {
  background: #f9fafb;
  border-radius: 16px;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

main.page-partner .creator-section .card {
  background: #fff;
  min-height: 180px;
  padding: 1rem;
}

main.page-partner .creator-section .avatar {
  width: 90px;
  height: 90px;
}

main.page-partner .creator-section h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
}

main.page-partner .creator-section .btn {
  max-width: 180px;
  padding: .45rem .9rem;
  font-size: .9rem;
}

/* =====================================================================
   61) Admin: Partnerverwaltung â€“ High-Contrast Light UI
   Scope: main.page-admin-partners
   =====================================================================
   ===================================================================== */
main.page-admin-partners {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 1rem;
  color: #111827;
}

/* Vertikales Layout Container */
.admin-partner-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

main.page-admin-partners .card {
  background: #ffffff;
  /* hell */
  color: #111827;
  border: 1px solid #e5e7eb;
  /* helles Grau */
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  min-width: 0;
  overflow: visible;
}

/* Tabelle Card - volle Breite, kein Scroll */
main.page-admin-partners .admin-table-card {
  overflow-x: visible;
}



main.page-admin-partners h2 {
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 2px solid var(--border, #e5e7eb);
  padding-bottom: 1rem;
}

main.page-admin-partners legend {
  font-weight: 700;
  color: #0f172a
}

main.page-admin-partners fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa
}

main.page-admin-partners label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 600;
  color: #374151
}

main.page-admin-partners input[type="text"],
main.page-admin-partners input[type="url"],
main.page-admin-partners input[type="number"],
main.page-admin-partners select {
  width: 100%;
  padding: .6rem .7rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

main.page-admin-partners input::placeholder {
  color: #6b7280
}

main.page-admin-partners input[type="file"] {
  width: 100%
}

main.page-admin-partners .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem
}

@media(max-width:640px) {
  main.page-admin-partners .row {
    grid-template-columns: 1fr
  }
}

main.page-admin-partners .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid #1f2a44;
  background: #1f2a44;
  color: #fff;
  font-weight: 600
}

main.page-admin-partners .btn:hover {
  filter: brightness(1.05)
}

main.page-admin-partners .btn:focus {
  outline: 2px solid #00b3c7;
  outline-offset: 2px
}

main.page-admin-partners .btn.alt {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827
}

main.page-admin-partners table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #111827;
  table-layout: fixed;
}

main.page-admin-partners table thead th {
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  border-bottom: 2px solid var(--border, #e5e7eb);
  background: transparent;
}

main.page-admin-partners table tbody td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: middle;
}

main.page-admin-partners table tbody tr:last-child td {
  border-bottom: none;
}

main.page-admin-partners table tbody tr:hover {
  background: var(--bg-soft, #f6f8fb);
}

/* Feste Spaltenbreiten */
main.page-admin-partners table th:nth-child(1),
main.page-admin-partners table td:nth-child(1) {
  width: 60px;
}

main.page-admin-partners table th:nth-child(2),
main.page-admin-partners table td:nth-child(2) {
  width: auto;
  min-width: 200px;
}

main.page-admin-partners table th:nth-child(3),
main.page-admin-partners table td:nth-child(3),
main.page-admin-partners table th:nth-child(4),
main.page-admin-partners table td:nth-child(4),
main.page-admin-partners table th:nth-child(5),
main.page-admin-partners table td:nth-child(5) {
  width: 120px;
}

main.page-admin-partners table th:nth-child(6),
main.page-admin-partners table td:nth-child(6) {
  width: 200px;
  text-align: right;
}

main.page-admin-partners th,
main.page-admin-partners td {
  padding: .6rem .75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top
}

main.page-admin-partners .muted {
  color: #6b7280
}

main.page-admin-partners .hide {
  display: none
}

main.page-admin-partners .mt {
  margin-top: 1rem
}

/* =====================================================================
   62) Kontakt Seite (Frontend)
   Hero wie Partner + Kontaktformular (responsive, vordefinierte GrÃ¶ÃŸen)
   ===================================================================== */

main.page-kontakt {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* ================= Hero-Box (wie Partnerseite) ================= */
:is(main.page-partner, main.page-kontakt) .hero-inline {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 160px) 1fr;
  align-items: center;
  background: var(--primary, #1f2a44);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  margin: 0.75rem 0 1rem;
  min-height: clamp(84px, 8.2vw, 110px);
}

:is(main.page-partner, main.page-kontakt) .hero-inline .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:is(main.page-partner, main.page-kontakt) .hero-inline .hero-title {
  padding: 0 1rem;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

@media (max-width: 720px) {
  :is(main.page-partner, main.page-kontakt) .hero-inline {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  :is(main.page-partner, main.page-kontakt) .hero-inline .hero-img {
    height: 132px;
    border-radius: 8px 8px 0 0;
  }

  :is(main.page-partner, main.page-kontakt) .hero-inline .hero-title {
    padding: 0.55rem 0.9rem;
  }
}

/* ================= Kontaktformular-Karte ================= */
main.page-kontakt .contact-card {
  width: min(92vw, 720px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

main.page-kontakt .contact-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  text-align: center;
}

/* Formularfelder mit vordefinierten GrÃ¶ÃŸen */
main.page-kontakt .contact-form {
  --field-h: 48px;
  --fs: 16px;
}

main.page-kontakt .contact-form input,
main.page-kontakt .contact-form textarea,
main.page-kontakt .contact-form select {
  width: 100%;
  height: var(--field-h);
  font-size: var(--fs);
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
}

main.page-kontakt .contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

main.page-kontakt .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
  margin-bottom: 0.75rem;
}

main.page-kontakt .contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

@media (max-width: 640px) {
  main.page-kontakt .contact-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= Button neu ================= */
main.page-kontakt .contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.1rem;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #1f2a44);
  /* dunkelblau */
  border: 1px solid var(--primary, #1f2a44);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

main.page-kontakt .contact-form .btn:hover {
  background: var(--accent, #00b3c7);
  /* TÃ¼rkis */
  border-color: var(--accent, #00b3c7);
  color: #fff;
}

main.page-kontakt .contact-form .btn:focus {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* ================= Responsive GrÃ¶ÃŸen ================= */
@media (min-width: 600px) {
  main.page-kontakt .contact-card {
    width: min(90vw, 800px);
  }

  main.page-kontakt .contact-form {
    --field-h: 46px;
    --fs: 16px;
  }
}

@media (min-width: 1024px) {
  main.page-kontakt .contact-card {
    width: 820px;
  }

  main.page-kontakt .contact-form {
    --field-h: 44px;
    --fs: 16px;
  }
}

/* ================= Zentrierung von Titel & Button ================= */
main.page-kontakt .contact-title {
  text-align: center;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: 1rem;
}

main.page-kontakt .contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main.page-kontakt .contact-form label,
main.page-kontakt .contact-form .row {
  width: 100%;
}

main.page-kontakt .contact-form .btn {
  margin-top: 1rem;
  align-self: center;
}

/* ================= Kategorie-Info Bereich ================= */
main.page-kontakt .category-info {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border-light, #e1e7f0);
  border-left: 4px solid var(--accent, #0096a6);
  border-radius: 8px;
  transition: all 0.3s ease;
}

main.page-kontakt .category-info__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 0.125rem;
}

main.page-kontakt .category-info__content {
  flex: 1;
  min-width: 0;
}

main.page-kontakt .category-info__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

main.page-kontakt .category-info__description {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #6b7280);
  line-height: 1.5;
}

/* Hover-Effekt fÃ¼r bessere InteraktivitÃ¤t */
main.page-kontakt .category-info:hover {
  background: var(--surface-3, #f0f3f7);
  border-left-color: var(--primary, #1f2a44);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Mobile Anpassungen */
@media (max-width: 640px) {
  main.page-kontakt .category-info {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem;
  }

  main.page-kontakt .category-info__icon {
    font-size: 1.5rem;
    padding-top: 0;
  }

  main.page-kontakt .category-info__title {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
  }

  main.page-kontakt .category-info__description {
    font-size: 0.8125rem;
  }
}

/* =====================================================================
   63) Produkte (Frontend)

   ===================================================================== */

#shop-container iframe {
  display: block;
  width: 100%;
  height: 100vh;
}

/* =====================================================================
   64) Produkte â€“ BildhÃ¶he exakt an Textspalte angleichen
   ===================================================================== */
@media (min-width: 901px) {
  #produkte .feature-item--split {
    align-items: stretch;
    /* beide Spalten gleich hoch */
    grid-template-columns: 1.1fr .9fr;
    /* bleibt wie im Original */
  }

  #produkte .feature-item--split .feature-media {
    display: block;
    height: 100%;
    /* gleiche HÃ¶he wie Textspalte */
    max-width: none;
    /* Begrenzungen entfernen */
    aspect-ratio: auto;
    /* Ratio aufheben */
    overflow: hidden;
    border-radius: 12px;
  }

  #produkte .feature-item--split .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* beschneiden, nicht verzerren */
    object-position: 60% center;
    /* Fokus leicht nach rechts */
    aspect-ratio: auto;
    /* Ratio-Override */
  }
}

/* Mobile: Bild natÃ¼rlich skalieren */
@media (max-width: 900px) {
  #produkte .feature-item--split .feature-media {
    height: auto;
    aspect-ratio: auto;
  }

  #produkte .feature-item--split .feature-media img {
    height: auto;
    aspect-ratio: auto;
  }
}

/* =====================================================================
   65) About â€“ Wer wir sind (Bild rechts neben Text)
   ===================================================================== */
#wer-wir-sind.service-header--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  /* Text links, Bild rechts */
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

/* Bild wieder im Grid platzieren */
#wer-wir-sind.service-header--split .hero-media {
  grid-area: auto;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  padding: 0;
}

/* Textspalte */
#wer-wir-sind .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

#wer-wir-sind .hero-copy h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: .75rem;
}

#wer-wir-sind .hero-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text, #1a1a1a);
}

#wer-wir-sind .hero-copy ul.key-points {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: .5rem;
}

#wer-wir-sind .hero-copy ul.key-points li {
  margin-bottom: .35rem;
}

#wer-wir-sind .key-points li::marker {
  content: none;
}

/* Bild rechts - korrekt zentriert mit Flexbox */
#wer-wir-sind .hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

#wer-wir-sind .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
}

/* Mobile: untereinander */
@media (max-width: 900px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #wer-wir-sind .hero-media {
    order: -1;
    /* Bild oberhalb vom Text */
    height: auto;
  }

  #wer-wir-sind .hero-media img {
    height: auto;
    object-fit: contain;
  }
}

/* =====================================================================
   66) Konto lÃ¶schen â€“ Formularausrichtung
   ===================================================================== */

#konto-sicherheit .form-row {
  flex-direction: row !important;
  align-items: center;
  gap: .6rem;
  margin: .5rem 0;
}

#konto-sicherheit .card.danger form {
  display: flex;
  flex-direction: column;
  align-items: left;
  /* alles mittig */
}

.form .form-row--inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: .6rem;
}

.form .form-row--inline label {
  flex: 0 0 0px;
  text-align: right;
  margin: 0;
}

.form .form-row--inline input[type="password"] {
  flex: 0 1 45%;
  max-width: 320px;
  min-width: 220px;
  width: 100%;
  box-sizing: border-box;
}

/* Checkboxzeilen nebeneinander mit Text */
.form .form-row--check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  margin-bottom: .4rem;
  margin-left: 120px;
  /* bÃ¼ndig mit Passwortfeld */
}

.form .form-row--check input[type="checkbox"] {
  inline-size: 1rem;
  block-size: 1rem;
  margin: 0;
  accent-color: var(--accent);
}

.form .form-row--check label {
  margin: 0;
  line-height: 1.3;
}

/* Button mittig mit Abstand */
.form button.btn-danger {
  display: block;
  margin: 1rem auto 0 auto;
}

/* Passwort-Auge: stabil, ohne Springen */
.password-wrapper {
  position: relative;
  display: inline-block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 2.25rem;
  box-sizing: border-box;
}

.password-wrapper .toggle-password {
  position: absolute;
  top: 0;
  right: .25rem;
  bottom: 0;
  width: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  appearance: none;
  color: var(--text-muted, #6b7280);
  outline-offset: 2px;
}

.password-wrapper .toggle-password:hover,
.password-wrapper .toggle-password:focus {
  color: var(--accent, #09a6b3);
}

.password-wrapper .toggle-password.active {
  color: var(--accent, #09a6b3) !important;
}

/* =====================================================================
   67) Spende â€“ Blaue Box exakt in BildhÃ¶he
   ===================================================================== */

.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  padding: 0;
  /* kein Innenabstand */
  overflow: hidden;
  height: auto;
  /* dynamisch, passt sich BildhÃ¶he an */
}

/* Bild unverÃ¤ndert */
.hero-image {
  display: flex;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  border-radius: 0;
}

/* Text vertikal bÃ¼ndig mit Bild */
/* =====================================================================
   Basis .hero-text (wird von spezifischen Service-Header Styles Ã¼berschrieben)
   ===================================================================== */
.hero-text {
  color: var(--text-light, #fff);
  line-height: 1.7;
  font-size: 1rem;
  padding: var(--gap-lg, 2rem);
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* TextabstÃ¤nde korrigiert */
.hero-text .intro {
  margin: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .service-header--split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 1.5rem;
    height: auto;
  }
}

/* Spenden: service-header--split ohne grid-areas (entfernt das Fremd-Layout) */
.service-content>.service-header.service-header--split {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  grid-template-rows: auto !important;
  gap: 2rem !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

/* Kinder nicht in benannten Areas platzieren */
.service-content>.service-header.service-header--split .hero-image,
.service-content>.service-header.service-header--split .hero-text {
  grid-area: auto !important;
  margin: 0 !important;
}

/* Bild fÃ¼llt links, Text bÃ¼ndig rechts */
.service-content>.service-header.service-header--split .hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.service-content>.service-header.service-header--split .hero-text {
  padding: 2rem !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  .service-content>.service-header.service-header--split {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================================
   68) FAQ â€“ Hero-Bild statt Ãœberschrift
   ===================================================================== */

.faq-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* =====================================================================
   69) Split-Hero Overrides â€“ gilt fÃ¼r Spenden, FAQ, Dienste, Kontakt
   nicht fÃ¼r #home-hero
   ===================================================================== */

.service-content>.service-header.service-header--split:not(#home-hero) {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 2rem !important;
  align-items: stretch !important;
  border: 1px solid var(--border, #e4e7ee) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 2rem !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-image,
.service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
  grid-area: auto !important;
  margin: 0 !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-image img {
  width: 115% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
  color: #fff !important;
  padding: 2rem !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.7 !important;
  font-size: 1rem !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  .service-content>.service-header.service-header--split:not(#home-hero) {
    grid-template-columns: 1fr !important;
  }

  .service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
    padding: 1.5rem !important;
  }
}

/* =====================================================================
   Home-Hero (#home-hero) â€“ Originaldesign beibehalten
   ===================================================================== */

#home-hero.service-header--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: visible;
}

#home-hero .hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

#home-hero .hero-caption {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--text-muted, #cbd5e1);
}

@media (max-width: 900px) {
  #home-hero.service-header--split {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   70) Service Pages â€“ Gemeinsame Hero Styles (Dienste, Spenden, FAQ)
   ===================================================================== */

/**
 * Optimierte Service-Header fÃ¼r Dienste, Spenden und FAQ
 *
 * DRY-Prinzip: Gemeinsame Styles zusammengefasst
 * Spezifische Unterschiede nur wo nÃ¶tig
 *
 * Verwendung:
 * - .dienste.service-header--split
 * - .spenden.service-header--split
 * - .faq.service-header--split
 */

/* Gemeinsame Basis fÃ¼r alle Service-Header */
.dienste.service-header--split,
.spenden.service-header--split,
.faq.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: none;
  border-radius: var(--radius-lg, 12px);
  box-shadow: none;
  margin-bottom: var(--gap-lg, 2rem);
  padding: 0;
  overflow: hidden;
  height: auto;
}

/* Entfernt globales Padding */
#main-content .dienste.service-header,
#main-content .spenden.service-header,
#main-content .faq.service-header {
  padding: 0;
}

/* Bild-Container links */
.dienste.service-header--split .hero-image,
.spenden.service-header--split .hero-image,
.faq.service-header--split .hero-image {
  display: flex;
}

/* Standard: Bild 100% Breite */
.dienste.service-header--split .hero-image img,
.spenden.service-header--split .hero-image img,
.faq.service-header--split .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* Spenden: Bild breiter fÃ¼r besseren Effekt */
.spenden.service-header--split .hero-image img {
  width: 115%;
}

/* Text-Bereich rechts mit weiÃŸem Text */
.dienste.service-header--split .hero-text,
.spenden.service-header--split .hero-text,
.faq.service-header--split .hero-text {
  color: var(--text-light, #fff);
  line-height: 1.7;
  font-size: 1rem;
  padding: var(--gap-lg, 2rem);
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* Intro-Text ohne zusÃ¤tzlichen Margin */
.dienste.service-header--split .hero-text .intro,
.spenden.service-header--split .hero-text .intro,
.faq.service-header--split .hero-text .intro {
  margin: 0;
}

/* Mobile Ansicht: Stack-Layout */
@media (max-width: 900px) {

  .dienste.service-header--split,
  .spenden.service-header--split,
  .faq.service-header--split {
    grid-template-columns: 1fr;
  }

  .dienste.service-header--split .hero-text,
  .spenden.service-header--split .hero-text,
  .faq.service-header--split .hero-text {
    padding: var(--gap-md, 1.5rem);
    height: auto;
  }
}

/* ================================================================
   style.css de-dup Report
   Source: style.css
   Removed exact duplicate blocks: 2
   Method: exact-text rule-block de-duplication only
   Order preserved. All unique blocks retained verbatim.
   ================================================================ */
/* =====================================================================
   1) style.css â€“ konsolidiert und kommentiert
   Projekt: mein-notfallpass.de
   Ã„nderungen in dieser Version:
   - Alle identischen @media-Queries zusammengefÃ¼hrt
   ===================================================================== */
/* =====================================================================
   2) CSS-Variablen, Reset, Basistypografie
   =====================================================================
   ===================================================================== */
@charset "UTF-8";

/* Lossless Expanded FULL CSS - enthÃƒÆ’Ã‚Â¤lt alle alten Regeln + Strukturkommentare */
/* =====================================================================
   3) style.css
   Zentrale, kommentierte Styles fÃƒÆ’Ã‚Â¼r mein-notfallpass.de
   Ziele:
   - Einheitliches Design mit Variablen
   ===================================================================== */
/* =====================================================================
   4) Reset & Basis
   =====================================================================
   ===================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Hilfsklasse: Inhalte fÃƒÆ’Ã‚Â¼r Screenreader verfÃƒÆ’Ã‚Â¼gbar, visuell ausgeblendet */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Container-Helfer fÃƒÆ’Ã‚Â¼r Inhalte im Main-Bereich */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* =====================================================================
   5) Design-Variablen (:root) + WCAG 2.1 AA Core
   - Alle barrierefreiheitsrelevanten Variablen zentral
   =====================================================================
   ===================================================================== */
:root {
  /* Farben Markenwelt */
  --primary: #1F2A44;
  /* Hauptblau dunkel, Header/Buttons */
  --primary-600: #0f2742;
  /* noch dunkler fÃƒÆ’Ã‚Â¼r Hover/Abgrenzungen */
  --primary-100: #f7f9fc;
  /* helle FlÃƒÆ’Ã‚Â¤chen */

  --secondary: #00FFFF;
  /* Akzent TÃ¼kis */
  --accent: #0096a6;
  /* Akzent Gelb fÃƒÆ’Ã‚Â¼r Fokus/Indikatoren */

  --text-dark: #111111;
  /* Text auf hellem Hintergrund */
  --text-light: #FFFFFF;
  /* Text auf dunklem Hintergrund */
  --text-muted: #2a3a4a;
  /* dezente Hinweise */

  --border: #e1e7f0;
  /* helle Rahmenfarbe */
  --border-strong: #c7d1e0;
  /* stÃƒÆ’Ã‚Â¤rkere Rahmenfarbe */

  --bg-light: #FFFFFF;
  /* helle Karten-/InhaltsflÃƒÆ’Ã‚Â¤chen */
  --bg-dark: #000000;
  /* optionaler dunkler Hintergrund */

  --bg-soft: #f7f9fc;
  /* weiche HintergrÃƒÆ’Ã‚Â¼nde (Karten/Boxen) */
  --primaryHover: #0f2742;
  /* Hover-Farbe fÃƒÆ’Ã‚Â¼r Buttons/FlÃƒÆ’Ã‚Â¤chen */

  --shadow: rgba(0, 0, 0, 0.08);

  /* Typografie */
  --fs-xl: clamp(1.6rem, 2.5vw, 2.2rem);
  --fs-lg: 1.5rem;
  --fs-md: 1.125rem;
  --fs-sm: 1rem;

  /* AbstÃƒÆ’Ã‚Â¤nde */
  --gap-xs: .35rem;
  --gap-sm: .5rem;
  --gap-md: 1rem;
  --gap-lg: 2rem;

  /* Radius & Fokus */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* WCAG 2.1 AA ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ zentrale Variablen */
  --focus-ring: 3px solid #0096a6;
  --focus-alt: 3px solid #99c2ff;
  --sticky-offset: 64px;
  --skip-bg: var(--primary);
  --skip-color: var(--text-light);
  --skip-x: .75rem;
  --skip-y: .75rem;
  --surface: #ffffff;
}

/* =====================================================================
   6) 2a) WCAG 2.1 AA ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Einheitliche Skip-Links & Fokus-Styles (global)
   - Doppelungen entfernt, zentralisiert
   =====================================================================
   ===================================================================== */
/* Container fÃ¼r mehrere Skip-Links */
.skip-links {
  position: relative;
  z-index: 25;
}

/* .skip-links a und .skip-link verhalten sich identisch */
.skip-links a,
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--skip-bg);
  color: var(--skip-color);
  padding: .5rem .75rem;
  border-radius: .375rem;
  text-decoration: none;
}

/* Sichtbar, wenn fokussiert */
.skip-links a:focus,
.skip-link:focus {
  left: var(--skip-x);
  top: var(--skip-y);
  outline: var(--focus-alt);
  outline-offset: 2px;
}

/* Global sichtbarer Fokus fÃ¼r interaktive Elemente */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  nav.service-sidebar {
    display: none;
  }
}


/* Skiplinks ab 768px ausblenden */
@media (min-width: 768px) {

  .skip-links,
  .skip-links a,
  .skip-link {
    display: none !important;
  }
}

/* =====================================================================
   7) Header (Seitenkopf ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ nur Branding)
   =====================================================================
   ===================================================================== */
header {
  background: var(--primary);
  color: var(--text-light);
  padding: var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 75px;
  height: 75px;
  border-radius: 8px;
}

.header-text {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.header-actions {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

/* =====================================================================
   8) Navigation (Top-Navi + Benutzer-Dropdown)
   =====================================================================
   ===================================================================== */
nav,
nav.main-nav {
  background: #2B3659;
  color: var(--text-light);
  padding: var(--gap-sm) var(--gap-md);
  display: flex;
  justify-content: center;
  gap: var(--gap-sm);
}

/* Nur die ULs auf Ebene 1, nicht das Dropdown */
.main-nav .nav-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav>.nav-inner>ul {
  list-style: none;
  display: flex;
  gap: .25rem;
  align-items: center;
}

.main-nav .nav-left {
  padding: 0;
  margin: 0;
}

.main-nav .nav-right {
  padding: 0;
  margin: 0;
}

/* Top-Level Links */
nav a,
nav.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: var(--gap-sm) .75rem;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}

nav a:hover,
nav a:focus,
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* Heller Navigationsmodus */
nav.main-nav.main-nav--light {
  background: var(--bg-light);
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

nav.main-nav.main-nav--light a {
  color: var(--text-dark);
}

nav.main-nav.main-nav--light a:hover,
nav.main-nav.main-nav--light a:focus {
  background: #f5f7fb;
}

/* Benutzer-Dropdown */
.nav-user {
  position: relative;
}

.nav-user__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .5rem;
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
}

.nav-user__btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.main-nav.main-nav--light .nav-user__btn {
  color: var(--text-dark);
}

.nav-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: var(--bg-light);
}

.nav-user__name {
  font-size: .95rem;
  white-space: nowrap;
}

.nav-user__chevron {
  fill: currentColor;
  opacity: .85;
}

/* Dropdown selbst */
.nav-user__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 240px;
  max-width: 320px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
  padding: .35rem;
  display: none;
  z-index: 1000;
  font-size: .95rem;
  white-space: nowrap;
}

/* Sichtbarkeit wird ÃƒÆ’Ã‚Â¼ber .is-open gesteuert */
.nav-user__menu.is-open {
  display: block;
}

/* Fallback ohne JS */
.has-dropdown:focus-within .nav-user__menu {
  display: block;
}

/* Gruppentitel & Trennlinie im Dropdown */
.nav-user__group-title {
  padding: .4rem .7rem .25rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text-muted);
}

.nav-user__separator {
  height: 1px;
  margin: .3rem .4rem;
  background: var(--border);
  border-radius: 1px;
}

/* EintrÃƒÆ’Ã‚Â¤ge im Dropdown ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ immer dunkel auf weiÃƒÆ’Ã…Â¸ */
.nav-user__menu a,
.nav-user__menu a:link,
.nav-user__menu a:visited {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border-radius: 10px;
  color: var(--text-dark) !important;
  text-decoration: none;
  background: transparent;
  font-weight: 500;
}

.nav-user__menu a:hover,
.nav-user__menu a:focus {
  background: #f0f5ff;
  color: var(--text-dark) !important;
  outline: none;
}

.nav-user__menu i {
  width: 20px;
  text-align: center;
  opacity: .9;
}

/* Mobile: nur Avatar zeigen */


/* Fokus klar sichtbar */
.main-nav a:focus-visible,
.main-nav button:focus-visible {
  outline: 3px solid #0af;
  outline-offset: 2px
}

/* === Header/Nav: Size Boost ========================================= */

/* Header insgesamt hÃ¶her, mehr Luft */
header {
  padding: calc(var(--gap-md) * 1.2) calc(var(--gap-md) * 1.1);
}

/* Logo grÃ¶ÃŸer */
.logo img {
  width: 92px;
  height: 92px;
}

/* Brand-Text deutlich grÃ¶ÃŸer */
.header-text {
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem);
  font-weight: 800;
}

/* Actions mit mehr Abstand und KlickflÃ¤che */
.header-actions {
  gap: calc(var(--gap-sm) * 1.25);
}

/* Top-Navigation hÃ¶her und breiter paddings */
nav,
nav.main-nav {
  padding: calc(var(--gap-sm) * 1.2) calc(var(--gap-md) * 1.1);
}

/* Container bleibt mittig, bekommt mehr ZeilenhÃ¶he */
.main-nav .nav-inner {
  max-width: 1280px;
}

/* Links grÃ¶ÃŸer, mehr Padding, bessere KlickflÃ¤che */
nav a,
nav.main-nav a {
  font-size: 1.08rem;
  padding: .65rem 1rem;
  border-radius: 12px;
}

/* User-Dropdown: Avatar + Text grÃ¶ÃŸer */
.nav-user__avatar {
  width: 40px;
  height: 40px;
}

.nav-user__name {
  font-size: 1rem;
}

/* Dropdown selbst grÃ¶ÃŸer und komfortabler */
.nav-user__menu {
  min-width: 260px;
  font-size: 1rem;
  border-radius: 14px;
  padding: .4rem;
}

.nav-user__menu a {
  padding: .7rem 1rem;
  border-radius: 12px;
}

/* Fokusring etwas krÃ¤ftiger */
.main-nav a:focus-visible,
.main-nav button:focus-visible {
  outline: 3px solid #2ac0ff;
  outline-offset: 3px;
}

/* â€” Responsive Trimmung â€” */
@media (max-width: 980px) {
  .logo img {
    width: 80px;
    height: 80px;
  }

  nav a,
  nav.main-nav a {
    font-size: 1.02rem;
    padding: .55rem .85rem;
  }
}

@media (max-width: 680px) {
  .logo img {
    width: 70px;
    height: 70px;
  }

  nav,
  nav.main-nav {
    padding: calc(var(--gap-sm) * .9) var(--gap-md);
  }

  nav a,
  nav.main-nav a {
    font-size: .98rem;
    padding: .5rem .7rem;
  }
}

/* =====================================================================
   9) Buttons (global)
   =====================================================================
   ===================================================================== */
.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border: 1px solid var(--primary-600);
  border-radius: var(--radius-md);
  background: var(--primary-600);
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
  box-shadow: 0 2px 4px var(--shadow);
}

.btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* sekundÃƒÆ’Ã‚Â¤re Button-Variante */
.btn.secondary,
.btn-secondary {
  background: #e9eef6;
  color: var(--primary-600);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
}

/* primÃƒÆ’Ã‚Â¤re Button-Variante */
.btn-primary {
  padding: var(--gap-sm) var(--gap-md);
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--text-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  box-shadow: 0 2px 4px var(--shadow);
  margin: 0 auto;
  text-align: center;
}

.btn-primary:hover {
  background: #2b3b58;
  border: 2px solid var(--accent);
  transform: none;
}

.btn-primary:focus-visible,
.btn-primary:active {
  border: none;
}

/* Spezialvarianten */
.btn.spenden {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.btn.chat {
  background: #25D366;
  border-color: #25D366;
}

.btn.chat:last-child {
  background: #0088cc;
  border-color: #0088cc;
}

/* =====================================================================
   10) Main Content (Seiteninhalt)
   =====================================================================
   ===================================================================== */
main {
  flex: 1;
  padding: var(--gap-lg);
  background: var(--bg-light);
  color: var(--text-dark);
  max-width: 1200px;
  margin: 0 auto;
}

section.content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--gap-lg);
}

/* Newsletter-Content breiter */
section.content #newsletter-form {
  max-width: 1000px;
}

/* Newsletter-spezifische Content-Breite */
section.content:has(.newsletter-editor) {
  max-width: 100%;
  padding: 0;
}

section.content:has(.newsletter-editor) .newsletter-editor {
  padding: 3rem 2rem;
}

section.content h1 {
  margin-bottom: var(--gap-md);
  font-size: 2rem;
  color: var(--primary);
}

/* =====================================================================
   11) Komponenten (wiederverwendbar)
   =====================================================================
   ===================================================================== */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  overflow: hidden;
  box-shadow: 0 1px 2px var(--shadow);
}

.card header {
  padding: .9rem 1rem;
  border-bottom: 1px solid #e9eef6;
  background: var(--primary);
  color: #fff;
}

.card header h1,
.card header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.card .body,
.card .content {
  padding: 1rem;
}

.alert {
  margin: 0 0 1rem 0;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: #eefaf1;
  border: 1px solid #d0f0d8;
}

.alert.error {
  background: #fff4f4;
  border-color: #ffdede;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}



.media {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.media img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-light);
}

dl {
  margin: 0;
}

dt {
  font-weight: 600;
  margin-top: .5rem;
}

dd {
  margin: .1rem 0 .5rem 0;
}

.muted {
  color: var(--text-muted);
  opacity: .9;
}

.hero h1 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-size: var(--fs-xl);
}

.hero p {
  margin: .25rem 0;
  line-height: 1.6;
  font-size: 1rem;
}

.register {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 10px;
  background: #f5f7fb;
  border: 1px solid var(--border);
}

.register h2 {
  margin: 0 0 .5rem 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.3;
}

.register p {
  margin: .25rem 0;
  line-height: 1.6;
}

.code-form {
  margin-top: 1.25rem;
}

.field {
  display: grid;
  gap: .5rem;
}

.field label {
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.input-wrap input[type="text"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: .8rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-light);
  font-size: var(--fs-sm);
  transition: border-color .2s ease, background .2s ease;
}

.input-wrap input[type="text"]:focus,
input[type="tel"]:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #2aa1ff33;
  border-color: #2a7fff;
}

/* Profil-MinimenÃƒÆ’Ã‚Â¼ auf Startseite */
.profile-mini {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1rem 0 0 0;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-light);
}

.profile-mini img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.profile-mini a {
  text-decoration: none;
}

/* Sidebar im privaten Notfallpass */
.layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}



.sidebar {
  position: sticky;
  top: 1rem;
  align-self: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
}

.sidebar header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid #e9eef6;
  background: var(--primary-100);
}

.sidebar img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.side-links {
  padding: .5rem;
}

.side-links a {
  display: block;
  padding: .6rem .75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
}

.side-links a:focus,
.side-links a:hover {
  background: #f0f5ff;
  outline: none;
}

/* Tabellen im privaten Bereich */
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
}

.meta .label {
  font-weight: 600;
}

/* Upload */
.upload input[type="file"] {
  width: 100%;
  padding: .8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-light);
}

/* =====================================================================
   12) Formular-Layout (global)
   =====================================================================
   ===================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--gap-md);
}

.form-group label {
  font-weight: 600;
  margin-bottom: var(--gap-sm);
  color: var(--primary);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}

.hint {
  font-size: .95rem;
  color: var(--text-muted);
}

/* =====================================================================
   13) Footer
   =====================================================================
   ===================================================================== */
footer {
  background: var(--primary);
  min-height: 165px;
  color: var(--text-light);
  text-align: center;
  padding: var(--gap-sm);
  font-size: var(--fs-sm);
}

.footer-links {
  margin-top: var(--gap-sm);
}

.footer-links a {
  color: var(--text-light);
  text-decoration: underline;
}

/* =====================================================================
   14) Responsive Breakpoints
   =====================================================================
   ===================================================================== */
/* =====================================================================
   15) Print-Ansicht
   =====================================================================
   ===================================================================== */
/* =====================================================================
   16) Adminbereich ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ ProfilbildgrÃƒÆ’Ã‚Â¶ÃƒÆ’Ã…Â¸e
   =====================================================================
   ===================================================================== */
.admin img,
.admin-area img,
.admin-panel img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

/* =====================================================================
   17) Profil ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Avatarbereich, Konto & Flash-Meldungen
   =====================================================================
   ===================================================================== */
/* Avatarbereich */
.avatar-area {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.avatar-area figure {
  margin: 0;
}

.avatar-frame {
  width: 180px;
  height: 220px;
  border: 2px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}

.avatar-frame img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.avatar-actions {
  display: grid;
  align-content: start;
  gap: .75rem;
  min-width: 260px;
}

.avatar-actions input[type="file"] {
  width: 100%;
  padding: .8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-light);
  font-size: var(--fs-sm);
}

.avatar-actions input[type="file"]:focus-visible,
.avatar-area a:focus-visible,
.avatar-area button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.avatar-note {
  font-size: .95rem;
  color: var(--text-muted);
}

.avatar-error {
  background: #fff4f4;
  border: 1px solid #ffdede;
  padding: .6rem .8rem;
  border-radius: 8px;
}

/* Sicherheitsbereich, Buttons und Hinweise */
.account-security-section {
  margin-top: 2rem;
}

.card.danger {
  border: 1px solid #b00020;
  padding: 1rem;
  border-radius: .5rem;
  background: #fff7f7;
}

/* ergÃƒÆ’Ã‚Â¤nzende Buttonvarianten im Profilkontext */
.btn-danger {
  background: #b00020;
  color: #ffffff;
}

.notice.warning {
  background: #fff4e5;
  border-left: 4px solid #ff9800;
  padding: .75rem 1rem;
  border-radius: .25rem;
  margin-bottom: 1rem;
}

.inline-form {
  display: inline;
}

/* Dialoge */
dialog {
  border: none;
  border-radius: .6rem;
  padding: 0;
  width: min(480px, 95vw);
}

dialog form {
  padding: 1rem;
}

dialog::backdrop {
  background: rgba(0, 0, 0, .35);
}

.form-row {
  margin: .8rem 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

label {
  font-weight: 600;
}

menu {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Flash-Meldungen */
.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.messages li {
  padding: .6rem .9rem;
  border-radius: .35rem;
  margin: .35rem 0;
}

.messages--error li {
  background: #ffeaea;
  border-left: 4px solid #b00020;
}

.messages--ok li {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
}

.messages--warn li {
  background: #fff8e1;
  border-left: 4px solid #ff9800;
}

/* Dialog-Fallback */
body.dialog-open {
  overflow: hidden;
}

body.dialog-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 9998;
}

dialog[open] {
  z-index: 9999;
}

/* =====================================================================
   18) ÃƒÆ’Ã…â€œber uns ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Layout (WCAG 2.4.1-konform)
   =====================================================================
   ===================================================================== */
.aboutus-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.aboutus-image img {
  max-width: 300px;
  max-height: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 6px var(--shadow);
}



/* =====================================================================
   19) Produkte & Filter ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ visuell aufgerÃƒÆ’Ã‚Â¤umt, WCAG-freundlich
   =====================================================================
   ===================================================================== */
/* Layout: Sidebar links sticky, Content rechts */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  /* mobil */
  gap: 1.5rem;
}



.page-header {
  margin-bottom: 1rem;
}

.page-intro {
  color: var(--text-muted, #444);
}

/* Sidebar-Karte */
.side-toc {
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e1e7f0);
  border-radius: 14px;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.side-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 .5rem 0;
}

/* Filter-Navigation als Chips/Pills */
.filter-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}



/* Pill-Link-Stil */
.pill {
  --pill-bg: var(--bg-light, #fff);
  --pill-border: var(--border, #e1e7f0);
  --pill-text: var(--text-dark, #111);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--pill-text);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.pill i {
  font-size: .95em;
}

.pill:hover {
  border-color: var(--primary, #1F2A44);
}

.pill:focus,
.pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, .25);
  border-color: rgba(0, 120, 212, .55);
}

/* aktive Kategorie betonen */
.product-category:target>h3 {
  background: var(--primary, #1F2A44);
  color: var(--text-light, #fff);
  padding: .25rem .5rem;
  border-radius: 8px;
}

/* ruhiger Hinweistext */
.filter-hint {
  font-size: .875rem;
  color: var(--text-muted, #555);
  margin-top: .75rem;
}

/* Content */
.product-category {
  margin-top: 1.5rem;
}

.product-category+.product-category {
  margin-top: 2.25rem;
}

.products-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}





.product-card {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border, #e1e7f0);
  border-radius: 14px;
  padding: .75rem;
}

.product-card:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 120, 212, .25);
  border-color: rgba(0, 120, 212, .55);
}

.product-figure {
  margin: 0 0 .5rem 0;
}

.product-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: #eee;
}

.product-title {
  font-size: 1rem;
  margin: 0 0 .25rem 0;
}

.product-caption {
  margin: 0;
  color: var(--text-muted, #444);
}

/* dezenter ZurÃƒÆ’Ã‚Â¼ck-Link */
.back-top {
  margin: .5rem 0 0 0;
}

.link-quiet {
  color: inherit;
  opacity: .7;
  text-decoration: underline;
}

.link-quiet:hover {
  opacity: 1;
}

/* =====================================================================
   20) F.A.Q ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Layout (WCAG 2.4.1-konform)
   =====================================================================
   ===================================================================== */
.faq-col-title {
  text-align: center;
}

/* Layout-Container fÃ¼r Sidebar + Inhalt */
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1rem;
}

/* Mobil einspaltig */


/* Sidebar-Navigation */
.faq-nav {
  position: sticky;
  top: 1rem;
  background: var(--primary-900, #1f2a44);
  color: #fff;
  border-radius: .5rem;
  padding: .75rem;
}

.faq-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-nav li+li {
  margin-top: .25rem;
}

.faq-nav a {
  display: block;
  text-decoration: none;
  padding: .5rem .625rem;
  border-radius: .375rem;
  color: #fff;
}

/* Sichtbarer Fokusrahmen */
.faq-nav a:focus-visible {
  outline: 2px solid var(--accent, #0096a6);
  outline-offset: 2px;
  background: var(--primary-700, #2a3b5f);
}

.faq-nav a:hover {
  background: var(--primary-700, #2a3b5f);
}

/*Ãœberschrift im Content */
#faq-title {
  margin-top: 0;
}

/* Details/Accordion ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Marker vereinheitlichen */
details {
  border-bottom: 1px solid var(--border, #e1e7f0);
  padding-block: .75rem;
}

details[open] {
  background: var(--bg-soft, #f7f9fc);
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* Safari/Chromium */
summary::marker {
  content: "";
}

/* Firefox */
summary .q {
  font-weight: 600;
}

/* eigenes Disclosure-Icon */
summary {
  position: relative;
  padding-left: 1.25rem;
}

summary::before {
  content: "ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â¸";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
}

details[open] summary::before {
  content: "ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â¾";
}

/* AbstÃƒÆ’Ã‚Â¤nde, Lesbarkeit */
.faq-wrapper p {
  margin: .5rem 0 0 0;
}

.back-to-top {
  margin-top: 1.25rem;
}

/* Bullets in der Sidebar entfernen */
.faq-nav li::marker {
  content: "";
}

/* FAQ Registrierung Bilder */
.faq-registration-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 2rem 0;
}

.faq-registration-step {
  flex: 1 1 350px;
  max-width: 350px;
  /* maximale Breite pro Bildblock */
  text-align: center;
}

.faq-registration-step img {
  width: 100%;
  max-width: 400px;
  /* Bild skalieren */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, .08);
  margin-bottom: 0.5rem;
}

.faq-registration-step figcaption {
  font-size: .9rem;
  color: var(--text-secondary, #555);
}


/* =====================================================================
   21) Startseite ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Mainbereich, Karten, Hero, Checkliste
   =====================================================================
   ===================================================================== */
#home-main {
  --gap: 1rem;
  --radius: 16px;
  --shadow: 0 6px 16px rgba(0, 0, 0, .08);
  --shadow-hover: 0 10px 24px rgba(0, 0, 0, .12);
  --card-bg: #fff;
  --card-border: #e7edf3;
  --text: #111;
  --muted: #555;
  --accent: #1f2a44;
  --accent-contrast: #fff;

  background: linear-gradient(180deg, #f7f9fc, #fff 140px);
  padding: clamp(1rem, 2.5vw, 2rem);
}

#home-main * {
  box-sizing: border-box;
}

/* Sprungnavigation */
#home-main .jump-nav {
  margin: 0 0 1rem 0;
}

#home-main .jump-nav nav {
  border: 1px solid var(--card-border);
  background: #fff;
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

#home-main .jump-nav nav h2 {
  font-size: 1rem;
  margin: 0 0 .5rem 0;
}

#home-main .jump-nav nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#home-main .jump-nav nav a {
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: var(--accent);
  background: #fff;
}

#home-main .jump-nav nav a:focus-visible {
  outline: var(--focus-alt);
  outline-offset: 2px;
}

#home-main .jump-nav nav a:hover {
  background: #f1f5fb;
}

/* Hero */
/* === FIX 1: Hero-Ausrichtung und Headline-GrÃƒÂ¶ÃƒÅ¸e ===================== */
#home-main .hero {
  grid-template-columns: 1.1fr 0.9fr;
  /* Text links, Bild rechts */
  align-items: center;
}

#home-main .hero .panel {
  order: 1;
}

#home-main .hero .figure {
  order: 2;
}

#home-main .hero h1 {
  font-size: var(--fs-xxl);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  word-break: normal;
}

/* Engere Breite fÃƒÂ¼r bessere ZeilenumbrÃƒÂ¼che bei groÃƒÅ¸en Screens */


/* === FIX 2: PrimÃƒÂ¤r-Button im dunklen Hero kontrastreich ============= */
#home-main .hero .panel .btn-primary,
#home-main .hero .panel a.btn-primary {
  display: inline-block;
  font-size: var(--fs-sm);
  padding: .85rem 1.2rem;
  border-radius: .7rem;
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

#home-main .hero .panel .btn-primary:hover,
#home-main .hero .panel a.btn-primary:hover {
  filter: none;
  background: #f3f6ff;
  border-color: #f3f6ff;
}

/* Optional: sekundÃƒÂ¤rer Button-Stil im Hero */
#home-main .hero .panel .btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .75);
}

#home-main .hero .panel .btn.secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
}

/* === FIX 3: Saubere Auflistung neben dem ersten Bild =================
   Zielt auf ULs im linken Hero-Panel (ohne HTML-Ãƒâ€žnderungen) */
#home-main .hero .panel ul {
  list-style: none;
  margin: 0 0 var(--space-md) 0;
  padding: 0;
}

#home-main .hero .panel ul li {
  position: relative;
  padding-left: 1.25rem;
  /* Hanging indent */
  margin: .4rem 0;
  line-height: 1.55;
}

#home-main .hero .panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--accent, #1f2a44);
  /* Markenpunkt */
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
  /* dezente Kontur auf hell */
}

/* Kleinere Typo im Hinweis/Kurzclaim unter der Liste */
#home-main .hero .panel .muted,
#home-main .hero .panel p:last-child {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* === Fix 3b: Bildkante und Abstand harmonisieren ==================== */
#home-main .hero .figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

#home-main .hero .figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* === Safety: mobile Stapelung bleibt sauber ========================= */


/* Sektionen */
#home-main section[role="region"] {
  margin: clamp(1rem, 2.8vw, 2rem) 0;
}

#home-main section h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  margin: 0 0 .75rem 0;
}

/* Grid / Karten */
#home-main .grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

#home-main .card {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: clip;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

#home-main .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

#home-main .card:focus-visible {
  outline: var(--focus-alt);
  outline-offset: 2px;
}

#home-main .card .media {
  width: 100%;
  aspect-ratio: 3/2;
  background: #eef3f9;
  display: block;
}

#home-main .card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#home-main .card .content {
  padding: .9rem 1rem 1rem 1rem;
}

#home-main .card h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
}

#home-main .card p {
  margin: 0 0 .75rem 0;
  color: var(--muted);
  font-size: .95rem;
}

#home-main .card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

#home-main .pill {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: #eef3f9;
  color: var(--accent);
  font-size: .85rem;
  border: 1px solid var(--card-border);
}

#home-main .btn {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: .7rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-size: .95rem;
  line-height: 1;
}

#home-main .btn:hover {
  filter: brightness(1.05);
}

#home-main .btn:focus-visible {
  outline: var(--focus-alt);
  outline-offset: 2px;
}

/* Bewegungen reduzieren */


/* =====================================================================
   22) Service Layout Styles (Main-Bereich)
   =====================================================================
   ===================================================================== */
/* Container fÃ¼r Main-Bereich */
.service-wrapper {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
}

/* Hero ohne Linkzeile â€“ nur Text, mittig */
.service-header {
  background: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.service-header .intro {
  max-width: 800px;
  margin: 0 auto;
}

/* CTA kompakter und mittig begrenzen */
.service-cta {
  max-width: 900px;
  margin: 0 auto;
}

.cta-form-inner {
  max-width: 460px;
  margin: 0 auto;
}

/* Starter-Set nutzt dieselben Karten wie Features â€“ keine Bullets */
#starterset .feature-list {
  list-style: none;
}

/* Typo-Anpassung fÃ¼r Feature-Karten-Titel */
.feature-body h3 {
  font-size: 1.1rem;
}

/* Seitenleiste etwas ruhiger darstellen */
.service-sidebar {
  opacity: .98;
}

/* Linke Sidebar Navigation */
.service-sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: 6rem;
  align-self: start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  max-height: 80vh;
  overflow-y: auto;
}

.service-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-sidebar li {
  margin: 0.5rem 0;
}

.service-sidebar a {
  display: block;
  padding: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.service-sidebar a:hover,
.service-sidebar a.is-active,
.service-sidebar a:focus {
  background: var(--primary);
  color: var(--text-light);
  outline: none;
}

/* Content rechts */
.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Header oben */
.service-header h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service-header .intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Sektionen */
.service-section h2 {
  margin: 0 0 1rem 0;
  font-size: 1.6rem;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 0.5rem;
}

/* News-Artikel Styles - Optimiert für bessere Lesbarkeit */
.news-hero {
  margin-bottom: 4rem;
  min-height: auto;
  max-height: none;
}

.news-hero .hero-image {
  min-height: 200px;
  max-height: 250px;
}

.news-hero .hero-image img {
  object-fit: cover;
  height: 100%;
}

.news-hero .hero-text {
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  height: auto !important;
}

.news-hero h1 {
  font-size: 2rem;
  margin: 0 0 0.75rem 0;
  color: var(--text);
  border: none;
  padding: 0;
  text-align: left;
}

.news-hero .intro {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: none;
  text-align: left;
  color: var(--text-muted);
}

/* News-Artikel Container */
.news-article {
  margin-bottom: 5rem;
  padding-bottom: 0;
}

.news-article:last-of-type {
  margin-bottom: 3rem;
}

/* Meta-Informationen (Datum + Typ) */
.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.news-date time {
  font-weight: 600;
}

/* Beitragstypen Labels */
.news-type {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3125rem 0.75rem;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.news-type--update {
  /* Dezentes Update-Label */
}

.news-type--product {
  /* Dezentes Produkt-Label */
}

.news-type--partnership {
  /* Dezentes Partnerschaft-Label */
}

/* News Überschriften */
.news-article h2 {
  font-size: 1.75rem;
  margin: 0 0 1.75rem 0;
  color: var(--text);
  border: none;
  padding: 0;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* News Content - Optimiert für Lesbarkeit */
.news-content {
  line-height: 1.8;
  color: var(--text);
}

.news-preview {
  margin-bottom: 0;
}

.news-full {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.news-content p {
  margin: 0 0 1.5rem 0;
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
}

.news-content p:last-child {
  margin-bottom: 0;
}

/* Weiterlesen Button */
.news-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.news-toggle:hover {
  background: var(--bg-soft);
  border-color: var(--text-muted);
  color: var(--text);
}

.news-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.news-toggle-icon {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.75rem;
}

.news-toggle[aria-expanded="true"] .news-toggle-icon {
  transform: rotate(180deg);
}

/* Archiv Navigation - Zurückgenommen */
.service-sidebar--archive {
  opacity: 0.75;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1rem 0.875rem;
}

.service-sidebar--archive .sidebar-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.service-sidebar--archive ul {
  margin-top: 0;
  padding: 0;
}

.service-sidebar--archive li {
  margin: 0.375rem 0;
}

.service-sidebar--archive a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  padding: 0.375rem 0.5rem;
  display: block;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.service-sidebar--archive a:hover,
.service-sidebar--archive a:focus {
  color: var(--text);
  background: var(--bg);
}

.service-sidebar--archive a:active,
.service-sidebar--archive a[aria-current="page"] {
  color: var(--primary);
  background: var(--bg);
  font-weight: 500;
}

/* Mobile Optimierungen */
@media (max-width: 900px) {
  .news-article {
    margin-bottom: 4rem;
  }

  .news-article h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .news-hero {
    margin-bottom: 3rem;
  }

  .news-hero h1 {
    font-size: 1.75rem;
  }

  .news-content p {
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .news-meta {
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
  }

  .news-toggle {
    margin-top: 1.5rem;
  }
}

/* Feature-Listen */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  gap: 1rem;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.feature-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =====================================================================
   Buttons in Feature-Boxen
   ===================================================================== */
.feature-body .btn-primary {
  display: block;
  margin: 1rem auto 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .feature-body .btn-primary.align-right {
    float: right;
    margin: 1rem 0 0 0;
  }
}

/* Check-Liste Starterset */
.check-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.check-icon {
  font-size: 1.2rem;
  color: var(--primary);
}

/* CTA Bereich */
.service-cta {
  background: var(--bg-soft);
  border: 2px solid var(--primary);
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
}

.cta-form {
  margin: 1.5rem 0;
}

.cta-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-form input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.cta-form .hint {
  margin-bottom: 1rem;
}

.cta-form button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: var(--text-light);
  font-weight: bold;
  cursor: pointer;
}

.cta-form button:hover,
.cta-form button:focus {
  background: var(--primaryHover);
  outline: none;
}

.cta-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* =====================================================================
   Hero â€“ an "Warum"-Box angeglichen
   ===================================================================== */
.service-header--split {
  display: grid;
  grid-template-areas:
    "headline headline"
    "text     image"
    "cta      image";
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

/* hero-copy auf Grid-Ebene entpacken */
.service-header--split .hero-copy {
  display: contents;
}

/* Headline */
.service-header--split .hero-copy h1 {
  grid-area: headline;
  text-align: left;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  line-height: 1.15;
}

/* Text links */
.service-header--split .hero-copy> :not(h1):not(p:has(.btn)) {
  grid-area: text;
  min-width: 0;
  max-width: 60ch;
  margin: 0;
  text-align: left;
}

/* Button unter dem Text */
.service-header--split .hero-copy p:has(.btn) {
  grid-area: cta;
  margin-top: 0.5rem;
}

.service-header--split .hero-copy .btn {
  display: inline-flex;
  margin: 0.5rem 0 0 0;
}

/* Bild rechts */
.service-header--split .hero-media {
  grid-area: image;
  align-self: center;
  justify-self: end;
  margin: 0;
  padding: 0;
}

.service-header--split .hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.service-header--split .hero-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted, #cbd5e1);
  text-align: right;
}

/* GroÃŸbildschirm */
@media (min-width: 1400px) {
  .service-header--split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Tablet / Mobil */
@media (max-width: 900px) {
  .service-header--split {
    grid-template-areas:
      "headline"
      "image"
      "text"
      "cta";
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .service-header--split .hero-copy,
  .service-header--split .hero-copy h1 {
    text-align: center;
  }

  .service-header--split .hero-media {
    justify-self: center;
  }

  .service-header--split .hero-media img {
    max-width: 100%;
  }
}

/* =====================================================================
   Karten-Layout
   ===================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card-grid>.card {
  grid-column: span 4;
}

.card .meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.card .pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #eef2ff;
}

.card .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: #1f2937;
  color: #fff;
}



/* =====================================================================
   23) About ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Kartenlayout & Hero-Karte
   =====================================================================
   ===================================================================== */
/* Entfernt - doppelte Definition, die richtige ist weiter oben bei Zeile 1787 */

.card {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border, #e1e7f0);
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.card:focus-within {
  outline: 3px solid var(--primary-100, #f0f6ff);
  outline-offset: 2px;
}

.card-body>h2 {
  margin-top: 0;
  font-size: clamp(1.125rem, 1vw + 1rem, 1.4rem);
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin: .5rem 0 0;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem;
  align-items: start;
  line-height: 1.5;
  margin: .25rem 0;
}

.check-icon {
  font-weight: 700;
  line-height: 1;
}

.cta-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.card--hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}

.card--hero .card-media {
  margin: 0;
}

.card--hero .card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid var(--border, #e1e7f0);
}

/* Responsiv: 2/3-Spaltenraster */




/* =====================================================================
   24) About ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Subnav konsistent (Sticky + Scroller)
   =====================================================================
   ===================================================================== */
.sticky-subnav {
  position: sticky;
  top: var(--sticky-offset);
  z-index: 20;
  background: var(--primary-800, #233252);
  border-bottom: 1px solid var(--primary-700, #2b3a5b);
}

.side-links--scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.side-links--scroller ul {
  display: flex;
  gap: 1.25rem;
  padding: .85rem 1rem;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}

.side-links--scroller a {
  color: var(--text-light, #fff);
  text-decoration: none;
  opacity: .95;
}

.side-links--scroller a:hover,
.side-links--scroller a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ABOUT-spezifisch: Nav selbst nicht als Flex */
#about-main .side-links--scroller {
  display: block !important;
  padding: 0 !important;
  white-space: normal;
}

#about-main .side-links--scroller>ul {
  display: flex !important;
}

/* Ankerziele nicht verdecken */
.section,
#about-main .section {
  scroll-margin-top: calc(var(--sticky-offset) + 16px);
}

/* =====================================================================
   25) About ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ GrÃƒÆ’Ã‚Â¶ÃƒÆ’Ã…Â¸en & AbstÃ¤nde Feinschliff
   =====================================================================
   ===================================================================== */
#main-content .page-header {
  padding: .75rem 1rem;
  border-radius: .5rem .5rem 0 0;
}

#main-content .page-header h1 {
  margin: .2rem 0 .35rem;
}

#main-content .page-header .intro {
  font-size: .975rem;
  line-height: 1.5;
}

#main-content .service-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

#main-content .service-sidebar {
  position: sticky;
  top: var(--sticky-offset, 64px);
  align-self: start;
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e1e7f0);
  border-radius: .5rem;
  padding: .75rem;
}

#main-content .service-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-content .service-sidebar li+li {
  margin-top: .35rem;
}

#main-content .service-sidebar a {
  display: block;
  padding: .6rem .75rem;
  border-radius: .5rem;
  color: var(--text, #1b1b1b);
  text-decoration: none;
}

#main-content .service-sidebar a:hover,
#about-main .service-sidebar a:focus-visible {
  background: #eef3ff;
  outline: none;
}

#main-content .service-sidebar a.is-active {
  background: var(--primary-800, #233252);
  color: #fff;
}

#main-content.service-content {
  min-width: 0;
}

#main-content .cards.cards--grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

#about-main .card--hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}

#main-content .card--hero .card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid var(--border);
}

/* =====================================================================
   26) About ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Hintergrundfarbe fÃƒÆ’Ã‚Â¼r Split-Section
   =====================================================================
   ===================================================================== */
#main-content #wer-wir-sind.service-header--split {
  background: var(--bg-light, #fff);
  color: var(--text, #1b1b1b);
  border: 1px solid var(--border, #e1e7f0);
  border-radius: .5rem;
  padding: 1.5rem;
}

#main-content #wer-wir-sind .hero-copy h2 {
  color: var(--text, #1b1b1b);
}

/* =====================================================================
   27) About ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Hero-Ãœberschrift & Intro optimieren
   =====================================================================
   ===================================================================== */
#main-content .service-header {
  text-align: center;
  padding: 2rem 2rem 2.5rem;
}

#main-content .service-header h1 {
  font-size: clamp(2rem, 2.8vw + 1rem, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

#main-content .service-header .intro {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #e8eef9;
}

/* =====================================================================
   28) Hero-Sektionen ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ flexibler gestalten
   =====================================================================
   ===================================================================== */
.service-header--split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1rem;
}

.service-header--split .hero-copy {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}

/* =====================================================================
   29) Checklisten ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ nur Haken, keine Bullets
   =====================================================================
   ===================================================================== */
.card .checklist,
.checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}

.checklist>li::marker {
  content: "";
}

.card .checklist li,
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .5rem 0;
}

.checklist li>span[aria-hidden="true"] {
  font-weight: 900;
  color: var(--primary-600);
  line-height: 1.2;
  margin-top: .1rem;
  flex: 0 0 auto;
}

/* =====================================================================
   30) Header & Nav
   =====================================================================
   ===================================================================== */
/* Header-Layout via Grid */
.site-header {
  width: 100%;
  background: var(--primary);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 16px;
  align-items: center;
}

/* Links: Icon-Logo */
.logo img {
  height: clamp(40px, 5.5vw, 72px);
  width: auto;
}

/* Mitte: Wortmarke zentriert â€“ Bild selbst steuern */
.brandwordmark {
  justify-self: center;
  line-height: 0;
  pointer-events: none;
}

.brandwordmark img {
  display: block;
  height: clamp(44px, 6vw, 110px);
  width: auto;
  max-width: min(70vw, 760px);
  object-fit: contain;
}

/* Rechts: Code-Form */
.header-actions {
  justify-self: end;
}

.codeeingabe {
  display: flex;
  align-items: center;
  gap: 8px;
}

.codeeingabe input {
  height: 36px;
  padding: 6px 10px;
  max-width: 380px;
}

.codeeingabe button {
  height: 36px;
}

/* Mobile: Wortmarke Ã¼ber dem Code-Feld anzeigen */
/* ===== Header/Nav Ã¯Â¿Â½ CLEAN ===== */
.main-nav {
  background: var(--primary, #1f2a44);
  color: #fff;
  position: relative;
  z-index: 20
}

.main-nav .nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  position: relative;
  overflow: visible
}

.main-nav a {
  color: inherit;
  text-decoration: none
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.main-nav li {
  display: inline-flex;
  align-items: center;
  gap: .5rem
}

/* Hamburger */
.nav-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.nav-toggle .icon-bars {
  width: 22px;
  height: 22px;
  fill: #fff
}

/* ===== User-Dropdown (einheitlich fÃ¯Â¿Â½r alle Breakpoints) ===== */
.nav-user {
  position: relative
}

.nav-user__menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  max-width: 320px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  padding: 6px 0;
  z-index: 10000;
  white-space: nowrap
}

.nav-user.is-open .nav-user__menu {
  display: block
}

.nav-user__menu li {
  display: block
}

.nav-user__menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem !important;
  color: #111 !important;
  text-decoration: none;
  border-radius: 8px
}

.nav-user__menu a:hover,
.nav-user__menu a:focus {
  background: #f3f6ff;
  outline: none
}

.nav-user__group-title {
  padding: .45rem .9rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #6b7280;
  text-transform: uppercase
}

.nav-user__separator {
  height: 1px;
  background: #e5e7eb;
  margin: .35rem .6rem;
  border-radius: 1px
}

/* =====================================================================
   31) Export Batch PDF Buttons
   Hinweis: bewusst minimal, kollisionsarm.
   =====================================================================
   ===================================================================== */
.export-actions {
  margin: 1rem 0;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.export-actions .btn {
  cursor: pointer;
  text-decoration: none;
}

.export-range {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.export-range input[type="number"] {
  width: 7rem;
  padding: .35rem .5rem;
}

/* =====================================================================
   32) Form-Actions mit Zeitstempel rechts
   =====================================================================
   ===================================================================== */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .75rem;
}

.form-actions .updated {
  margin-left: auto;
  font-size: .9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Kartenbilder konsistent skalieren */
.feature-list--grid .feature-media,
.feature-item .feature-media {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.feature-item .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Split-Layout: Text + Bild nebeneinander */
.feature-item--split {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 1.25rem;
  align-items: center;
}

.feature-item--split .feature-media {
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 480px;
}

/* Optional: Obergrenze fÃ¯Â¿Â½r KartenhÃ¶he */
.feature-list--grid .feature-media {
  max-height: 220px;
}

/* === HERO ÃœBERSCHRIFT ÃœBER DEM BILD =============================== */
#home-main .hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  position: relative;
}

/* Panel und Bild: Bild etwas nach unten, Text bleibt oben */
#home-main .hero .panel {
  align-self: start;
  padding-top: var(--space-lg);
}

#home-main .hero .figure {
  align-self: end;
  margin-top: var(--space-sm);
}

/* Ãœberschrift direkt Ã¼ber dem Bild, bÃ¼ndig links mit Bildkante */
#home-main .hero h1 {
  margin-bottom: var(--space-md);
  color: #fff;
  font-size: var(--fs-xxl);
  line-height: 1.1;
  position: relative;
  z-index: 3;
}

/* Button visuell klarer */
#home-main .hero .btn {
  margin-top: var(--space-sm);
  background: #fff;
  color: var(--accent);
  border: none;
  padding: .8rem 1.2rem;
  border-radius: .6rem;
  font-weight: 600;
}

#home-main .hero .btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Mobile: alles Ã¼bereinander, Text bleibt oben */


/* =====================================================================
   33) Admin OberflÃ¤che Feinschliff
   Gilt nur fÃ¼r /admin.php. Keine bestehenden Regeln Ã¼berschrieben.
   =====================================================================
   ===================================================================== */
.admin-wrap {
  margin-top: 1.5rem;
}

/* Grid: mobil 1 Spalte, ab 1069px zwei Spalten */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}



/* Card Header optisch klarer */
.card>header {
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: .75rem 1rem;
  border-top-left-radius: var(--radius, 12px);
  border-top-right-radius: var(--radius, 12px);
}

.card>header h2 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.card .body {
  padding: 1rem;
}

/* Form */
.admin-form .form-group {
  margin-bottom: .75rem;
}

.admin-form label {
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
}

.admin-form input[type="number"],
.admin-form input[type="text"] {
  width: 100%;
  max-width: 360px;
}

.admin-form .checkbox {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.admin-form .form-actions {
  margin-top: .5rem;
}

/* Exportbereich */
.export-actions {
  display: grid;
  gap: .75rem;
}

.export-actions .export-range {
  display: grid;
  grid-template-columns: auto 120px auto 120px auto;
  gap: .5rem .75rem;
  align-items: center;
}

.export-actions .btn {
  white-space: nowrap;
}



/* Ergebnisliste */
.admin-results .body {
  padding-top: 0;
}

.result-item {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: .75rem 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--border, #d7dce3);
}

.result-item:last-child {
  border-bottom: 0;
}

.result-qr img {
  display: block;
  width: 108px;
  height: auto;
}

.result-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .95rem;
}

.result-meta strong {
  font-weight: 700;
  color: var(--primary, #1f2a44);
}

/* Kleintext */
.text-muted.small {
  font-size: .85rem;
  color: var(--text-muted, #6b7280);
}

/* =====================================================================
   34) FAQ: Layout, Accordion, Typografie
   =========================================================
   ===================================================================== */
/* Grid fÃ¼r diese Seite */
#faq-page {
  --sticky-offset: 80px;
  row-gap: 1.5rem;
}

/* Header ruhiger, grÃ¶ÃŸer */
.service-header {
  background: var(--primary-900, #0b1a2d);
  color: var(--text-light);
  border-radius: .6rem;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.service-header h1 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.25;
}

.service-header .lead {
  margin-top: .4rem;
  font-size: 1.05rem;
  opacity: .9;
}

/* Sidebar feiner */
.service-sidebar {
  top: var(--sticky-offset, 80px);
  border-radius: .6rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.service-sidebar a {
  display: block;
  padding: .5rem .6rem;
  border-radius: .4rem;
}

.service-sidebar a:hover,
.service-sidebar a:focus {
  background: var(--primary-50, #eef4ff);
  color: var(--primary-900, #0b1a2d);
}

/* Accordion Cards */
.faq .faq-item {
  margin: .75rem 0;
  border: 1px solid var(--border, #e1e7f0);
  border-radius: .6rem;
  background: var(--bg, #fff);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.1rem 1rem 2rem;
  line-height: 1.6;
  /* mehr ZeilenhÃ¶he */
  font-weight: 600;
}

.faq .faq-item .a {
  padding: .9rem 1.1rem 1.2rem 2rem;
  line-height: 1.75;
  /* luftiger Text */
}

/* zugÃ¤nglicher Chevron ohne Sonderzeichen */
.faq .faq-item summary {
  position: relative;
}

.faq .faq-item summary::before {
  content: "";
  position: absolute;
  left: .9rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .2s ease;
}

.faq .faq-item[open] summary::before {
  transform: translateY(-50%) rotate(45deg);
}

/* Fokus klar */
.faq .faq-item summary:focus {
  outline: var(--focus-ring, 2px solid #3b82f6);
  outline-offset: 2px;
  border-radius: .4rem;
}

/* Back-to-top Link */
.back-top {
  margin-top: 1rem;
}

.back-top .link-quiet {
  text-decoration: underline;
}

/* Mobile: einspaltig */


/* Notices kompatibel mit bestehender Messaging-Farbenwelt */
.notice {
  padding: .75rem 1rem;
  border-radius: .5rem;
  margin: .75rem 0 1rem;
  border: 1px solid var(--border, #e1e7f0);
  background: var(--bg-soft, #f7f9fc);
}

.notice--ok {
  border-left: 4px solid #2e7d32;
  background: #e8f5e9;
}


/* =====================================================================
   35) Media: Min-Width (mobile-first)
   =====================================================================
   ===================================================================== */
@media (min-width:600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:700px) {
  .cards.cards--about {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--hero {
    grid-template-columns: 1.6fr 1fr;
  }

  #about-main .cards.cards--grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #about-main .card--hero {
    grid-template-columns: 1.6fr 1fr;
  }
}

@media (min-width:720px) {
  #home-main .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:768px) {
  .service-header--split {
    grid-template-columns: 1fr 2fr;
    text-align: left;
  }

  .service-header--split .hero-copy {
    margin: 0;
    text-align: left;
  }
}

@media (min-width:800px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:960px) {
  .page-layout {
    grid-template-columns: 240px 1fr;
  }

  .filter-nav ul {
    flex-direction: column;
    overflow: visible;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:980px) {
  .layout {
    grid-template-columns: 280px 1fr;
  }
}

@media (min-width:1024px) {
  #home-main .hero .panel {
    max-width: 46ch;
  }

  #home-main .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.cards--about {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--hero {
    grid-column: 1 / -1;
    grid-template-columns: 2fr 1fr;
    padding: 1.25rem;
  }

  #about-main .cards.cards--grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #about-main .card--hero {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width:1069px) {
  .nav-toggle {
    display: none
  }

  .nav-left {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
  }

  .nav-right {
    display: flex;
    gap: 1rem;
    margin-left: auto
  }

  .main-nav a {
    padding: .35rem .6rem
  }

  .admin-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

@media (min-width:1200px) {
  .service-header--split {
    grid-template-columns: 1fr 3fr;
  }
}

/* =====================================================================
   36) Media: Max-Width (progressive enhancement)
   =====================================================================
   ===================================================================== */
@media (max-width:480px) {
  .nav-user__name {
    display: none;
  }

  .export-actions .export-range {
    grid-template-columns: 1fr 1fr;
  }

  .export-actions .export-range label {
    display: none;
  }
}

/* Mobile Layout Kompakt: reduziert Padding und Typo im Content Bereich */
@media (max-width:520px) {
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
  }

  /* Hauptbereich kompakter, verhindert horizontales Ziehen */
  main {
    max-width: 100%;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  section.content {
    max-width: 100%;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  .container,
  .wrap {
    max-width: 100%;
    padding: 1rem .75rem;
  }

  /* Karten und Grid dÃ¼rfen nicht breiter als Viewport werden */
  .card,
  .grid,
  .layout,
  .media {
    min-width: 0;
    max-width: 100%;
  }

  /* Lange Tabellen oder Inhalte scrollen intern statt das Layout zu sprengen */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* GroÃŸe Ãœberschriften im Content etwas reduzieren */
  section.content h1 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}



@media (max-width:600px) {
  .form-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
  }

  .form-actions .btn {
    align-self: stretch;
  }

  .feature-list--grid .feature-media {
    max-height: 180px;
  }
}

@media (max-width:640px) {
  .card-grid>.card {
    grid-column: span 12;
  }
}

@media (max-width:719.98px) {
  #home-main .hero {
    grid-template-columns: 1fr;
  }

  #home-main .hero .panel,
  #home-main .hero .figure {
    max-width: none;
  }

  #home-main .hero {
    grid-template-columns: 1fr;
  }

  #home-main .hero .panel,
  #home-main .hero .figure {
    align-self: center;
    text-align: center;
  }

  #home-main .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width:768px) {

  header,
  nav,
  .header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions>.btn {
    width: 100%;
    text-align: center;
  }

  nav {
    gap: var(--gap-md);
  }

  main,
  section.content,
  .container,
  .wrap {
    padding: var(--gap-md);
  }

  .meta {
    grid-template-columns: 1fr;
  }

  .media {
    align-items: flex-start;
  }

  .header-inner {
    grid-template-areas:
      "logo"
      "brand"
      "form";
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logo {
    grid-area: logo;
  }

  .brandwordmark {
    grid-area: brand;
    align-self: center;
    order: 2;
    margin-top: 4px;
  }

  .header-actions {
    grid-area: form;
    order: 3;
    justify-self: stretch;
  }

  .codeeingabe {
    width: 100%;
  }

  .codeeingabe input {
    flex: 1;
  }

  .main-nav .nav-inner {
    display: flex;
    align-items: center;
    gap: 8px
  }

  /* Burger LINKS */
  .nav-toggle {
    display: flex;
    order: 1;
    margin-right: .5rem
  }

  /* User-Leiste RECHTS sichtbar */
  .nav-right {
    order: 3;
    margin-left: auto;
    display: flex;
    gap: .75rem
  }

  /* Linke Liste als Panel unter der Leiste */
  #mainNavLeft {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: var(--primary, #1f2a44);
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    z-index: 2
  }

  .main-nav.is-open #mainNavLeft {
    display: flex
  }
}

@media (max-width:900px) {
  .aboutus-layout {
    grid-template-columns: 1fr;
  }

  .aboutus-image {
    margin-top: var(--gap-md);
    text-align: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    max-height: none;
  }

  .service-wrapper {
    flex-direction: column;
  }

  #main-content .service-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }
}

@media (max-width:960px) {
  .feature-item--split {
    grid-template-columns: 1fr;
  }

  .feature-item--split .feature-media {
    max-width: none;
    aspect-ratio: 16/9;
  }
}

@media (max-width:992px) {
  .service-header--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width:1100px) {
  .card-grid>.card {
    grid-column: span 6;
  }
}

/* =====================================================================
   37) Media: Range Queries
   =====================================================================
   ===================================================================== */
@media (min-width:769px) and (max-width:1068px) {
  .nav-toggle {
    display: none;
  }

  /* Container bleibt in einer Zeile */
  .main-nav .nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    /* verhindert den Zeilenumbruch */
  }

  /* Linke Liste kann innerhalb ihres Bereichs umbrechen */
  .nav-left {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    /* erlaubt internen Umbruch */
    flex: 1 1 auto;
    /* dehnt sich aus, aber verdrÃ¯Â¿Â½ngt nichts */
    min-width: 0;
    /* Fix fÃ¯Â¿Â½r Safari/Chrome Ã¯Â¿Â½ verhindert Push nach unten */
  }

  /* Rechte Liste bleibt fest rechts */
  .nav-right {
    display: flex;
    gap: .8rem;
    margin-left: auto;
    /* schiebt sie nach rechts */
    flex: 0 0 auto;
    white-space: nowrap;
    /* keine ZeilenumbrÃ¯Â¿Â½che */
  }

  .main-nav a {
    padding: .3rem .55rem;
  }
}

/* =====================================================================
   38) Media: User Preferences
   =====================================================================
   ===================================================================== */
@media (prefers-reduced-motion:reduce) {
  #home-main .card {
    transition: none;
  }
}

/* =====================================================================
   39) Media: Print
   =====================================================================
   ===================================================================== */
@media (print) {

  body,
  main,
  footer {
    background: var(--bg-light) !important;
    color: var(--text-dark) !important;
  }

  header,
  nav,
  footer {
    display: none !important;
  }
}

/* =====================================================================
   40) UnterstÃ¼tzen â€“ gleichmÃ¤ÃŸige Boxen mit symmetrischem Abstand
   =====================================================================
   ===================================================================== */
#unterstuetzen .feature-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#unterstuetzen .feature-item {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  min-height: 240px;
  /* gleichmÃ¤ÃŸig hohe Boxen */
}

#unterstuetzen .feature-item:hover,
#unterstuetzen .feature-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  border-color: rgba(31, 42, 68, .18);
}

/* Bildabschnitt */
#unterstuetzen .feature-media {
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 .9rem 0;
  aspect-ratio: 16/9;
}

#unterstuetzen .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Textabschnitt */
#unterstuetzen .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .4rem;
}

#unterstuetzen .feature-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

#unterstuetzen .feature-body p {
  margin: 0;
  color: var(--text-muted, #4b5563);
  font-size: .95rem;
  line-height: 1.55;
}

#unterstuetzen .feature-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive */
@media (max-width:700px) {
  #unterstuetzen .feature-item {
    padding: 1rem;
    min-height: 210px;
  }
}

/* =====================================================================
   41) Aktivierung â€“ exakt gleiche Breite wie Vorteile & UnterstÃ¼tzen
   =====================================================================
   ===================================================================== */
#aktivierung {
  width: 100%;
  max-width: 1280px;
  /* gleiche Gesamtbreite */
  margin: 0 auto 3rem auto;
  text-align: left;
}

#aktivierung h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

/* Box mit gleicher FlÃ¤che wie Vorteilskartencontainer */
#aktivierung .aktivierung-box {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 2rem 2rem 2.25rem;
  width: 100%;
}

/* Steps */
#aktivierung .steps-list {
  counter-reset: step;
  list-style: none;
  margin: 0 auto 2rem auto;
  padding: 1rem 1.5rem;
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 10px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, .04);
}

#aktivierung .steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0.6rem 0;
}

/* Zahlenkreise, immer gleiche GrÃ¶ÃŸe, kein ZusammendrÃ¼cken */
#aktivierung .steps-list li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.08);
  flex-shrink: 0;
}

#aktivierung h3 {
  font-size: 1.2rem;
  color: var(--primary, #1f2a44);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

#aktivierung p {
  max-width: 900px;
  margin: 0.4rem auto;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: center;
}

#aktivierung .claim {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--primary, #1f2a44);
}

/* Responsive */
@media (max-width:700px) {
  #aktivierung .steps-list {
    padding: 0.75rem 1rem;
  }

  #aktivierung .steps-list li {
    gap: 0.9rem;
    padding: 0.5rem 0;
    align-items: center;
  }

  #aktivierung .steps-list li::before {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
    font-size: 1rem;
  }

  #aktivierung .aktivierung-box {
    padding: 1.25rem;
  }
}

/* =====================================================================
   42) Vorteile â€“ symmetrische InnenabstÃ¤nde, einheitliche HÃ¶he
   =====================================================================
   ===================================================================== */
#vorteile .feature-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

#vorteile .feature-item {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: all .25s ease;
  padding: 1.4rem 1.4rem;
  /* gleichmÃ¤ÃŸig auf allen Seiten */
  min-height: 160px;
}

#vorteile .feature-item:hover,
#vorteile .feature-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  border-color: rgba(31, 42, 68, .18);
}

#vorteile .feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
  height: 100%;
}

/* Titel + Icon */
#vorteile .feature-body h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary, #1f2a44);
  word-break: keep-all;
}

#vorteile .feature-body h3 i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .08);
  flex-shrink: 0;
}

/* Text */
#vorteile .feature-body p {
  margin: 0;
  color: var(--text-muted, #4b5563);
  font-size: .96rem;
  line-height: 1.55;
  letter-spacing: 0.1px;
}

/* Responsive */
@media (max-width:700px) {
  #vorteile .feature-item {
    padding: 1.1rem;
    min-height: 140px;
  }
}

/* =====================================================================
   43) Produkte & Optionen â€“ Split-Card mit fokussiertem Bild und Center-CTA
   =====================================================================
   ===================================================================== */
#produkte {
  max-width: 1280px;
  margin: 0 auto 3rem;
}

#produkte #produkte-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: .6rem;
  margin: 0 0 1.25rem 0;
}

/* Karte */
#produkte .feature-item--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  /* Text : Bild */
  gap: 1.5rem;
  align-items: center;
}

/* Textspalte */
#produkte .feature-item--split .feature-body {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

#produkte .feature-item--split .feature-body p {
  margin: 0;
  line-height: 1.65;
}

#produkte .feature-item--split .list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

#produkte .feature-item--split .list li {
  position: relative;
  padding-left: 1.35rem;
}

#produkte .feature-item--split .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .10);
}

#produkte .feature-item--split .short-claim {
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

/* Button zentriert */
#produkte .feature-item--split .feature-body p:last-child {
  text-align: center;
}

#produkte .feature-item--split .btn {
  display: inline-flex;
  margin: .5rem auto 0 auto;
  padding: .62rem 1.25rem;
}

/* Bildspalte */
#produkte .feature-item--split .feature-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

#produkte .feature-item--split .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  /* vertikaleres Motiv */
  object-fit: cover;
  object-position: 70% center;
  /* Fokus leicht nach rechts */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

/* Feinabstimmung groÃŸ */
@media (min-width:1069px) {
  #produkte .feature-item--split {
    padding: 1.5rem 2rem;
  }
}

/* Responsive: untereinander, Bild zuerst */
@media (max-width:900px) {
  #produkte .feature-item--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #produkte .feature-item--split .feature-media {
    order: -1;
  }
}

/* =====================================================================
   44) Warum es den Notfallpass gibt â€“ grÃ¶ÃŸere Typo, bessere Balance
   =====================================================================
   ===================================================================== */
#warum {
  max-width: 1280px;
}

#warum #warum-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

/* Split-Layout */
#warum .feature-item--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
}

/* Textblock */
#warum .feature-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#warum .feature-body p {
  margin: 0;
  font-size: 1.05rem;
  /* grÃ¶ÃŸerer Text */
  line-height: 1.7;
  color: var(--text, #1a1a1a);
}

/* Bild */
#warum .feature-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

#warum .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  #warum .feature-item--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #warum .feature-media {
    order: -1;
  }
}

/* =====================================================================
   45) About-Cards â€“ gleichmÃ¤ÃŸige Textausrichtung und Buttons
   =====================================================================
   ===================================================================== */
.cards.cards--about {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

/* Kartenlayout - wie feature-item auf dienste.php */
.cards.cards--about .card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: auto;
}

/* Titel - wie feature-body h3 auf dienste.php */
.cards.cards--about .card__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
}

/* TextblÃ¶cke - wie feature-body auf dienste.php */
.cards.cards--about p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cards.cards--about .checklist {
  margin: 0;
  flex-grow: 1;
}

/* Checkliste */
.cards.cards--about .checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .45rem;
}

.cards.cards--about .checklist li {
  position: relative;
  padding-left: 1.35rem;
}

/* Aktionen */
.cards.cards--about .actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .5rem;
}

.cards.cards--about .actions .btn {
  flex: 1 1 auto;
  text-align: center;
  padding: .55rem 1rem;
  line-height: 1.1;
  white-space: nowrap;
  min-width: 130px;
}

/* Einheitlicher Abstand - wie feature-item auf dienste.php */
@media (min-width: 1069px) {
  .cards.cards--about .card {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  .cards.cards--about .card {
    min-height: unset;
  }
}

/* =====================================================================
   46) Wer wir sind â€“ Breite und Stil wie 4er-Grid (About-Cards)
   =====================================================================
   ===================================================================== */
#wer-wir-sind {
  max-width: 1280px;
  /* gleiche Breite wie die Cards unten */
  margin: 0 auto 3rem;
  /* zentriert mit gleichem Abstand */
  padding: 0;
  /* kein zusÃ¤tzliches AuÃŸenpadding */
}

#wer-wir-sind.service-header--split {
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 1.5rem 1.5rem;
  /* angeglichen an Karten-Padding */
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

/* Titel */
#wer-wir-sind .hero-copy h2 {
  margin: 0 0 .75rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  border-left: 4px solid var(--primary, #1f2a44);
  padding-left: .6rem;
}

/* Textblock */
#wer-wir-sind .hero-copy {
  padding: .25rem .75rem .25rem .75rem;
  /* gleichmÃ¤ÃŸiger Innenabstand */
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

#wer-wir-sind .hero-copy p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--text, #1a1a1a);
}

/* Liste */
#wer-wir-sind .key-points {
  list-style: none;
  margin: .25rem 0 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

#wer-wir-sind .key-points li {
  position: relative;
  padding-left: 1.35rem;
}

#wer-wir-sind .key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1f2a44);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .10);
}

/* Bild rechts - korrekt zentriert mit Flexbox */
#wer-wir-sind .hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

#wer-wir-sind .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  #wer-wir-sind .hero-media {
    order: -1;
  }

  #wer-wir-sind .hero-copy {
    padding: .25rem .25rem;
  }
}

/* =====================================================================
   47) Hero auf Mobile kleiner
   =========================================
   ===================================================================== */
@media (max-width:700px) {

  /* dunkler Banner-Hero (falls vorhanden) */
  .hero-banner {
    padding: 1rem 1.1rem;
  }

  .hero-banner h1 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin: 0 0 .4rem 0;
  }

  .hero-banner p {
    font-size: .98rem;
    line-height: 1.55;
    max-width: 42ch;
  }

  /* generische Split-Header kleiner */
  .service-header--split {
    gap: .9rem;
    padding: 1rem 1.1rem;
  }
}

/* =====================================================================
   48) â€žWer wir sindâ€œ â€“ Bild links, kleiner
   =========================================
   ===================================================================== */
@media (max-width:700px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
  }

  #wer-wir-sind .hero-copy {
    order: 1;
  }

  /* Bild links ausrichten und nicht zu groÃŸ */
  #wer-wir-sind .hero-media {
    order: 2;
    display: flex;
    justify-content: flex-start;
    /* links */
    align-items: center;
    overflow: visible;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  }

  #wer-wir-sind .hero-media img {
    width: min(88vw, 420px);
    /* kleiner skalieren */
    height: auto;
    object-fit: contain;
    border-radius: 10px;
  }
}

/* =====================================================================
   49) 2.1) Mobile-Optimierung Textausrichtung
   =========================================
   ===================================================================== */
@media (max-width:700px) {
  #wer-wir-sind .hero-copy {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #wer-wir-sind .hero-copy h2 {
    text-align: left;
    margin-left: 0;
  }

  #wer-wir-sind .hero-copy p,
  #wer-wir-sind .hero-copy ul {
    text-align: left;
    margin-left: 0;
  }

  /* Bild wieder breiter fÃ¼r gleichmÃ¤ÃŸigen Look */
  #wer-wir-sind .hero-media {
    justify-content: center;
  }

  #wer-wir-sind .hero-media img {
    width: 96%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* =====================================================================
   50) Letzte Boxen untereinander auf Mobile
   (About-Cards 4er-Grid)
   =========================================
   ===================================================================== */
@media (max-width:600px) {
  .cards.cards--about {
    grid-template-columns: 1fr;
    /* stapeln nur bei sehr kleinen Bildschirmen */
    gap: 1rem;
  }
}

/* =====================================================================
   51) Footer â€“ mit Grid, symmetrisch und responsiv
   =====================================================================
   ===================================================================== */
footer[role="contentinfo"] {
  background: #1a2238;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  border-top: 4px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  gap: 1.2rem;
}

/* Â©-Zeile mittig mit Abstand */
footer[role="contentinfo"] p {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  font-size: 1.15rem;
}

/* Linkzeile */
footer[role="contentinfo"] .footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 1.4rem;
  justify-content: center;
  align-items: center;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* Links */
footer[role="contentinfo"] .footer-links a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}

footer[role="contentinfo"] .footer-links a:hover,
footer[role="contentinfo"] .footer-links a:focus {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, .4);
}

/* Trennpunkte als Pseudo-Element */
footer[role="contentinfo"] .footer-links a+a::before {
  content: "â€¢";
  margin-right: 1.2rem;
  color: rgba(255, 255, 255, .45);
}

/* =====================================================================
   52) Mobile â€“ Links untereinander, zentriert
   =====================================
   ===================================================================== */
@media (max-width: 700px) {
  footer[role="contentinfo"] {
    font-size: 1rem;
    padding: 1.8rem 1rem;
    gap: 1rem;
  }

  footer[role="contentinfo"] .footer-links {
    grid-auto-flow: row;
    gap: .6rem;
  }

  footer[role="contentinfo"] .footer-links a+a::before {
    content: none;
  }
}

/* Footer-Links: Desktop bleibt wie gehabt (eine Zeile) */
footer[role="contentinfo"] .footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
}

/* Links als Buttons, keine Trennzeichen */
footer[role="contentinfo"] .footer-links {
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: 720px;
  width: 100%;
}

footer[role="contentinfo"] .footer-links a+a::before {
  content: none !important;
}

footer[role="contentinfo"] .footer-links a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  text-align: center;
  min-width: 150px;
}

footer[role="contentinfo"] .footer-links a:hover,
footer[role="contentinfo"] .footer-links a:focus {
  background: rgba(255, 255, 255, .14);
}

/* Desktop: eine Zeile, Wrap bei Bedarf */
@media (min-width:701px) {
  footer[role="contentinfo"] .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
  }
}

/* Mobile: 2 Spalten â€“ 1. Zeile Impressum/Datenschutz, dann AGB/Nach oben */
@media (max-width:700px) {
  footer[role="contentinfo"] .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: .8rem 1rem;
    justify-items: center;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(1) {
    grid-column: 1;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(2) {
    grid-column: 2;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(3) {
    grid-column: 1;
  }

  footer[role="contentinfo"] .footer-links a:nth-child(4) {
    grid-column: 2;
  }
}

/* =====================================================================
   53) CTA â€“ â€žJetzt startenâ€œ: fokussierte Karte, groÃŸes Eingabefeld, klare Aktionen
   =====================================================================
   ===================================================================== */
.service-cta {
  max-width: 1100px;
  margin: 0 auto 3rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 2rem 2rem 1.75rem;
  text-align: center;
}

.service-cta>h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2rem);
  margin: 0 0 .6rem 0;
  color: var(--primary, #1f2a44);
}

.service-cta>p {
  margin: 0 0 1.25rem 0;
  line-height: 1.65;
  color: var(--text, #1a1a1a);
}

/* Formularkarte */
.service-cta .cta-form {
  max-width: 760px;
  margin: 0 auto 1.1rem;
}

.service-cta .cta-form-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem .75rem;
  align-items: end;
}

/* Label Ã¼ber dem Feld, zentriert */
.service-cta label {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: .15rem;
}

/* Eingabefeld */
.service-cta input[type="text"] {
  padding: .9rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #cfe4ff;
  border-radius: 10px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}

.service-cta input[type="text"]:focus {
  border-color: #7db6ff;
  box-shadow: 0 0 0 4px rgba(125, 182, 255, .25);
}

/* Submit-Button rechts neben dem Feld */
.service-cta .cta-form-inner button[type="submit"] {
  padding: .9rem 1.1rem;
  border-radius: 10px;
  background: #1f2a44;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(31, 42, 68, .25);
  box-shadow: 0 6px 14px rgba(31, 42, 68, .18);
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease;
}

.service-cta .cta-form-inner button[type="submit"]:hover {
  opacity: .95;
}

.service-cta .cta-form-inner button[type="submit"]:active {
  transform: translateY(1px);
}

/* Hinweiszeile */
.service-cta .hint {
  grid-column: 1 / -1;
  margin: .15rem 0 0 0;
  font-size: .95rem;
  color: var(--text-muted, #4b5563);
}

/* PrimÃ¤re/sekundÃ¤re Aktionen darunter */
.service-cta .cta-actions {
  margin-top: .6rem;
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: .8rem;
}

.service-cta .btn {
  padding: .7rem 1.15rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.service-cta .btn-primary {
  background: #1f2a44;
  color: #fff;
  box-shadow: 0 6px 14px rgba(31, 42, 68, .18);
  border: 1px solid rgba(31, 42, 68, .25);
}

.service-cta .btn-secondary {
  background: #eaf1fb;
  color: #1f2a44;
  border: 1px solid #d4e1f7;
}

/* â€žZurÃ¼ck nach obenâ€œ unaufdringlich */
.service-cta .back-top {
  margin-top: .9rem;
}

.service-cta .back-top .link-quiet {
  color: var(--text-muted, #4b5563);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
}


/* Responsive */
@media (max-width: 780px) {
  .service-cta {
    padding: 1.5rem 1rem 1.25rem;
  }

  .service-cta .cta-form-inner {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .service-cta .cta-actions {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .service-cta .btn {
    width: 100%;
  }
}

/* CTA-Box Breite angleichen an andere Service-Boxen */
.service-cta {
  max-width: none;
  width: 100%;
  border-radius: 12px;
  margin: 0 auto 3rem auto;
  box-sizing: border-box;
}

/* Einheitlicher Innenabstand */
.service-cta {
  padding: 2rem clamp(1rem, 3vw, 3rem);
}

/* Text und Formelemente zentriert, aber nicht zu schmal */
.service-cta .cta-form {
  max-width: 720px;
  width: 100%;
}

.service-cta .cta-actions {
  max-width: 720px;
  margin: 1rem auto 0;
  width: 100%;
}

/* Mobile â€“ gleiche SeitenabstÃ¤nde wie andere Boxen */
@media (max-width: 700px) {
  .service-cta {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
}

/* =====================================================================
   54) Cookie Banner â€“ Vollbreit oben, mitlaufend, Farben Mein-Notfallpass
   =====================================================================
   ===================================================================== */
.cc-banner {
  position: relative;
  /* lÃ¤uft mit dem Inhalt mit */
  width: 100%;
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 4px solid var(--accent, #0096a6);
  z-index: 9999;
}

.cc-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.cc-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: .75rem;
}

.cc-text a {
  color: var(--accent, #0096a6);
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
}

.cc-btn {
  border: none;
  border-radius: 30px;
  font: inherit;
  cursor: pointer;
  padding: .6rem 1.4rem;
  transition: background .2s, color .2s;
}

.cc-btn.primary {
  background: var(--accent, #0096a6);
  color: #111;
}

.cc-btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cc-btn:hover,
.cc-btn:focus {
  filter: brightness(1.15);
}

/* mobile optimiert */
@media (max-width: 640px) {
  .cc-text {
    font-size: .9rem;
  }

  .cc-btn {
    flex: 1 1 45%;
  }
}


@media (prefers-color-scheme: light) {
  :root {
    --cc-bg: #111827;
    --cc-fg: #ffffff;
    --cc-muted: #e5e7eb;
    --cc-border: #d1d5db;
  }
}

/* Cookie Consent additions */
.cc-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 2147483646;
  background: var(-- --primary);
  color: var(-- --text-light);
  border-top: 1px solid var(--cc-border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.cc-btn:hover,
.cc-btn:focus {
  outline: 2px solid var(--cc-accent);
  outline-offset: 2px;
}

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  padding: 24px;
  background: rgba(0, 0, 0, .5);
}

.cc-modal[open] {
  display: block;
}

.cc-dialog {
  max-width: 720px;
  margin: 6vh auto;
  background: var(--surface, #fff);
  color: var(--text, #111);
  border: 1px solid var(--cc-border);
  border-radius: 12px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.cc-dialog header,
.cc-dialog footer {
  padding: 12px 16px;
  background: var(--cc-muted);
  border-bottom: 1px solid var(--cc-border);
}

.cc-dialog footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--cc-border);
  border-bottom: none;
  background: transparent;
}

.cc-dialog .cc-body {
  padding: 16px;
  line-height: 1.55;
}

.cc-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cc-switch label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cc-switch small {
  opacity: .8;
}

.cc-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .2s ease;
}

.cc-toggle .dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  transition: left .2s ease, background .2s ease;
}

.cc-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.cc-toggle input:checked+.dot {
  left: 21px;
  background: var(--cc-accent);
}

body.has-cc-banner {
  padding-bottom: 90px;
}

/* =====================================================================
   55) Cookie-Consent Buttons & Hover-Farben (Corporate Update)
   ==========================================================
   ===================================================================== */
:root {
  --cc-accent: #1f2a44;
  /* Dunkelblau Grundfarbe */
  --cc-accent-hover: #0096a6;
  /* TÃ¼rkis fÃ¼r Hover */
  --cc-btn-text: #ffffff;
}

/* Hauptbuttons (Akzeptieren / Ablehnen / Banner-Buttons) */
.cc-dialog footer button,
.cc-banner button,
.cc-btn.primary,
.cc-btn.reject {
  background: var(--cc-accent);
  color: var(--cc-btn-text);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

/* Hover/Fokus â†’ TÃ¼rkis */
.cc-dialog footer button:hover,
.cc-banner button:hover,
.cc-btn.primary:hover,
.cc-btn.reject:hover,
.cc-dialog footer button:focus,
.cc-banner button:focus,
.cc-btn.primary:focus,
.cc-btn.reject:focus {
  background: var(--cc-accent-hover);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

/* SekundÃ¤r-Button (â€žSpeichernâ€œ) hellgrau */
.cc-dialog footer button:first-child,
.cc-btn.ghost {
  background: #f3f4f6;
  color: var(--cc-accent);
  border: 1px solid #d1d5db;
}

.cc-dialog footer button:first-child:hover,
.cc-btn.ghost:hover {
  background: #e5e7eb;
  color: var(--cc-accent-hover);
  border-color: #cbd5e1;
}

/* =====================================================================
   56) Mein-Notfallpass Cookie-Consent â€“ final vereinheitlicht
   ==========================================================
   ===================================================================== */
:root {
  --cc-accent: #1f2a44;
  /* Dunkelblau */
  --cc-accent-hover: #0096a6;
  /* TÃ¼rkis */
  --cc-border-light: rgba(255, 255, 255, .18);
}

/* Banner-Link */
.cc-text a {
  color: #0096a6;
  text-decoration: underline;
}

.cc-text a:hover {
  color: #66c8d2;
}

/* Dialog-Hintergrund */
.cc-dialog {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cc-dialog header,
.cc-dialog footer {
  background: #1f2a44;
  color: #ffffff;
  border-color: #0f172a;
}

.cc-dialog .cc-body {
  background: #f5f5f5;
  color: #111827;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

/* Texte */
.cc-dialog h1,
.cc-dialog h2,
.cc-dialog h3 {
  color: #ffffff;
}

.cc-dialog p,
.cc-dialog small,
.cc-dialog label {
  color: #111827;
}

/* SchlieÃŸen-Button */
.cc-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .15s;
}

.cc-close:hover,
.cc-close:focus {
  color: #0096a6;
  transform: scale(1.1);
  outline: none;
}

/* =====================================================================
   57) Einheitliche Buttons â€“ alle blau mit Schatten
   ==========================================================
   ===================================================================== */
.cc-dialog footer button,
.cc-btn,
.cc-btn.reject,
.cc-banner button {
  background: var(--cc-accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--cc-border-light) !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25) !important;
  cursor: pointer !important;
  transition: background .2s, box-shadow .2s, transform .15s;
}

/* Hover/Fokus */
.cc-dialog footer button:hover,
.cc-btn:hover,
.cc-btn.reject:hover,
.cc-banner button:hover {
  background: var(--cc-accent-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35) !important;
  transform: translateY(-1px);
}

.cc-dialog footer button:focus,
.cc-btn:focus {
  outline: 2px solid var(--cc-accent-hover);
  outline-offset: 2px;
}

/* Speichern-Button explizit gleich einfÃ¤rben */
.cc-dialog footer button:first-child {
  background: var(--cc-accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--cc-border-light) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25) !important;
}

.cc-dialog footer button:first-child:hover {
  background: var(--cc-accent-hover) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35) !important;
}

/* =====================================================================
   58) Slider dunkelblau / Punkt tÃ¼rkis
   ==========================================================
   ===================================================================== */
.cc-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #1f2a44;
  transition: background .2s;
}

.cc-toggle .dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  transition: left .2s, background .2s;
}

.cc-toggle input:checked+.dot {
  left: 21px;
  background: #0096a6;
}

/* Spenden-Seite: Abschnitt #warum wie #worum und #spendenlink */
#unterstuetzen #warum .feature-list {
  display: block;
  /* kein Grid hier */
  margin: 0;
  padding: 0;
}

#unterstuetzen #warum .feature-list>li.feature-item {
  width: 100%;
  /* volle Kartenbreite wie oben */
  margin: 0;
  /* keine Zentrierung */
  min-height: 0;
  /* gleiche HÃ¶he-Logik wie Default */
  padding: 1rem 1.1rem;
  /* konsistente InnenabstÃ¤nde */
}

#unterstuetzen #warum .feature-body h3 {
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
}

#unterstuetzen #warum .feature-body p {
  margin: 0;
  line-height: 1.55;
}

/* =====================================================================
   59) ZurÃ¼ck-nach-oben Link â€“ im Stil des GoFundMe-Buttons
   =====================================================================
   ===================================================================== */
.back-top {
  text-align: center;
  margin-top: 1.5rem;
}

.back-top a {
  display: inline-block;
  background: #1f2a44;
  /* fester PrimÃ¤rton */
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  /* satter Schatten */
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.back-top a:hover,
.back-top a:focus {
  background: #0096a6;
  /* TÃ¼rkis aus Root */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 150, 166, 0.35);
  /* leicht tÃ¼rkisfarbener Glow */
}

/* =================================================================
   60) Partner Seite
   ================================================================= */

main.page-partner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* ================= Hero kompakter und zentriert ================= */

main.page-partner .hero-inline {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 160px) 1fr;
  align-items: center;
  background: var(--primary, #1f2a44);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 18px;
  padding: .75rem 1.25rem;
  margin: 1.5rem 0 1.25rem;
  column-gap: 1rem;
}

main.page-partner .hero-inline .hero-img {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(15, 23, 42, .3);
}

main.page-partner .hero-inline .hero-title {
  padding: 0 1rem;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

@media (max-width: 720px) {
  main.page-partner .hero-inline {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  main.page-partner .hero-inline .hero-img {
    height: 132px;
    border-radius: 8px 8px 0 0;
  }

  main.page-partner .hero-inline .hero-title {
    padding: .55rem .9rem;
  }
}

/* ================= Grid fÃ¼r Karten ================= */

main.page-partner .section {
  margin-top: .35rem;
}

main.page-partner .grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  main.page-partner .grid {
    grid-template-columns: 1fr;
  }
}

main.page-partner .card {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

/* ================= Medienbereich Logo Avatar
   Bild oben  Text darunter  alles mittig
   ================= */

main.page-partner .media-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

main.page-partner .logo,
main.page-partner .avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

main.page-partner .logo img,
main.page-partner .avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main.page-partner h3 {
  margin: 0 0 .2rem 0;
  color: var(--primary, #1f2a44);
  text-align: center;
}

/* ================= Buttons und Social Links ================= */

main.page-partner .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: var(--primary, #1f2a44);
  border: 1px solid var(--primary, #1f2a44);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter .2s;
}

main.page-partner .btn:hover {
  filter: brightness(1.05);
}

main.page-partner .btn:focus {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* Social Link Container */

main.page-partner .socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  margin-top: .2rem;
}

main.page-partner .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--primary, #1f2a44);
  border: 1px solid #d1d5db;
  text-decoration: none;
}

/* Wenn es nur einen Link gibt  Darstellung als schmaler Balken mittig */

main.page-partner .socials a:only-child {
  width: 200px;
  height: 40px;
  border-radius: 999px;
}

main.page-partner .socials a:hover {
  background: var(--accent, #00b3c7);
  color: #fff;
}

main.page-partner .socials a:focus-visible {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* ================= A11y und Hinweis ================= */

main.page-partner .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main.page-partner .empty-note {
  margin: .6rem 0 0;
  color: #6b7280;
}

/* Fix: Entfernt das unerwÃ¼nschte dunkle nav Styling innerhalb Partnerkarten */
main.page-partner nav {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
}

/* =====================================================================
   61) Admin: Partnerverwaltung â€“ High-Contrast Light UI
   Scope: main.page-admin-partners
   =====================================================================
   ===================================================================== */
main.page-admin-partners {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 1rem;
  color: #111827;
}

/* Vertikales Layout Container */
.admin-partner-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

main.page-admin-partners .card {
  background: #ffffff;
  /* hell */
  color: #111827;
  border: 1px solid #e5e7eb;
  /* helles Grau */
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  min-width: 0;
  overflow: visible;
}

/* Tabelle Card - volle Breite, kein Scroll */
main.page-admin-partners .admin-table-card {
  overflow-x: visible;
}



main.page-admin-partners h2 {
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 2px solid var(--border, #e5e7eb);
  padding-bottom: 1rem;
}

main.page-admin-partners legend {
  font-weight: 700;
  color: #0f172a
}

main.page-admin-partners fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa
}

main.page-admin-partners label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 600;
  color: #374151
}

main.page-admin-partners input[type="text"],
main.page-admin-partners input[type="url"],
main.page-admin-partners input[type="number"],
main.page-admin-partners select {
  width: 100%;
  padding: .6rem .7rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

main.page-admin-partners input::placeholder {
  color: #6b7280
}

main.page-admin-partners input[type="file"] {
  width: 100%
}

main.page-admin-partners .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem
}

@media(max-width:640px) {
  main.page-admin-partners .row {
    grid-template-columns: 1fr
  }
}

main.page-admin-partners .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid #1f2a44;
  background: #1f2a44;
  color: #fff;
  font-weight: 600
}

main.page-admin-partners .btn:hover {
  filter: brightness(1.05)
}

main.page-admin-partners .btn:focus {
  outline: 2px solid #00b3c7;
  outline-offset: 2px
}

main.page-admin-partners .btn.alt {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827
}

main.page-admin-partners table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #111827;
  table-layout: fixed;
}

main.page-admin-partners table thead th {
  padding: 1.25rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  border-bottom: 2px solid var(--border, #e5e7eb);
  background: transparent;
}

main.page-admin-partners table tbody td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: middle;
}

main.page-admin-partners table tbody tr:last-child td {
  border-bottom: none;
}

main.page-admin-partners table tbody tr:hover {
  background: var(--bg-soft, #f6f8fb);
}

/* Feste Spaltenbreiten */
main.page-admin-partners table th:nth-child(1),
main.page-admin-partners table td:nth-child(1) {
  width: 60px;
}

main.page-admin-partners table th:nth-child(2),
main.page-admin-partners table td:nth-child(2) {
  width: auto;
  min-width: 200px;
}

main.page-admin-partners table th:nth-child(3),
main.page-admin-partners table td:nth-child(3),
main.page-admin-partners table th:nth-child(4),
main.page-admin-partners table td:nth-child(4),
main.page-admin-partners table th:nth-child(5),
main.page-admin-partners table td:nth-child(5) {
  width: 120px;
}

main.page-admin-partners table th:nth-child(6),
main.page-admin-partners table td:nth-child(6) {
  width: 200px;
  text-align: right;
}

main.page-admin-partners th,
main.page-admin-partners td {
  padding: .6rem .75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top
}

main.page-admin-partners .muted {
  color: #6b7280
}

main.page-admin-partners .hide {
  display: none
}

main.page-admin-partners .mt {
  margin-top: 1rem
}

/* =====================================================================
   62) Kontakt Seite (Frontend)
   Hero wie Partner + Kontaktformular (responsive, vordefinierte GrÃ¶ÃŸen)
   ===================================================================== */

main.page-kontakt {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* ================= Hero-Box (wie Partnerseite) ================= */
:is(main.page-partner, main.page-kontakt) .hero-inline {
  display: grid;
  grid-template-columns: clamp(110px, 16vw, 160px) 1fr;
  align-items: center;
  background: var(--primary, #1f2a44);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  margin: 0.75rem 0 1rem;
  min-height: clamp(84px, 8.2vw, 110px);
}

:is(main.page-partner, main.page-kontakt) .hero-inline .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

:is(main.page-partner, main.page-kontakt) .hero-inline .hero-title {
  padding: 0 1rem;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

@media (max-width: 720px) {
  :is(main.page-partner, main.page-kontakt) .hero-inline {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  :is(main.page-partner, main.page-kontakt) .hero-inline .hero-img {
    height: 132px;
    border-radius: 8px 8px 0 0;
  }

  :is(main.page-partner, main.page-kontakt) .hero-inline .hero-title {
    padding: 0.55rem 0.9rem;
  }
}

/* ================= Kontaktformular-Karte ================= */
main.page-kontakt .contact-card {
  width: min(92vw, 720px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

main.page-kontakt .contact-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  text-align: center;
}

/* Formularfelder mit vordefinierten GrÃ¶ÃŸen */
main.page-kontakt .contact-form {
  --field-h: 48px;
  --fs: 16px;
}

main.page-kontakt .contact-form input,
main.page-kontakt .contact-form textarea,
main.page-kontakt .contact-form select {
  width: 100%;
  height: var(--field-h);
  font-size: var(--fs);
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
}

main.page-kontakt .contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

main.page-kontakt .contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
  margin-bottom: 0.75rem;
}

main.page-kontakt .contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

@media (max-width: 640px) {
  main.page-kontakt .contact-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= Button neu ================= */
main.page-kontakt .contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.1rem;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary, #1f2a44);
  /* dunkelblau */
  border: 1px solid var(--primary, #1f2a44);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

main.page-kontakt .contact-form .btn:hover {
  background: var(--accent, #00b3c7);
  /* TÃ¼rkis */
  border-color: var(--accent, #00b3c7);
  color: #fff;
}

main.page-kontakt .contact-form .btn:focus {
  outline: 2px solid var(--accent, #00b3c7);
  outline-offset: 2px;
}

/* ================= Responsive GrÃ¶ÃŸen ================= */
@media (min-width: 600px) {
  main.page-kontakt .contact-card {
    width: min(90vw, 800px);
  }

  main.page-kontakt .contact-form {
    --field-h: 46px;
    --fs: 16px;
  }
}

@media (min-width: 1024px) {
  main.page-kontakt .contact-card {
    width: 820px;
  }

  main.page-kontakt .contact-form {
    --field-h: 44px;
    --fs: 16px;
  }
}

/* ================= Zentrierung von Titel & Button ================= */
main.page-kontakt .contact-title {
  text-align: center;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: 1rem;
}

main.page-kontakt .contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main.page-kontakt .contact-form label,
main.page-kontakt .contact-form .row {
  width: 100%;
}

main.page-kontakt .contact-form .btn {
  margin-top: 1rem;
  align-self: center;
}

*=================Kategorie-Info Bereich=================*/ main.page-kontakt .category-info {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border-light, #e1e7f0);
  border-left: 4px solid var(--accent, #0096a6);
  border-radius: 8px;
  transition: all 0.3s ease;
}

main.page-kontakt .category-info__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 0.125rem;
}

main.page-kontakt .category-info__content {
  flex: 1;
  min-width: 0;
}

main.page-kontakt .category-info__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

main.page-kontakt .category-info__description {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #6b7280);
  line-height: 1.5;
}

/* Hover-Effekt fÃ¼r bessere InteraktivitÃ¤t */
main.page-kontakt .category-info:hover {
  background: var(--surface-3, #f0f3f7);
  border-left-color: var(--primary, #1f2a44);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Mobile Anpassungen */
@media (max-width: 640px) {
  main.page-kontakt .category-info {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem;
  }

  main.page-kontakt .category-info__icon {
    font-size: 1.5rem;
    padding-top: 0;
  }

  main.page-kontakt .category-info__title {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
  }

  main.page-kontakt .category-info__description {
    font-size: 0.8125rem;
  }
}

/* =====================================================================
   63) Produkte (Frontend)

   ===================================================================== */

#shop-container iframe {
  display: block;
  width: 100%;
  height: 100vh;
}

/* =====================================================================
   64) Produkte â€“ BildhÃ¶he exakt an Textspalte angleichen
   ===================================================================== */
@media (min-width: 901px) {
  #produkte .feature-item--split {
    align-items: stretch;
    /* beide Spalten gleich hoch */
    grid-template-columns: 1.1fr .9fr;
    /* bleibt wie im Original */
  }

  #produkte .feature-item--split .feature-media {
    display: block;
    height: 100%;
    /* gleiche HÃ¶he wie Textspalte */
    max-width: none;
    /* Begrenzungen entfernen */
    aspect-ratio: auto;
    /* Ratio aufheben */
    overflow: hidden;
    border-radius: 12px;
  }

  #produkte .feature-item--split .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* beschneiden, nicht verzerren */
    object-position: 60% center;
    /* Fokus leicht nach rechts */
    aspect-ratio: auto;
    /* Ratio-Override */
  }
}

/* Mobile: Bild natÃ¼rlich skalieren */
@media (max-width: 900px) {
  #produkte .feature-item--split .feature-media {
    height: auto;
    aspect-ratio: auto;
  }

  #produkte .feature-item--split .feature-media img {
    height: auto;
    aspect-ratio: auto;
  }
}

/* =====================================================================
   65) About â€“ Wer wir sind (Bild rechts neben Text)
   ===================================================================== */
#wer-wir-sind.service-header--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  /* Text links, Bild rechts */
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background: var(--surface-2, #f6f8fb);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

/* Bild wieder im Grid platzieren */
#wer-wir-sind.service-header--split .hero-media {
  grid-area: auto;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  padding: 0;
}

/* Textspalte */
#wer-wir-sind .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

#wer-wir-sind .hero-copy h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary, #1f2a44);
  margin-bottom: .75rem;
}

#wer-wir-sind .hero-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text, #1a1a1a);
}

#wer-wir-sind .hero-copy ul.key-points {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: .5rem;
}

#wer-wir-sind .hero-copy ul.key-points li {
  margin-bottom: .35rem;
}

#wer-wir-sind .key-points li::marker {
  content: none;
}

/* Bild rechts */
#wer-wir-sind .hero-media {
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

#wer-wir-sind .hero-media img {
  width: 95%;
  height: 85%;
  object-fit: cover;
  float: right;
  object-position: center;
  border: none;
  aspect-ratio: auto;
}

/* Mobile: untereinander */
@media (max-width: 900px) {
  #wer-wir-sind.service-header--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #wer-wir-sind .hero-media {
    order: -1;
    /* Bild oberhalb vom Text */
    height: auto;
  }

  #wer-wir-sind .hero-media img {
    height: auto;
    object-fit: contain;
  }
}

/* =====================================================================
   66) Konto lÃ¶schen â€“ Formularausrichtung
   ===================================================================== */

#konto-sicherheit .form-row {
  flex-direction: row !important;
  align-items: center;
  gap: .6rem;
  margin: .5rem 0;
}

#konto-sicherheit .card.danger form {
  display: flex;
  flex-direction: column;
  align-items: left;
  /* alles mittig */
}

.form .form-row--inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: .6rem;
}

.form .form-row--inline label {
  flex: 0 0 0px;
  text-align: right;
  margin: 0;
}

.form .form-row--inline input[type="password"] {
  flex: 0 1 45%;
  max-width: 320px;
  min-width: 220px;
  width: 100%;
  box-sizing: border-box;
}

/* Checkboxzeilen nebeneinander mit Text */
.form .form-row--check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  margin-bottom: .4rem;
  margin-left: 120px;
  /* bÃ¼ndig mit Passwortfeld */
}

.form .form-row--check input[type="checkbox"] {
  inline-size: 1rem;
  block-size: 1rem;
  margin: 0;
  accent-color: var(--accent);
}

.form .form-row--check label {
  margin: 0;
  line-height: 1.3;
}

/* Button mittig mit Abstand */
.form button.btn-danger {
  display: block;
  margin: 1rem auto 0 auto;
}

/* Passwort-Auge: stabil, ohne Springen */
.password-wrapper {
  position: relative;
  display: inline-block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 2.25rem;
  box-sizing: border-box;
}

.password-wrapper .toggle-password {
  position: absolute;
  top: 0;
  right: .25rem;
  bottom: 0;
  width: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  appearance: none;
  color: var(--text-muted, #6b7280);
  outline-offset: 2px;
}

.password-wrapper .toggle-password:hover,
.password-wrapper .toggle-password:focus {
  color: var(--accent, #09a6b3);
}

.password-wrapper .toggle-password.active {
  color: var(--accent, #09a6b3) !important;
}

/* =====================================================================
   67) Spende â€“ Blaue Box exakt in BildhÃ¶he
   ===================================================================== */

.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  padding: 0;
  /* kein Innenabstand */
  overflow: hidden;
  height: auto;
  /* dynamisch, passt sich BildhÃ¶he an */
}

/* Bild unverÃ¤ndert */
.hero-image {
  display: flex;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  border-radius: 0;
}

/* Text vertikal bÃ¼ndig mit Bild */
.hero-text {
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  height: 100%;
  /* gleicht sich der BildhÃ¶he an */
  box-sizing: border-box;
}

/* TextabstÃ¤nde korrigiert */
.hero-text .intro {
  margin: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .service-header--split {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 1.5rem;
    height: auto;
  }
}

/* Spenden: service-header--split ohne grid-areas (entfernt das Fremd-Layout) */
.service-content>.service-header.service-header--split {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  grid-template-rows: auto !important;
  gap: 2rem !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

/* Kinder nicht in benannten Areas platzieren */
.service-content>.service-header.service-header--split .hero-image,
.service-content>.service-header.service-header--split .hero-text {
  grid-area: auto !important;
  margin: 0 !important;
}

/* Bild fÃ¼llt links, Text bÃ¼ndig rechts */
.service-content>.service-header.service-header--split .hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.service-content>.service-header.service-header--split .hero-text {
  padding: 2rem !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  .service-content>.service-header.service-header--split {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================================
   68) FAQ â€“ Hero-Bild statt Ãœberschrift
   ===================================================================== */

.faq-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* =====================================================================
   69) Split-Hero Overrides â€“ gilt fÃ¼r Spenden, FAQ, Dienste, Kontakt
   nicht fÃ¼r #home-hero
   ===================================================================== */

.service-content>.service-header.service-header--split:not(#home-hero) {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 2rem !important;
  align-items: stretch !important;
  border: 1px solid var(--border, #e4e7ee) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 2rem !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-image,
.service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
  grid-area: auto !important;
  margin: 0 !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-image img {
  width: 115% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
  color: #fff !important;
  padding: 2rem !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.7 !important;
  font-size: 1rem !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  .service-content>.service-header.service-header--split:not(#home-hero) {
    grid-template-columns: 1fr !important;
  }

  .service-content>.service-header.service-header--split:not(#home-hero) .hero-text {
    padding: 1.5rem !important;
  }
}

/* =====================================================================
   Home-Hero (#home-hero) â€“ Originaldesign beibehalten
   ===================================================================== */

#home-hero.service-header--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: 1px solid var(--border, #e4e7ee);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: visible;
}

#home-hero .hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

#home-hero .hero-caption {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--text-muted, #cbd5e1);
}

@media (max-width: 900px) {
  #home-hero.service-header--split {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   70) Dienste â€“ Hero ohne Rahmen, klar, bÃ¼ndig
   ===================================================================== */

/* Nur der Hero-Block auf der Diensteseite */
.dienste.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas: none !important;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 2rem;
  padding: 0;
  overflow: hidden;
  height: auto;
}

/* Entfernt globales Padding (Zeile ~2394) */
#main-content .dienste.service-header {
  padding: 0 !important;
}

/* Bild links, bÃ¼ndig */
.dienste.service-header--split .hero-image {
  display: flex;
}

.dienste.service-header--split .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* Textbereich rechts, vertikal zentriert */
.dienste.service-header--split .hero-text {
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.dienste.service-header--split .hero-text .intro {
  margin: 0;
}

/* Mobile Ansicht: untereinander */
@media (max-width: 900px) {
  .dienste.service-header--split {
    grid-template-columns: 1fr;
  }

  .dienste.service-header--split .hero-text {
    padding: 1.5rem;
    height: auto;
  }
}

/* =====================================================================
   71) Spende â€“ Hero ohne Rahmen, klar, bÃ¼ndig
   ===================================================================== */

/* Nur der Hero-Block auf der Diensteseite */
.spenden.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas: none !important;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 2rem;
  padding: 0;
  overflow: hidden;
  height: auto;
}

/* Entfernt globales Padding (Zeile ~2394) */
#main-content .spenden.service-header {
  padding: 0 !important;
}

/* Bild links, bÃ¼ndig */
.spenden.service-header--split .hero-image {
  display: flex;
}

.spenden.service-header--split .hero-image img {
  width: 115%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* Textbereich rechts, vertikal zentriert */
.spenden.service-header--split .hero-text {
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.spenden.service-header--split .hero-text .intro {
  margin: 0;
}

/* Mobile Ansicht: untereinander */
@media (max-width: 900px) {
  .spenden.service-header--split {
    grid-template-columns: 1fr;
  }

  .spenden.service-header--split .hero-text {
    padding: 1.5rem;
    height: auto;
  }
}

/* =====================================================================
   71) FAQ â€“ Hero ohne Rahmen, klar, bÃ¼ndig
   ===================================================================== */

/* Nur der Hero-Block auf der Diensteseite */
.faq.service-header--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas: none !important;
  align-items: center;
  background: var(--surface-2, #0f1a30);
  border: none;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 2rem;
  padding: 0;
  overflow: hidden;
  height: auto;
}

/* Entfernt globales Padding (Zeile ~2394) */
#main-content .faq.service-header {
  padding: 0 !important;
}

/* Bild links, bÃ¼ndig */
.faq.service-header--split .hero-image {
  display: flex;
}

.faq.service-header--split .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* Textbereich rechts, vertikal zentriert */
.faq.service-header--split .hero-text {
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.faq.service-header--split .hero-text .intro {
  margin: 0;
}

/* Mobile Ansicht: untereinander */
@media (max-width: 900px) {
  .spenden.service-header--split {
    grid-template-columns: 1fr;
  }

  .spenden.service-header--split .hero-text {
    padding: 1.5rem;
    height: auto;
  }
}

/* Laufschrift-AnkÃ¼ndigung */
.mnp-announce {
  --mnp-red: #FA2200;
  --mnp-text: #FFFFFF;
  position: relative;
  z-index: 1000;
  width: 100%;
  background: var(--mnp-red) !important;
  color: var(--mnp-text) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
  font-size: 0.95rem;
  display: block;
}

.mnp-announce__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
}

.mnp-announce__track {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent);
}

.mnp-announce__scroll {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  will-change: transform;
  animation: mnp-marquee 18s linear infinite;
}

.mnp-announce__scroll:hover {
  animation-play-state: paused;
}

@keyframes mnp-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mnp-announce__scroll {
    animation: none;
    padding-left: 0;
  }
}

/* =================================================================
   Spendenstand auf der Startseite
   ================================================================= */

.donation-counter {
  margin-top: 0;
  margin-bottom: 1 rem;
  text-align: center;
}

.donation-counter__inner {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--primary-100, #eef3ff);
  border: 1px solid var(--border, #e5e7eb);
  box-shadow: var(--shadow, 0 2px 6px rgba(0, 0, 0, .04));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.donation-counter__label {
  margin: 0 0 .5rem 0;
  font-size: 1.5rem;
  color: var(--text);
}

.donation-counter__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  text-align: center;
  justify-content: center;
}

.donation-counter__value-prefix,
.donation-counter__value-suffix {
  font-size: 1.5rem;
  color: var(--text-muted, #6b7280);
  text-align: center;
  justify-content: center;
}

.donation-counter__value-number {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  color: #fa2200;
}

/* Variante im Hauptcontent Ã¼ber dem Hero */

.donation-counter--main {
  width: 100%;
}

/* Zentrierung des gesamten Counter Inhalts */
.donation-counter--main .donation-counter__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* horizontal zentrieren */
  justify-content: center;
}

/* Zahlenzeile ebenfalls mittig */
.donation-counter--main .donation-counter__value {
  justify-content: center;
  text-align: center;
}

//* Multipass Tabellen Grundlayout */
#multipass-admin .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Grundlayout fÃ¼r Zellen */
#multipass-admin .table th,
#multipass-admin .table td {
  padding: 0.7rem 1rem;
  /* moderat, nicht Ã¼bertrieben */
  border-bottom: 1px solid var(--border, #e5e7eb);
  text-align: left;
  vertical-align: top;
}

/* Kopfzeilen */
#multipass-admin .table thead th {
  border-bottom: 2px solid var(--border-strong, #cbd5e1);
  font-weight: 600;
  white-space: nowrap;
}

/* Zebra-Effekt */
#multipass-admin .table tbody tr:nth-child(even) {
  background: var(--surface-2, #f6f8fb);
}

/* STATUS-Spalte schmal & mittig */
#multipass-admin .table-extra-passes td:nth-child(4),
#multipass-admin .table-orders td:last-child {
  text-align: center;
  white-space: nowrap;
}

/* ======================================================================
   KOMPAKTE VERSION NUR FÃœR Bestellungen (.table-orders)
   ====================================================================== */
#multipass-admin .table-orders th,
#multipass-admin .table-orders td {
  padding: 0.45rem 0.8rem;
  /* kompakter */
  font-size: 0.85rem;
  /* etwas kleiner */
}

#multipass-admin .table-orders tbody tr {
  height: 2rem;
  /* kompakte ZeilenhÃ¶he */
}

/* aktive Bestellung â€” dezent */
#multipass-admin .table-orders tbody tr.status-active {
  border-left: 4px solid var(--accent, #0096a6);
  background: rgba(0, 150, 166, 0.05);
  font-weight: 600;
}

/* Status Badge */
#multipass-admin .tag-status {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--border, #e5e7eb);
  color: var(--text, #111111);
}

/* aktiv */
#multipass-admin .tag-status.active {
  background: var(--accent, #0096a6);
  color: var(--text-light, #ffffff);
}

/* inaktiv */
#multipass-admin .tag-status.inactive {
  background: var(--border-strong, #cbd5e1);
  color: var(--text-muted, #6b7280);
}

.donation-wa-btn {
  margin-top: 1.5rem;
}

.wa-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 100px;
  background: #00E785;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.wa-btn-link svg {
  display: block;
}

/* =========================================================================
   Mein Pass Zusatzklassen, ersetzt ehemals Inline Styles
   ========================================================================= */

#mein-pass .mp-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#mein-pass .mp-pass-switch,
#mein-pass .mp-title-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
}

#mein-pass .mp-inline-form {
  display: inline-block;
}

#mein-pass .mp-label-small {
  font-size: .9rem;
}

#mein-pass .mp-title-input {
  max-width: 220px;
}

#mein-pass .mp-check {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
}

#mein-pass .mp-textarea {
  width: 100%;
}

#mein-pass .mp-save-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
}

#mein-pass .mp-doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mein-pass .mp-doc-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
}

#mein-pass .mp-mr-auto {
  margin-right: auto;
}

#mein-pass .mp-muted {
  color: var(--text-muted);
}

#mein-pass .mp-inline-row {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Abstand zwischen service-header und service-main in mein_pass.php */
#mein-pass .service-header {
  margin-bottom: 2rem;
}

/* Abstände zwischen Cards in mein_pass.php */
#mein-pass .service-main>section.card {
  margin-bottom: 2rem;
}

#mein-pass .service-main>section.card:last-child {
  margin-bottom: 0;
}

/* Notfallkarte mittig positionieren */
#mein-pass #card .mp-card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

#mein-pass #card .mp-card-center>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Datei-Upload Input in mein_pass.php stylen */
#mein-pass #doc-files {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-strong, #cbd5e1);
  background: var(--bg-light, #ffffff);
  font-size: var(--fs-sm, 0.9rem);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

#mein-pass #doc-files:hover {
  border-color: var(--primary, #1f2a44);
  background: var(--bg-light, #ffffff);
}

#mein-pass #doc-files:focus {
  outline: 3px solid rgba(42, 161, 255, 0.2);
  border-color: #2a7fff;
}

/* Zusatzpässe verwalten - Liste */
#mein-pass .mp-passes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mein-pass .mp-pass-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

#mein-pass .mp-pass-item:last-child {
  border-bottom: none;
}

#mein-pass .mp-pass-item.mp-pass-primary {
  opacity: 0.8;
}

#mein-pass .mp-pass-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

#mein-pass .mp-pass-info {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#mein-pass .mp-pass-title-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-strong, #cbd5e1);
  background: var(--bg-light, #ffffff);
  font-size: var(--fs-sm, 0.9rem);
}

#mein-pass .mp-pass-badge {
  padding: 0.4rem 0.8rem;
  background: var(--primary, #1f2a44);
  color: var(--text-light, #ffffff);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Ã–ffentlicher Pass: Dokumentliste */
.pass-docs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pass-doc {
  margin: .5rem 0;
}

.pass-doc-img {
  max-height: 140px;
  width: auto;
  display: block;
}

.pass-doc-title {
  margin-top: .25rem;
}

/* =====================================================================
   Ã–ffentlicher Notfallpass, Layout und Inhalte
   Gilt nur fÃ¼r pass.php, Ã¼ber .public-pass
   ===================================================================== */

.public-pass .service-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Tablet: größer und breiter */
@media (min-width: 768px) {
  .public-pass .service-main {
    max-width: 1200px;
    padding: 2.5rem 2rem;
  }

  .public-pass .card {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .public-pass .card:last-child {
    margin-bottom: 0;
  }

  .public-pass .content {
    padding: 1.25rem;
  }
}

/* Desktop: noch größer und breiter - Style wie mein_pass.php */
@media (min-width: 1024px) {
  .public-pass.service-wrapper {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
  }

  .public-pass .service-main {
    max-width: 1400px;
    padding: 3rem 2.5rem;
    margin: 0 auto;
  }

  .public-pass .card {
    max-width: 100%;
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .public-pass .card:last-child {
    margin-bottom: 0;
  }

  .public-pass .card header h2 {
    font-size: 1.5rem;
  }

  .public-pass .content {
    padding: 2rem;
  }
}

.public-pass h1 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.public-pass .card {
  width: 100%;
}

.public-pass .content {
  width: 100%;
}

/* TextblÃ¶cke */
.public-pass .pass-owner,
.public-pass .pass-notes {
  margin-bottom: 1rem;
}

.public-pass .pass-owner-title {
  font-weight: 600;
  margin-bottom: .25rem;
}

.public-pass .pass-owner-value {
  margin-bottom: .25rem;
}

.public-pass .pass-notes {
  white-space: normal;
}

/* Kontakte */
.public-pass .pass-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, rgba(0, 0, 0, .12));
}

.public-pass .pass-contact-title {
  font-weight: 600;
  margin-bottom: .75rem;
}

.public-pass .pass-contact-name {
  margin-bottom: .25rem;
}

.public-pass .pass-contact-phone {
  margin-bottom: .5rem;
}

.public-pass .pass-contact-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

/* =====================================================================
   Ã–ffentlicher Pass, Dokumentliste
   Diese Regeln ersetzen deine bisherigen Klassen, damit es zu pass.php passt
   ===================================================================== */

.public-pass .pass-docs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.public-pass .pass-doc-item {
  margin: .75rem 0;
}

.public-pass .pass-doc-thumb {
  max-height: 140px;
  width: auto;
  display: block;
  border-radius: .5rem;
  border: 1px solid var(--border, rgba(0, 0, 0, .12));
}

.public-pass .pass-doc-title {
  margin-top: .35rem;
}

/* =====================================================================
   Notfallkontakt 1 und 2 wie Card Header abtrennen
   Nutzt das erste Label im jeweiligen .form-group als Header
   ===================================================================== */

#mein-pass #editor .form-group>label:first-child {
  display: block;
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: .75rem 1rem;
  border-top-left-radius: var(--radius, 12px);
  border-top-right-radius: var(--radius, 12px);
  border-bottom: 1px solid #e9eef6;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.pass-contact-title {
  background: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--gap-md) * 1.2) calc(var(--gap-md) * 1.1);
  font-weight: 600;

  /* entscheidend */
  margin-left: -1rem;
  margin-right: -1rem;
}

/* =====================================================================
   Mobile Kompakt, Main und Formulare wie Desktop lesbar
   ===================================================================== */
@media (max-width: 520px) {
  html {
    font-size: 15px;
    line-height: 1.5;
  }

  body {
    overflow-x: hidden;
  }

  /* Main und Content deutlich kompakter */
  main {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  section.content {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  .container,
  .wrap {
    max-width: 100%;
    padding: 1rem .75rem;
  }

  /* Cards kleiner, wirkt wie Desktop nur kompakter */
  .card>header,
  .card header {
    padding: .65rem .85rem;
  }

  .card header h1,
  .card header h2,
  .card>header h1,
  .card>header h2 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .card .body,
  .card .content {
    padding: .85rem;
  }

  /* Inputs kleiner */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="tel"],
  select,
  textarea,
  .input-wrap input[type="text"] {
    padding: .65rem .75rem;
    font-size: .95rem;
  }

  label {
    font-size: .98rem;
  }

  /* Checkbox Reihen nicht einrÃ¼cken, Text sauber umbrechen */
  .form .form-row--check {
    margin-left: 0;
    align-items: flex-start;
  }

  .form .form-row--check label {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Falls Checkboxen Ã¼ber .checkbox gelayoutet sind */
  .checkbox,
  label.checkbox,
  .admin-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    max-width: 100%;
  }

  .checkbox input[type="checkbox"],
  label.checkbox input[type="checkbox"],
  .admin-form .checkbox input[type="checkbox"] {
    inline-size: 1rem;
    block-size: 1rem;
    flex: 0 0 auto;
    margin-top: .15rem;
  }

  .checkbox label,
  label.checkbox,
  .checkbox span {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Tabellen intern scrollen statt Layout sprengen */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =====================================================================
   12.7.1 ADMIN PAGES - Pass-Statistiken
   ===================================================================== */
/**
 * Statistik-Card fÃ¼r Admin-Bereich
 * Zeigt Ãœbersicht Ã¼ber Pass-Status
 */

/* Grid fÃ¼r Statistik-Boxen */
.stats-grid {
  display: grid;
  gap: 1rem;
}

/* Basis fÃ¼r Statistik-Box */
.stat-item {
  padding: 0.75rem;
  border-radius: 8px;
}

/* Varianten fÃ¼r verschiedene Statistik-Typen */
.stat-item--default {
  background: #f7f9fc;
}

.stat-item--success {
  background: #e8f5e9;
}

.stat-item--warning {
  background: #fff3e0;
}

.stat-item--info {
  background: #f3e5f5;
}

.stat-item--neutral {
  background: #eceff1;
}

/* Label Ã¼ber der Zahl */
.stat-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.25rem;
}

/* GroÃŸe Zahl */
.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-value--default {
  color: #1F2A44;
}

.stat-value--success {
  color: #2e7d32;
}

.stat-value--warning {
  color: #f57c00;
}

.stat-value--info {
  color: #7b1fa2;
}

.stat-value--neutral {
  color: #546e7a;
}

/* Kleine Zahl/Text unter der Hauptzahl */
.stat-meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Hinweisbereich unter den Statistiken */
.stats-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e7f0;
}

.stats-hint small {
  color: #666;
}

/* =================================================================
   Spendenstand auf der Startseite
   ================================================================= */

.donation-counter {
  margin-top: 0;
  margin-bottom: 1 rem;
  text-align: center;
}

.donation-counter__inner {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--primary-100, #eef3ff);
  border: 1px solid var(--border, #e5e7eb);
  box-shadow: var(--shadow, 0 2px 6px rgba(0, 0, 0, .04));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.donation-counter__label {
  margin: 0 0 .5rem 0;
  font-size: 1.5rem;
  color: var(--text);
}

.donation-counter__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  text-align: center;
  justify-content: center;
}

.donation-counter__value-prefix,
.donation-counter__value-suffix {
  font-size: 1.5rem;
  color: var(--text-muted, #6b7280);
  text-align: center;
  justify-content: center;
}

.donation-counter__value-number {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  color: #fa2200;
}

/* Variante im Hauptcontent Ã¼ber dem Hero */

.donation-counter--main {
  width: 100%;
}

/* Zentrierung des gesamten Counter Inhalts */
.donation-counter--main .donation-counter__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* horizontal zentrieren */
  justify-content: center;
}

/* Zahlenzeile ebenfalls mittig */
.donation-counter--main .donation-counter__value {
  justify-content: center;
  text-align: center;
}

/* Multipass Tabellen Grundlayout */
#multipass-admin .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Grundlayout fÃ¼r Zellen */
#multipass-admin .table th,
#multipass-admin .table td {
  padding: 0.7rem 1rem;
  /* moderat, nicht Ã¼bertrieben */
  border-bottom: 1px solid var(--border, #e5e7eb);
  text-align: left;
  vertical-align: top;
}

/* Kopfzeilen */
#multipass-admin .table thead th {
  border-bottom: 2px solid var(--border-strong, #cbd5e1);
  font-weight: 600;
  white-space: nowrap;
}

/* Zebra-Effekt */
#multipass-admin .table tbody tr:nth-child(even) {
  background: var(--surface-2, #f6f8fb);
}

/* STATUS-Spalte schmal & mittig */
#multipass-admin .table-extra-passes td:nth-child(4),
#multipass-admin .table-orders td:last-child {
  text-align: center;
  white-space: nowrap;
}

/* ======================================================================
   KOMPAKTE VERSION NUR FÃœR Bestellungen (.table-orders)
   ====================================================================== */
#multipass-admin .table-orders th,
#multipass-admin .table-orders td {
  padding: 0.45rem 0.8rem;
  /* kompakter */
  font-size: 0.85rem;
  /* etwas kleiner */
}

#multipass-admin .table-orders tbody tr {
  height: 2rem;
  /* kompakte ZeilenhÃ¶he */
}

/* aktive Bestellung â€” dezent */
#multipass-admin .table-orders tbody tr.status-active {
  border-left: 4px solid var(--accent, #0096a6);
  background: rgba(0, 150, 166, 0.05);
  font-weight: 600;
}

/* Status Badge */
#multipass-admin .tag-status {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--border, #e5e7eb);
  color: var(--text, #111111);
}

/* aktiv */
#multipass-admin .tag-status.active {
  background: var(--accent, #0096a6);
  color: var(--text-light, #ffffff);
}

/* inaktiv */
#multipass-admin .tag-status.inactive {
  background: var(--border-strong, #cbd5e1);
  color: var(--text-muted, #6b7280);
}

.donation-wa-btn {
  margin-top: 1.5rem;
}

.wa-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 100px;
  background: #00E785;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.wa-btn-link svg {
  display: block;
}

/* =========================================================================
   Mein Pass Zusatzklassen, ersetzt ehemals Inline Styles
   ========================================================================= */

#mein-pass .mp-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#mein-pass .mp-pass-switch,
#mein-pass .mp-title-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
}

#mein-pass .mp-label-small {
  font-size: .9rem;
}

#mein-pass .mp-title-input {
  max-width: 220px;
}

#mein-pass .mp-check {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-top: .25rem;
}

#mein-pass .mp-textarea {
  width: 100%;
}

#mein-pass .mp-save-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .5rem;
}

#mein-pass .mp-doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mein-pass .mp-doc-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
}

#mein-pass .mp-mr-auto {
  margin-right: auto;
}

#mein-pass .mp-muted {
  color: var(--text-muted);
}

#mein-pass .mp-inline-row {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Abstand zwischen service-header und service-main in mein_pass.php */
#mein-pass .service-header {
  margin-bottom: 2rem;
}

/* Abstände zwischen Cards in mein_pass.php */
#mein-pass .service-main>section.card {
  margin-bottom: 2rem;
}

#mein-pass .service-main>section.card:last-child {
  margin-bottom: 0;
}

/* Notfallkarte mittig positionieren */
#mein-pass #card .mp-card-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

#mein-pass #card .mp-card-center>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Datei-Upload Input in mein_pass.php stylen */
#mein-pass #doc-files {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-strong, #cbd5e1);
  background: var(--bg-light, #ffffff);
  font-size: var(--fs-sm, 0.9rem);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

#mein-pass #doc-files:hover {
  border-color: var(--primary, #1f2a44);
  background: var(--bg-light, #ffffff);
}

#mein-pass #doc-files:focus {
  outline: 3px solid rgba(42, 161, 255, 0.2);
  border-color: #2a7fff;
}

/* Zusatzpässe verwalten - Liste */
#mein-pass .mp-passes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mein-pass .mp-pass-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

#mein-pass .mp-pass-item:last-child {
  border-bottom: none;
}

#mein-pass .mp-pass-item.mp-pass-primary {
  opacity: 0.8;
}

#mein-pass .mp-pass-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

#mein-pass .mp-pass-info {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#mein-pass .mp-pass-title-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-strong, #cbd5e1);
  background: var(--bg-light, #ffffff);
  font-size: var(--fs-sm, 0.9rem);
}

#mein-pass .mp-pass-badge {
  padding: 0.4rem 0.8rem;
  background: var(--primary, #1f2a44);
  color: var(--text-light, #ffffff);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Ã–ffentlicher Pass: Dokumentliste */
.pass-docs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pass-doc {
  margin: .5rem 0;
}

.pass-doc-img {
  max-height: 140px;
  width: auto;
  display: block;
}

.pass-doc-title {
  margin-top: .25rem;
}

/* =====================================================================
   Ã–ffentlicher Notfallpass, Layout und Inhalte
   Gilt nur fÃ¼r pass.php, Ã¼ber .public-pass
   ===================================================================== */

.public-pass .service-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Tablet: größer und breiter */
@media (min-width: 768px) {
  .public-pass .service-main {
    max-width: 1200px;
    padding: 2.5rem 2rem;
  }

  .public-pass .card {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .public-pass .card:last-child {
    margin-bottom: 0;
  }

  .public-pass .content {
    padding: 1.25rem;
  }
}

/* Desktop: noch größer und breiter - Style wie mein_pass.php */
@media (min-width: 1024px) {
  .public-pass.service-wrapper {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
  }

  .public-pass .service-main {
    max-width: 1400px;
    padding: 3rem 2.5rem;
    margin: 0 auto;
  }

  .public-pass .card {
    max-width: 100%;
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .public-pass .card:last-child {
    margin-bottom: 0;
  }

  .public-pass .card header h2 {
    font-size: 1.5rem;
  }

  .public-pass .content {
    padding: 2rem;
  }
}

.public-pass h1 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.public-pass .card {
  width: 100%;
}

.public-pass .content {
  width: 100%;
}

/* TextblÃ¶cke */
.public-pass .pass-owner,
.public-pass .pass-notes {
  margin-bottom: 1rem;
}

.public-pass .pass-owner-title {
  font-weight: 600;
  margin-bottom: .25rem;
}

.public-pass .pass-owner-value {
  margin-bottom: .25rem;
}

.public-pass .pass-notes {
  white-space: normal;
}

/* Kontakte */
.public-pass .pass-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, rgba(0, 0, 0, .12));
}

.public-pass .pass-contact-title {
  font-weight: 600;
  margin-bottom: .75rem;
}

.public-pass .pass-contact-name {
  margin-bottom: .25rem;
}

.public-pass .pass-contact-phone {
  margin-bottom: .5rem;
}

.public-pass .pass-contact-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

/* =====================================================================
   Ã–ffentlicher Pass, Dokumentliste
   Diese Regeln ersetzen deine bisherigen Klassen, damit es zu pass.php passt
   ===================================================================== */

.public-pass .pass-docs {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.public-pass .pass-doc-item {
  margin: .75rem 0;
}

.public-pass .pass-doc-thumb {
  max-height: 140px;
  width: auto;
  display: block;
  border-radius: .5rem;
  border: 1px solid var(--border, rgba(0, 0, 0, .12));
}

.public-pass .pass-doc-title {
  margin-top: .35rem;
}

/* =====================================================================
   Notfallkontakt 1 und 2 wie Card Header abtrennen
   Nutzt das erste Label im jeweiligen .form-group als Header
   ===================================================================== */

#mein-pass #editor .form-group>label:first-child {
  display: block;
  background: var(--primary, #1f2a44);
  color: #fff;
  padding: .75rem 1rem;
  border-top-left-radius: var(--radius, 12px);
  border-top-right-radius: var(--radius, 12px);
  border-bottom: 1px solid #e9eef6;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.pass-contact-title {
  background: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--gap-md) * 1.2) calc(var(--gap-md) * 1.1);
  font-weight: 600;

  /* entscheidend */
  margin-left: -1rem;
  margin-right: -1rem;
}

/* =====================================================================
   Mobile Kompakt, Main und Formulare wie Desktop lesbar
   ===================================================================== */
@media (max-width: 520px) {
  html {
    font-size: 15px;
    line-height: 1.5;
  }

  body {
    overflow-x: hidden;
  }

  /* Main und Content deutlich kompakter */
  main {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  section.content {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--gap-md);
    overflow-x: hidden;
  }

  .container,
  .wrap {
    max-width: 100%;
    padding: 1rem .75rem;
  }

  /* Cards kleiner, wirkt wie Desktop nur kompakter */
  .card>header,
  .card header {
    padding: .65rem .85rem;
  }

  .card header h1,
  .card header h2,
  .card>header h1,
  .card>header h2 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .card .body,
  .card .content {
    padding: .85rem;
  }

  /* Inputs kleiner */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="tel"],
  select,
  textarea,
  .input-wrap input[type="text"] {
    padding: .65rem .75rem;
    font-size: .95rem;
  }

  label {
    font-size: .98rem;
  }

  /* Checkbox Reihen nicht einrÃ¼cken, Text sauber umbrechen */
  .form .form-row--check {
    margin-left: 0;
    align-items: flex-start;
  }

  .form .form-row--check label {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Falls Checkboxen Ã¼ber .checkbox gelayoutet sind */
  .checkbox,
  label.checkbox,
  .admin-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    max-width: 100%;
  }

  .checkbox input[type="checkbox"],
  label.checkbox input[type="checkbox"],
  .admin-form .checkbox input[type="checkbox"] {
    inline-size: 1rem;
    block-size: 1rem;
    flex: 0 0 auto;
    margin-top: .15rem;
  }

  .checkbox label,
  label.checkbox,
  .checkbox span {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Tabellen intern scrollen statt Layout sprengen */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =====================================================================
   06.3 NAVIGATION ICONS (Custom SVG)
   ===================================================================== */
/**
 * Custom SVG icon styling for navigation
 *
 * Icon System:
 * - Main navigation (nav-left): White icons
 * - User navigation (nav-right): Inherits text color
 * - Dropdown menus: Inherits text color, accent on hover
 * - Responsive: Larger on mobile for better touch targets
 *
 * Usage:
 * - Add .nav-link class to <a> elements
 * - Add .nav-icon class to <svg> elements
 * - Text should be wrapped in <span>
 */

/* Base Navigation Link */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Base SVG Icon */
.nav-icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
  flex-shrink: 0;
  transition: fill 0.2s ease, transform 0.2s ease;
  display: block;
  /* Verhindert inline-spacing Probleme */
}

/* Main Navigation (Top Bar) - White Icons */
.nav-left .nav-link {
  color: var(--text-light, #ffffff);
}

.nav-left .nav-icon {
  fill: white;
}

.nav-left .nav-link:hover .nav-icon {
  transform: scale(1.1);
}

/* User Navigation (Login/Activate) - Inherits Color */
.nav-right .nav-icon {
  fill: currentColor;
}

.nav-right .nav-link:hover .nav-icon {
  transform: scale(1.05);
}

/* Dropdown Menus (Admin & User) - Inherits Color */
.nav-user__menu .nav-icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-user__menu .nav-link {
  color: inherit;
}

.nav-user__menu .nav-link:hover .nav-icon {
  transform: scale(1.05);
}

/* Hover State with Accent Color */
.nav-user__menu .nav-link:hover {
  color: var(--accent-color, #007bff);
}

.nav-user__menu .nav-link:hover .nav-icon {
  fill: var(--accent-color, #007bff);
}

/* Responsive: Icons bleiben gleich groÃŸ auf Mobile fÃ¼r bessere Bedienbarkeit */
@media (max-width: 768px) {
  .nav-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .nav-user__menu .nav-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .nav-link {
    gap: 0.6rem;
  }
}

/* Mail success box styles */
#mail-success-box {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  margin: 20px;
  border-radius: 6px;
  font-weight: bold;
}

/* Password hint styles */
#pw-hinweis {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text, #111);
}

#pw-hinweis ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
}

#pw-hinweis.pw-success {
  color: var(--success, #1B5E20);
}

#pw-hinweis.pw-error {
  color: var(--danger, #B00020);
}

/* =====================================================================
   68) Missing Data Modal â€“ Popup fÃ¼r fehlende E-Mail/Passwort
   ===================================================================== */
.missing-data-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  margin: 0;
  border: none;
}

.missing-data-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.missing-data-dialog {
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  background: var(--surface, #fff);
  color: var(--text, #111);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
  position: relative;
}

.missing-data-dialog header {
  position: relative;
  padding: 1.25rem 1.5rem;
  padding-right: 3.5rem;
  background: var(--primary, #1f2a44);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.missing-data-dialog header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  padding-right: 0;
}

.missing-data-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  z-index: 1;
}

.missing-data-close:hover,
.missing-data-close:focus {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
  outline: none;
}

.missing-data-close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.missing-data-body {
  padding: 1.5rem;
  line-height: 1.6;
  overflow-y: auto;
  flex: 1;
}

.missing-data-body p {
  margin: 0 0 1rem 0;
  color: var(--text, #111827);
}

.missing-data-body ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.missing-data-body li {
  margin-bottom: 0.5rem;
  color: var(--text, #111827);
}

.missing-data-body li strong {
  color: var(--primary, #1f2a44);
}

.missing-data-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0 0;
}

.missing-data-actions .btn {
  flex: 1 1 auto;
  min-width: 160px;
  padding: 0.75rem 1.25rem;
  background: var(--primary, #1f2a44);
  color: #fff;
  border: 1px solid var(--primary, #1f2a44);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.missing-data-actions .btn:hover,
.missing-data-actions .btn:focus {
  background: var(--accent, #0096a6);
  border-color: var(--accent, #0096a6);
  transform: translateY(-1px);
  outline: none;
}

.missing-data-hint {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--surface-2, #f6f8fb);
  border-left: 3px solid var(--accent, #0096a6);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
}

@media (max-width: 640px) {
  .missing-data-modal {
    padding: 16px;
  }

  .missing-data-dialog {
    width: 100%;
    max-width: 100%;
  }

  .missing-data-dialog header {
    padding: 1rem 1.25rem;
    padding-right: 3rem;
  }

  .missing-data-dialog header h2 {
    font-size: 1.15rem;
    padding-right: 0;
  }

  .missing-data-body {
    padding: 1.25rem;
  }

  .missing-data-actions {
    flex-direction: column;
  }

  .missing-data-actions .btn {
    width: 100%;
    min-width: auto;
  }
}

/* Tabellen in service-main */
.service-main table.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.service-main table.table th,
.service-main table.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.service-main table.table thead th {
  background: var(--primary, #1f2a44);
  color: var(--text-light, #ffffff);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.service-main table.table tbody tr:hover {
  background: var(--bg-soft, #f6f8fb);
}

.service-main table.table .missing {
  color: #d32f2f;
  font-weight: bold;
}

.service-main table.table .has {
  color: #2e7d32;
}

.service-main table.table .success {
  color: #2e7d32;
}

.service-main table.table .error {
  color: #d32f2f;
}

/* Abstand zwischen service-header und Cards in admin_multipass.php */
#multipass-admin .service-header {
  margin-bottom: 2rem;
}

/* Abstand zwischen service-header und Cards in admin_partner.php */
.page-admin-partners .service-header {
  margin-bottom: 2rem;
}

/* Abstände zwischen Cards in admin_multipass.php */
#multipass-admin section.card {
  margin-bottom: 2rem;
}

#multipass-admin section.card:last-child {
  margin-bottom: 0;
}

/* Aktion-Spalte für Icons in admin_partner.php */
main.page-admin-partners table td:last-child,
main.page-admin-partners table th:last-child {
  min-width: 220px;
  white-space: nowrap;
  overflow: visible;
}

main.page-admin-partners table td.action-cell {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 200px;
  width: 200px;
  text-align: right;
}

main.page-admin-partners table td.action-cell .btn {
  flex-shrink: 0;
  min-width: auto;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

main.page-admin-partners table td.action-cell .btn .icon-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}

main.page-admin-partners table td.action-cell .action-buttons-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
}

main.page-admin-partners table td.action-cell .action-buttons-group .btn .icon-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}

/* =====================================================================
   Modernes Admin Interface für Partnerverwaltung
   ===================================================================== */

/* Toggle-Buttons für Typ-Auswahl */
.page-admin-partners .type-toggle-group {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border, #e5e7eb);
}

.page-admin-partners .type-toggle-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark, #111827);
  font-size: 0.95rem;
}

.page-admin-partners .type-toggle-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-admin-partners .type-toggle-btn {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--bg-light, #ffffff);
  color: var(--text-dark, #111827);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-admin-partners .type-toggle-btn:hover {
  border-color: var(--primary, #1f2a44);
  background: var(--bg-soft, #f6f8fb);
}

.page-admin-partners .type-toggle-btn.active {
  background: var(--primary, #1f2a44);
  color: var(--text-light, #ffffff);
  border-color: var(--primary, #1f2a44);
}

.page-admin-partners .type-toggle-btn .icon-inline {
  width: 20px;
  height: 20px;
}

/* Formular-Sektionen */
.page-admin-partners .form-section {
  border: none;
  padding: 0;
  margin: 2.5rem 0;
}

.page-admin-partners .form-section:first-of-type {
  margin-top: 0;
}

.page-admin-partners .form-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary, #1f2a44);
  margin-bottom: 2rem;
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border, #e5e7eb);
}

.page-admin-partners .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.page-admin-partners .form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-admin-partners .form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark, #111827);
}

.page-admin-partners .form-group input[type="text"],
.page-admin-partners .form-group input[type="url"],
.page-admin-partners .form-group input[type="number"],
.page-admin-partners .form-group select {
  height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  background: var(--bg-light, #ffffff);
  color: var(--text-dark, #111827);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-admin-partners .form-group input:focus,
.page-admin-partners .form-group select:focus {
  outline: none;
  border-color: var(--secondary, #2a9fd4);
  box-shadow: 0 0 0 3px rgba(42, 159, 212, 0.1);
}

.page-admin-partners .form-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted, #6b7280);
  margin-top: 0.25rem;
}

/* Logo-Upload mit runder Vorschau */
.page-admin-partners .logo-upload-group {
  margin-bottom: 2rem;
}

.page-admin-partners .logo-preview-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-admin-partners .logo-preview {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border, #e5e7eb);
  background: var(--bg-soft, #f6f8fb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.page-admin-partners .logo-preview.empty {
  border-style: dashed;
}

.page-admin-partners .logo-preview.empty span {
  color: var(--text-muted, #6b7280);
  font-size: 0.85rem;
}

.page-admin-partners .logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-admin-partners .logo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.page-admin-partners .logo-remove:hover {
  background: rgba(220, 38, 38, 1);
}

.page-admin-partners .logo-upload-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-admin-partners .logo-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px dashed var(--border, #e5e7eb);
  border-radius: 8px;
  background: var(--bg-soft, #f6f8fb);
  color: var(--text-dark, #111827);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-admin-partners .logo-upload-btn:hover {
  border-color: var(--primary, #1f2a44);
  background: var(--bg-light, #ffffff);
}

.page-admin-partners .logo-upload-btn input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.page-admin-partners .logo-select {
  height: 44px;
}

/* Social Media Gruppe */
.page-admin-partners .social-media-group {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.page-admin-partners .social-group-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark, #111827);
  margin-bottom: 1rem;
}

.page-admin-partners .social-inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.page-admin-partners .social-input-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-admin-partners .social-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark, #111827);
}

.page-admin-partners .social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.7;
}

.page-admin-partners .social-input-item input {
  height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  background: var(--bg-light, #ffffff);
  color: var(--text-dark, #111827);
  font-size: 0.9rem;
}

/* Switch für Aktiv-Status */
.page-admin-partners .switch-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.page-admin-partners .switch-wrapper {
  position: relative;
  width: 52px;
  height: 28px;
}

.page-admin-partners .switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.page-admin-partners .switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-strong, #cbd5e1);
  border-radius: 999px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.page-admin-partners .switch-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.page-admin-partners .switch-input:checked+.switch-slider {
  background: var(--secondary, #2a9fd4);
}

.page-admin-partners .switch-input:checked+.switch-slider::before {
  transform: translateX(24px);
}

.page-admin-partners .switch-text {
  font-weight: 500;
  color: var(--text-dark, #111827);
}

/* Form Actions */
.page-admin-partners .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.page-admin-partners .btn-save {
  min-width: 200px;
  height: 52px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
}

.page-admin-partners .btn-secondary {
  background: var(--bg-soft, #f6f8fb);
  color: var(--text-dark, #111827);
  border: 1px solid var(--border, #e5e7eb);
}

.page-admin-partners .btn-secondary:hover {
  background: var(--border, #e5e7eb);
}

/* Badges für Tabelle */
.page-admin-partners .badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-admin-partners .badge-status-active {
  background: rgba(46, 125, 50, 0.15);
  color: #2e7d32;
}

.page-admin-partners .badge-status-inactive {
  background: rgba(158, 158, 158, 0.15);
  color: #757575;
}

.page-admin-partners .badge-type-company {
  background: rgba(31, 42, 68, 0.15);
  color: #1f2a44;
}

.page-admin-partners .badge-type-creator {
  background: rgba(42, 159, 212, 0.15);
  color: #2a9fd4;
}

.page-admin-partners .badge-type-both {
  background: rgba(123, 31, 162, 0.15);
  color: #7b1fa2;
}

/* Moderne Tabelle */
.page-admin-partners table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.5rem;
  table-layout: auto;
}

.page-admin-partners table thead th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  border-bottom: 2px solid var(--border, #e5e7eb);
  background: transparent;
}

.page-admin-partners table tbody td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: middle;
}

.page-admin-partners table tbody td:nth-child(1) {
  min-width: 60px;
  width: 60px;
}

.page-admin-partners table tbody td:nth-child(2) {
  min-width: 180px;
  max-width: 400px;
  word-wrap: break-word;
}

.page-admin-partners table tbody td:nth-child(3),
.page-admin-partners table tbody td:nth-child(4),
.page-admin-partners table tbody td:nth-child(5) {
  min-width: 100px;
  white-space: nowrap;
}

.page-admin-partners table tbody td:nth-child(6) {
  min-width: 220px;
  white-space: nowrap;
  overflow: visible;
}

.page-admin-partners table tbody td:nth-child(6) .icon-inline {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.page-admin-partners table tbody tr:last-child td {
  border-bottom: none;
}

.page-admin-partners table tbody tr:hover {
  background: var(--bg-soft, #f6f8fb);
}

/* SVG Icons inline in admin_partner.php */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  color: inherit;
}

.page-admin-partners .icon-inline {
  fill: currentColor;
}

.page-admin-partners h2 .icon-inline {
  margin-right: 0.5rem;
}

.page-admin-partners .btn .icon-inline {
  margin-right: 0.25rem;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}

/* Tabelle in admin_multipass_overview.php - besser lesbar */
#multipass-active-list .table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

#multipass-active-list .table th,
#multipass-active-list .table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: top;
}

#multipass-active-list .table thead th {
  background: var(--primary, #1f2a44);
  color: var(--text-light, #ffffff);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
}

#multipass-active-list .table tbody tr:hover {
  background: var(--bg-soft, #f6f8fb);
}

#multipass-active-list .table tbody tr:nth-child(even) {
  background: var(--surface-2, #f6f8fb);
}

#multipass-active-list .table tbody tr:nth-child(even):hover {
  background: var(--bg-soft, #e8ecf1);
}

/* Tag-Status Badges in der Tabelle */
#multipass-active-list .tag-status {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

#multipass-active-list .tag-status.active {
  background: var(--accent, #0096a6);
  color: var(--text-light, #ffffff);
}

#multipass-active-list .tag-status.warning {
  background: #ff9800;
  color: var(--text-light, #ffffff);
}

#multipass-active-list .tag-status.info {
  background: #2196f3;
  color: var(--text-light, #ffffff);
}

#multipass-active-list .tag-status.inactive {
  background: var(--border-strong, #cbd5e1);
  color: var(--text-muted, #6b7280);
}

/* Responsive: Horizontal scroll auf kleinen Bildschirmen */
@media (max-width: 1023px) {
  #multipass-active-list .content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #multipass-active-list .table {
    min-width: 800px;
  }

  #multipass-active-list .table th,
  #multipass-active-list .table td {
    padding: 0.75rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* =====================================================================
   Newsletter Editor - Modernes Editor-Layout
   ===================================================================== */

/* Newsletter Editor Container */
.newsletter-editor {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.newsletter-editor-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* Newsletter Formular */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Betreff Eingabe */
.newsletter-betreff-wrapper {
  margin-bottom: 1rem;
}

.newsletter-betreff-input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.newsletter-betreff-input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.newsletter-betreff-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Abschnitte Container */
#abschnitte-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#abschnitte-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Abschnitt Item - Moderne Karte */
.abschnitt-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid transparent;
}

.abschnitt-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

/* Abschnitt Header */
.abschnitt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.abschnitt-nummer {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.abschnitt-entfernen {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 300;
}

.abschnitt-entfernen:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  transform: scale(1.1);
}

/* Abschnitt Content - Titel und Text nebeneinander */
.abschnitt-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.abschnitt-titel-wrapper,
.abschnitt-text-wrapper {
  display: flex;
  flex-direction: column;
}

.abschnitt-titel-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.abschnitt-titel-input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.abschnitt-titel-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
  font-weight: 400;
}

.abschnitt-text-input {
  width: 100%;
  min-height: 200px;
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.abschnitt-text-input:focus {
  outline: none;
  border-left-color: var(--primary);
  background: rgba(31, 42, 68, 0.02);
}

.abschnitt-text-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Button Abschnitt hinzufügen */
.abschnitt-hinzufuegen-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.abschnitt-hinzufuegen-btn:hover {
  border-color: var(--primary);
  background: rgba(31, 42, 68, 0.05);
  color: var(--primary);
}

.abschnitt-hinzufuegen-btn span {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}

/* Newsletter Actions */
.newsletter-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.newsletter-submit-btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 42, 68, 0.2);
}

.newsletter-submit-btn:hover {
  background: var(--primaryHover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.3);
}

.newsletter-submit-btn:active {
  transform: translateY(0);
}

/* Alte Styles entfernen - Newsletter-Formular breiter machen */
#newsletter-form {
  max-width: 100%;
}


/* Dark Mode Styles für Newsletter Editor */
[data-theme="dark"] .newsletter-editor {
  background: var(--bg-dark);
  color: var(--text-light);
}

[data-theme="dark"] .newsletter-editor-title {
  color: var(--secondary);
}

[data-theme="dark"] .newsletter-betreff-input {
  color: var(--text-light);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .newsletter-betreff-input:focus {
  border-bottom-color: var(--secondary);
}

[data-theme="dark"] .newsletter-betreff-input::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .abschnitt-item {
  background: var(--bg-soft);
  border-color: transparent;
}

[data-theme="dark"] .abschnitt-item:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 255, 255, 0.1);
}

[data-theme="dark"] .abschnitt-header {
  border-bottom-color: var(--border);
}

[data-theme="dark"] .abschnitt-nummer {
  color: var(--text-muted);
}

[data-theme="dark"] .abschnitt-entfernen {
  color: var(--text-muted);
}

[data-theme="dark"] .abschnitt-entfernen:hover {
  background: rgba(220, 53, 69, 0.2);
  color: #ff6b7a;
}

[data-theme="dark"] .abschnitt-titel-input {
  color: var(--text-light);
  border-bottom-color: var(--border);
}

[data-theme="dark"] .abschnitt-titel-input:focus {
  border-bottom-color: var(--secondary);
}

[data-theme="dark"] .abschnitt-titel-input::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .abschnitt-text-input {
  color: var(--text-light);
  border-left-color: transparent;
}

[data-theme="dark"] .abschnitt-text-input:focus {
  border-left-color: var(--secondary);
  background: rgba(0, 255, 255, 0.05);
}

[data-theme="dark"] .abschnitt-text-input::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .abschnitt-hinzufuegen-btn {
  color: var(--secondary);
  border-color: var(--border);
}

[data-theme="dark"] .abschnitt-hinzufuegen-btn:hover {
  border-color: var(--secondary);
  background: rgba(0, 255, 255, 0.1);
  color: var(--secondary);
}

[data-theme="dark"] .newsletter-actions {
  border-top-color: var(--border);
}

[data-theme="dark"] .newsletter-submit-btn {
  background: var(--primary);
  color: var(--text-light);
}

[data-theme="dark"] .newsletter-submit-btn:hover {
  background: var(--primaryHover);
}

/* Dark Mode - Section Content für Newsletter */
[data-theme="dark"] section.content:has(.newsletter-editor) {
  background: var(--bg-dark);
  color: var(--text-light);
}

[data-theme="dark"] section.content:has(.newsletter-editor) h2,
[data-theme="dark"] section.content:has(.newsletter-editor) h3 {
  color: var(--secondary);
}

/* Dark Mode - Konto und Sicherheit */
[data-theme="dark"] #konto-sicherheit {
  background: var(--bg-dark);
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit * {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit h2,
[data-theme="dark"] #konto-sicherheit h3 {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .card {
  background: var(--bg-dark);
  border-color: var(--border);
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .card * {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .card.danger {
  background: var(--bg-dark);
  border-color: var(--border);
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .card.danger * {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit label {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit input[type="password"],
[data-theme="dark"] #konto-sicherheit input[type="text"] {
  background: var(--bg-soft);
  color: var(--text-light);
  border-color: var(--border);
}

[data-theme="dark"] #konto-sicherheit input[type="password"]:focus,
[data-theme="dark"] #konto-sicherheit input[type="text"]:focus {
  background: var(--bg-soft);
  color: var(--text-light);
  border-color: var(--secondary);
}

[data-theme="dark"] #konto-sicherheit input[type="checkbox"] {
  accent-color: var(--secondary);
}

[data-theme="dark"] #konto-sicherheit .btn {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .btn-danger {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

[data-theme="dark"] #konto-sicherheit .btn-danger:hover {
  background: #c82333;
  border-color: #c82333;
}

[data-theme="dark"] #konto-sicherheit p,
[data-theme="dark"] #konto-sicherheit small {
  color: var(--text-light);
}

/* Newsletter Einstellungen in Konto und Sicherheit */
#konto-sicherheit .newsletter-settings {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

#konto-sicherheit .newsletter-settings h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

#konto-sicherheit .newsletter-settings .hint {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

#konto-sicherheit .newsletter-settings .form-row--check {
  margin-bottom: 0.75rem;
}

#konto-sicherheit .newsletter-settings .btn {
  margin-top: 1rem;
}

/* Dark Mode - Newsletter Einstellungen */
[data-theme="dark"] #konto-sicherheit .newsletter-settings {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .newsletter-settings h3 {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .newsletter-settings .hint {
  color: var(--text-muted);
}

[data-theme="dark"] #konto-sicherheit .newsletter-settings label {
  color: var(--text-light);
}

[data-theme="dark"] #konto-sicherheit .newsletter-settings input[type="checkbox"] {
  accent-color: var(--secondary);
}

/* Dark Mode - Toggle Password Icon (Auge) */
[data-theme="dark"] #konto-sicherheit .toggle-password {
  color: var(--text-light) !important;
}

[data-theme="dark"] #konto-sicherheit .toggle-password svg {
  fill: var(--text-light) !important;
  color: var(--text-light) !important;
}

[data-theme="dark"] #konto-sicherheit .toggle-password:hover,
[data-theme="dark"] #konto-sicherheit .toggle-password:focus {
  color: var(--secondary) !important;
}

[data-theme="dark"] #konto-sicherheit .toggle-password:hover svg,
[data-theme="dark"] #konto-sicherheit .toggle-password:focus svg {
  fill: var(--secondary) !important;
  color: var(--secondary) !important;
}

[data-theme="dark"] #konto-sicherheit .toggle-password.active {
  color: var(--secondary) !important;
}

[data-theme="dark"] #konto-sicherheit .toggle-password.active svg {
  fill: var(--secondary) !important;
  color: var(--secondary) !important;
}

/* Responsive Anpassungen für Newsletter Editor */
@media (max-width: 1024px) {
  .newsletter-editor {
    padding: 2rem 1.5rem;
  }

  .abschnitt-content {
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .newsletter-editor {
    padding: 1.5rem 1rem;
  }

  .newsletter-editor-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .newsletter-betreff-input {
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
  }

  .abschnitt-item {
    padding: 1.5rem;
  }

  .abschnitt-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .abschnitt-text-input {
    min-height: 150px;
  }

  .newsletter-actions {
    padding-top: 1.5rem;
  }

  .newsletter-submit-btn {
    width: 100%;
    padding: 0.875rem 2rem;
  }
}

@media (max-width: 480px) {
  .newsletter-editor {
    padding: 1rem 0.75rem;
  }

  .abschnitt-item {
    padding: 1rem;
  }

  .abschnitt-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .abschnitt-hinzufuegen-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }
}

/* =====================================================================
   Text-Abkürzung für mobile Geräte - "Registrierung" zu "Reg."
===================================================================== */
.text-full {
  display: inline;
}

.text-short {
  display: none;
}

@media (max-width: 768px) {
  .text-full {
    display: none;
  }

  .text-short {
    display: inline;
  }

  /* Sicherstellen, dass "Reg." bündig mit anderen Texten bleibt */
  #aktivierung .steps-list li strong {
    display: inline-block;
    min-width: 6.5rem;
  }
}
