/**
* Template Name: Bootslander
* Template URL: https://bootstrapmade.com/bootslander-free-bootstrap-landing-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
 --heading-color: #092d3b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1acc8d; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #1acc8d; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1acc8d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  /* Einheitlicher Dashboard‑Gradient: Endet auf Petrol, damit der Footer (Navy) mit der Welle sich wie auf der Startseite abhebt */
  --dashboard-gradient: linear-gradient(135deg, #0a293b 0%, #083e4a 50%, #094854 100%);
  --dashboard-solid: #093644;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #081226; /* Slider‑Navy als globaler Dark‑Background */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #0b1630; /* etwas hellere Navy‑Surface für Boxen/Elemente */
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Online-Badge und Punkt (grün, ohne Rand, mit leichtem Schein und radialem Verlauf) */
.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2ec875; /* grüner Text wie zuvor */
}
.online-badge .online-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  display: inline-block;
  background: radial-gradient(circle at 50% 50%, #6ff3a7 0%, #41de8b 45%, #2ec875 70%, #1aa85c 100%);
  box-shadow: 0 0 6px rgba(46, 200, 117, 0.7), 0 0 12px rgba(46, 200, 117, 0.5);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Hero Badge (SOFORT MÖGLICH)
--------------------------------------------------------------*/
.hero-slideshow .hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 999px; /* voller Pillen-Stil */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  height: 22px; /* kleiner in der Höhe */
  padding: 0 8px; /* noch kürzeres horizontales Padding */
  padding-top: 2px; /* Text minimal nach unten rücken */
  min-width: 0; /* keine Mindestbreite – passt sich Text an */
  width: auto; /* niemals strecken */
  font-size: 12px; /* etwas kleinerer Text */
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), 0 0 10px rgba(26, 204, 141, 0.35);
  margin-top: 18px; /* etwas stärker nach unten rücken */
  margin-bottom: 0.75rem;
}

/* Entfernt: abstrakte Formen im Hero; Slider bleibt clean */

/* Dezente Formen unter dem Slider (Angebote-Sektion) */
.section.offers { position: relative; overflow: hidden; }
/* Overlay im Angebote-Abschnitt aktiv lassen, damit Muster sichtbar sind */
.section.offers::before { content: ""; display: block; }
.section.offers > * { position: relative; z-index: 1; }

/* Nur unter dem Slider (Angebote) dezente abstrakte Formen */
/* Global: dezente abstrakte Formen für alle hellen Bereiche – außer Slider/Hero */
.section:not(.dark-background) { position: relative; overflow: hidden; }
body.home-slideshow-page .section:not(.dark-background)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1; /* Gesamtdeckkraft bleibt 1; Muster selbst mit geringerer Tönung */
  background-image:
    radial-gradient(860px 400px at 6% 10%, rgba(0,0,0,0.03), rgba(0,0,0,0) 70%),
    radial-gradient(780px 340px at 94% 86%, rgba(0,0,0,0.025), rgba(0,0,0,0) 65%),
    radial-gradient(rgba(0,0,0,0.015) 1px, rgba(0,0,0,0) 1.8px), /* feine Punktstruktur (schwächer) */
    repeating-linear-gradient(135deg, rgba(0,0,0,0.01) 0 2px, rgba(0,0,0,0) 2px 16px); /* sehr feine diagonale Linien (schwächer) */
  background-size:
    auto,
    auto,
    18px 18px,
    auto;
  background-position:
    center,
    center,
    0 0,
    0 0;
}

/* Nur auf home_slideshow: Slider-Hintergrundbild sicher ausblenden */
/* Zeige die Slide-Hintergründe wieder an (Grafiken sichtbar) */
/* Home-Slideshow: Hintergrundbilder ausblenden, dunkler Hintergrund soll wirken */
/* Slider-Hintergründe auf der Startseite ausblenden */
body.home-slideshow-page .hero-slideshow .slide-bg { display: none !important; opacity: 0 !important; }
.section:not(.dark-background) > * { position: relative; z-index: 1; }

