:root{
  --ra-nav-h: 72px;
  --ra-bg: #121417;
  --ra-surface: #1a1f25;
  --ra-surface-2:#202832;
  --ra-border: rgba(255,255,255,.08);
  --ra-text: rgba(255,255,255,.88);
  --ra-muted: rgba(255,255,255,.65);
  --ra-yellow: #f5c400;
  --ra-yellow-2:#ffd84d;
}

html{ scroll-behavior:smooth; }
body{
  background: var(--ra-bg);
  color: var(--ra-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a{ color: var(--ra-yellow-2); }
a:hover{ color: var(--ra-yellow); }

/* ===== Reifen Auer – Navbar Styling (für #mainNav) ===== */

#mainNav{
  /* Sticky ist schon per Klasse gesetzt */
  position: sticky;
  top: 0;
  z-index: 2500; /* über Content/Badges, unter Offcanvas */
  background: rgba(10, 12, 16, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

#mainNav .navbar-brand{
  letter-spacing: .3px;
}

#mainNav .navbar-toggler{
  padding: .35rem .45rem;
  border-radius: .75rem;
  background: rgba(255,255,255,.06);
  transition: transform .15s ease, background .15s ease;
}
#mainNav .navbar-toggler:hover{
  background: rgba(255,255,255,.10);
}
#mainNav .navbar-toggler:active{
  transform: scale(.98);
}
#mainNav .navbar-toggler:focus{
  box-shadow: none;
  outline: none;
}

/* Mobile Navbar Toggler: bi-list -> bi-x (gelb) */
@media (max-width: 991.98px){
  
    /* FIX: Menü darf nicht pushen -> overlay */
  #mainNav{ overflow: visible; }

  #mainNav .navbar-collapse{
    position: absolute !important;
    left: 12px;
    right: 12px;
    top: 100%;
    z-index: 2501;
    background: rgba(8,10,12,.92) !important;  /* dunkler */
    border: 1px solid rgba(255,255,255,.10) !important;
  }
  
  /* Standard: beide Icons gelb, X verstecken */
  #mainNav .navbar-toggler i.bi{
    color: var(--ra-yellow) !important;
  }
  #mainNav .navbar-toggler i.bi.bi-x{
    display: none;
  }

  /* Wenn geöffnet: List-Icon aus, X ein */
  #mainNav .navbar-toggler[aria-expanded="true"] i.bi.bi-list{
    display: none;
  }
  #mainNav .navbar-toggler[aria-expanded="true"] i.bi.bi-x{
    display: inline-block;
  }

  body:has(#mainNav .navbar-collapse.show)::before{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);          /* dunkler */
    backdrop-filter: blur(10px);          /* blur */
    -webkit-backdrop-filter: blur(10px);
    z-index: 2499;                        /* unter Nav (2500) und Menü (2501) */
    pointer-events: none;
  }
}

/* offcanvas offen - balken mit Ablaufzeiten verschwinden */
body.ra-offcanvas-open .ra-expiry-bar{ display:none !important; }

/* Links als "Pills" */
#mainNav .nav-link{
  color: rgba(255,255,255,.78);
  font-weight: 600;
  padding: .55rem .85rem;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  position: relative;
}

#mainNav .nav-link:hover{
  color: #fff !important;
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

/* Active (Bootstrap setzt .active ggf. selbst – sonst kannst du es via JS setzen) */
#mainNav .nav-link.active{
  color: #111;
  background: var(--ra-yellow, #f7c600);
}

/* Mobile: Collapse-Panel optisch wie Card */
@media (max-width: 991.98px){
  #mainNav .navbar-collapse{
    position: relative;
    z-index: 2501;

    margin-top: .75rem;
    padding: .65rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
  }

  #mainNav .navbar-nav{
    gap: .25rem !important;
  }

  #mainNav .nav-link{
    border-radius: .85rem; /* weniger rund im Mobile-Menü */
    padding: .7rem .9rem;
  }
}

.section{
  padding: 4rem 0;
  position: relative;
  /*z-index: 20; */
  background: var(--ra-bg);
}

.section.section-alt{
  background: #111; /* oder var(--ra-bg) */
}

section#jobs.section.section-alt {
  min-height: 60vh;
}

