:root {
    --brand: #980A45;
    --bs-primary: var(--brand);
    --bs-primary-rgb: 152, 10, 69;
    --text-primary: var(--brand) !important;
    --bg-soft: #f8f9fb;
    --text-main: #1b1b1b;
    --text-muted: #6b7280;
}




/* SECTIONS */
.section-pad { padding: 5rem 0; }
.bg-light { background: var(--bg-soft); }

/* NAVBAR */
.navbar.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.7s ease;
}

/* Initial transparent (z. B. Hero-Bild sichtbar dahinter) */
.navbar.transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .navbar.transparent ul {
        background-color: rgba(0, 0, 0, 0.8);
        padding-bottom: 15px;
        margin-left: -20px;
        margin-right: -40px;
        padding-left: 20px;
        transform: translateX(-20px);
    }
}

.navbar.transparent .navbar-title {
    color: white;
}

.navbar.transparent .nav-link {
    color: rgba(255,255,255,0.9);
}
.navbar.transparent .nav-link:hover {
    color: #fff;
}

/* Nach Scroll (sichtbarer Hintergrund + leichter Schatten) */
.navbar.scrolled {
    background-color: rgba(255,255,255,0.97) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.shadow-transition {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent .navbar-brand {
    color: #fff !important;
}
.navbar.transparent .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
.navbar.transparent .navbar-toggler-icon {
    filter: invert(1);
}



.navbar-brand { color: var(--brand); font-weight:700; }
.nav-link { color: var(--text-main); }
.nav-link:hover { color: var(--brand); }
.logo-placeholder { background: var(--brand); color:#fff; border-radius:10px; width:40px; height:40px; display:grid; place-items:center; font-weight:700; }

/* BUTTONS */
/*.btn-primary { background: var(--brand); border-color: var(--brand); }*/
/*.btn-primary:hover { background: #b0145a; border-color: #b0145a; }*/
.btn-outline-light { color:#fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background:#fff; color:#000; }

/* CARDS & FEATURES */
.card { border: none; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }

/* STEPS */
.steps h3 {
    text-align: center;
}
.steps .step .num {
    /*position: absolute; left: 0; top: 0;*/
    margin: 0 auto 10px auto;
    width: 3rem; height: 3rem; border-radius: 999px; padding-bottom: 4px;
    background: var(--brand); color: #fff; display: grid; place-content: center; font-weight: 700; font-size: 1.5rem;
}


/* FORMULAR */
.form-control { border-radius: .375rem; border-color: #ccc; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(152,10,69,.15); }
.invalid-feedback {
    color: #b0145a;
    font-weight: 500;
}

/* FAQ */
.accordion-item { border: none; box-shadow: 0 2px 12px rgba(0,0,0,.08); border-radius: .5rem; overflow: hidden; }
.accordion-button { background-color: #fff; color: var(--text-main); font-weight: 500; }
.accordion-button:not(.collapsed) { color: var(--brand); background-color: rgba(152,10,69,.05); }
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--text-muted); }

/* FOOTER */
.footer {
    background: var(--bg-soft);
    color: var(--text-muted);
    padding: 3rem 0;
    border-top: 1px solid #ddd;
}
.footer-link { color: var(--brand); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }

/* IMAGES */
img.rounded.shadow {
    border-radius: .75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero { text-align: center; }
}


#bewertungen .card h5 {
    color: var(--brand) !important;
}
#bewertungen blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
}
#bewertungen .card {
    border: none;
    border-radius: .75rem;
}
#bewertungen .bi-star-fill {
    color: #f5c518;
}


/* === Kontaktformular Deluxe === */
.dropzone {
    border: 2px dashed rgba(0,0,0,.15);
    border-radius: .75rem;
    padding: 2rem;
    text-align: center;
    background: var(--bg-soft);
    transition: .2s ease;
    cursor: pointer;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--brand); background: #fff; }
