/* ============================================
   Prof. Dr. Friedl Mentoring — Landing Page
   Anthrazit/Eisblau Design
   Fonts lokal eingebunden (DSGVO-konform)
   ============================================ */

/* --- Lokale Schriften --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-700.woff2') format('woff2');
}

/* --- Farben & Variablen --- */
:root {
    --anthrazit-deep: #1a1d23;
    --anthrazit: #22262e;
    --anthrazit-light: #2a2f38;
    --anthrazit-lighter: #333842;
    --eisblau: #5ba4cf;
    --eisblau-bright: #7ec8e3;
    --eisblau-glow: rgba(91, 164, 207, 0.15);
    --eisblau-subtle: rgba(91, 164, 207, 0.08);
    --text-primary: #e2e6eb;
    --text-secondary: #d8dce2;
    --text-muted: #9ea5b0;
    --border-subtle: rgba(91, 164, 207, 0.1);
    --border-eisblau: rgba(91, 164, 207, 0.2);
    --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --radius: 8px;
    --transition: 0.3s ease;
}

/* --- Reset & Basis --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--anthrazit-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Navigation --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 29, 35, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-eisblau);
    padding: 4px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 0 24px;
}

.nav-logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.nav-logo-area img {
    width: 120px;
    height: auto;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    line-height: 1.25;
}

.nav-brand strong {
    font-weight: 600;
    color: var(--eisblau);
}

/* Zweite Zeile der Kopfzeile: "Beratung & Mentoring" wie auf dem Briefkopf */
.nav-brand span {
    display: block;
    font-size: 0.92rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--eisblau-bright);
}

.nav-cta {
    border: 1px solid var(--eisblau) !important;
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--eisblau) !important;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--eisblau) !important;
    color: var(--anthrazit-deep) !important;
}

/* Hamburger-Menü */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 30px 0 50px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 115px;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 520px;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin-bottom: 28px;
    color: #ffffff;
}

.hero h1 .line2 {
    color: var(--eisblau-bright);
}

.hero-claims {
    list-style: none;
    margin-bottom: 44px;
}

.hero-claims li {
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 9px 0;
    border-bottom: 1px solid var(--border-eisblau);
    letter-spacing: 0.03em;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.hero-claims li:last-child {
    border-bottom: none;
}

.hero-claims .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--eisblau);
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

.hero-claims .accent {
    color: var(--eisblau-bright);
    font-weight: 500;
    white-space: nowrap;
}

/* --- Hero Untertitel --- */
.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 38px;
    max-width: 520px;
}

/* --- Kompetenz-Überblick (Profil-Blöcke) --- */
.highlights {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.highlight {
    border-left: 2px solid var(--eisblau);
    padding-left: 24px;
}

.highlight h3 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--eisblau-bright);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.highlight p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Hero Tunnel-Bild --- */
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    z-index: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(to right, var(--anthrazit-deep) 0%, rgba(26, 29, 35, 0.85) 30%, rgba(26, 29, 35, 0.4) 70%, transparent 100%);
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--anthrazit-deep), transparent);
    z-index: 1;
}

.hero-image-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--anthrazit-deep), transparent);
    z-index: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--eisblau);
    color: var(--anthrazit-deep);
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: var(--eisblau-bright);
    box-shadow: 0 4px 20px rgba(91, 164, 207, 0.3);
}

/* --- Trennlinien --- */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--eisblau), transparent);
    opacity: 0.25;
    margin: 0 48px;
}

/* --- Sektionen Allgemein --- */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--anthrazit);
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro h2 {
    font-size: 2.05rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #ffffff;
    line-height: 1.35;
}

.section-intro h2 span {
    color: var(--eisblau);
    font-weight: 500;
}

/* --- PHILOSOPHIE-KARTEN --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-card {
    background: var(--anthrazit-light);
    border: 1px solid var(--border-eisblau);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--eisblau), var(--eisblau-bright));
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card:hover {
    border-color: rgba(91, 164, 207, 0.35);
    box-shadow: 0 4px 24px rgba(91, 164, 207, 0.1);
    transform: translateY(-2px);
}

.philosophy-icon {
    width: 36px;
    height: 36px;
    color: var(--eisblau);
    margin-bottom: 18px;
}

.philosophy-card h3 {
    font-size: 1.12rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--eisblau-bright);
}

.philosophy-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- LEISTUNGEN (Spec-Tabelle) --- */
.spec-section {
    max-width: 800px;
    margin: 0 auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-eisblau);
    transition: background var(--transition);
}

.spec-table tr:hover {
    background: var(--eisblau-subtle);
}

.spec-table td {
    padding: 18px 0;
    font-size: 1rem;
}

.spec-table td:first-child {
    color: var(--eisblau);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.86rem;
    width: 200px;
    padding-left: 12px;
}

.spec-table td:last-child {
    color: var(--text-secondary);
}

/* --- ÜBER MICH --- */
.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

/* --- KONTAKT --- */
.section-contact {
    padding: 80px 0;
}

.contact-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin: 16px auto 0;
    max-width: 600px;
    line-height: 1.7;
}

.contact-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eisblau);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    background: var(--anthrazit-light);
    border: 1px solid var(--border-eisblau);
    border-radius: 4px;
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--eisblau);
    box-shadow: 0 0 0 3px rgba(91, 164, 207, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: center;
    margin-top: 8px;
}

.form-submit button {
    padding: 14px 36px;
    background: var(--eisblau);
    border: none;
    color: var(--anthrazit-deep);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px;
}

.form-submit button:hover {
    background: var(--eisblau-bright);
    box-shadow: 0 4px 20px rgba(91, 164, 207, 0.3);
}

