/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0px;
    padding: 0 0 0 1.5rem;
}

header {
    position: relative;

    /* nur das Bild, kein Verlauf mehr */
    background: url("../img/faonsa-Bild_heater2.png") center 40% no-repeat;
    background-size: cover;

    /* nimmt genau die Höhe des sichtbaren Bildschirms ein */
    height: 100vh;

    color: #fff;
    padding: 40px 5vw 20px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* gleichmäßige, leichte Abdunklung über dem ganzen Bild */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);  /* Helligkeit: 0.2 heller, 0.4 dunkler */
    z-index: 0;
}

header h1 {
  margin: 0;
  padding: 0;
}


/* Navigationsstil 
nav ul {
    list-style-type: inside;
    padding: 5px;
} 

nav ul li {
    display: inline-block;
    margin-right: 5px;
}

nav ul li a {
    text-decoration: inside;
    color: #333;
} */

/* Hauptinhalt-Stil */
main {
    padding: 5px;
}

/* Abschnittsstile */
section {
    padding: 5px;
    margin-bottom: 5px;
}

section p {
    padding-left: 5px; /* zusätzlicher linker Abstand für Text in <section> */
}

section:nth-of-type(odd) {
    background-color: #f9f9f9;
}

section:nth-of-type(even) {
    background-color: #e9e9e9;
}

/* Trennlinien zwischen den Abschnitten */
section + section::before {
    content: "";
    display: block;
    height: 2px;
    background-color: #ccc;
    margin-bottom: 20px;
}

/* Footer-Stil */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Media Queries für mobile Geräte */
@media (max-width: 768px) {
    nav ul li {
        display: center;
        margin-bottom: 10px;
    }
}

/* Neuer CSS-Code für das Cookie-Banner und Modal */
#cookieConsent {
    background-color: rgba(20, 20, 20, 0.8);
    min-height: auto;
    font-size: 18px;
    color: #ccc;
    line-height: 1.5;
    padding: 20px;
    z-index: 9999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    border-radius: 5px;

    /* WICHTIGE ÄNDERUNG: Flexbox und Textausrichtung für Mobilgeräte */
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cookieConsent p {
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

#cookieConsent a {
    color: #4B8EE7;
}

.button-container {
    display: flex; /* Verwende Flexbox für die Buttons */
    justify-content: center; /* Zentriert die Buttons */
    width: 100%; /* Nimmt die gesamte Breite ein */
}

#acceptCookies, #declineCookies, #settingsCookies {
    background-color: #4B8EE7;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    z-index: 10000;
    max-width: 95%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    width: 90%;
}

.close {
    position: absolute;
    top: 13px;
    right: 13px;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal {
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }
    .modal-content {
        width: calc(100% - 40px);
    }
}

/* Neuer CSS-Code für das responsive Logo */
/* Einheitliche Logo-Größe auf ALLEN Seiten */
.responsive-logo{
  max-width: 220px;   /* nimm 220 oder deinen Wunschwert */
  height: auto;
  display: block;
  margin: 12px auto;
}

/* optional feinjustieren auf kleinen Screens */
@media (max-width: 768px){
  .responsive-logo{ max-width: 180px; }
}
@media (max-width: 480px){
  .responsive-logo{ max-width: 160px; }
}


.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* CSS für Kontaktinformationen */
.contact-info {
    font-size: 1rem;
    color: #0038a8; /* Einheitliche Farbe */
    text-decoration: none;
}
.contact-info:hover {
    text-decoration: underline;
}

/* CSS für Textabsätze */
.text-paragraph {
    font-size: 1rem;
    color: #333; /* Standardtextfarbe */
}

.lead {
    font-size: 1.25rem; /* Größere Schriftgröße für Hervorhebung */
    font-weight: bold; /* Fett für Hervorhebung */
    color: #333; /* gleiche Farbe wie der Text */
}