.dropzone i { font-size: 2rem; display: block; margin-bottom: .5rem; color: var(--brand); }
.file-list > div { padding: .25rem 0; font-size: .95rem; }
.file-list i { margin-right: .25rem; }
.progress { height: .6rem; }
.progress-bar { font-size: .7rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input-group-text { background: #fff; }

#dropzone {
    position: relative;
    z-index: 1;
}

#dropzone input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Damit andere Formularteile wieder normal klickbar sind */
form *:not(#dropzone):not(#dropzone *) {
    pointer-events: auto;
}


/* === Footer dunkel === */
.footer {
    background: var(--brand);
    color: rgba(255,255,255,0.9);
    padding: 3rem 0;
}
.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color .2s ease;
}
.footer a:hover {
    color: #fff;
}
.footer .logo-placeholder {
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
}
.footer .small {
    color: rgba(255,255,255,0.75);
}
.footer .footer-link {
    margin: 0 .25rem;
}


.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .5rem;
    background: #fff;
    margin-bottom: .5rem;
    font-size: .95rem;
    transition: background .2s ease;
}
.file-list-item:hover {
    background: rgba(0,0,0,.03);
}
.file-thumb {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: .25rem;
    margin-right: .75rem;
}
.file-remove {
    background: none;
    border: none;
    color: #a00;
    font-size: 1.1rem;
    cursor: pointer;
}
.file-remove:hover {
    color: #e00;
}
.file-meta {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    overflow: hidden;
}
.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#messageCounter {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    text-align: right;
}

@media (max-width: 400px) { .input-group-text { display: none; } }


/* === Section Styling verbessert === */
.section-pad {
    padding: 5rem 0;
    position: relative;
}

.section-pad:nth-of-type(even) {
    background: #eee !important;
}

/*
.section-pad::after {
    content: "";
    position: absolute;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    max-width: 600px;
    height: 1px;
    background: rgba(152, 10, 69, 0.2);
}

 */














/* ===========================================================
   styles-dynamic.css
   Ergänzt styles.css um markante, moderne & dynamische Akzente
   =========================================================== */

/* === Allgemeines Styling === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    overflow-x: hidden;
}

body.modal-open {
    overflow-y: hidden;
}

html.modal-open,
body.modal-open,
.navbar.fixed-top {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* === Brandfarbe kräftiger mit Verlauf === */
:root {
    --brand-gradient: linear-gradient(135deg, #b0145a, #980A45 70%);
}

/* === Hero Bereich (Parallax & Bewegung) === */
/* HERO */
.hero {
    background-image: url(/assets/media/images/bg_hero7.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: 90% center;
    position: relative;
    isolation: auto;
    color: white;
}

@media (max-width: 991px) {
    .hero {
        background-attachment: scroll !important;
        background-position: 90% center !important;
    }
}


.hero .overlay-dark {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.075));
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
    background: var(--brand); color: #fff;
    border-radius: 999px; padding:.5rem 1rem; font-weight:500;
    display: inline-flex; align-items:center; gap:.5rem;
}
.text-white-75 { color: rgba(255,255,255,.85); }


/* WRAPPER */
.hero-text-slider {
    position: relative;
    overflow: hidden;
}

/* ALLE SLIDES */
.hero-text-slider p.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;                  /* Standard: unsichtbar */
    transition: opacity 1.2s ease;
    pointer-events: none;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

/* AKTIVER SLIDE */
.hero-text-slider p.hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}


.hero h1 {
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}
.hero .lead {
    animation: fadeInUp 1.6s ease-out forwards;
    opacity: 0;
}
.hero .btn {
    animation: fadeInUp 2s ease-out forwards;
    opacity: 0;
}

/* === Buttons lebendiger === */
.btn-primary {
    background: var(--brand-gradient);
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(152, 10, 69, 0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(152, 10, 69, 0.45);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--brand);
    transform: translateY(-2px);
}

