/* --- Globale Stile & Variablen --- */
:root {
    --primary-color: #2c9e9e; /* Türkis mittel */
    --primary-hover-color: #006363; /* Türkis dunkel */
    --dark-bg: #0d1117; /* Sehr dunkler Hintergrund */
    --medium-bg: #161b22; /* Etwas hellerer Hintergrund für Karten */
    --light-bg: #1A202C;
    --text-color: #c9d1d9; /* Helles Grau für Text */
    --heading-color: #ffffff;
    --border-color: #30363d;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover-color);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    color: var(--heading-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo span {
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.slides-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.9));
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slide-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.slide-title, .slide-subtitle, .slide .btn-primary {
    opacity: 0;
}

.slide.active .slide-title {
    animation: fly-in-up 0.8s ease-out 0.3s forwards;
}
.slide.active .slide-subtitle {
    animation: fly-in-up 0.8s ease-out 0.6s forwards;
}
.slide.active .btn-primary {
    animation: fly-in-up 0.8s ease-out 0.9s forwards;
}

@keyframes fly-in-up {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 40px;
    font-weight: 300;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.nav-dot.active {
    background-color: var(--primary-color);
}

/* --- Trust Bar Section --- */
.trust-bar-section {
    padding: 20px 0;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-bar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--medium-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(44, 158, 158, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Stile für Service-Karten mit Hintergrundbild */
.service-card.has-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Dunkler Overlay für Lesbarkeit des Textes */
.service-card.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 17, 23, 0.7); /* --dark-bg mit Transparenz */
    border-radius: inherit; /* Übernimmt den border-radius der Karte */
    z-index: -1;
    transition: background-color 0.3s ease;
}

.service-card.has-bg-image:hover::before {
    background: rgba(13, 17, 23, 0.5); /* Overlay wird beim Hovern heller */
}

#bg-hoodie { background-image: url('shirts/images/hoodie.png'); }
#bg-hose { background-image: url('shirts/images/hose.png'); }
#bg-tshirt { background-image: url('shirts/images/bg_druck3.png'); }
#bg-langarm { background-image: url('shirts/images/langarm.png'); }
#bg-jacke { background-image: url('shirts/images/weste.png'); }
#bg-tasche { background-image: url('shirts/images/tasche.png'); }
#bg-tasse { background-image: url('shirts/images/tasse.png'); }
#bg-kappe {
    background-image: url('shirts/images/cap.png');
    background-position: top; /* Richtet das Bild für die Kappen-Karte oben aus */
}
#bg-schal { background-image: url('shirts/images/schal.png'); }

/* --- About Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-text .section-title h2::after {
    left: 0;
    transform: translateX(0);
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--dark-bg);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-form {
    flex: 2;
}

.contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    background-color: var(--medium-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem; /* Einheitliche Schriftgröße */
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Spezifische Stile für die Select-Box (Combobox) */
.contact-form select {
    appearance: none; /* Standard-Pfeil entfernen */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c9d1d9'%3e%3cpath d='M8 11.293l-4.646-4.647a.5.5 0 0 1 .708-.708L8 9.879l4.94-4.934a.5.5 0 0 1 .707.707L8 11.293z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

/* --- Spezifische Stile für Formular-Elemente --- */

/* Versteckt die Pfeile beim "number" Input für ein sauberes Design */
.contact-form input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.contact-form input[type="number"]::-webkit-outer-spin-button,
.contact-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Stilt den "Datei auswählen"-Button, damit er zum Theme passt */
.contact-form input[type="file"] {
    padding: 10px 15px; /* Leichte Anpassung des Paddings für vertikale Ausrichtung */
}

.contact-form input[type="file"]::file-selector-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 15px;
}

.contact-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-hover-color);
}

.contact-info h3 {
    margin-bottom: 10px;
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}

#form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: block;
    font-weight: 600;
}

.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}
.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* --- Quality Section (Shirts Page) --- */
.quality-section {
    background-color: var(--light-bg); /* Hellerer Hintergrund zur Abhebung */
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quality-card {
    background-color: var(--dark-bg); /* Angepasst an das dunkle Theme */
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color); /* Hinzugefügt für Konsistenz */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Schatten für dunklen Hintergrund angepasst */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.quality-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 158, 158, 0.1); /* Hover-Schatten im Theme-Stil */
}