/* Layering für Hero-Slideshow: Hintergrundbild + zarte Overlay-Farbe */
.hero-slideshow .swiper-slide { position: relative; overflow: hidden; }
.hero-slideshow .slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
/* Standard: Slider-Hintergründe ausblenden (nur Illustrationen/Text sichtbar) */
.hero-slideshow .slide-bg { display: none !important; }
.hero-slideshow .overlay {
  position: absolute; inset: 0; z-index: 1; opacity: 0.10;
  /* Navy‑Only: keine lila/purpur Anteile */
  background: linear-gradient(135deg, rgba(11, 22, 48, 0.18) 0%, rgba(20, 26, 79, 0.15) 60%, rgba(11, 22, 48, 0.12) 100%);
}

@media (max-width: 576px) {
  .hero-slideshow .hero-badge {
    min-width: 0;
    width: auto;
    height: 20px;
    font-size: 11px;
    padding: 0 8px;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  /* Einheitliche Navy‑Fläche ohne Verlauf für maximale Konsistenz */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background: #081226;
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  /* Mehr Zeilenhöhe, um oberes Abschneiden zu vermeiden */
  line-height: 1.35;
}

.header .logo img {
  max-height: 28px;
  margin-right: 8px;
}

/* Text-based logo initial badge (used instead of image) */
.header .logo .logo-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 6px; /* Rechteck mit leicht abgerundeten Ecken */
  border: 2px solid var(--accent-color); /* Rahmen in F-Farbe */
  background: transparent;
  color: var(--accent-color); /* F bleibt in Akzentfarbe */
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
}

.header .logo h1 {
  font-size: 27px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* Brand text: render "fanzino.de" top‑left in a modern, slightly slanted style */
a.logo {
  position: relative;
}

/* Sitename wieder sichtbar (kein Pseudo-Brand-Text) */
.header .logo .sitename,
.logo .sitename,
.sitename {
  display: inline;
}

/* Beta-Kennzeichnung entfernt: kein ::after an .sitename */

/* Emoji, das per JS direkt rechts neben dem Sitename eingefügt wird */
.header .logo .seasonal-emoji-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-2px); /* höher platzieren, bündig mit Text */
  font-size: 24px; /* kleiner als der Logo-Text */
}

/* Stil des sichtbaren Sitename-Textes wie zuvor (modern & leicht geneigt) */
.header .logo .sitename {
  font-family: var(--nav-font);
  font-weight: 900;
  font-style: italic; /* leicht schräg */
  transform: skewX(-10deg);
  letter-spacing: 0.2px;
  /* Noch etwas mehr Zeilenhöhe, damit keine Oberkante abgeschnitten wird */
  line-height: 1.36;
  display: inline-block; /* vermeidet Inline-Clip bei schrägem Text */
  /* Optischer Ausgleich: minimal nach unten schieben (kleiner) */
  padding-top: 2px;
  padding-bottom: 2px;
  /* Kleiner rechter Innenabstand, verhindert abgeschnittenes letztes Zeichen */
  padding-right: 6px;
  position: relative; /* für das Beta-Tag oben rechts */
  color: var(--heading-color);
  white-space: nowrap;
  font-size: 32px; /* wie der frühere Pseudo-Brand */
  /* Fake-Bold entfernt, da es unleserlich wurde */
  /* text-shadow: 0.5px 0 0 currentColor; */
  /* -webkit-text-stroke: 1px var(--heading-color); */
  margin: 0; /* konsistent zum H1 im Header */
}

/* Sehr dezenter Weiß‑Gradient für den Sitename‑Text (nur wenn unterstützt) */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .header .logo .sitename {
    background-image: linear-gradient(180deg, #ffffff 0%, #eaeef6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent; /* stabiler in Chromium/WebKit */
  }
}

/* Saison-Emoji neben dem Logo: mittig zum Text und etwas tiefer */
.header .logo .seasonal-emoji-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(1px); /* minimaler Ausgleich */
  font-size: 1.1em; /* passend zur Sitename-Schriftgröße */
}