/* === Scroll-Animationen === */
[data-animate] {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Diese Keyframes sind für Hero-Initialanimation */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === Cards & Features === */
.feature {
    transition: all 0.4s ease;
    border-top: 3px solid transparent;
}
.feature:hover {
    transform: translateY(-8px);
    border-top-color: var(--brand);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* === Sektionen mit sanftem Verlauf === */
.section-pad:nth-of-type(odd) {
    background: linear-gradient(180deg, #fff 0%, #f9f9fb 100%);
}
.section-pad:nth-of-type(even) {
    background: linear-gradient(180deg, #f8f8f9 0%, #fff 100%);
}

/* === CTA-Sektion (vor Footer einfügen) === */
.cta-highlight {
    background: var(--brand-gradient);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 12px 3px rgba(0,0,0,0.8);
    z-index: 2;
}

.cta-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15), transparent 60%);
    z-index: 0;
}
.cta-highlight .container {
    position: relative;
    z-index: 1;
}
.cta-highlight h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.cta-highlight p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-highlight .btn {
    background: #fff;
    color: var(--brand);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease;
}
.cta-highlight .btn:hover {
    transform: translateY(-2px);
}

/* === Mobile Sticky CTA schöner === */
.fixed-bottom.d-lg-none {
    background: var(--brand-gradient);
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.8s ease-out;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.img-zoom-wrapper {
    overflow: hidden;
    transition: all 1s ease;
    padding: 0;
}

.img-zoom-wrapper img {
    transition: all 9s ease;
}


.img-zoom-wrapper:hover {
    box-shadow: 0px 1px 15px 5px rgba(0,0,0,0.15);
}

.img-zoom-wrapper:hover img {
    transform: scale(1.10) rotateZ(-1deg);
}


/* === Optional: Parallax-Fallback für mobile (deaktiviert fixed) === */
/*@media (max-width: 991px) {*/
/*    .hero {*/
/*        background-attachment: scroll;*/
/*    }*/
/*}*/

/* === Neuer dreigeteilter Footer – Premium Dynamik === */
.footer {
    background: linear-gradient(180deg, #5a0528 0%, #3a041c 100%);
    color: rgba(255,255,255,0.9);
    border-top: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, rgba(255,255,255,0.15), rgba(255,255,255,0));
    opacity: 0.8;
}

/* leichter Schimmer im Hintergrund */
.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.05), transparent 70%);
    pointer-events: none;
    animation: footerGlow 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes footerGlow {
    from { background-position: 0% 50%; opacity: 0.4; }
    to { background-position: 100% 50%; opacity: 0.8; }
}

/* Inhalt bleibt vorne */
.footer .container {
    position: relative;
    z-index: 1;
}