/* CSS für primäre Buttons */
.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Stil für die Schließen- und Preisliste-Buttons */
.close-button,
#show-price-list,
.close-price-list { /* Füge die Klasse close-price-list hinzu */
    background-color: #0038a8; /* Königsblau */
    color: white; /* Textfarbe */
    padding: 10px 15px; /* Innenabstand */
    border: none; /* Kein Rand */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 1rem; /* Schriftgröße */
    cursor: pointer; /* Zeiger bei Hover */
    transition: background-color 0.3s ease; /* Übergangseffekt */
}

.close-button:hover,
#show-price-list:hover,
.close-price-list:hover { /* Füge die Hover-Style-Regel hinzu */
    background-color: #0056b3; /* Dunklerer Blauton bei Hover */
}

/* Navigation Style */
nav {
    background-color: #e0e0e0; /* Dunklerer Hintergrund für bessere Sichtbarkeit */
    padding: 10px; /* Vertikales Padding für mehr Platz */
    border-bottom: 2px solid #aaa; /* Dunklere untere Linie für visuelle Trennung */
}

nav ul {
    list-style-type: inside; /* Entfernen der Aufzählungszeichen */
    margin: 0px; /* Entfernen von Standard-Margin */
    padding: 0px; /* Entfernen von Standard-Padding */
    display: flex; /* Flexbox für horizontale Anordnung */
    justify-content: center; /* Zentrierung der Navigation */
    flex-wrap: wrap; /* Zeilenumbruch auf kleineren Bildschirmen */
}

nav li {
    margin: 5px; /* Abstand zwischen den Links */
}

nav a {
    text-decoration: none; /* Unterstreichung entfernen */
    color: #222222; /* Dunklerer Farbton für die Schriftfarbe der Links */
    font-size: 18px; /* Schriftgröße für Desktop */
    padding: 10px 10px; /* Innenabstand für Klickfläche */
    transition: background-color 0.3s, color 0.3s; /* Sanfte Übergänge für Hover-Effekte */
}

/* Hintergrundfarbe und Schriftfarbe beim Hover */
nav a:hover {
    background-color: #aaaaaa; /* Dunkleres Hellgrau beim Hover */
    color: #000000; /* Schwarz beim Hover */
    border-radius: 5px; /* Abgerundete Ecken */
}

/* Responsive Styles */
@media (max-width: 600px) {
    nav a {
        font-size: 16px; /* Kleinere Schriftgröße für mobile Geräte */
        padding: 8px 10px; /* Weniger Innenabstand für mobile Geräte */
    }
}
.web-app-button {
    background-color: #4c6b3b; /* Olivgrün für den Button */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none; /* Entfernt die Unterstreichung */
    display: inline-block; /* Macht den Link wie einen Button */
    cursor: pointer; /* Zeigt, dass der Link klickbar ist */
}

.web-app-button:hover {
    background-color: #3a4f2b; /* Dunkleres Olivgrün beim Hover */
}

@media (max-width: 768px) {
    li p {
        padding-left: 0px; /* oder margin-left */
    }
}

/* Container für Links */
.links-container {
    display: flex; /* Sorgt dafür, dass die Links nebeneinander stehen */
    flex-wrap: wrap; /* Bei kleinen Bildschirmen umbrechen die Links */
    justify-content: center; /* Zentriert die Links horizontal */
    margin: 2rem 0; /* Abstand nach oben und unten */
}

.link-card {
    background: #c1ff33; /* Hintergrund der Karten */
    border-radius: 8px; /* Abgerundete Ecken */
    margin: 1rem; /* Abstand zwischen den Karten */
    padding: 1.5rem; /* Innenabstand */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sanfter Schatten */
    width: 250px; /* Breite der Karten */
    text-align: center; /* Zentriert den Text */
    transition: transform 0.3s; /* Animation beim Hover */
}

.link-card i {
    font-size: 2rem; /* Größe der Icons */
    color: #0078d7; /* Blaue Farbe für die Icons */
    margin-bottom: 1rem; /* Abstand zwischen Icon und Text */
}

.link-card a {
    text-decoration: none; /* Entfernt die Unterstreichung der Links */
    color: #333; /* Farbe des Link-Textes */
    font-weight: bold; /* Fett gedruckt */
}