.scrolled .header {
  /* Auch im Scroll‑Zustand: reine Navy‑Fläche, kein Schatten */
  background: #081226;
  box-shadow: none;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  /* Farbliche Variablen bleiben kontraststark hell */
  --default-color: #ffffff;
  --heading-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Skip-Link: für Tastaturnutzer sichtbar, sonst aus dem Weg */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 8px 11px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 20%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 25px;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: var(--header-h, 60px) 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: calc(var(--header-h, 60px) - 46px);
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
    z-index: 9998;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* Online‑Badge: nur Farbe, keine Rand‑Dekorationen */
.navmenu > ul > li > a.online-badge {
  color: #198754; /* dunkleres Grün für besseren Kontrast auf Weiß */
}

/* Online‑Badge außerhalb des Nav UL (z. B. neben Logo) */
.header .online-badge {
  color: #198754; /* dunkleres Grün für besseren Kontrast */
}
.header .online-badge:hover { color: #198754; text-decoration: none; }
/* Standard-Nav-Unterstreichung für Online‑Badge komplett abschalten */
.navmenu>ul>li>a.online-badge:before,
.navmenu a.online-badge:hover:before,
.navmenu li:hover>a.online-badge:before,
.navmenu .active.online-badge:before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* Hover: nur Farbe beibehalten, keine Unterstreichung */
.navmenu a.online-badge:hover {
  color: #198754; /* konsistent dunkleres Grün auch beim Hover */
  text-decoration: none;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

/* Footer: dezentes Hintergrundbild mit etwas Deckkraft */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.18; /* etwas Deckkraft gewünscht */
  pointer-events: none;
  z-index: 0; /* hinter dem Inhalt bleiben */
}

/* Footer-Inhalt über dem Overlay halten */
.footer > * { position: relative; z-index: 1; }
/* Footer-Wellenfarbe explizit auf Navy setzen, damit Übergang korrekt wirkt */
.footer { --footer-wave-color: #081226; }

/* Utility: Bild-Overlay für beliebige Bereiche (einsetzbar wie im Screenshot) */
.brand-bg-overlay {
  position: relative;
}
.brand-bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.12; /* geringere Deckkraft gewünscht */
  pointer-events: none;
  z-index: 0;
}
.brand-bg-overlay > *:not(.modal) { position: relative; z-index: 1; }

/* Overlay nur in Header/Navbar und Sidebar anwenden */
.header { position: relative; }
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.12; /* sehr dezent im Header */
  pointer-events: none;
  z-index: 0;
}
.header > * { position: relative; z-index: 1; }

/* Linke Dashboard‑Leiste */
.sidebar { position: relative; }
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.12; /* dezent in der Sidebar */
  pointer-events: none;
  z-index: 0;
}
.sidebar > * { position: relative; z-index: 1; }

/* Overlay nicht auf die weiße Hauptfläche der Dashboards anwenden */
.main.brand-bg-overlay::before,
.content.brand-bg-overlay::before {
  content: none !important;
}

