
/* ---------------------- */
/* Grundlayout & Farben */
/* ---------------------- */

@font-face {
    font-display: swap;
    font-family: "BMWTypeNextProTT";
    font-weight: 400;
    src: url('/haendler_2026/css/font/BMWTypeNextProTT-Regular.woff') format("woff");
}



 body {
  font-family: "BMWTypeNextProTT", "Arial", "Helvetica", "Roboto", sans-serif!important;
  font-weight: normal;
  color: #333;
}


/* ============================= */
/* MAIN CONTENT & CONTENT WRAPPER */
/* ============================= */

/* Main-Content behält die Klasse, aber kein margin-left! */
.main-content {
    /* leer, keine margin, nur semantisch erhalten */
}

 /* nur bei Anmeldung zu den Händlerturnieren genutzt; header_anmeldung  */
.header-inner {
  background: #262626;
  padding: 2rem 0rem 2rem 6rem;
  width: 100%;
}

/* ============================= */
/* Content Wrapper - Abstand + Padding */
/* ============================= */
.content-wrapper {
    max-width: 100%;           /* volle Breite, nicht zentriert */
    padding-left: 4rem;        /* Abstand links zur Sidebar + innen */
    padding-right: 4rem;       /* Innenabstand rechts */
    box-sizing: border-box;    /* Padding korrekt berücksichtigen */
}

/* Innerer Grid-Container darf Foundation-Zentrierung nicht übernehmen */
.content-wrapper .grid-container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* ============================= */
/* Desktop (ab Medium Breakpoint) */
/* ============================= */
@media screen and (min-width: 40em) {
    /* Abstand zur Sidebar wird durch padding-left des Wrappers gelöst */
    .content-wrapper {
        padding-left: 4rem;  /* optional: gleiche wie zuvor */
        padding-right: 4rem;
    }
}

/* ============================= */
/* Mobile (sehr kleine Bildschirme) */
/* ============================= */
@media screen and (max-width: 39.9375em) {
    .content-wrapper {
        padding-left: 1.5rem;   /* kleinerer Innenabstand für Handys */
        padding-right: 1.5rem;
    }
}
/* ============================= */
/* END MAIN CONTENT & CONTENT WRAPPER */
/* ============================= */


/* ============================= */
/* Seite AP_fertig zentrieren */
/* ============================= */

.completion-section {
    min-height: calc(80vh - 220px); 
    /* 220px = Header + Breadcrumb + obere Überschrift (ggf. leicht anpassen) */
    
    display: flex;
    align-items: center;      /* vertikal */
    justify-content: center;  /* horizontal */
    text-align: center;
}

/* verhindert Umbruch der Abschluss-Headline */
.completion-title {
    white-space: nowrap;
}

/* optional: falls es auf kleinen Screens sonst überläuft */
@media (max-width: 640px) {
    .completion-title {
        white-space: normal;
    }
}



/* ============================= */
/* Optional: Abstand zwischen Info-Boxen / Cards */
/* ============================= */
.grid-x.small-up-1 > .cell {
    margin-bottom: 0.25rem;   /* Abstand zwischen Zeilen */
}

.cards-container .cell {
    margin-bottom: 1rem;      /* Abstand zwischen Karten */
}


/* Anpassung der Buttons */
.grid-x .button {
    background-color: #1C68D5; /* BMW Blau */
    color: #ffffff;            /* Weißer Text */
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 300;
    text-transform: none;
    transition: background-color 0.3s ease;
}

.grid-x .button:hover,
.grid-x .button:focus {
    background-color: #1450a3; /* dunkleres Blau beim Hover */
    color: #ffffff;
    text-decoration: none;
}

/* Optional: primäre Buttons leicht abheben */
.grid-x .button.primary {
    background-color: #1C68D5;
}

.grid-x .button.primary:hover {
    background-color: #1450a3;
}
/* End Globale Anpassung der Buttons */