.link-card:hover {
    transform: translateY(-10px); /* Die Karte bewegt sich leicht nach oben */
    background-color: #e9ecef; /* Hintergrund wird etwas heller */
}

.promo-banner {
    display: block;
    background-color: #ff6f61;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
  }
  
  .promo-banner:hover {
    background-color: #ff4f3f;
  }
/* Container und zentrierte Überschrift */
.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.centered-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Karussell */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Bewertungs-Container */
.review {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
    margin: 20px auto;
}

/* Sterne und Text */
.stars {
    color: #f1c40f;
    font-size: 1.5rem;
}

.review h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.review-text {
    font-size: 1rem;
    color: #555;
}

/* Navigationspfeile in Kreisen */
.circle-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #333;
}

/* Linker Pfeil */
.circle-nav.left {
    left: 10px; /* Mehr nach innen verschoben */
}

/* Rechter Pfeil */
.circle-nav.right {
    right: 10px; /* Mehr nach innen verschoben */
}

.circle-nav:hover {
    background-color: #007bff;
    color: white;
}

/* Responsives Design */
@media (max-width: 768px) {
    .circle-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .review {
        padding: 15px;
    }
}

/* Kontakt-Button-Stil */
.kontakt-button {
  display: inline-block;
  background-color: #007bff; /* Blau */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.kontakt-button:hover {
  background-color: #0056b3; /* Dunkleres Blau beim Hover */
}

/* Weiches Scrollen */
html {
  scroll-behavior: smooth;
}
/* ==========================================
   📅 Termine-Box (global, für alle Seiten)
   ========================================== */

.termine-box {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;             /* Box-Breite an Content-Spalte angepasst */
  margin: 16px 0 24px 0;        /* linksbündig, kein auto */
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-left: 5px solid #0078D7;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}

.termine-box h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #0078D7;
  text-align: left;
}

/* ================================
   Liste ohne Punkte, Grid-Layout
   ================================ */
.termine-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;   /* Handy: 1 Spalte */
  row-gap: 14px;
}

/* Desktop/Tablet: 2 Spalten */
@media (min-width: 900px) {
  .termine-liste {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
}

/* ================================
   Einzelne Listeneinträge
   ================================ */
.termine-liste li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #efefef;
}
.termine-liste li:nth-child(odd) {
  border-color: #f3f3f6;
}
.termine-liste li:last-child {
  border-bottom: none;
}

/* ================================
   Datum-Badge
   ================================ */
.termine-liste li > span {
  display: inline-block;
  min-width: 130px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  background: #eef5ff;        /* hellblau */
  color: #0b5bd3;
  border: 1px solid #cfe1ff;
}

/* Zweite Farbe für die rechte Spalte / jeden 2. Eintrag */
.termine-liste li:nth-child(even) > span {
  background: #f3f8ee;        /* hellgrün */
  color: #2f7a1f;
  border-color: #d4e7c9;
}

/* Farben nach Jahr */
.termine-liste li > span.jahr2025 {
  background: #f3f8ee;        /* hellgrün */
  color: #2f7a1f;
  border: 1px solid #d4e7c9;
}

.termine-liste li > span.jahr2026 {
  background: #eef5ff;        /* hellblau */
  color: #0b5bd3;
  border: 1px solid #cfe1ff;
}

/* Abstand nach unten */
.spacer {
  margin-top: 20px;
}
/* === Scroll-Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Abstand zwischen Bildern */
img {
  margin: 10px;
}

.faonsa-checklist-copy {
  max-width: 68ch;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
}

.faonsa-checklist-copy h3 {
  margin: 0 0 .5rem 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #e65100;
}

.faonsa-checklist-copy .free {
  color: #d32f2f;
  font-weight: 800;
}

.faonsa-checklist-copy p {
  margin: .6rem 0;
}

