/* ==========================================
   LOKALE FONTS (DSGVO-KONFORM / ABMAHNSICHER)
   ========================================== */

/* DM Sans - Regular (Standardtext) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
}

/* DM Sans - Medium (Mittelschwer) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
}

/* DM Sans - Bold (Fett) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/DMSans-Bold.ttf') format('truetype');
}

/* globale Zuweisung */
body {
  font-family: 'DM Sans', sans-serif;
}
/* Smooth Scrolling für die gesamte Seite */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

/* --- VARIABLES & RESET --- */
:root {
    --bg-main: #0F1115;       /* Haupt-Hintergrund */
    --bg-card: #1F242D;       /* Kacheln / Boxen */
    --text-primary: #FAFAFA;  /* Crisp White */
    --text-muted: #A1A1AA;    /* Sekundärtext */
    --accent-mint: #00E5A3;   /* Signal-Mint */
    --font-main: 'DM Sans', sans-serif;

    /* UNIFIED TYPOGRAPHY SCALE */
    --font-size-hero: 3rem;
    --font-size-h2: 2.2rem;   /* Alle großen Sektions-Überschriften */
    --font-size-h3: 1.4rem;   /* Alle Unter- / Karten-Überschriften */
    --font-size-body: 1rem;   /* Alle Standard-Fließtexte & Leads */
    --font-size-sub: 0.9rem;  /* Alle Details, Listen & Kleingedrucktes */
    --font-size-label: 0.8rem;/* Badges & Eyebrow-Labels */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0F1115 !important;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    box-sizing: border-box;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-nav-img {
    height: 24px;
    width: auto;
    display: block;
}

.logo-nav-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.logo-nav-text span {
    color: var(--accent-mint);
}

.logo-nav-img,
.logo-nav-text {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(15, 17, 21, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 6%;
    border-bottom: 1px solid rgba(250, 250, 250, 0.05);
}

.navbar.scrolled .logo-nav-img,
.navbar.scrolled .logo-nav-text {
    opacity: 1;
    visibility: visible;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    transition: color 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent-mint);
}

.lang-divider {
    color: rgba(250, 250, 250, 0.2);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-mint);
    color: #0F1115;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(250, 250, 250, 0.2);
    border-radius: 4px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-sub);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-mint);
    background-color: rgba(0, 229, 163, 0.05);
    color: var(--accent-mint);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 6% 4rem 6%;
    position: relative;
    background-color: #0F1115 !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    transform: translateY(-4vh);
}

.hero-big-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* --- HERO SECTION --- */
.hero-subline {
    font-size: 1.2rem; /* Wieder größer als der Standard-Fließtext */
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-mint);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   HOOK / WARUM SEKTION
   ========================================================================== */

.hook-section {
    padding: 5rem 6% 8rem 6%;
    background-color: #13161C !important;
}

.hook-container {
    max-width: 1300px;
    margin: 0 auto;
}

.hook-badge, .section-label {
    color: var(--accent-mint);
    font-size: var(--font-size-label);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hook-headline, .section-title, .about-title, .contact-title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    line-height: 1.3;
    max-width: 1050px;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.hook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hook-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 6px;
}

.hook-icon, .service-num {
    font-size: var(--font-size-body);
    font-weight: 700;
    color: var(--accent-mint);
    margin-bottom: 1rem;
}

.hook-card h3, .service-main h3, .case-title, .profile-name {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.hook-card p, .service-lead, .about-lead, .about-text p, .contact-lead, .case-intro {
    font-size: var(--font-size-body);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   LEISTUNGEN SEKTION
   ========================================================================== */

.services-section {
    display: block;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #0F1115 !important;
    padding: 5rem 6%;
    box-sizing: border-box;
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.service-block {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    padding: 2rem 0;
}

.service-details {
    background-color: var(--bg-card);
    padding: 1.8rem 2rem;
    border-radius: 6px;
    border: 1px solid rgba(250, 250, 250, 0.05);
}

.service-details h4 {
    font-size: var(--font-size-sub);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-mint);
    margin-bottom: 1rem;
}

.service-details ul {
    list-style: none;
}

.service-details li {
    font-size: var(--font-size-sub);
    color: var(--text-muted);
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.service-details li:last-child {
    margin-bottom: 0;
}

.service-details li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-mint);
    font-weight: bold;
}

/* ==========================================================================
   CASES / PRAXIS SEKTION
   ========================================================================== */

.cases-section {
    padding: 8rem 6%;
    background-color: #13161C !important;
}

.cases-container {
    max-width: 1300px;
    margin: 0 auto;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.case-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(250, 250, 250, 0.08);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.case-badge, .contact-card-label {
    font-size: var(--font-size-label);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-mint);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.case-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: auto;
    border-top: 1px solid rgba(250, 250, 250, 0.08);
    padding-top: 1.5rem;
}

.case-detail-item {
    font-size: var(--font-size-sub);
    color: var(--text-muted);
    line-height: 1.5;
}

.case-detail-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.2rem;
}