/* BMW Blau Button */
.button-bmw {
    display: inline-block;
    background-color: #1c69d4;          /* BMW Blau */
    color: #ffffff;
    border: 1px solid #1c69d4;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Hover */
.button-bmw:hover {
    background-color: #1558b0;
    border-color: #1558b0;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Active */
.button-bmw:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* Focus (Accessibility) */
.button-bmw:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28,105,212,0.25);
}

/* Disabled */
.button-bmw:disabled,
.button-bmw[disabled] {
    background-color: #b8bcc2;
    border-color: #b8bcc2;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Hellgrauer Button */
.button-lightgray {
    background-color: #c7c7c7;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 300;
    text-transform: none; /* kein Uppercase */
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.button-lightgray:hover,
.button-lightgray:focus {
    background-color: #e0e0e0;
    color: #fff;
}

.button-bmw-wide {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    min-width: 400px;
    text-align: center;
}
/* End Anpassung der Buttons */


/* ============================= */
/* Breadcrumbs ohne Links, > Divider */
/* ============================= */

/* Custom Breadcrumbs linksbündig, kleinere Schrift */
.custom-breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  font-family: "BMWTypeNextProTT", Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 0.75rem; /* kleiner als vorher */
  color: #262626;
}

.custom-breadcrumbs li {
  margin-right: 0.5rem;
  position: relative;
}

/* Separator > zwischen allen Items außer dem letzten */
.custom-breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: #262626;
}

/* Letztes Item kein Separator */
.custom-breadcrumbs li:last-child::after {
  content: "";
}