.ra-card{
  background: var(--ra-surface);
  border: 1px solid var(--ra-border);
  border-radius: 1rem;
  overflow: hidden;
}
.ra-card:hover{
  border-color: rgba(245,196,0,.35);
  box-shadow: 0 0 0 .25rem rgba(245,196,0,.06);
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ra-card.no-hover:hover{ transform:none; box-shadow:none; border-color: var(--ra-border); }

/* ==========================================================
   CARDS / TILES – Preview Images (grau -> hover Farbe)
   ========================================================== */

/* grau (bleibt wie gehabt) */
.ra-tile .ra-tile-media > img.ra-cover,
.ra-tile img.ra-cover{
  filter: grayscale(100%) brightness(.92) contrast(1.05) !important;
  transition: filter .2s ease;
  display: block;
}

/* Hover: exakt auf das img im Media-Container zielen (höhere Spezifität) */
.ra-tile:hover .ra-tile-media > img.ra-cover{
  filter: none !important;
}

/* optional zusätzlich: wenn Bild mal nicht direkt im > liegt */
.ra-tile:hover img.ra-cover{
  filter: none !important;
}

.ra-badge-icon{
  width: 44px; height:44px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--ra-border);
  flex: 0 0 auto;
}
.ra-badge-icon i{ color: var(--ra-yellow); font-size: 1.25rem; }

.btn-ra{
  background: var(--ra-yellow);
  border-color: var(--ra-yellow);
  color: #0b0d10;
  font-weight: 400;
}
.btn-ra:hover{ background: var(--ra-yellow-2); border-color: var(--ra-yellow-2); color:#0b0d10; }
.btn-ra-outline{
  border-color: rgba(245,196,0,.55);
  color: var(--ra-yellow-2);
}
.btn-ra-outline:hover{
  background: rgba(245,196,0,.10);
  border-color: rgba(245,196,0,.85);
  color: var(--ra-yellow);
}

.nav-pills .nav-link{
  color: var(--ra-muted);
  border: 1px solid var(--ra-border);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  padding: .55rem 1rem;
}
.nav-pills .nav-link.active{
  background: var(--ra-yellow);
  border-color: var(--ra-yellow);
  color:#0b0d10;
  font-weight: 700;
}

/* HERO */

.hero{
  min-height: 100vh;
  position: relative;
  z-index: 0;
  display:flex;
  align-items:center;
  color: #fff;
}
.hero::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.28));
  z-index:1;
}
.hero .hero-bg{
  position:fixed; inset:0;
  pointer-events:none;
  background-size: cover;
  background-position:center;
  z-index:0;
  filter: saturate(.5) contrast(1.05);
  will-change: filter;
}

/* Default: Farbe */
.hero .hero-bg{
  filter: grayscale(0) contrast(1.05);
  will-change: filter;
}

/* INTRO Section */

/* Wenn Intro sichtbar ist -> pulsen */
#intro.is-inview .hero-bg{
  animation: heroGrayPulse 6s ease-in-out infinite;
}

@keyframes heroGrayPulse{
  0%   { filter: grayscale(0) contrast(1.05); } /* Farbe */
  50%  { filter: grayscale(.8) contrast(1.05); } /* Grau */
  100% { filter: grayscale(0) contrast(1.05); } /* zurück */
}

@media (prefers-reduced-motion: reduce){
  #intro.is-inview .hero-bg{ animation: none; }
}

.hero .hero-content{
  position:fixed;
  left:0; right:0;
  top:calc(50% + (var(--ra-nav-h) / 2));
  transform:translateY(-50%);
  z-index:2;
}

