/* ==========================================================================
   GRUNDLAGEN & ALLGEMEINE STILE
   ========================================================================== */

/* Deine neuen globalen CSS-Variablen */
:root {
    --bg-dark: #000000;
    --text-light: #FFFFFF;
    --accent-color: #007BFF;
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-unit: 1rem;
    --header-height: 80px;
    --hover-effect-color: rgba(0, 123, 255, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    text-transform: uppercase;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}



/* ==========================================================================
   ALLGEMEINE KOMPONENTEN (z.B. Buttons)
   ========================================================================== */

.btn {
    display: inline-block;
    padding: var(--spacing-unit) calc(2 * var(--spacing-unit)); /* Nutzt die Abstand-Variable */
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--accent-color);
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--bg-dark); /* Besserer Kontrast zum blauen Hintergrund */
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER (Dein neuer Footer, an unser Design angepasst)
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark) !important;
    padding: 70px 0;
    color: var(--text-light);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    width: calc(25% - 20px);
    padding: 0 15px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-light);
    text-transform: capitalize;
    margin-bottom: 35px;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left:0;
    bottom: -10px;
    background-color: var(--accent-color);
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #bbbbbb;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--text-light);
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: var(--accent-color);
    background-color: var(--text-light);
}


/* ==========================================================================
   ALLGEMEINE SEKTIONEN & ANIMATIONEN
   ========================================================================== */
   
.contact-cta {
    padding: calc(8 * var(--spacing-unit)) calc(2 * var(--spacing-unit));
    text-align: center;
    background-color: #111; /* Beibehaltung, da es kein Äquivalent in :root gibt */
}

.contact-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: calc(2 * var(--spacing-unit));
}

/* ==========================================================================
   LEISTUNGSSEITE - HERO-SEKTION
   ========================================================================== */

.subpage-hero-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--header-height) calc(2 * var(--spacing-unit)) calc(4 * var(--spacing-unit));
    /* Der Hover-Effekt-Farbton eignet sich gut für den Overlay */
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.subpage-hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-unit);
}

.subpage-hero-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    max-width: 500px;
}

/* ==========================================================================
   LEISTUNGSSEITE - INTERAKTIVE TABS
   ========================================================================== */

.service-tabs-container {
    padding: calc(6 * var(--spacing-unit)) var(--spacing-unit);
    background-color: var(--text-light); /* Heller Hintergrund aus deinen Variablen */
    color: var(--bg-dark); /* Dunkler Text für den hellen Hintergrund */
}

.service-tab-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-unit);
    margin-bottom: calc(4 * var(--spacing-unit));
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888; /* Grauton für inaktive Tabs */
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: var(--spacing-unit) calc(1.5 * var(--spacing-unit));
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.tab-btn:hover {
    color: var(--bg-dark);
}

.tab-btn.active {
    color: var(--bg-dark);
    border-bottom-color: var(--accent-color); /* Deine Akzentfarbe */
}

.service-tab-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.tab-pane h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: var(--spacing-unit);
    color: var(--bg-dark);
}

.tab-pane p,
.tab-pane li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-unit);
}

.tab-pane h3 {
    margin-top: calc(2 * var(--spacing-unit));
    margin-bottom: var(--spacing-unit);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    color: #333;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}

.tab-pane li {
    padding-left: calc(2 * var(--spacing-unit));
    position: relative;
    color: var(--accent-color);
}

.tab-pane li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tab-pane .btn {
    margin-top: calc(2 * var(--spacing-unit));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MOBILES HAMBURGER-MENÜ & OVERLAY
   ========================================================================== */

/* Ab diesem Breakpoint wird das Hamburger-Menü aktiv.
   Passe den Wert bei Bedarf an. 992px ist ein gängiger Wert. */
@media (max-width: 767px) {

    .subpage-hero-title {
        font-size: 25px !important;
    }

    .tab-pane h2 {
        font-size: 30px;
    }

    .contact-cta h2 {
        font-size: 25px;
    }

    .footer-col {
         width: calc(100% - 10%) !important;
        margin-bottom: 30px !important;
        padding-right:  50px !important;
     
    }

}