@media (max-width: 560px) {
  .faonsa-checklist-copy {
    padding: 0 .5rem;
  }
}
/* === Zurück-nach-oben Button === */
.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 2px;
  background-color: #007bff;
  color: #fff;
  padding: 5px 6px;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.kurs-taxi-button {
  display: inline-block;
  background-color: #4caf50;       /* Grün */
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kurs-taxi-button:hover {
  background-color: #388e3c;       /* dunkleres Grün beim Hover */
  transform: translateY(-2px);
}

/* ==== Website-Tests Bereich ==== */
.website-tests h3 {
  font-size: 1.4rem;
  margin-top: -10px;
  margin-bottom: 10px;
  color: #000; /* oder deine gewünschte Farbe */
}

/* ==== Kontaktbereich – dezenter, weniger Orange ==== */
.kontakt-section{
  background: #fff;                 /* statt gelblich */
  border-top: 4px solid #1e88e5;    /* kühles Blau statt Orange */
  border-radius: 14px;
  padding: 36px 20px;
  margin-top: 60px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
}

.kontakt-section h2{
  color: #1e88e5;                   /* Überschrift in Blau */
  font-size: 1.9rem;
  margin: 0 0 8px;
}

.kontakt-text{
  color: #374151;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

/* Karten für E-Mail / WhatsApp / Telefon */
.kontakt-box{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 16px;
  align-items: stretch;
}

.kontakt-box p{
  background: #f9fafb;
  border: 2px solid #e5e7eb;        /* deutlich sichtbarer Rahmen */
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.kontakt-box p:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  border-color: #cfd8e3;            /* leichte Betonung beim Hover */
}

.kontakt-link{
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.kontakt-link:hover{ text-decoration: underline; }

.kontakt-hinweis{
  margin-top: 26px;
  font-size: .95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* optional: schöner WhatsApp-Button */
.whatsapp-btn{
  display:inline-block;
  background:#22c55e;
  color:#fff;
  font-weight:700;
  padding:10px 16px;
  border-radius: 10px;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  transition: background .15s ease, transform .15s ease;
}
.whatsapp-btn:hover{
  background:#16a34a;
  transform: translateY(-1px);
}

@media (max-width:600px){
  .kontakt-section{ padding:28px 12px; }
}

.subnote {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #555;
}
/* ===== Drawer-Navigation (Variante C) – FINAL STABIL ===== */
:root{
  --brand:#007bff;        /* Reiter-Farbe (wie "Nach oben") */
  --brand-hover:#0056b3;  /* Hover Reiter */
  --text-light:#ffffff;   /* Schrift auf Reiter */
  --ink:#111827;          /* Text im Drawer */
  --muted:#6b7280;        /* dezenter Text */
  --bg:#ffffff;           /* Drawer-Hintergrund */
  --line:#e5e7eb;         /* Linien/Fokus */
  --hover:#f3f4f6;        /* Hover Link */
  --active:#e5f0fb;       /* aktiver Link */
  --shadow:0 10px 30px rgba(0,0,0,.15);
  --speed:.25s;
}

/* ================================
   LINKER REITER – NAVIGATION
   ================================ */

.tabnav{
  position:fixed;
  left:0;
  top:45%;
  transform:translateY(-50%);
  background:var(--brand);
  color:var(--text-light);
  border:0;
  cursor:pointer;
  padding:.5rem .35rem;              /* schlanker als vorher */
  border-top-right-radius:.6rem;
  border-bottom-right-radius:.6rem;
  box-shadow:var(--shadow);
  z-index:1001;                       /* unter Drawer/Overlay */
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:26px;                     /* kompakte Trefffläche */
  min-height:62px;
  transition:background var(--speed) ease;
}
.tabnav:hover,
.tabnav:focus-visible{
  background:var(--brand-hover);
  outline:none;
}

/* Reiter-Label vertikal */
.tabnav__label{
  display:inline-block;
  writing-mode:vertical-rl;
  text-orientation:upright;
  text-transform:uppercase;
  letter-spacing:.1em;
  line-height:1.05;
  color:var(--text-light);
}

/* beim offenen Menü: Reiter bewusst unter dem Drawer halten */
.tabnav[aria-expanded="true"]{ z-index:1000; }

/* ================================
   OVERLAY – Verdunklung bei geöffnetem Menü
   ================================ */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(17,24,39,.15);     /* heller als vorher, nicht „zu grau“ */
  backdrop-filter:none;               /* kein Blur, wirkt leichter */
  z-index:1002;                       /* unter Drawer, über Reiter */
}
.nav-overlay[hidden]{ display:none; } /* wenn hidden, komplett weg */

/* ================================
   DRAWER – das ausfahrende Menü
   ================================ */
.nav-drawer{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:min(85vw,320px);              /* mobil 85vw, desktop max 320px */
  background:var(--bg);
  border-right:1px solid var(--line);
  box-shadow:var(--shadow);
  transform:translateX(-100%);
  transition:transform var(--speed) ease;
  z-index:1003;                       /* OBERSTE Ebene -> Links klickbar */
  display:flex;
  flex-direction:column;
  will-change:transform;
}
.nav-drawer.is-open{ transform:translateX(0); }

/* Kopfbereich im Drawer */
.nav-drawer__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem;
  border-bottom:1px solid var(--line);
}
.nav-close{
  border:0;
  background:transparent;
  font-size:1.2rem;
  cursor:pointer;
  color:var(--muted);
}
.nav-close:hover{ color:var(--ink); }

/* Linkliste im Drawer – IMMER vertikal */
.nav-list{
  display:flex;
  flex-direction:column;
  gap:.25rem;
  padding:1rem 1.25rem 1.25rem;       /* oben & seitlich angenehm */
}
.nav-link{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.7rem .9rem;                 /* gute Tap-Zone, nicht zu groß */
  border-radius:.6rem;
  color:var(--ink);
  text-decoration:none;
  transition:background .2s, transform .04s;
}
.nav-link:hover,
.nav-link:focus{
  background:var(--hover);
  outline:none;
}
.nav-link:active{ transform:translateY(1px); }
.nav-link.is-active{
  background:var(--active);
  font-weight:600;
  box-shadow:inset 0 0 0 2px rgba(10,102,194,.15);
}

/* Scroll-Abstand (optional, nur Desktop) */
@media (min-width:1024px){
  body{ scroll-padding-left:48px; }
}

/* Mobile Feinschliff (Position Reiter) */
@media (max-width:767px){
  .tabnav{ top:40%; }
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion:reduce){
  .nav-drawer{ transition:none; }
}

/* === FAONSA RONDELL – finale, bereinigte Version === */
:root{
  --faonsa-gray:#f4f4f4;
  --faonsa-blue:#4c8bf3;

  /* <<< HIER stellst du den Pfeil-Abstand am Desktop ein */
  --arrow-offset-desktop: -10px;   /* z.B. +4 oder –10px */
}

/* Grauer Bereich + hart clippen (kein Überlaufen/Scrollen) */
#faonsa-rondell{
  background:var(--faonsa-gray);
  padding:20px 0;
  display:flex;
  justify-content:center;
  overflow:hidden;                           /* wichtig */
}

#faonsa-rondell .faonsa-swiper{
  width:min(1100px, 90vw);
  height:400px;
  margin:0 auto;
  position:relative;
  overflow:hidden;                           /* wichtig */
  box-sizing:border-box;
}