/* One unified dark background behind the whole hero text block */
.hero-block{
  max-width: 56rem;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 1.25rem;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
@media (min-width: 992px){
  .hero-block{ padding: 1.75rem 2rem; }
}

/* Dark / premium Hero Panel */
.hero-card{
  /* hero-block provides the panel/background; keep hero-card as a semantic wrapper */
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
}
@media (min-width: 992px){
  .hero-card{ padding: 0; }
}

.hero-usps{
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}
@media (min-width: 576px){
  .hero-usps{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px){
  .hero-usps{ grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 576px){
  .hero-usps{display:none;}
}

.hero-usp{
  display:flex;
  align-items:center;
  gap: .6rem;
  padding: .55rem .75rem;
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  font-size: .95rem;
}
.hero-usp i{
  color: var(--ra-yellow);
  font-size: 1.1rem;
}

.hero-notices{
  max-width: none;
}
.hero-notices__title{
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.60);
  margin-bottom: .5rem;
}
.hero-notice{
  padding: .75rem .9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(18,20,23,.55);
}
.hero-notice__date{
  font-weight: 700;
  color: rgba(255,255,255,.90);
  margin-bottom: .25rem;
}
.hero-notice__text{
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.hero .hero-kicker{
  color: rgba(255,255,255,.80);
  letter-spacing:.08em;
  text-transform: uppercase;
  font-size:.85rem;
}
.hero .hero-title{
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero .hero-subtitle{
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
}

.hero div.container.hero-content span.badge.text-bg-warning.text-dark {
  background-color: #6b0f12 !important;
  color: #fff !important;
}

/* Aktionen: Ablauf-Hinweis-Balken (Overlay im Bild, full width) */

/* Bildcontainer muss Overlay aufnehmen */
.ra-tile-media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Bild füllt den Container */
.ra-cover{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Balken sitzt an der Unterkante des Bildes */
.ra-expiry-bar{
  width: 100%;
  padding: .55rem .9rem;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 3;                 /* über allen Overlays */
  pointer-events: none;

  display: block !important;     /* falls irgendwo Hover-Regeln greifen */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* 7–4 Tage (knallig gelb) */
.ra-expiry-bar--warn{
  background: rgba(255, 193, 7, .92);
  color: #111;
}

/* 3–1 Tage (knallig orange) */
.ra-expiry-bar--urgent{
  background: rgba(255, 140, 0, .92);
  color: #111;
}

/* Heute (knallig rot) */
.ra-expiry-bar--today{
  background: rgba(var(--bs-danger-rgb));
  color: #fff;
}

/* Modal Content */

.modal-content{
  background: var(--ra-surface);
  border: 1px solid var(--ra-border);
  color: var(--ra-text);
}
.modal-header{ border-bottom: 1px solid var(--ra-border); }
.modal-footer{ border-top: 1px solid var(--ra-border); }
.text-muted{ color: var(--ra-muted) !important; }

.accordion-item{
  background: var(--ra-surface);
  border: 1px solid var(--ra-border);
}
.accordion-button{
  background: var(--ra-surface);
  color: var(--ra-text);
}
.accordion-button:not(.collapsed){
  background: rgba(245,196,0,.08);
  box-shadow: none;
  color: var(--ra-text);
}
.accordion-button:focus{ box-shadow: 0 0 0 .25rem rgba(245,196,0,.12); }
.accordion-body{ color: var(--ra-text); }
.accordion-button::after{ filter: invert(1) opacity(.75); }

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

.footer{
  position: relative;
  z-index: 20;
  border-top: 1px solid var(--ra-border);
  background: #0f1114;
  padding: 2rem 0;
  color: var(--ra-muted);
}

/* Überschriften */
.section-title--bar{
  display: inline-block; /* wichtig, damit der Balken nur hinter dem Text ist */
  background: transparent;
  color: var(--ra-yellow);
  padding: .15em 10em .15em 1.5em;
  line-height: 1.5;
  border-radius: 10px;
  border: 1px solid var(--ra-yellow);
  font-size: 1.8rem;
  font-weight: 600;
}

@media (max-width: 771.98px) {
  .section-title--bar{
     padding: .15em .35em .15em .35em;
  }
}

/* Mobile: Hero darf "natürlich" scrollen (verhindert zugestopften Above-the-fold) */
@media (max-width: 991.98px){
  .hero{ min-height: 100svh; align-items: flex-start; }
  .hero .hero-content{
    position: relative;
    top: auto;
    transform: none;
    padding-top: calc(var(--ra-nav-h) + 1.25rem);
    padding-bottom: 2.5rem;
  }
  .hero::before{ position: absolute; }
  .hero .hero-bg{ position: absolute; }
}

section div.text-muted {margin-top: 20px;}

/* Accordion-Header (Jobtitel) gelb */
#jobs .accordion .accordion-button{
  color: var(--ra-accent, #f5c400) !important;
}

/* optional: auch im offenen Zustand (falls du dort andere Styles hast) */
#jobs .accordion .accordion-button:not(.collapsed){
  color: var(--ra-accent, #f5c400) !important;
}

/* optional: Fallback fürs h2 selbst (falls du mal Text darin hast) */
#jobs .accordion .accordion-header{
  color: var(--ra-accent, #f5c400);
}

/* --- Produkte Offcanvas (Fullscreen) --- */

.ra-tile{ cursor:pointer; }

/* --- Tile Caption (unter dem Bild) --- */
/* Aktionen: gelb wie der "Anfragen" Button */
.ra-tile--aktion > .p-3{
  background: var(--ra-yellow); /* gelb */
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.ra-tile--aktion > .p-3 .text-muted{ color:#fff}
/*.ra-tile--aktion > .p-3 .text-muted{ color: rgba(11,13,16,.78) !important; }*/

/* Reifen & Felgen: kräftiges gelb zur Abhebung */
.ra-tile--product > .p-3{
  background: var(--ra-yellow); /* gelb */
  color: rgba(1, 1, 1, 0.92);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.ra-tile--product > .p-3 .text-muted{ color: rgba(0, 0, 0, 0.7) !important; }

/* Zeile "Details ansehen" / "Marken ansehen" mit Info-Icon */
.ra-tile > .p-3 .small{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.ra-tile > .p-3 .small::before{
  content: "ⓘ";
  font-size: 1.05em;
  line-height: 1;
  color: currentColor;
}
.ra-offcanvas.offcanvas-end{
  width: 100% !important;
  max-width: 100% !important;
  background: var(--ra-bg);
  color: var(--ra-text);
}

.ra-offcanvas .offcanvas-body{
  padding: 0;
}

.ra-offcanvas-hero{
  position: relative;
  height: min(46vh, 420px);
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--ra-border);
}

.ra-offcanvas-hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}

.ra-offcanvas-hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(18,20,23,.25) 0%, rgba(18,20,23,.75) 55%, rgba(18,20,23,.92) 100%);
}

.ra-offcanvas-hero-inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding: 28px 0;
}

.ra-offcanvas-container{
  max-width: 1100px;
}

.ra-offcanvas-kicker{
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .35rem;
}

.ra-offcanvas-title{
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 800;
  color: rgba(255,255,255,.92);
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}

.btn-ra-icon{
  /* Default: gelber Button mit dunklem X (für Produkte/Aktionen Offcanvas) */
  background: var(--ra-yellow);
  color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(0,0,0,0.9);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(10px);
}

/* Icon immer an Button-Farbe koppeln (verhindert "gelb auf gelb" durch text-warning o.Ä.) */
.btn-ra-icon i{
  color: currentColor !important;
}

.btn-ra-icon:hover{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(18,20,23,.35);
  color: rgba(255,255,255,.9);
}

/* Variante: dunkler Button mit gelbem X (z.B. Datenschutz-Offcanvas) */
.btn-ra-icon--dark{
  background: rgba(18,20,23,.55);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--ra-yellow);
}

.btn-ra-icon--dark:hover{
  background: rgba(18,20,23,.70);
  border-color: rgba(255,255,255,.22);
  color: var(--ra-yellow);
}

.ra-offcanvas-body{
  padding: 28px 0 46px;
}

.ra-logos-wrap{
  padding-top: 22px; /* Optische Trennung (C) ohne Text */
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 16px;
}

.ra-logo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding-top: 18px;
}

.ra-logo-grid img{
  width: 100px;
  height: auto;
  object-fit: contain;
  opacity: .94;
}

/* Datenschutz-Offcanvas: Breite */
#offcanvasDatenschutz{
  --bs-offcanvas-width: 75%;  /* <- HIER einstellen */
  max-width: 92vw;              /* mobil */
}

/* Datenschutz-Offcanvas: Close-Button rechts außen + Button-Style (kein doppeltes CSS notwendig) */
#offcanvasDatenschutz .offcanvas-header{
  display: flex;
  align-items: center;
}
#offcanvasDatenschutz .offcanvas-title{
  flex: 1 1 auto;
  padding-right: .75rem;
}
#offcanvasDatenschutz .offcanvas-header .btn-ra-icon{
  margin-left: auto;
}