.case-detail-item.highlight strong {
    color: var(--accent-mint);
}

/* ==========================================================================
   ÜBER UNS SEKTION
   ========================================================================== */

.about-section {
    display: block;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #0F1115 !important;
    padding: 8rem 6%;
    box-sizing: border-box;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: start;
}

.profile-card {
    background: linear-gradient(145deg, rgba(25, 30, 39, 0.8), rgba(15, 18, 24, 0.9));
    border: 1px solid rgba(167, 243, 208, 0.15);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-role {
    display: block;
    font-size: var(--font-size-sub);
    color: var(--accent-mint);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-divider {
    height: 1px;
    background: rgba(250, 250, 250, 0.1);
    margin: 2rem 0;
}

.profile-facts {
    list-style: none;
}

.profile-facts li {
    font-size: var(--font-size-sub);
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.profile-facts li:last-child {
    margin-bottom: 0;
}

.profile-facts strong {
    color: var(--text-primary);
}

.about-lead {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   KONTAKT SEKTION
   ========================================================================== */

.contact-section {
    display: block;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #13161C !important;
    padding: 6rem 6%;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
}

.contact-header {
    max-width: 800px;
    margin-bottom: 4rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(250, 250, 250, 0.08); /* Einheitlicher Standard-Rahmen */
    padding: 2.5rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-card.highlight:hover {
    border-color: var(--accent-mint); /* Oder deine grüne Farbe z. B. #00ffd0 */
    transform: translateY(-2px);
}

.contact-card.highlight {
    border-color: rgba(250, 250, 250, 0.08);
}

.contact-card.highlight:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 10px 30px rgba(0, 229, 163, 0.08);
}

.contact-card-value {
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
}

.contact-card-action {
    font-size: var(--font-size-sub);
    font-weight: 600;
    color: var(--accent-mint);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    display: block;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #13161C !important;
    padding: 3rem 6% 2rem 6% !important;
    box-sizing: border-box;
    border-top: 1px solid rgba(250, 250, 250, 0.08);
}

.footer-container {
    max-width: 1300px !important;
    width: 100%;
    margin: 0 auto !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem !important;
    border-bottom: none !important;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: var(--font-size-sub);
    font-family: inherit !important;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.footer-link-btn:hover {
    color: var(--accent-mint);
}

.footer-bottom {
    max-width: 1300px !important;
    width: 100%;
    margin: 1.5rem auto 0 auto !important;
    text-align: left !important;
    border-top: none !important;
    padding-top: 1rem !important;
}

.footer-bottom::before {
    display: none !important;
}

.footer-bottom p {
    font-size: var(--font-size-sub);
    color: var(--text-muted);
    text-align: left !important;
}

/* ==========================================================================
   MODALS / OVERLAYS
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 8px;
    max-width: 650px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: var(--font-size-h3);
    margin-bottom: 1.5rem;
    color: var(--accent-mint);
}

.modal-content h3 {
    font-size: var(--font-size-body);
    margin: 1.2rem 0 0.5rem 0;
    color: var(--text-primary);
}

.modal-body p {
    font-size: var(--font-size-sub);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN OVERRIDES
   ========================================================================== */

@media (max-width: 968px) {
    .hero-grid, 
    .hook-grid, 
    .service-block, 
    .about-container,
    .cases-grid,
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-grid {
        text-align: center;
    }

    .hero-left, .hero-actions {
        display: flex;
        justify-content: center;
    }

    .hero-big-logo {
        max-width: 260px;
    }

    .hero-subline {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    :root {
        --font-size-hero: 2.1rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --font-size-body: 0.95rem;
        --font-size-sub: 0.85rem;
    }

    .navbar {
        height: 60px;
        padding: 0 4%;
    }

    .logo-nav-img {
        height: 18px; 
        max-width: 130px;
    }

    .nav-right {
        gap: 0.6rem;
    }

    .btn-secondary {
        padding: 0.35rem 0.65rem;
        font-size: var(--font-size-sub);
    }

    .hook-section,
    .services-section,
    .cases-section,
    .about-section,
    .contact-section {
        padding: 4rem 5%;
    }

    .hook-card,
    .case-card,
    .service-details,
    .contact-card,
    .profile-card {
        padding: 1.8rem 1.25rem;
    }

    /* COMPACT MOBILE FOOTER STYLES */
    .footer {
        padding: 2rem 5% 1.5rem 5% !important;
    }

    .footer-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding-bottom: 1.25rem !important;
        gap: 1rem !important;
    }

    .footer-logo-img {
        height: 38px !important;
    }

    .footer-links {
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0.4rem !important;
        text-align: right !important;
    }

    .footer-link-btn {
        font-size: var(--font-size-sub) !important;
        text-align: right !important;
    }

    .footer-bottom {
        padding-top: 1rem !important;
        margin-top: 0 !important;
    }

    .footer-bottom p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .modal-content {
        width: 92%;
        padding: 2rem 1.25rem;
    }
}