.custom-breadcrumbs-right ul {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-breadcrumbs-right .breadcrumb-icon {
    margin-left: auto;   /* schiebt SVG ganz nach rechts */
    display: flex;
    align-items: center;
}


/* Responsive */
@media screen and (max-width: 639px) {
  .custom-breadcrumbs ul {
    font-size: 0.7rem;
  }
}
/* ============================= */
/* End Breadcrumbs Style */
/* ============================= */

.margin-top-1 {
    margin-top: 1rem;
}

.margin-bottom-1 {
    margin-bottom: 1rem;
}

.margin-right-1 {
    margin-right: 1rem;
}

.margin-top-2 {
    margin-top: 2rem;
}

.margin-bottom-2 {
    margin-bottom: 2rem;
}

.margin-top-3 {
    margin-top: 3rem;
}

.margin-bottom-3 {
    margin-bottom: 3rem;
}

.margin-bottom-4 {
    margin-bottom: 4rem;
}

.margin-bottom-6 {
    margin-bottom: 6rem;
}

.margin-bottom-8 {
    margin-bottom: 8rem;
}


.text-small {font-size: 0.875rem;}

.uppercase {text-transform: uppercase}

.tr-th-left th {
  text-align: left;
}


.sidebar {
  background: url('/haendler_2026/images/BMW-Golfsport-ColorGradeVektor.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.navlinks a {
  color: white;
  text-decoration: none;
  font-weight: normal;
}

.toggle-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.toggle-container button {
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-smooth {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.nav-smooth.open {
  max-height: 1000px; /* ausreichend groß */
  opacity: 1;
}

.nav-smooth ul li a {
  color: white;
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
}

.logout-link {
  margin-top: auto;
}

.logout-link a {
  color: white;
  text-decoration: none;
  font-weight: normal;
}

.main-content {
  padding: 2rem;
}

/* ============================= */
/* MOBILE HEADER / NAVIGATION */
/* ============================= */

/* Header-Balken */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #262626;  /* dunkler Balken */
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 1000;
}

/* Logo links */
.mobile-logo img {
    max-height: 50px;
    display: block;
    padding: 0.5rem; /* extra padding rund um das Logo */
}


/* Toggle Container für Burger / X */
.toggle-container button {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #ffffff;  /* weiß */
    padding: 0;
}

/* Hover Effekt */
.toggle-container button:hover {
    opacity: 0.8;
}

/* Navigation Panel */
#mobileNav {
    background-color: #262626;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Menü öffnen */
#mobileNav.open {
    max-height: 1000px; /* groß genug für alle Menüpunkte */
    opacity: 1;
}

/* Vertical Menu */
#mobileNav ul {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

#mobileNav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobileNav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

#mobileNav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Logout-Link unten */
.logout-link {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.logout-link a:hover {
    text-decoration: underline;
}

/* Optional: Subtle shadow für Nav Panel */
#mobileNav {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ---------------------- */
/* Footer */
/* ---------------------- */
footer {
  background: #262626;
  color: white;
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: 60%;
  margin: 0 auto;
  text-align: center;
}

.footer-inner img {
  max-width: 100%;
}

.footer-inner .border-bottom {
  border-bottom: 1px solid white;
  margin: 1rem 0;
}

.footer-inner a {
  color: white;
  text-decoration: none;
}

.footer-contact {
  margin-bottom: 2rem; /* Abstand zwischen Kontaktdaten und Copyright/Impressum */
}

@media screen and (max-width: 640px) {
  .footer-inner {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

/* ---------------------- */
/* End Grundlayout & Farben */
/* ---------------------- */


/* ---------------------- */
/* Loginseite */
/* ---------------------- */

>
/* Body mit Hintergrundbild */
body.login-page {
    background-size: cover;
    min-height: 100vh;
    font-family: "BMWTypeNextProTT", Helvetica, Arial, sans-serif;
    color: #262626;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Vertikale Zentrierung des gesamten Inhalts */
.login-wrapper {
    background: url('/haendler_2026/images/bg_login.jpg') no-repeat center center;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    padding: 2rem 1rem;
}

/* Logo */
.login-page .logo {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 4rem;
}
.login-page .logo img {
    max-width: 60%;
    height: auto;
    display: inline-block;
}
@media screen and (max-width: 640px) {
    .login-page .logo img {
        max-width: 90%;
    }
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    background: rgba(255,255,255);
    border-radius: 10px;
    justify-content: center;
}

.login-container h2 {
	margin-bottom: 1.5rem;
	}

/* Formularfelder: nur Linien, keine Box-Borders */
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #262626;
    background: transparent;
    color: #262626;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: "BMWTypeNextProTT", Helvetica, Arial, sans-serif;
    -webkit-box-shadow: none;
    box-shadow: none;
    }
.login-container input::placeholder {
    color: #262626;
}

/* Submit Button */
.login-container input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #1c68d5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
.login-container input[type="submit"]:hover {
    background-color: #155aa0;
}

/* Passwort vergessen Link */
.login-container .forgot-password {
    display: block;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: #262626;
    text-decoration: none;
    font-size: 0.9rem;
}
.login-container .forgot-password:hover {
    text-decoration: underline;
}

/* Footer nur auf der Login-Seite */
.login-footer {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
    background: transparent; /* transparent, damit Hintergrundbild durchscheint */
    color: white;
    position: relative;
    flex-shrink: 0;
}

.login-footer .footer-inner {
    margin-top: 10rem;
   
    max-width: 60%; /* Footer-Inhalt auf 60% Breite zentrieren */
    
}

.login-footer img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.login-footer .footer-border {
    border-bottom: 1px solid rgba(255,255,255,0.5);
    margin: 1rem 0;
}

.login-footer .footer-contact {
    margin-bottom: 2rem;
    line-height: 1.8rem;
}

.login-footer a {
    color: white;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .login-footer .footer-inner {
        max-width: 90%;
    }
}
/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    footer .footer-inner {
        max-width: 90%;
    }
}

/* ---------------------- */
/* Ende Loginseite */
/* ---------------------- */




/* Allgemeine Form Styles */
.ap-form input[type="text"],
.ap-form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}


.ap-form radio {
  padding-left: 0.5rem;
 }
 
.ap-form label {
  padding-right: 1rem;
 }

.ap-form label {
  font-weight: 300;
  display: block;
  float: left;
  margin-bottom: 0.25rem;
}

.ap-form input[type="radio"] {
  margin-right: 0.25rem;
}

.ap-form strong {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Tabs Styles */
.tabs {
  margin-bottom: 1rem;
  border: none; 
}

.tabs-title > a {
  display: block;
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 1;
  color: #262626;
  border: 1px solid #e6e6e6;
}

.tabs-title > a:focus, .tabs-title > a[aria-selected=true] {
  background: #262626;
  color: #fff;
  border: 1px solid #262626;
}

.tabs-title a {
  font-weight: 300;
}
.tabs-content {
  border: none;
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.tabs-panel {
    display: none;
    padding: 0; 
}

/* Responsive Buttons */
.button.expanded {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.1rem;
}

/* Responsive Grid */
@media screen and (max-width: 640px) {
  .grid-x {
    margin-left: 0;
    margin-right: 0;
  }
  .cell {
    padding-left: 0;
    padding-right: 0;
  }
}
/* End Allgemeine Form Styles */




/* ============================= */
/* HORIZONTALE TIMELINE */
/* ============================= */

.timeline-horizontal {
    position: relative;
    margin: 3rem 0;
}

/* Grundlinie (grau) */
.timeline-horizontal-line {
    position: absolute;
    top: 30px;
    left: 30px;
    width: calc(66.666% - 30px);
    height: 2px;
    background-color: #d9d9d9;
    z-index: 1;
}

/* Fortschrittslinie (blau) */
.timeline-horizontal-progress {
    position: absolute;
    top: 30px;
    left: 30px;
    width: calc(33.333% - 30px); /* bis Schritt 2 */
    height: 2px;
    background-color: #1c68d5;
    z-index: 2;
}


/* Kreis Grundzustand */
.timeline-horizontal-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d9d9d9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 3;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

/* Step */
.timeline-horizontal-step {
    display: flex;
    flex-direction: column;
    align-items: center;   /* Kreis + Label mittig im 60px Bereich */
    width: 60px;           /* exakt Kreisbreite */
}

/* Label */
.timeline-horizontal-label {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 0;
}

/* ============================= */
/* VERTIKALE TIMELINE 
	MOBILE OPTIMIERUNG MIT LINIE */
/* ============================= */
@media screen and (max-width: 639px) {

    .timeline-horizontal {
        position: relative;
    }

    /* Horizontale Linien ausblenden */
    .timeline-horizontal-line,
    .timeline-horizontal-progress {
        display: none;
    }

    /* Grid untereinander */
    .timeline-horizontal .grid-x {
        flex-direction: column;
        position: relative;
    }

    /* Vertikale Grundlinie */
    .timeline-horizontal .grid-x::before {
        content: "";
        position: absolute;
        top: 30px;
        bottom: 30px;
        left: 30px;              /* exakt Kreismitte */
        width: 2px;
        background-color: #d9d9d9;
        z-index: 1;
    }

    /* Vertikale Fortschrittslinie (bis Step 2 = completed) */
    .timeline-horizontal .grid-x::after {
        content: "";
        position: absolute;
        top: 30px;
        left: 30px;
        width: 2px;
        height: calc(33% + 30px); /* anpassen je nach Fortschritt */
        background-color: #1c68d5;
        z-index: 2;
    }

    /* Step Layout */
    .timeline-horizontal-step {
        flex-direction: row;
        align-items: center;
        width: 100%;
        margin-bottom: 2.5rem;
        position: relative;
        z-index: 3;
    }

    /* Kreis */
    .timeline-horizontal-circle {
        margin-right: 1rem;
        margin-bottom: 0;
    }

    /* Label */
    .timeline-horizontal-label {
        text-align: left;
        font-size: 0.9rem;
        width: auto;
    }
}



/* ============================= */
/* STATUS */
/* ============================= */

/* erledigt */
.timeline-horizontal-step.completed .timeline-horizontal-circle {
    background-color: #1c68d5;
}

/* aktiv (optional nutzbar) */
.timeline-horizontal-step.active .timeline-horizontal-circle {
    background-color: #ffffff;
    border: 2px solid #1c68d5;
    color: #1c68d5;
}

/* nicht erledigt */
.timeline-horizontal-step.pending .timeline-horizontal-circle {
    background-color: #d9d9d9;
    color: #ffffff;
}

/* Mobile */
@media screen and (max-width: 639px) {
    .timeline-horizontal-line,
    .timeline-horizontal-progress {
        display: none;
    }

    .timeline-horizontal-step {
        margin-bottom: 2rem;
    }
}

/* ============================= */
/* VERTIKALE TIMELINE */
/* ============================= */


.timeline-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 60px;
}

/* Grundlinie grau */
.timeline-step::after {
  content: "";
  position: absolute;
  left: 15px;       /* Mitte vom 30px Kreis */
  top: 30px;        /* startet unten am Kreis */
  width: 2px;
  height: calc(100% + 30px);
  background: #d9d9d9;
  z-index: 1;
}

/* Kein Strich nach letztem Step */
.timeline-step:last-child::after {
  display: none;
}

/* Kreis */
.timeline-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d9d9d9;
  z-index: 2;
}

/* Completed Kreis blau */
.timeline-step.completed .timeline-circle {
  background: #1c68d5;
}

/* Linie nur blau wenn weiterer completed folgt */
.timeline-step.completed:has(+ .timeline-step.completed)::after {
  background: #1c68d5;
}

/* ============================= */
/* END VERTIKALE TIMELINE */
/* ============================= */


/* ============================= */
/* CARD */
/* ============================= */

/* Cards gleich hoch */
.cards-container .cell {
    display: flex;
}

/* Card füllt Zelle */
.card.card-equal {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
    padding-bottom: 3rem; /* Platz für Link & Status */
    min-height: 300px;
}

/* Card Inhalt wächst */
.card-section.card-content {
    flex-grow: 1;
    width: 100%;
}

/* Überschrift */
.card {
    border: none;
}

/* Überschrift */
.card h4 {
    text-transform: uppercase;
    font-weight: normal;
    font-family: "BMWTypeNextProTT", Helvetica, Arial, sans-serif;
    color: #262626;
    margin-bottom: 0.5rem;
}

/* Text */
.card p.text-muted {
    color: #262626;
}

/* Karte vorbereiten für absolute Positionierung */
.card-with-action {
    position: relative;
}

/* Link-Wrapper, einheitlicher > */
.card-action-link {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    text-decoration: none;
}

/* Kreis */
.card-action-circle {
    background-color: #e0e0e0;
    color: #6c6c6c;
    transition: all 0.2s ease;
}

/* SVG Größe */
.status-circle svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Hover */
.card-action-link:hover .card-action-circle {
    background-color: #6c6c6c;
    color: #ffffff;
}

/* Link unten rechts */
.card-link {
    position: absolute;
    bottom: 0.2rem;
    right: 1rem;
}

.card-link-padding {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}


.card-link a {
    color: #262626;
    text-decoration: none;
}

/* Status unten links */
.status_links {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

/* Status unten rechts */
.status_rechts {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
} 

/* Status als klickbarer Link */
a.status_links,
a.status_rechts {
    text-decoration: none;
}

/* Smooth Transition */
.status-circle {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.status-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* SVG Größe */
.status-circle svg {
    width: 24px;
    height: 24px;
    display: block;
}

.status-completed .status-circle {
    background-color: #c8f0c8;
    color: #28a745;
}

.status-pending .status-circle, .status-next .status-circle {
    background-color: #e0e0e0;
    color: #6c6c6c;
}

.status-circle i {
    display: inline-block;
    line-height: 1;
    color: inherit;
}

/* Hover nur bei completed + wenn als Link */
a.status_links.status-completed:hover .status-circle,
a.status_rechts.status-completed:hover .status-circle {
    background-color: #28a745;  /* dunkleres Grün */
    color: #ffffff;             /* Häkchen wird weiß */
}

/* Hover für pending + next (nur wenn als Link) */
a.status_links.status-pending:hover .status-circle,
a.status_rechts.status-pending:hover .status-circle,
a.status_links.status-next:hover .status-circle,
a.status_rechts.status-next:hover .status-circle {
    background-color: #6c6c6c;  /* dunkleres Grau */
    color: #ffffff;            /* Icon wird weiß */
}

/* Neue Card-Klasse mit kleinerer Mindesthöhe */
.card.card-min200 {
    min-height: 200px;
}


/* Mobile: 1 Card pro Reihe */
@media screen and (max-width: 639px) {
    .grid-x > .cell {
        flex: 0 0 100%;
    }
}



/* Sponsoren-Card */
.sponsor-card {
    position: relative;                 /* NEU – für absolute Positionierung des Pfeils */
    display: flex;
    justify-content: center;           
    align-items: center;               
    background: #fff;
    border-radius: 5px;
    padding: 1rem;
    min-height: 180px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Logos mit min/max Breite */
.sponsor-logo {
    width: 100%;
    max-width: 270px;
    min-width: 150px;
    height: auto;
    object-fit: contain;
}

/* Link-Wrapper für Pfeil */
.sponsor-link {
    position: absolute;                 /* NEU */
    right: 16px;
    bottom: 16px;
    text-decoration: none;
}

/* Status-Kreis (falls noch nicht global vorhanden) */
.status-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* SVG im Kreis */
.status-circle svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Default grauer Pfeil */
.sponsor-arrow {
    background-color: #e0e0e0;
    color: #6c6c6c;   /* wirkt auf SVG über currentColor */
}

/* Hover nur auf Pfeil */
.sponsor-link:hover .sponsor-arrow {
    background-color: #6c6c6c;
    color: #ffffff;
}

/* Hover nur für Sponsoren-Card 
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
*/

/* Nur editierbare Cards */
.card-editable {
    position: relative;
}

/* Positionierung unten rechts */
.card-editable .card-edit-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Der Kreis */
.card-editable .card-edit-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #6c6c6c;  
    transition: background 0.2s ease, transform 0.2s ease;
}

/* SVG über dem Kreis */
.card-editable .card-edit-svg {
    position: relative;
    color: #6c6c6c;
    z-index: 2;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover */
.card-editable .card-edit-icon:hover .card-edit-circle {
    background: #1c69d4;
    transform: scale(1.05);
}

.card-editable .card-edit-icon:hover .card-edit-svg {
    color: #ffffff;
    transform: scale(1.05);
}

/* Hover für Bleistift	-Card 
.card-editable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
*/

/* ============================= */
/* END CARD */
/* ============================= */



.bestellung-bar {
    background-color: #f2f2f2;   /* hellgrau */
    padding: 1rem 1.5rem;        /* innen Abstand */
    font-weight: 500;
    margin-top: 1rem;

    /* Volle Breite der Main-Content-Zelle */
    width: calc(100% + 3rem);    /* korrigiert Padding von main-content */
    margin-left: -3rem;        /* links bündig */
    box-sizing: border-box;      /* Padding wird innerhalb der Breite gerechnet */
}

.gravur-bar {
    background-color: #f2f2f2;   /* hellgrau */
    padding: 1rem 1rem;        /* innen Abstand */
    font-weight: 500;
    margin-bottom: 1rem;  
}


/* ============================= */
/* ACCORDION */
/* ============================= */
.accordion-title {
    font-weight: 300;
    font-size: 1rem;
    padding: 1rem;
}

.accordion-content {
    padding: 1rem 1.25rem;
    background: #f9f9f9;
}

.faq-question {
    font-weight: 300;
    margin-bottom: 0.25rem;
}

.faq-answer {
    margin-bottom: 1rem;
    line-height: 1.5;
}
/* ============================= */
/* END ACCORDION */
/* ============================= */


/* ============================= */
/* Bestellungen MENGENFORM */
/* ============================= */
/* Container für Größe + Menge mit Border */
.size-quantity-container {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    width: 100%; /* volle Breite */
}

/* Label oben links */
.quantity-label {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

/* Fett für feste Werte (Größe) */
.quantity-value-bold {
    font-weight: 600;
    font-size: 1rem;
}

/* Wrapper für Menge + Buttons */
.quantity-wrapper {
    display: flex;
    align-items: center;
}

/* Runde Buttons */
.circle-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: bold;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    margin: 0 0.3rem;
    box-sizing: border-box;
    line-height: 1;
    font-size: 16px;
}

/* Zahl zwischen Buttons */
.quantity-value {
    font-weight: 600;
    min-width: 1.2rem;
    text-align: center;
}

/* Preis Container – eigene Zeile rechts */
.price-container {
    width: 100%;              /* volle Breite */
    text-align: right;         /* rechtsbündig */
    margin-top: 1rem;
}

/* Preis Label */
.price-label {
    font-size: 0.8rem;
    color: #666;
}

/* Preis Wert */
.price-value {
    font-size: 1.6rem;
    font-weight: 600;
}

/* ============================= */
/* Bestellübersicht Aktionsmittel */
/* ============================= */

/* Abschnittstitel */
.section-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.article-row {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.article-row::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.625rem;
    right: 0.625rem;
    height: 1px;
    background: #e0e0e0;
}

.article-card {
    display: flex;
    height: 100%;
}

.article-image {
    width: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

.article-image img {
    max-width: 80px;
    height: auto;
}


/* HR ruhiger */
.article-content hr {
    margin: 0.6rem 0 0.8rem 0;
    border: none;
    border-top: 1px solid #ededed;
}

/* Preisbereich */
.article-price {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Button immer unten */
.article-button {
    margin-top: auto;
}

/* ============================= */
/* Icon neben Headline Aktionsmittel */
/* ============================= */

/* Header Layout */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.header-cart-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;

	width: 60px;
	height: 60px;

	border-radius: 50%;
	background: #e9e9e9;

	color: #333;
	text-decoration: none;

	transition: all 0.2s ease;
}

.header-cart-icon svg {
	width: 30px;
	height: 30px;
}

/* Hover Effekt (BMW-clean) */
.header-cart-icon:hover {
    background-color: #f2f2f2;
    color: #1c69d4; /* BMW Blau */
}

/* grüne Badge Zahl */
.cart-count {
	position: absolute;
	top: -4px;
	right: -4px;

	background: #28a745;
	color: #fff;

	font-size: 13px;
	font-weight: 600;

	min-width: 22px;
	height: 22px;

	border-radius: 50%;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0 4px;
}

.cart-count:empty {
    display: none;
}

/* Hover Effekt (BMW-clean) */
.header-cart-icon:hover {
	background-color: #f2f2f2;
	color: #1c69d4; /* BMW Blau */
}


/* ============================= */
/* Link neben Headline auf Aktionsmittel */
/* ============================= */

/* Überschrift + rechter Link */
.section-subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* > Infos Link */
.info-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c6c6c;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

/* Hover */
.info-link:hover {
    color: #1c69d4; /* BMW Blau */
}

/* ============================= */
/* WARENKORB ARTIKEL GRID STYLE */
/* ============================= */

.cart-article {
    padding: 1.5rem 0 1rem 0;
    font-family: "BMWTypeNextProTT", "Arial Narrow", Arial, sans-serif;
}


.cart-article-row {
    display: grid;
    grid-template-columns: 140px 320px 100px 1fr;
    /* Bild FIX | Headline FIX | Stück FIX | Preis flexibel */
    align-items: flex-start;
    gap: 1rem;
}

.cart-article-image {
    width: 140px;
}

.cart-article-image img {
    width: 100%;
    max-width: 120px;
    border: 1px solid #262626;
    border-radius: 3px;
    display: block;
}

/* Headline und Stück nebeneinander */
.cart-article-headline-stueck {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

/* Headline */
.cart-article-headline {
    font-weight: bold;
    font-size: 1rem;
    word-break: break-word;
}

/* Stück */
.cart-article-stueck {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.cart-article-headline {
    font-weight: bold;
    font-size: 1rem;
   word-break: break-word; /* falls Text zu lang wird */
}

.cart-article-stueck {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    padding-left: 1rem;
}

.cart-article-preis {
    text-align: right;
    vertical-align: top;   
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.cart-article-preis a {
    display: block;
    margin: 2px 0;          /* minimaler Abstand zwischen den Links */
    padding: 0;  
    font-weight: bold;
    color: #6c6c6c;
    text-decoration: none;
    font-size: 0.8rem;
}

.cart-article-preis a:hover {
    color: #1c69d4;
}

.cart-article-preis span, .cart-article-stueck span {
    font-weight: 300;
    font-size: 0.8rem;
    color: #666;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;   /* minimaler Abstand zwischen Links */
    margin-top: 20px;
}

.cart-article-border {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.price-label {
    font-size: 0.8rem;
    color: #666;
}

.status-circle-final {
    display: flex;
    align-items: center;       /* vertikal */
    justify-content: center;   /* horizontal */
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2.4rem;
    background-color: transparent;
    color: #28a745;
    border: 3px solid #28a745;
    margin: 0 auto;            /* Circle selbst zentriert */
}

.status-circle-final i {
    line-height: 1;            /* verhindert vertikales Verschieben */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================= */
/* END WARENKORB ARTIKEL */
/* ============================= */


/* ============================= */
/* TABLET (kompakter) */
/* ============================= */

@media (max-width: 1024px) {
    .cart-article-row {
        grid-template-columns: 120px 1fr 90px;
        grid-template-areas:
            "image headline preis"
            "image stueck preis";
        gap: 1rem;
    }

    .cart-article-image { grid-area: image; }
    .cart-article-headline { grid-area: headline; }
    .cart-article-stueck { grid-area: stueck; }
    .cart-article-preis { grid-area: preis; }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 640px) {

    .cart-article-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "headline"
            "stueck"
            "preis";
        gap: 0.75rem;
    }

    .cart-article-image {
        width: 100%;
    }

    .cart-article-image img {
        max-width: 140px;
    }

    .cart-article-preis {
        text-align: left;
        justify-self: start;
    }
}

/* Übersicht Warenkorb Variante OHNE Bild */
.cart-article-row--noimage {
    grid-template-columns: 400px 120px 1fr;
    gap: 0.5rem;              /* kleiner als 1.5rem */
    align-items: center;       /* reduziert visuelle Höhe */
    line-height: 1.2;
}


.cart-article-row--noimage.cart-article-border {
    padding-bottom: 0.1rem;    /* weniger Abstand unten */
}

/* ============================= */
/* END WARENKORB ARTIKEL GRID STYLE */
/* ============================= */


/* ============================= */
/* Teilnahmebedingungen Scrollbox */
/* ============================= */
.tnb-scrollbox {
    max-height: 500px;        /* Höhe anpassbar */
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tnb-scrollbox ol {
    margin: 0;
    padding-left: 20px;
}

.tnb-scrollbox li {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ============================= */
/* Aufruf Infoboxen für Anmeldung Turniere */
/* ============================= */


.info-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Kreis + echtes "i" */
.info-i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d6d6d6;

  display: inline-block;
  text-align: center;
  line-height: 32px;

  font-size: 1.2rem;
  font-weight: 500;
  font-family: Arial, sans-serif;

  color: #d6d6d6;
  transition: all 0.25s ease;
}

/* Text */
.info-text {
  font-size: 0.95rem;
  color: #1a1a1a;
  transition: color 0.25s ease;
}

/* Hover */
.info-trigger:hover .info-i {
  border-color: #0066b1;
  color: #0066b1;
}

.info-trigger:hover .info-text {
  color: #0066b1;
}

/* Fokus */
.info-trigger:focus {
  outline: none;
}

.info-trigger:focus .info-i {
  box-shadow: 0 0 0 2px rgba(0,102,177,0.2);
}


.full-width-hr {
    width: 100vw;
    margin-left: calc(-1 * 0.5rem);
    margin-right: calc(-1 * 0.5rem);
    border: 1px solid #ccc;
}

.checkbox-cell {
    padding-right: 0.5rem;
}