/* Elegant backdrop blur (Bootstrap uses .modal-backdrop; offcanvas uses .offcanvas-backdrop) */
.offcanvas-backdrop.show{
  opacity: 1;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.brand-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.brand-panel-title {
  color: #111;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1200px){ .brand-grid{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { .brand-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .brand-grid{ grid-template-columns: repeat(2, 1fr); } }

.brand-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px;
  min-height: 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.brand-item img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}

/* Aktionen Offcanvas (nur Bild + PDF) */
.ra-aktion-offcanvas .offcanvas-body{
  padding: 0;
}
.ra-aktion-top{
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  padding: .75rem;
  background: rgba(10,12,15,.35);
  backdrop-filter: blur(6px);
}
.ra-aktion-img{
  max-height: 90vh;
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  display: inline-block;
}
.ra-aktion-body{
  padding-top: .5rem;
}


/* --- Offcanvas muss 100% über der Navbar liegen (X nie verdeckt) --- */
.offcanvas{
  z-index: 3000 !important;
  top: 0 !important;
  height: 100vh !important;
}
.offcanvas-backdrop{
  z-index: 2990 !important;
}

/* Navbar ausblenden, sobald irgendein Offcanvas geöffnet ist (Chrome/Edge unterstützen :has) */
body:has(.offcanvas.show) .navbar{
  opacity: 0;
  pointer-events: none;
}

/* TEAM / MITARBEITER
   ========================================================== */
#team .ra-card{
  padding: 1.25rem !important;
}