/* Typo & Links */
.footer h6 {
    color: #fff;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer a.footer-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer a.footer-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* kleine Icons */
.footer i {
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer i:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Kreis-Icon vorne (z. B. §-Zeichen) */
.footer .logo-placeholder {
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.4s ease, background 0.4s ease;
}

.footer .logo-placeholder:hover {
    transform: rotate(-5deg) scale(1.05);
    background: rgba(255,255,255,0.2);
}

/* kleine Textdetails */
.footer .small {
    color: rgba(255,255,255,0.75);
}

/* mobile */
@media (max-width: 767px) {
    .footer {
        text-align: center;
    }
    .footer .col-md-4 {
        text-align: center !important;
    }
    .footer .logo-placeholder {
        margin: 0 auto;
    }
}



/* === MODALS === */
/* === Modals Styling === */

/* === Dezenter Scrollbalken für Modals === */
.modal-body::-webkit-scrollbar {
    width: 6px;                  /* dünner Balken */
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;      /* kein grauer Hintergrund */
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* dezenter dunkler Ton */
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.35);
}

/* Firefox (schmale Variante) */
.modal-body {
    scrollbar-width: thin;                /* schlank */
    scrollbar-color: rgba(0,0,0,0.25) transparent; /* Farbe + Hintergrund */
}

.modal-content {
    border-radius: .75rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.modal-header .modal-title {
    font-weight: 600;
    color: var(--brand);
}

.modal-body {
    line-height: 1.6;
    color: var(--text-main, #1b1b1b);
}

.modal-scrollable .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.modal.fade .modal-dialog {
    transition: transform 0.4s ease-out;
    transform: translateY(20px);
}
.modal.show .modal-dialog {
    transform: translateY(0);
}


@media (max-width: 767px) {
    .modal-dialog {
        margin: 1rem;
    }
}


/* === Datenschutz/Impressum Modal Styling === */
.verteidigungsmoeglichkeiten-content,
.nutzungsbedingungen-content,
.impressum-content,
.datenschutz-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-main, #1b1b1b);
}

.verteidigungsmoeglichkeiten-content h6,
.nutzungsbedingungen-content h6,
.impressum-content h6,
.datenschutz-content h6 {
    color: var(--brand);
    font-weight: 700;
    margin-top: 1.5rem;
}

.verteidigungsmoeglichkeiten-content ul,
.nutzungsbedingungen-content ul,
.impressum-content ul,
.datenschutz-content ul {
    padding-left: 1.25rem;
}

.verteidigungsmoeglichkeiten-content a,
.nutzungsbedingungen-content a,
.impressum-content a,
.datenschutz-content a{
    color: var(--brand);
    text-decoration: none;
}
.verteidigungsmoeglichkeiten-content a:hover,
.nutzungsbedingungen-content a:hover ,
.impressum-content a:hover ,
.datenschutz-content a:hover {
    text-decoration: underline;
}

.verteidigungsmoeglichkeiten-content hr,
.nutzungsbedingungen-content hr,
.impressum-content hr,
.datenschutz-content hr {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 1.5rem 0;
}


/* === ADAC Trust-Siegel === */
.trust-badge,
.trust-section {
    text-align: center;
}

.trust-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.trust-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.3));
}

@media (max-width: 767px) {
    .trust-logo {
        height: 50px;
    }
}


/* Spam-Honeypot unsichtbar machen */
.hp-field {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}


#reviewCarousel .carousel-inner {
    transition: height 0.5s ease;
}


#qrImage {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.2);
    opacity: 0.3;
}
#qrImage.loaded {
    opacity: 1;
    transform: scale(1);
}