body.advertiser-dashboard .header::before,
body.publisher-dashboard .header::before {
  content: "";
  opacity: 0.12 !important;
  background-position: center top;
  background-size: cover;
}
body.advertiser-dashboard .header {
  background: var(--dashboard-gradient) !important;
}
body.publisher-dashboard .header {
  background: var(--dashboard-gradient) !important;
}
body.advertiser-dashboard.scrolled .header,
body.publisher-dashboard.scrolled .header {
  background: var(--dashboard-gradient) !important;
}
body.advertiser-dashboard .header::before,
body.publisher-dashboard .header::before,
body.advertiser-dashboard .sidebar::before,
body.publisher-dashboard .sidebar::before {
  content: none !important;
}
body.advertiser-dashboard .sidebar {
  background: var(--dashboard-solid, #0a293b) !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
body.publisher-dashboard .sidebar {
  background: var(--dashboard-solid, #093644) !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
/* Footer bleibt wie auf der Startseite; keine Dashboard-spezifische Hintergrundüberschreibung */
/* Border-Top-Override entfernt, damit es exakt wie Startseite ist */

/* Dashboard: Hintergrund auch auf Body anwenden für durchgehenden Verlauf */
body.publisher-dashboard,
body.advertiser-dashboard {
  background: var(--dashboard-solid, #093644) !important;
  background-image: none !important;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Footer-Overlay auf Dashboards wieder zulassen (wie Startseite) */

/* Dashboard Waves: Anpassen an Petrol-Ton, da Navy zu blau wirkt */
body.publisher-dashboard .footer-waves,
body.advertiser-dashboard .footer-waves {
  display: none !important;
}

/* Sidebar: sanfte Kanten oben/unten für fließenden Übergang zum Header/Footer */
body.publisher-dashboard .sidebar,
body.advertiser-dashboard .sidebar {
  -webkit-mask: none !important;
  mask: none !important;
}



.footer .footer-top {
  padding-top: 20px; /* kompakter: Inhalt näher an die Welle */
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Footer: Social-Icons näher an die Welle/Logo */
.footer .social-links {
  margin-top: 0 !important; /* noch höher: Abstand oben entfernen */
}

.footer-adcash-banner {
  margin-top: 8px;
  max-width: 100%; /* erlaubt Banner jeder Zonen‑Breite */
}

.footer-adcash-banner iframe {
  border: 0;
}

/* Footer‑Banner mobil mittig zentrieren */
@media (max-width: 576px) {
  .footer .footer-adcash-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .footer .footer-adcash-banner iframe,
  .footer .footer-adcash-banner > * {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 0; /* Hintergrundcontainer optisch entfernen */
  position: relative;
  border-radius: 0;
  border: none !important;
  display: flex;
  background-color: transparent; /* Kein dunkler Hintergrund hinter Input/Button */
  transition: 0.3s;
  box-shadow: none !important;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: #ffffff; /* Klarer, heller Input ohne dunklen Rahmen */
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: 0; /* Kein Überlappen – saubere Kanten */
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 6px; /* Eigenständig abgerundet ohne Container-Hintergrund */
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/* Footer Wave Transition */
.footer-wave {
  position: relative;
  line-height: 0;
  /* Ensure the wave sits above adjacent sections */
  z-index: 2;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}
.footer-wave svg path {
  /* Use explicit footer wave color to blend into footer */
  fill: var(--footer-wave-color, var(--background-color, #ffffff));
}

/* Footer Waves: dreifache Hero-Waves als Übergang über dem Footer */
.footer-waves,
.hero-waves,
.footer-wave {
  display: none !important;
}
.footer-waves .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--footer-wave-color, var(--background-color, #ffffff));
  opacity: 0.04;
  will-change: transform;
  transform: translateZ(0);
}
.footer-waves .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--footer-wave-color, var(--background-color, #ffffff));
  opacity: 0.03;
  will-change: transform;
  transform: translateZ(0);
}
.footer-waves .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--footer-wave-color, var(--background-color, #ffffff));
  opacity: 0.60;
  will-change: transform;
  transform: translateZ(0);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

/* Oberer Seitenhintergrund: Bild-Overlay über allen Page-Title Bereichen */
.page-title.dark-background::before,
.page-title.dark-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.22; /* leichte Deckkraft wie im Screenshot */
  pointer-events: none;
  z-index: 1;
}

/* Sicherstellen, dass Inhalt über dem Overlay liegt */
.page-title > * { position: relative; z-index: 2; }

/* Dunkler Blog-Gradient für Page-Title (einheitlich über alle Seiten) */
.page-title.dark-gradient {
  background: linear-gradient(135deg, #081226 0%, #141a4f 100%);
  /* Sicherstellen, dass Titel und Text hell dargestellt werden */
  --default-color: #ffffff;
  --heading-color: #ffffff;
}

.page-title .heading {
  padding: 160px 0 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

/* Unten-links platzierter Skyscraper-Banner im Page-Title (nur Desktop) */
.page-title .legal-banner-sky-left {
  position: absolute;
  left: 24px;
  bottom: -650px; /* noch weiter runter für alle Seiten außer Login/Register */
  width: 160px;
  min-height: 600px;
  z-index: 5;
}

/* Unten-rechts platzierter Skyscraper-Banner im Page-Title (nur Desktop) */
.page-title .legal-banner-sky-right {
  position: absolute;
  right: 24px;
  bottom: -650px;
  width: 160px;
  min-height: 600px;
  z-index: 5;
}

/* Fix für Login/Register Seiten: Header sichtbar machen */
.starter-page-page .header {
  --background-color: #10058c; /* Dunkler Hintergrund für Sichtbarkeit */
  --default-color: #ffffff;
  --heading-color: #ffffff;
}
/* Starter‑Seiten: Page‑Title kompakter darstellen */
.starter-page-page .page-title .heading { padding: 32px 0 12px 0; }
/* Starter‑Seiten: Gleiches Hintergrund‑Overlay wie oben auch im Inhaltsbereich */
.starter-page-page .section { position: relative; overflow: hidden; }
.starter-page-page .section::before { content:""; position:absolute; inset:0; background-image:url('../img/Fanzino_Sliderhintergrund.png'); background-size:cover; background-position:center top; background-repeat:no-repeat; background-attachment:fixed; opacity:0.48; pointer-events:none; z-index:0; }
.starter-page-page .section > * { position:relative; z-index:1; }
.starter-page-page .main { position: relative; overflow: hidden; }
.starter-page-page .main::before { content:""; position:absolute; inset:0; background-image:url('../img/Fanzino_Sliderhintergrund.png'); background-size:cover; background-position:center top; background-repeat:no-repeat; background-attachment:fixed; opacity:0.48; pointer-events:none; z-index:0; }
.starter-page-page .main > * { position:relative; z-index:1; }

@media (max-width: 767.98px) {
  .page-title .legal-banner-sky-left { display: none !important; }
  .page-title .legal-banner-sky-right { display: none !important; }
}

/* Fixierte Side‑Banner für Seiten ohne Page‑Title (z. B. Creator‑Dashboard) */
.creator-sky-left,
.creator-sky-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  min-height: 600px;
  z-index: 1050; /* über Inhalt, unter Header/Nav */
}
.creator-sky-left { left: 24px; }
.creator-sky-right { right: 24px; }
@media (max-width: 767.98px) {
  .creator-sky-left, .creator-sky-right { display: none !important; }
}

/* Unten mittig zentrierter 728x90 Banner‑Container */
.adcash-dashboard-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  margin-top: 12px;
  margin-bottom: 8px;
}

/* Mobile: oberer Banner-Container unterhalb des Fixed-Headers, klickbar */
@media (max-width: 767.98px) {
  .ad-mobile-top {
    position: relative;
    width: 300px;
    margin: 90px auto 0; /* Abstand unter dem Fixed-Header */
    z-index: 1100;       /* über dem Header (997) für sichere Klicks */
    pointer-events: auto;
  }
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Page‑Title Waves: gleiche Animation/Optik wie im Hero */
.page-title .hero-waves {
  display: block;
  width: 100%;
  height: 40px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}
.page-title .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.35;
  will-change: transform;
  transform: translateZ(0);
}
.page-title .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.25;
  will-change: transform;
  transform: translateZ(0);
}
.page-title .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.18;
  will-change: transform;
  transform: translateZ(0);
}

/* Automatisches Overlay: erster Inhalts‑Abschnitt direkt nach Page‑Title */
.page-title + section {
  position: relative;
}
.page-title + section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/Fanzino_Sliderhintergrund.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.20; /* etwas dezenter als Page‑Title */
  pointer-events: none;
  z-index: 0;
}
.page-title + section > * { position: relative; z-index: 1; }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 32px 0; /* kompakter: weniger Weißraum oben/unten */
  scroll-margin-top: 100px;
  overflow: clip;
}

/* Speziell: Abstand unten im FAQ reduzieren und Weißraum vermeiden */
#faq.section,
.faq.section { padding-top: 32px; padding-bottom: 8px; margin-bottom: 0; }

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

/* Dashboard-Layouts: Inhalt direkt unter dem Header ohne zusätzliche Lücke */
.main.content { padding-top: 12px !important; }

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  /* Fix mobile clipping/overlap: allow normal line height */
  line-height: 1.2;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

/* Extra safety for small screens: slightly reduce letter spacing */
@media (max-width: 575.98px) {
  .section-title h2 {
    letter-spacing: 1px;
  }
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/* Kompakte Abschnitte: Titel und Inhalt näher zusammen */
.section-tight .section-title { padding-bottom: 24px; }
.section-tight .section-title h2 { margin-bottom: 2px; }
.section-tight .section-title h2::after { margin: 3px 8px; width: 100px; }
.details.section .features-item + .features-item { margin-top: 12px !important; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 120px 0 120px 0;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

.hero h1 span {
  color: var(--heading-color);
  border-bottom: 4px solid var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* On mobile, stack hero children vertically so the banner sits above content */
@media (max-width: 767.98px) {
  .hero { flex-direction: column; align-items: stretch; }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

.hero .hero-waves {
  display: block;
  width: 100%;
  height: 40px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.hero .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.35;
  will-change: transform;
  transform: translateZ(0);
}

.hero .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.25;
  will-change: transform;
  transform: translateZ(0);
}

.hero .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: var(--default-color);
  opacity: 0.18;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes move-forever1 {
  0% {
    transform: translate3d(85px, 0, 0);
  }

  100% {
    transform: translate3d(-90px, 0, 0);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}
 
.hero .animated {
  will-change: transform;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 100px;
}

/* Highlight the About content card for better recognition */
.about .content {
  background-color: var(--surface-color);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .content h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 7px;
  display: inline-block;
}

.about .content h2 {
  font-weight: 700;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .icon-box {
  background-color: var(--surface-color);
  padding: 50px 40px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  transition: all 0.3s ease-out 0s;
}

/* Schatten hinter dem About‑Content‑Block für bessere Abhebung */
.about .content {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--surface-color);
  color: var(--accent-color);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Details Section
--------------------------------------------------------------*/
.details.section { padding-top: 36px; padding-bottom: 20px; }
@media (max-width: 768px) { .details.section { padding-top: 28px; padding-bottom: 16px; } }
.details .section-title { padding-bottom: 24px; }
.details .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.details .features-item+.features-item {
  margin-top: 6px; /* Schritte noch näher zusammen */
}

@media (max-width: 640px) {
  .details .features-item+.features-item {
    margin-top: 4px; /* auf kleinen Screens noch kompakter */
  }
}

.details .features-item h3 {
  font-weight: 700;
  font-size: 20px; /* Überschriften kleiner */
  margin-bottom: 4px; /* enger zum Inhalt */
}

.details .features-item ul {
  list-style: none;
  padding: 0;
  margin-bottom: 4px; /* Liste noch näher am Folgeinhalt */
}

.details .features-item ul li {
  padding-bottom: 3px; /* minimaler Zeilenabstand */
  display: flex;
  align-items: center;
}

.details .features-item ul li:last-child {
  padding-bottom: 0;
}

.details .features-item ul i {
  font-size: 16px; /* Icon kleiner */
  padding-right: 6px;
  color: var(--accent-color);
}

.details .features-item p {
  font-size: 0.95rem;
  line-height: 1.4; /* kompaktere Zeilenhöhe */
  margin-bottom: 4px;
}

.details .features-item p:last-child {
  margin-bottom: 0;
}

/* Allgemein: Innenabstand und Gutter in Details kompakter */
.details .features-item { padding: 8px; }
.details .row { --bs-gutter-y: 0.25rem; }

/* Bilder in den Schritten 1–3 gezielt verkleinern für kompakteres Layout */
.details .features-item img {
  max-width: 70%; /* Bilder kleiner für weniger Höhe */
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .details .features-item img {
    max-width: 80%;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

/* Testimonials: Pagination unten mittig (Desktop) */
.testimonials .swiper { position: relative; }
.testimonials .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 18px;
  transform: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 75%);
  border: 1.5px solid var(--default-color);
  opacity: 1;
  transition: all .2s ease;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  border-color: var(--default-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--default-color), transparent 75%);
}

/* Mobile: Pagination unten mittig */
@media (max-width: 767.98px) {
  .testimonials .swiper-pagination {
    left: 0;
    right: 0;
    top: auto;
    bottom: 18px;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }
  .testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px 40px;
  height: 100%;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* Supportchat: Buttons wieder rund und sicher klickbar */
#contactFab.contact-fab.btn {
  border-radius: 999px !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#contactPanel.contact-panel .btn {
  border-radius: 999px !important;
}
#contactPanel.contact-panel.open {
  pointer-events: auto; /* explizit sicherstellen */
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* About Text Shadow for better readability */
.about .content h2,
.about .content h3 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.about .content p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
/* Hero Hinweis-Badge */
.hero .container { position: relative; }
/* Hinweis-Badge entfernt */

/* About Text Shadow deutlicher sichtbar */
.about .content h2,
.about .content h3 { text-shadow: 0 3px 8px rgba(0,0,0,0.25); }
.about .content p { text-shadow: 0 2px 5px rgba(0,0,0,0.22); }
/* Custom UI: Legal tabs and feature card shadows */
.legal-tabs-wrapper { margin-top: 2.5rem; }
.legal-tabs {
  background: linear-gradient(135deg, #0d1b2a 0%, #141a4f 100%);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.legal-tabs .nav-link { color: #ffffff; opacity: 0.9; }
.legal-tabs .nav-link:hover { opacity: 1; }
.legal-tabs .nav-pills .nav-link.active,
.legal-tabs .nav-pills .show>.nav-link,
.legal-tabs .nav-link.active {
  color: #ffffff;
  background-color: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
}

.feature-card-dark {
  background: linear-gradient(135deg, #0a0f6b 0%, #2a1590 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  /* Dezenter, symmetrischer Schatten für saubere Ausrichtung */
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}
.feature-card-dark h2,
.feature-card-dark h3,
.feature-card-dark p { color: #ffffff; }
.feature-card-dark .read-more { color: #ffffff; }

/*--------------------------------------------------------------
# Footer Newsletter Adjustments
--------------------------------------------------------------*/
.footer.dark-background .footer-newsletter .newsletter-form .form-control {
  background-color: #ffffff;
  color: #222222;
  border-color: #ffffff;
}
.footer.dark-background .footer-newsletter .newsletter-form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.7);
}
.footer.dark-background .footer-newsletter .newsletter-form .btn {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}
.footer.dark-background .footer-newsletter .newsletter-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

/* Global: Newsletter-Form ohne Rahmen */
.newsletter-form { border: none !important; box-shadow: none !important; }

/* Features – kleinere Kästchen (Icons & Typo dezenter) */
.features .features-item { padding: 12px !important; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.features .features-item i { font-size: 24px !important; }
.features .features-item h3 { font-size: 14px !important; }

/*--------------------------------------------------------------
# Hero slight right shift on desktop
--------------------------------------------------------------*/
@media (min-width: 992px) {
  #hero .col-lg-6.d-flex {
    margin-left: 30px;
  }
}

/*--------------------------------------------------------------
# Seasonal Emoji – inline neben dem Logo
--------------------------------------------------------------*/
.seasonal-emoji-inline {
  display: inline-flex;
  align-items: center;
  font-size: 16px; /* neutral, überall stimmig */
  line-height: 1;
  position: relative;
  top: 0;     /* keine zusätzliche Absenkung */
  margin-left: 6px; /* Abstand zum Text */
  transform: none; /* neutral, keine Schräglage */
  vertical-align: middle;
  user-select: none;
  pointer-events: none; /* kein Hover-Effekt, keine Bewegung */
}

/*--------------------------------------------------------------
# Seasonal Emoji Badge
--------------------------------------------------------------*/
.seasonal-emoji-badge {
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 28px;
  line-height: 1;
  transform: rotate(-20deg);
  z-index: 1200;
  opacity: 0.9;
  user-select: none;
}
.seasonal-emoji-badge:hover { opacity: 1; }
@media (max-width: 576px) {
  .seasonal-emoji-badge {
    font-size: 22px;
    top: 8px;
    right: 8px;
  }
}

/* Global primary button in brand green (uses --accent-color) */
.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--accent-color), black 12%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--accent-color), black 12%);
  --bs-btn-focus-shadow-rgb: 26, 204, 141; /* approx rgb of #1acc8d */
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: color-mix(in srgb, var(--accent-color), black 18%);
  --bs-btn-active-border-color: color-mix(in srgb, var(--accent-color), black 18%);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: var(--accent-color);
  --bs-btn-disabled-border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Kontakt-Widget (Floating Button + Panel)
--------------------------------------------------------------*/
.contact-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2000; /* sehr hoch, um Überlagerungen zu vermeiden */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden; /* verhindert jegliche eckige Darstellung/Highlights */
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 0; /* keine zusätzliche Fläche um den Kreis */
  background: var(--accent-color); /* nur der Kreis ist farbig */
  color: #ffffff;
  border: 0 !important;
}

/* Entfernt rechteckige Hover/Focus-Darstellungen und behält nur den Kreis */
.contact-fab.btn,
.contact-fab.btn:hover,
.contact-fab.btn:focus,
.contact-fab.btn:active {
  border-radius: 50% !important; /* strikt rund */
  outline: none !important; /* keine eckigen Focus-Ringe */
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important; /* konsistente Kreis-Schatten */
}

/* Bootstrap-Button-Variablen lokal für den FAB neutralisieren */
.contact-fab.btn {
  --bs-btn-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-bg: color-mix(in srgb, var(--accent-color), black 8%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--accent-color), black 8%);
  --bs-btn-focus-shadow-rgb: 0, 0, 0; /* keine grüne Fokus-Aura */
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  -webkit-tap-highlight-color: transparent; /* keine eckige Tap-Markierung auf Mobilgeräten */
}

/*--------------------------------------------------------------
# Details Section – kompakter (global)
--------------------------------------------------------------*/
.section.section-tight { padding-top: 20px; padding-bottom: 14px; }
.details.section { padding-top: 20px; padding-bottom: 14px; }
.details .section-title { padding-bottom: 18px; }
.details .features-item + .features-item { margin-top: 8px !important; }
.details .features-item p { margin-bottom: 6px; }
.details .row { --bs-gutter-y: 0.5rem; }

.contact-panel {
  position: fixed;
  left: 18px;
  bottom: 74px; /* über dem FAB */
  width: 320px;
  max-width: calc(100vw - 24px);
  background: var(--surface-color, #fff);
  color: var(--default-color);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.24);
  z-index: 1999; /* knapp unter dem FAB */
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: all .22s ease;
}

.contact-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Dashboards mit linker Sidebar: Panel nicht unter Sidebar zeigen */
body.advertiser-dashboard .contact-panel {
  left: calc(18px + 280px);
}

.contact-panel .contact-header {
  padding: 10px 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.contact-panel .contact-body {
  padding: 12px;
}

.contact-panel p.small {
  margin-bottom: 8px;
}

.contact-panel textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
}

.contact-panel .actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.contact-panel #contactWidgetMsg {
  min-height: 18px;
}
/* Hero Slideshow: Bild im dritten Slider kleiner darstellen */
.hero-slideshow .slide-3-image {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(34, 196, 139, 0.35));
}

@media (max-width: 576px) {
  .hero-slideshow .slide-3-image {
    max-width: 220px;
  }
}
/* Hero Slideshow: Bild im zweiten Slider darstellen (ähnlich wie Slide 3) */
.hero-slideshow .slide-2-image {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(34, 196, 139, 0.35));
}

@media (max-width: 576px) {
  .hero-slideshow .slide-2-image {
    max-width: 200px;
  }
}
/* Spezifisch: Grafik im zweiten Slide ("Reichweite, die zählt …") kleiner und weiter unten */
.hero-slideshow .slide-1-right .slide-2-image {
  max-width: 240px;
  margin-top: 60px;
  margin-left: 16px;
}

@media (max-width: 576px) {
  .hero-slideshow .slide-1-right .slide-2-image {
    max-width: 180px;
    margin-top: 32px;
    margin-left: 8px;
  }
}
/* Funktionen-Sektion: Buttonfarben auf Marken-Grün angleichen */
#funktionen .offer-card .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

#funktionen .offer-card .btn-primary:hover,
#funktionen .offer-card .btn-primary:focus {
  background-color: color-mix(in srgb, var(--accent-color), black 12%);
  border-color: color-mix(in srgb, var(--accent-color), black 12%);
}

#funktionen .offer-card .btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: transparent;
}

#funktionen .offer-card .btn-outline-primary:hover,
#funktionen .offer-card .btn-outline-primary:focus {
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}
.starter-page-page .auth-card {
  background-color: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
  /* Höhe nicht begrenzen, keine Scrollbar in der Karte */
  max-height: none;
  overflow: visible;
}
.starter-page-page .auth-card .card-body {
  /* Original-Polsterung beibehalten (Bootstrap p-4) */
  padding: 1.5rem !important;
}