#team .ra-card > .d-flex{
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  gap: 1rem !important;
}

/* Bild-Wrapper (ist im HTML aktuell ein <div style="width:72px;height:72px;...">) */
#team .ra-card > .d-flex > div:first-child{
  width: 100% !important;
  height: 320px !important;          /* Portrait-Höhe */
  border-radius: 1.25rem !important;
  overflow: hidden !important;
  border: 1px solid var(--ra-border) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

/* Bild selbst */
#team .ra-card > .d-flex > div:first-child img{
  /*width: 100% !important;
  height: 100% !important;*/
  object-fit: cover !important;
  object-position: center 18% !important; /* höherer Wert = Bild weiter nach unten wegen Köpfe */
}

/* Textbereich */
#team .ra-card > .d-flex > div:nth-child(2){
  width: 100%;
}

/* Name / Rolle */
#team .ra-card .fw-bold{
  font-size: 1.1rem;
  letter-spacing: .2px;
}
#team .ra-card .text-muted{
  color: var(--ra-muted) !important;
}

/* Telefon / Email untereinander */
#team .ra-card .small{
  margin-top: .75rem !important;
  color: var(--ra-muted) !important;
}
#team .ra-card .small span{
  display: block;
  margin: .25rem 0;
}
#team .ra-card .small i{
  opacity: .9;
}

/* Optional: etwas „Luft“ zwischen Cards wie im Beispiel */
#team .row.g-3{
  row-gap: 1.25rem;
}


/* Produkte Section – Hintergrundbild */
#produkte{
  /* falls #produkte schon section-alt ist, reicht das Setzen der Variable */
  --section-bg-image: url("../img/bg-produkte.jpg");
}

/* falls #service NICHT section-alt ist, dann so aktivieren: */
#produkte.section-alt{
  position: relative;
  background-color: var(--ra-bg);
  overflow: hidden;
}
#produkte.section-alt::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .1;            /* nach Geschmack */
  pointer-events:none;
}

/* Service Section – Hintergrundbild */
#service{
  /* falls #service schon section-alt ist, reicht das Setzen der Variable */
  --section-bg-image: url("../img/bg-service.jpg");
}

/* falls #service NICHT section-alt ist, dann so aktivieren: */
#service.section-alt{
  position: relative;
  background-color: var(--ra-bg);
  overflow: hidden;
}
#service.section-alt::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .35;            /* nach Geschmack */
  pointer-events:none;
}

/* Kontakt Section - Hintergrundbild */
#kontakt{
  /* falls #produkte schon section-alt ist, reicht das Setzen der Variable */
  --section-bg-image: url("../img/bg-produkte.jpg");
}

/* WhatsApp Button – hellgrün outline + Text */
.btn-wa{
  border-color: #6ee7a8 !important; /* helles Grün */
  color: #6ee7a8 !important;
}
.btn-wa:hover,
.btn-wa:focus{
  background: rgba(110,231,168,.10) !important; /* leichtes Grün als Hover */
  border-color: #6ee7a8 !important;
  color: #6ee7a8 !important;
}