/* === WhatsApp Floating Button (mobile only) === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

/* sanftes Einblenden nach Aktivierung */
.whatsapp-float.show {
    opacity: 1;
    pointer-events: auto;
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover-Effekt (bei Tablets aktiv) */
.whatsapp-float:hover {
    background-color: #1EBE5B;
    transform: scale(1.1);
    text-decoration: none;
    color: #fff;
}

/* Tooltip */
.whatsapp-float::after {
    content: "WhatsApp";
    position: absolute;
    right: 70px;
    background: #25D366;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* sanfte Einblendanimation */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Kleinere Größe auf kleinen Bildschirmen */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}

.file-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.file-item.removing {
    opacity: 0;
    transform: translateX(-10px);
}

/* Einheitliche Thumbnails für Bildvorschau (Desktop & Mobile) */
.preview-thumb {
    width: 64px;         /* oder 80px, wenn du sie etwas größer willst */
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-right: 0.75rem;
    flex-shrink: 0;      /* verhindert, dass Bilder gestaucht werden */
    transition: 0.4s ease;
}

.preview-thumb:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
    cursor: pointer;
}

/* Etwas kleinere Variante für sehr schmale Displays */
@media (max-width: 480px) {
    .preview-thumb {
        width: 56px;
        height: 56px;
    }
}


/* === Trust Badges (floating) === */
.trust-badges {
    position: fixed;
    bottom: 20px;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0.0;
    transform: translateX(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}


.trust-badge {
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px 0 0 8px;
    padding: 16px 12px 8px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #222;
    font-size: 14px;
    min-width: 130px;
    transition: all 0.6s ease;
}

.trust-badges.visible {
    opacity: 0.9;
    transform: translateX(0);
}

.trust-badge div strong {
    font-size: 2rem;
    line-height: 1.2rem;
}

.trust-badge img {
    height: auto;
    max-width: 70px;
}

.trust-badge:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

/* === Sterne === */
.stars {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1.1rem;
    color: #f8c121; /* Gold */
    letter-spacing: 1px;
    margin: 8px 0 12px 0;
}

.stars::before {
    content: "★★★★★";
    background: linear-gradient(90deg, #f8c121 var(--fill, 100%), #ddd var(--fill, 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* leichtes Branding */
.trust-badge.google strong { color: #0059a3; }
.trust-badge.anwalt strong { color: #0059a3; }

/* === Mobile: unten zentriert & kompakt === */
@media (max-width: 1550px) {
    .trust-badge {
        transform: none !important;
        box-shadow: none;
        border-radius: 10px;
        padding: 24px 10px 16px 10px;
        font-size: 13px;
        background: #f8f9fa;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        width: 47.5%;
    }
    .trust-badges.mobile-inline {
        position: static;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 1rem auto;
        flex-direction: row;
        margin-bottom: -20px;
        max-width: 700px;

        opacity: 1 !important;
        transform: none !important;
    }

    .trust-badges.mobile-inline strong {
        font-size: 3rem;
    }
}

.desktop-only { _display: block; }
.mobile-inline { display: none; }

@media (max-width:1550px) {
    .desktop-only { display: none; }
    .mobile-inline { display: flex; }
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
}




/* === Scroll Animations erweitert === */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    /*will-change: transform, opacity;*/
}

/* Sichtbare Elemente */
[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* Verschiedene Richtungen */
[data-animate="fade-in"] {
    transform: none;
}

[data-animate="slide-down"] {
    transform: translateY(-60px);
}
[data-animate="slide-up"] {
    transform: translateY(60px);
}
[data-animate="slide-left"] {
    transform: translateX(60px);
}
[data-animate="slide-right"] {
    transform: translateX(-60px);
}

/* Sobald sichtbar, animiert */
[data-animate="slide-up"].visible,
[data-animate="slide-down"].visible,
[data-animate="slide-left"].visible,
[data-animate="slide-right"].visible,
[data-animate="fade-in"].visible {
    opacity: 1;
    transform: none;
}

[data-animate].visible {
    transition-delay: calc(var(--delay, 0) * 0.15s);
}




/* Container rechts */
.slide-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(50px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1.25s ease, transform 1.25s ease;
    pointer-events: none; /* Container blockt nichts mehr */
}

/* Klasse, die aktiv wird, sobald gescrollt wurde */
.slide-buttons.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Der eigentliche Button */
.slide-btn {
    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(152, 10, 69, 0.5);
    color: white;

    backdrop-filter: blur(12px) saturate(180%); /* Glass Effekt */
    -webkit-backdrop-filter: blur(12px) saturate(180%); /* Safari */

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none; /* rechte Seite direkt am Rand */


    box-shadow:
            0 4px 12px rgba(0,0,0,0.15),
            inset 0 0 0 1px rgba(255,255,255,0.1);

    height: 52px;
    padding: 0 16px;

    border-radius: 8px 0 0 8px;
    cursor: pointer;

    transform: translateX(calc(100% - 52px));
    transition: transform .5s ease, background .4s ease, box-shadow .4s ease;

    white-space: nowrap;

    pointer-events: auto;
}






/* Slide In Buttons [Formular / Kontakt / Glossar] */

/* Icon */
.slide-btn i {
    font-size: 24px;
}

/* Text */
.slide-btn span {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity .25s ease .1s, transform .25s ease .1s;
}

/* ⭐ Desktop Hover: kompletter Button fährt herein */
.slide-btn:hover {
    background: rgba(152, 10, 69, 0.9);

    box-shadow:
            0 6px 18px rgba(0,0,0,0.25),
            inset 0 0 0 1px rgba(255,255,255,0.2);

    transform: translateX(0);
}

/* Text erscheint */
.slide-btn:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* Touchscreens: durch JS gesteuert */
.slide-btn.open {
    transform: translateX(0);
}

.slide-btn.open span {
    opacity: 1;
    transform: translateX(0);
}

.slide-btn a {
    text-decoration: none;
    color: white;
}