.quality-card h3 {
    font-size: 1.6rem;
    color: var(--heading-color); /* Angepasst an das dunkle Theme */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quality-card h3 i {
    color: var(--primary-color);
    font-size: 2rem;
}

.quality-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color); /* Angepasst an das dunkle Theme */
    margin-top: 20px;
    margin-bottom: 8px;
}

.quality-card p,
.quality-card li {
    color: var(--text-color); /* Textfarbe für dunklen Hintergrund sicherstellen */
}

.care-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.care-list .icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.care-list .icon-check { color: #28a745; }
.care-list .icon-times { color: #dc3545; }

/* --- How it works Section --- */
.how-it-works-section {
    background-color: var(--medium-bg);
}

.how-it-works-content {
    display: flex;
    align-items: flex-start; /* Ändert die vertikale Ausrichtung nach oben */
    gap: 60px;
    margin-top: 40px;
}

.how-it-works-image {
    flex: 1;
    max-width: 450px; /* Behält die maximale Breite bei */
    /* Stile für die "Box" um das Bild */
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px; /* Fügt den gewünschten Innenabstand hinzu */
}

.how-it-works-image img {
    width: 100%;
    border-radius: 8px;
    background-color: var(--dark-bg);
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.3);*/
}

.how-it-works-steps {
    flex: 1.2; /* Gibt den Schritten etwas mehr Platz */
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(44, 158, 158, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.step-text h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

/* --- Clients Section (Logo Scroller) --- */
.clients-section {
    background-color: var(--dark-bg);
}

/* Der äußere Wrapper, der das Clipping, den Platz und den Fade-Effekt verwaltet */
.logo-scroller-container {
    position: relative;
    overflow-x: hidden; /* Schneidet die Logos an den Seiten ab */
    
    /* DER ENTSCHEIDENDE TRICK: 
       Wir schaffen physischen Platz nach oben, damit der Tooltip innerhalb des
       Containers erscheinen kann und nicht von "overflow-x: hidden" abgeschnitten wird. */
    padding-top: 60px; /* Etwas mehr Platz für den Tooltip */
    margin-top: -60px; /* Korrigiert den durch das Padding entstandenen Abstand */
}

/* Die Fade-Effekte werden an den neuen Container gehängt */
.logo-scroller-container::before,
.logo-scroller-container::after {
    content: '';
    position: absolute;
    /* Wichtig: top: 60px, damit der Verlauf nicht den Platz für den Tooltip überdeckt */
    top: 60px; 
    bottom: 0;
    width: 15%;
    z-index: 2; /* Liegt unter dem Logo-Track */
    pointer-events: none; /* Erlaubt Klicks/Hover "durch" das Element */
}

.logo-scroller-container::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.logo-scroller-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

/* Der innere Scroller. Erbt die Breite und braucht kein Overflow-Management mehr. */
.logo-scroller {
    /* overflow: visible; ist der Standard und erlaubt dem Tooltip das "Ausbrechen" */
}

.logo-track {
    display: flex;
    width: calc(250px * 8); /* 250px pro Logo * 8 Logos (4 Original + 4 Duplikate) */
    animation: scroll 25s linear infinite;
    position: relative; /* Notwendig, damit z-index funktioniert */
    z-index: 3;         /* Hebt die Logos UND Tooltips ÜBER die Fade-Overlays (z-index: 2) */
}

/* Pausiert die gesamte Animation, wenn man über den Scroller-Bereich hovert */
.logo-scroller-container:hover .logo-track {
    animation-play-state: paused;
}

/* WIEDERHERGESTELLT: Stile für die einzelnen Logo-Container */
.logo-item {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    position: relative; /* Wichtig für die Positionierung des Tooltips */
}

/* WIEDERHERGESTELLT: Stile für die Logo-Bilder selbst */
.logo-item img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* WIEDERHERGESTELLT: Hover-Effekt für die Bilder */
.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); } /* Scrollt um die Breite der 4 Original-Logos */
}