/* falls #kontakt NICHT section-alt ist, dann so aktivieren: */
#kontakt.section-alt{
  position: relative;
  background-color: var(--ra-bg);
  overflow: hidden;
}
#kontakt.section-alt::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .1;            /* nach Geschmack */
  pointer-events:none;
}

section#kontakt.section div.alert.alert-danger {
  margin: 12px 0 ;
}

/* Content immer über dem Bild */
#service.section-alt > .container{
  position: relative;
  z-index: 1;
}

.section-divider{
  height: 6px;
  /*background: #7f6600; */
  background: #252424;
  position: relative;
}

/* Admin > Öffnungszeiten: Sonderöffnungen-Tabelle dark wie ra-card */
#specialTable.table{
  --bs-table-bg: transparent;
  --bs-table-color: inherit;
  --bs-table-border-color: var(--ra-border, rgba(255,255,255,.12));
  --bs-table-striped-color: inherit;
  --bs-table-striped-bg: rgba(255,255,255,.03);
  --bs-table-hover-color: inherit;
  --bs-table-hover-bg: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  margin-bottom: .5rem;
}

#specialTable thead th{
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid var(--ra-border, rgba(255,255,255,.12));
  font-weight: 600;
}

#specialTable tbody td{
  border-top: 1px solid var(--ra-border, rgba(255,255,255,.10));
}

#specialTable tbody tr:hover{
  background: rgba(255,255,255,.04);
}

/* Inputs im Sonderöffnungsbereich dark erzwingen (Date/ Text/ Checkbox) */
#specialTable .form-control{
  background: rgba(255,255,255,.06) !important;
  color: rgba(255,255,255,.92) !important;
  border-color: var(--ra-border, rgba(255,255,255,.14)) !important;
}

#specialTable .form-control:focus{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,215,0,.35) !important;
  box-shadow: 0 0 0 .2rem rgba(255,215,0,.15) !important;
}

#specialTable .form-check-input{
  background-color: rgba(255,255,255,.06) !important;
  border-color: var(--ra-border, rgba(255,255,255,.20)) !important;
}

#specialTable .form-check-label{
  color: rgba(255,255,255,.70) !important;
}

/* Optional: damit die Table-Responsive-Umgebung nicht "hell" wirkt */
.ra-card .table-responsive{
  background: transparent;
}

/* Back-to-top Button */
.ra-backtotop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: var(--ra-yellow, #f7c600);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  z-index: 1200; /* über Content, unter Offcanvas-Backdrop */
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}

.ra-backtotop i{
  font-size: 1.25rem;
  line-height: 1;
}

.ra-backtotop.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ra-backtotop:hover{
  filter: brightness(1.05);
}
.ra-backtotop:active{
  transform: translateY(1px);
}
.ra-backtotop:focus{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(247,198,0,.25), 0 12px 30px rgba(0,0,0,.35);
}

/* Footer Social Icons */
.ra-social{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(247,198,0,.45);
  color: var(--ra-yellow, #f7c600);
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}

.ra-social i{
  font-size: 1.15rem;
  line-height: 1;
}

.ra-social:hover{
  transform: translateY(-1px);
  background: rgba(247,198,0,.10);
  border-color: rgba(247,198,0,.75);
  filter: brightness(1.05);
}

.ra-social:active{
  transform: translateY(0);
}

.ra-social:focus{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(247,198,0,.18);
}

/* Facebook */
.ra-social--fb{
  border-color: rgba(88, 141, 255, .65); /* helles Facebook-Blau */
  color: #5a8dff;
}
.ra-social--fb:hover{
  background: rgba(88, 141, 255, .12);
  border-color: rgba(88, 141, 255, .95);
}

/* Instagram (pink/violett – gut sichtbar im Dark Mode) */
.ra-social--ig{
  border-color: rgba(225, 83, 154, .65);
  color: #e1539a;
}
.ra-social--ig:hover{
  background: rgba(225, 83, 154, .12);
  border-color: rgba(225, 83, 154, .95);
}

/* WhatsApp leicht grünlich (optional) */
.ra-social--wa{
  border-color: rgba(110,231,168,.55);
  color: #6ee7a8;
}
.ra-social--wa:hover{
  background: rgba(110,231,168,.10);
  border-color: rgba(110,231,168,.85);
}