/* Slides & Effekte */
#faonsa-rondell .swiper-wrapper{
  display:flex !important;
  align-items:center;
}

#faonsa-rondell .swiper-slide{
  display:flex; align-items:center; justify-content:center;
  transition:transform .45s ease, opacity .45s ease, filter .45s ease;
  transform:scale(.78);
  opacity:.25;
  filter:blur(1.5px);
  z-index:1;
}
#faonsa-rondell .swiper-slide-prev,
#faonsa-rondell .swiper-slide-next{
  transform:scale(.9);
  opacity:.55;
  filter:blur(.8px);
  z-index:2;
}
#faonsa-rondell .swiper-slide-active{
  transform:scale(1.18);
  opacity:1;
  filter:none;
  z-index:3;
}

/* Bilder */
#faonsa-rondell .swiper-slide img{
  max-height:82%;
  max-width:90%;
  width:auto; height:auto;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 14px 32px rgba(0,0,0,.15);
}

/* Pfeile – Basis (immer oben und klickbar) */
#faonsa-rondell .faonsa-prev,
#faonsa-rondell .faonsa-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px; height:44px;
  z-index:100;
  pointer-events:auto;
  color:var(--faonsa-blue);
}

#faonsa-rondell .faonsa-prev:hover,
#faonsa-rondell .faonsa-next:hover{
  opacity:1; transform:translateY(-50%) scale(1.1);
}