/* --- FOOTER --- */
.footer {
    padding: 36px 0;
    text-align: center;
    border-top: 1px solid var(--border-eisblau);
    background: var(--anthrazit-deep);
}

.footer-brand {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--eisblau);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--eisblau-bright);
}

.footer-divider {
    color: var(--text-muted);
    margin: 0 12px;
}

/* --- Animationen --- */
/* Weicheres, gestaffeltes Einblenden beim Scrollen */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staffelung: Karten einer Reihe erscheinen leicht versetzt */
.philosophy-grid > .fade-in:nth-child(2) { transition-delay: 0.12s; }
.philosophy-grid > .fade-in:nth-child(3) { transition-delay: 0.24s; }
.highlights > .fade-in:nth-child(2) { transition-delay: 0.08s; }
.highlights > .fade-in:nth-child(3) { transition-delay: 0.16s; }
.highlights > .fade-in:nth-child(4) { transition-delay: 0.24s; }
.highlights > .fade-in:nth-child(5) { transition-delay: 0.32s; }

/* Dezenter Auftritt beim Laden der Seite */
@keyframes hero-einblenden {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-bild {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-content { animation: hero-einblenden 0.8s ease both; }
.hero-image   { animation: hero-bild 1.1s ease both; }

/* Nutzer mit "Bewegung reduzieren" bekommen keine Animationen */
@media (prefers-reduced-motion: reduce) {
    .hero-content, .hero-image { animation: none; }
    .fade-in { opacity: 1; transform: none; transition: none; }
}

/* --- Zurück-Links auf Unterseiten --- */
.zurueck-link {
    margin-bottom: 28px;
}

.zurueck-link a {
    color: var(--eisblau);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.zurueck-link a:hover {
    color: var(--eisblau-bright);
}

.zurueck-link.unten {
    margin: 44px 0 0;
}

/* --- Nach-oben-Knopf --- */
.nach-oben {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-eisblau);
    background: var(--anthrazit-light);
    color: var(--eisblau-bright);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.nach-oben.sichtbar {
    opacity: 1;
    visibility: visible;
}

.nach-oben:hover {
    background: var(--eisblau);
    color: var(--anthrazit-deep);
}

/* --- Unterseiten (Impressum, Datenschutz) --- */
.page-content {
    padding-top: 40px;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--eisblau);
    margin-bottom: 32px;
    letter-spacing: 0.06em;
}

.page-content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--eisblau-bright);
    margin: 28px 0 12px;
}

.page-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.page-content a {
    color: var(--eisblau);
    text-decoration: none;
}

.page-content a:hover {
    color: var(--eisblau-bright);
}

.page-content ul {
    margin: 12px 0 12px 24px;
    line-height: 2;
    color: var(--text-secondary);
}

.page-content strong {
    color: var(--text-primary);
}

/* --- Zahlen-Leiste --- */
.stats-strip {
    background: var(--anthrazit);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 26px 0;
}

/* Verschmelzungs-Zeile: liest sich wie eine kleine Formel */
.fusion-leiste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    text-align: center;
}

.fusion-teil {
    font-size: 0.98rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.fusion-teil strong {
    color: var(--eisblau-bright);
    font-weight: 600;
}

.fusion-zeichen {
    color: var(--eisblau);
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
}

.fusion-ergebnis {
    border: 1px solid var(--border-eisblau);
    background: var(--eisblau-subtle);
    color: var(--eisblau-bright);
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* --- Branchen-Abschnitt --- */
.branchen-claim {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--eisblau-bright);
    letter-spacing: 0.04em;
    font-style: italic;
}

.branchen-grid {
    margin-top: 40px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-image {
        display: none;
    }

    .hero-inner {
        margin-left: 0;
    }

    .section-divider {
        margin: 0 24px;
    }
}

/* Klapp-Menü schon bei mittlerer Breite: die zweizeilige Kopfzeile und
   der lange Menüpunkt "Apps für jede Branche" brauchen sonst zu viel Platz */
@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--anthrazit);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-md);
        /* Zu-Zustand: nach rechts geschoben UND unsichtbar — so kann das
           geparkte Menü weder auf Fotos noch in Simulationen auftauchen */
        transform: translateX(105%);
        visibility: hidden;
        transition: transform var(--transition), visibility var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Menüpunkte im Auswahlbalken mittig ausrichten */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        color: var(--text-primary) !important;
        font-size: 1.1rem;
        white-space: normal;
        display: inline-block;
    }
}

/* --- Digitale Visitenkarte im Kontakt-Bereich --- */
.kontakt-karte {
    text-align: center;
    margin-top: 48px;
}
.kontakt-karte img {
    background: #fff;
    padding: 6px;
    border-radius: 4px;
    margin: 0 auto;
}
.kontakt-karte p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.kontakt-karte a {
    color: var(--eisblau);
    text-decoration: none;
}

@media (max-width: 700px) {
    .nav-logo-area img {
        width: 80px;
        height: auto;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-brand span {
        font-size: 0.78rem;
    }

    .hero {
        min-height: auto;
        padding: 30px 0 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-claims li {
        font-size: 0.88rem;
    }

    .hero-claims li {
        flex-wrap: wrap;
    }

    .hero-claims .accent {
        white-space: nowrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .spec-table td:first-child {
        width: 110px;
        font-size: 0.72rem;
        padding-right: 16px;
    }

    .fusion-leiste {
        flex-direction: column;
        gap: 6px;
    }

    .fusion-zeichen {
        font-size: 1.1rem;
    }

    .fusion-ergebnis {
        margin-top: 6px;
    }
}