/* Farben für Zahlungs-Icons */
.payment-icon-paypal { color: #00457C; }
.payment-icon-ueberweisung { color: #17a2b8; }
.payment-icon-abholung { color: #28a745; }
.payment-icon-rechnung { color: #6f42c1; }
.payment-icon-dhl { color: #d4a40c; } /* DHL Gold/Gelb */

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about p {
    color: var(--text-color);
    line-height: 1.7;
    padding-right: 20px;
}

.footer-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
}

.footer-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 55px;
    text-align: center;
}

.footer-icon-item i {
    font-size: 2rem; /* Kleinere Icons */
    transition: transform 0.3s ease;
}

.footer-icon-item:hover i {
    transform: scale(1.1);
}

.footer-icon-item span {
    font-size: 0.75rem; /* Kleinere Schrift */
    font-weight: 500;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #8b949e;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 1001;
    transition: transform 0.5s ease-in-out;
    transform: translateY(0);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    flex-grow: 1;
}

.cookie-banner a { text-decoration: underline; }

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
    padding-top: 120px; /* Header offset */
    padding-bottom: 80px;
    background-color: var(--medium-bg);
}

.legal-page .container {
    background-color: var(--dark-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-page strong { color: var(--heading-color); }

/* --- Styles for Links Page --- */
.disclaimer-box {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545; /* Red color for warning */
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-box h3 {
    color: #f8d7da; /* Light red */
    margin-bottom: 10px;
}

.disclaimer-box p {
    margin-bottom: 0;
    color: #f8d7da;
    font-size: 0.9rem;
}

.links-list {
    margin-top: 40px;
}

.links-list h2 {
    font-size: 2rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.links-list h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 15px;
}

.links-list h3 i {
    color: var(--primary-color);
}

.links-list h2:first-of-type {
    margin-top: 20px;
}

.link-item {
    background-color: var(--medium-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(44, 158, 158, 0.1);
    border-color: var(--primary-color);
}

.link-item h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.link-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Stellt sicher, dass der Container für die Positionierung des Tooltips bereit ist */
.logo-item {
    position: relative;
    /* display: inline-block; ist oft nützlich, aber dein Flexbox-Layout im Scroller sollte ausreichen */
}

/* Grundlegende Stile für den Tooltip - standardmäßig ausgeblendet */
.logo-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 105%; /* Positioniert den Tooltip über dem Logo */
    left: 50%;
    /* 3D-Effekt: Startposition (etwas nach unten verschoben & kleiner) */
    transform: translateX(-50%) translateY(10px) scale(0.9);
    background-color: var(--medium-bg); /* Hintergrund aus dem Theme */
    color: var(--heading-color); /* Textfarbe aus dem Theme */
    text-align: center;
    padding: 10px 16px; /* Etwas mehr Padding */
    border-radius: 8px; /* Etwas runder */
    white-space: nowrap;
    z-index: 10;
    /* Übergang für den 3D-Effekt und das Einblenden */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Leuchtender Rand (Türkis) und 3D-Schatten */
    box-shadow: 0 0 15px -3px var(--primary-color), 0 6px 12px rgba(0, 0, 0, 0.4);
    font-size: 14px;
    font-weight: 500; /* Etwas fettere Schrift */
}

/* Kleiner Pfeil für den Tooltip für einen schöneren Look */
.logo-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Positioniert den Pfeil am unteren Rand des Tooltips */
    left: 50%;
    margin-left: -6px; /* Anpassung an Padding/Größe */
    border-width: 6px;
    border-style: solid;
    /* Farbe des Pfeils an den neuen Hintergrund anpassen */
    border-color: var(--medium-bg) transparent transparent transparent;
}

/* Zeigt den Tooltip an, wenn über das .logo-item gefahren wird */
.logo-item:hover .logo-tooltip {
    visibility: visible;
    opacity: 1;
    /* 3D-Effekt: Endposition (normale Position und Größe) */
    transform: translateX(-50%) translateY(0) scale(1);
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .how-it-works-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .section-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr; /* Spalten untereinander anordnen */
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-icon-list {
        justify-content: center;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .slide-content {
        padding: 0 10px;
    }
}