/* Bullets standardmäßig aus (Desktop) */
/* ===== Bullets (Punkte) immer sichtbar, auch Desktop ===== */
#faonsa-rondell .swiper-pagination-bullets {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  margin-top: 10px;
}
#faonsa-rondell .swiper-pagination-bullet {
  background: #9bb5ff;
  opacity: .6;
  transition: opacity .3s ease, transform .3s ease;
}
#faonsa-rondell .swiper-pagination-bullet-active {
  background: var(--faonsa-blue);
  opacity: 1;
  transform: scale(1.3);
}

/* ===== Desktop (>=900px): Pfeile leicht nach innen, kein Überlaufen ===== */
@media (min-width:900px){
  #faonsa-rondell .faonsa-prev{ left:  var(--arrow-offset-desktop) !important; }
  #faonsa-rondell .faonsa-next{ right: var(--arrow-offset-desktop) !important; }

  /* optional etwas Innenluft, damit die Pfeile nicht „kleben“ */
  #faonsa-rondell .faonsa-swiper{
    overflow: hidden;
    padding: 0 6px;
    box-sizing: border-box;
  }
}

/* ===== Mobile (<=640px): Pfeile aus, Bullets als Wisch-Hinweis ===== */
@media (max-width:640px){
  #faonsa-rondell{ padding:16px 0; }

  #faonsa-rondell .faonsa-swiper{
    height:300px;
    overflow:hidden;                 /* nix ragt raus */
    padding:0 10px;
  }

  #faonsa-rondell .swiper-slide{ transform:scale(.94); opacity:.45; filter:blur(.5px); }
  #faonsa-rondell .swiper-slide-active{ transform:scale(1.06); opacity:1; filter:none; }

  #faonsa-rondell .swiper-slide img{ max-height:78%; max-width:94%; }

  #faonsa-rondell .swiper-pagination-bullets{
    display:block; position:absolute; left:0; right:0; bottom:-6px; text-align:center;
  }
  #faonsa-rondell .swiper-pagination-bullet{ background:#9bb5ff; opacity:.6; }
  #faonsa-rondell .swiper-pagination-bullet-active{ background:var(--faonsa-blue); opacity:1; }

  /* Pfeile auf Handy aus */
  #faonsa-rondell .faonsa-prev,
  #faonsa-rondell .faonsa-next{ display:none !important; }
}

/* Nur innerhalb dieser Box: sorgt für gleichmäßige Karten */
.kontakt-fix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* Feinjustierung für Mobilgeräte */
@media (max-width: 600px) {
  .kontakt-fix {
    grid-template-columns: 1fr;
  }
}

/* Karten-Stil nur für die neuen DIVs */
.kontakt-card{
  background:#f9fafb;
  border:2px solid #e5e7eb;
  border-radius:12px;
  padding:14px 16px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display:flex;                 /* Inhalte schön zentrieren */
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.kontakt-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  border-color:#cfd8e3;
}

/* Falls irgendwo doch noch ein leeres <p> in der Box steht → ausblenden */
.kontakt-box p:empty { display:none; }

/* Header-Inhalt wirklich über das Overlay legen */
header > * {
  position: relative;
  z-index: 1;  /* GANZ wichtig: Inhalt vor dem Overlay */
}

header h1,
header h2,
header p,
header .lead {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Logo-Header nur auf bestimmten Unterseiten ausblenden */
.hide-logo-header > header {
  display: none;
}
