/* ══════════════════════════════════════════════
   nova-it.io – Dark Tech Aesthetic
   Farben: Deep Dark + Electric Blue (#3b82f6)
   Font: Outfit (Display) + Source Code Pro (Mono)
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Source+Code+Pro:wght@400;500;600&display=swap');

/* ── Custom Properties ── */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1520;
    --bg-card: #131a27;
    --bg-card-hover: #172033;
    --border: #1e2a3a;
    --border-hover: #2a3a52;
    --text-primary: #e2e8f0;
    --text-secondary: #8494a7;
    --text-muted: #4a5568;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-glow-strong: rgba(59, 130, 246, 0.25);
    --accent-subtle: rgba(59, 130, 246, 0.08);
    --success: #34d399;
    --error: #f87171;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Source Code Pro', monospace;
    --font-handwritten: 'Caveat', cursive;
    --radius: 6px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Mode ── */
[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ebeef3;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f7;
    --border: #d8dde6;
    --border-hover: #b8c1cf;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.12);
    --accent-glow-strong: rgba(37, 99, 235, 0.18);
    --accent-subtle: rgba(37, 99, 235, 0.06);
    --success: #059669;
    --error: #dc2626;
}

/* Light Mode – Overrides für hardcoded Farben */
[data-theme="light"] .hero h1,
[data-theme="light"] .hero h1 .accent,
[data-theme="light"] .section-title,
[data-theme="light"] .page-header h1,
[data-theme="light"] .cta-inner h2,
[data-theme="light"] .ls-content h2,
[data-theme="light"] .docs-content-header h2 {
    color: var(--text-primary);
}

[data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .cookie-service {
    background: var(--bg-secondary);
}

[data-theme="light"] .cookie-switch input:checked + .cookie-slider::after {
    background: #fff;
}

/* Light Mode – Mobile Nav */
@media (max-width: 768px) {
    [data-theme="light"] nav .nav-links {
        background: rgba(245, 247, 250, 0.97);
    }
}

/* Light Mode – Selection */
[data-theme="light"] ::selection {
    background: var(--accent);
    color: #ffffff;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    color: #f1f5f9;
    flex-shrink: 0;
    margin-left: 0.8rem;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

/* Light Mode – dunkler Button */
[data-theme="light"] .theme-toggle {
    background: rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.3);
    color: #1e293b;
    box-shadow: 0 0 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(15, 23, 42, 0.22);
    border-color: rgba(15, 23, 42, 0.5);
    color: #0f172a;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(15, 23, 42, 0.15);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

/* Icon-Wechsel: Dark Mode zeigt Sonne, Light Mode zeigt Mond */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ── Reset ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

/* Buttons behalten immer weiße Schrift */
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
    color: #ffffff;
}

::selection {
    background: var(--accent);
    color: #ffffff;
}


/* ══════════════════════════════════════════════
   Navigation – Floating, minimal
   ══════════════════════════════════════════════ */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

[data-theme="light"] nav {
    background: rgba(245, 247, 250, 0.88);
}

nav .logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav .logo:hover {
    text-decoration: none;
}

nav .logo .logo-mark {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

nav .nav-links {
    display: flex;
    gap: 0.3rem;
    list-style: none;
}

nav .nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    transition: all var(--transition);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

nav .nav-links a:hover {
    color: var(--text-primary);
    background: var(--accent-subtle);
    text-decoration: none;
}

nav .nav-links a.active {
    color: var(--accent);
    background: var(--accent-subtle);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background-color: var(--accent);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ══════════════════════════════════════════════
   Hero (Startseite) – Asymmetrisch, mit Glow
   ══════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 2.5rem;
    overflow: hidden;
}

/* Particle Canvas – füllt den gesamten Hero */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

/* Ambient glow hinter dem Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--accent), var(--border), transparent);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero-content a,
.hero-content button {
    pointer-events: auto;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    color: #ffffff;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
    font-family: var(--font-display);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card);
    text-decoration: none;
}


/* ══════════════════════════════════════════════
   Page Header (Unterseiten) – mit linker Linie
   ══════════════════════════════════════════════ */

.page-header {
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.page-header-divider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.page-header-divider hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--border), transparent);
}


/* ══════════════════════════════════════════════
   Content (Unterseiten)
   ══════════════════════════════════════════════ */

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2.5rem 5rem 2.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.3px;
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
}

.content ul {
    margin: 0.8rem 0 1.2rem 1.2rem;
}

.content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
}

.content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Info-Block ── */
.content .info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1rem 0 1.5rem 0;
}

.content .info-block p {
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

/* ── Highlight-Box / Disclaimer ── */
.content .highlight-box,
.content .disclaimer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--text-muted);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1rem 0 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.93rem;
}


/* ══════════════════════════════════════════════
   Sections (Startseite)
   ══════════════════════════════════════════════ */

.section {
    padding: 5rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.8px;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.section-center {
    text-align: center;
}

.section-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 0 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* ══════════════════════════════════════════════
   Service Cards – Grid mit Hover-Glow
   ══════════════════════════════════════════════ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.service-cell {
    background: var(--bg-card);
    padding: 2rem 1.8rem;
    transition: all var(--transition);
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.service-cell:hover {
    background: var(--bg-card-hover);
}

.service-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-cell:hover::before {
    transform: scaleX(1);
}

.service-cell-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent-subtle);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.service-cell h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.service-cell p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Teaser-Variante (Startseite) ── */
.service-grid-teaser .service-cell {
    padding: 1.5rem 1.2rem;
    text-align: center;
}

.service-grid-teaser .service-cell-icon {
    margin: 0 auto 0.8rem auto;
}

.service-grid-teaser .service-cell h3 {
    font-size: 0.92rem;
    margin-bottom: 0;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ── Detail-Karten (Leistungen-Seite) ── */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.08s);
}

.detail-card:nth-child(1) { --i: 0; }
.detail-card:nth-child(2) { --i: 1; }
.detail-card:nth-child(3) { --i: 2; }
.detail-card:nth-child(4) { --i: 3; }
.detail-card:nth-child(5) { --i: 4; }
.detail-card:nth-child(6) { --i: 5; }

.detail-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.detail-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
}

.detail-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ══════════════════════════════════════════════
   Tools-Seite – Übersicht
   ══════════════════════════════════════════════ */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--transition);
    text-decoration: none;
}

.tool-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(11, 30, 51, 0.2);
    text-decoration: none;
}

.tool-card-coming {
    opacity: 0.5;
    pointer-events: none;
}

.tool-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    color: var(--accent);
}

.tool-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.tool-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.tool-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    font-family: var(--font-mono);
}

.tool-card-link-muted {
    color: var(--text-muted);
}


/* ══════════════════════════════════════════════
   CTA-Banner – Glasmorphism-Style
   ══════════════════════════════════════════════ */

.cta-section {
    padding: 5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3.5rem 3rem;
}

.cta-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-inner p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════════════
   Über-Mich Karte
   ══════════════════════════════════════════════ */

.about-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.about-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border);
}

.about-card-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.about-card-text p:last-child {
    margin-bottom: 0;
}


/* ══════════════════════════════════════════════
   Zitat-Karte
   ══════════════════════════════════════════════ */

.quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 3rem 0 1rem 0;
    position: relative;
}

.quote-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.quote-card .quote-text {
    font-size: 1.08rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    padding-top: 1rem;
    position: relative;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0.5rem;
}

.quote-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.quote-author-info {
    display: flex;
    flex-direction: column;
}

.quote-author-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.quote-author-title {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.78rem;
}


/* ══════════════════════════════════════════════
   Social Links
   ══════════════════════════════════════════════ */

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.social-cell {
    background: var(--bg-card);
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all var(--transition);
    display: block;
}

.social-cell:hover {
    background: var(--bg-card-hover);
    text-decoration: none;
}

.social-cell img {
    width: 32px;
    height: 32px;
    margin-bottom: 0.6rem;
    opacity: 0.5;
    transition: opacity var(--transition);
    filter: brightness(0) invert(0.55);
}

.social-cell:hover img {
    opacity: 1;
    filter: brightness(0) invert(0.45) sepia(1) saturate(5) hue-rotate(195deg);
}

.social-cell h3 {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color var(--transition);
}

.social-cell:hover h3 {
    color: var(--text-primary);
}


/* ══════════════════════════════════════════════
   Fernwartung / Support Card
   ══════════════════════════════════════════════ */

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: border-color var(--transition);
}

.support-card:hover {
    border-color: var(--border-hover);
}

.support-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
}

.support-card-content {
    flex: 1;
}

.support-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.support-card-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-card-btn {
    padding: 0.7rem 1.8rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-display);
}

.support-card-btn:hover {
    background: var(--accent-hover);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

@media (max-width: 768px) {
    .support-card {
        flex-direction: column;
        text-align: center;
    }
}


/* ══════════════════════════════════════════════
   Kontakt-Formular
   ══════════════════════════════════════════════ */

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    font-family: var(--font-display);
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

form input:focus,
form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

form textarea {
    min-height: 140px;
    resize: vertical;
}

.captcha-wrapper {
    text-align: center;
    margin-top: 0.5rem;
}

.captcha-wrapper p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.btn-senden {
    display: block;
    margin: 1.5rem auto 0 auto;
    padding: 0.85rem 3rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-display);
}

.btn-senden:hover {
    background: var(--accent-hover);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
    transform: translateY(-1px);
}

.success-message {
    display: none;
    text-align: center;
    padding: 1.2rem;
    background: rgba(52, 211, 153, 0.08);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius);
    margin-top: 1rem;
    font-weight: 500;
}

.error-message {
    display: none;
    text-align: center;
    padding: 1rem;
    background: rgba(248, 113, 113, 0.08);
    color: var(--error);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: var(--radius);
    margin-top: 1rem;
    font-weight: 500;
}

.kontakt-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.kontakt-info p {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.kontakt-info strong {
    color: var(--text-primary);
}


/* ══════════════════════════════════════════════
   TeamViewer Banner (über Footer, rechts)
   ══════════════════════════════════════════════ */

.tv-banner {
    width: 100%;
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    display: flex;
    justify-content: flex-end;
}

.tv-banner a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition);
}

.tv-banner a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.tv-banner img {
    width: 28px;
    height: 28px;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.tv-banner a:hover img {
    opacity: 1;
}

@media (max-width: 768px) {
    .tv-banner {
        padding: 1rem 1.5rem;
    }
}


/* ══════════════════════════════════════════════
   Footer – Minimal
   ══════════════════════════════════════════════ */

footer {
    text-align: center;
    padding: 2rem 2.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

footer a:hover {
    color: var(--accent);
}


/* ══════════════════════════════════════════════
   Animations
   ══════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label { animation-delay: 0s; }

.service-cell, .social-cell {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.08s);
    opacity: 0;
}


/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    nav {
        padding: 0 1.5rem;
    }

    nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(16px);
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        gap: 0.2rem;
        border-bottom: 1px solid var(--border);
    }

    [data-theme="light"] nav .nav-links {
        background: rgba(245, 247, 250, 0.97);
    }

    nav .logo {
        margin-right: auto;
    }

    .theme-toggle {
        margin-left: 0;
        margin-right: 0.6rem;
    }

    nav .nav-links.open {
        display: flex;
    }

    nav .nav-links li {
        padding: 0;
    }

    nav .nav-links a {
        display: block;
        padding: 0.65rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .page-header::before {
        left: 1.5rem;
        top: 2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .content {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-grid-teaser {
        grid-template-columns: 1fr;
    }

    .service-grid-teaser .service-cell {
        padding: 1.2rem 1rem;
    }

    .service-grid-teaser .service-cell p {
        display: block;
        font-size: 0.82rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        flex-direction: column;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .about-card img {
        width: 150px;
        height: 150px;
    }

    .quote-card {
        padding: 2rem 1.5rem;
    }

    .quote-card .quote-text {
        padding-left: 1.5rem;
    }

    .cta-inner {
        padding: 2.5rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    footer {
        padding-bottom: 4.5rem;
    }
}

/* ── Extra Small Screens ── */
@media (max-width: 480px) {
    .service-grid-teaser {
        grid-template-columns: 1fr;
    }

    .service-grid-teaser .service-cell {
        padding: 1.2rem 1rem;
    }

    .service-grid-teaser .service-cell p {
        display: block;
        font-size: 0.82rem;
    }

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

    .section-title {
        font-size: 1.4rem;
    }
}


/* ══════════════════════════════════════════════
   Cookie Banner
   ══════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 2rem));
    z-index: 9999;
    background: rgba(15, 21, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem 1.2rem 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    overflow-y: auto;
    width: 94%;
    max-width: 560px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
}


.cookie-banner-inner {
    max-width: 100%;
}

/* Header */
.cookie-header { margin-bottom: 1rem; }

.cookie-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.cookie-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Categories (immer sichtbar) */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.cookie-category {
    background: var(--bg-card);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    gap: 1rem;
}

.cookie-category-info { flex: 1; }

.cookie-category-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.cookie-category-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 0.15rem;
}

/* Collapsible Details (Cookie-Infos) */
.cookie-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-details.open {
    max-height: 300px;
}

.cookie-details-inner {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}

/* Services (innerhalb Details) */
.cookie-service {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
}

.cookie-service-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
}

.cookie-service-info {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-switch input { display: none; }

.cookie-slider {
    width: 40px;
    height: 22px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 11px;
    position: relative;
    transition: all 0.25s;
}

.cookie-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.25s;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--accent);
    border-color: var(--accent);
}

.cookie-switch input:checked + .cookie-slider::after {
    left: 20px;
    background: #fff;
}

.cookie-switch-locked { cursor: default; opacity: 0.7; }

/* Actions */
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-actions .cookie-btn-details {
    margin-right: auto;
}

.cookie-actions-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.cookie-btn-save {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-btn-save:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 0.55rem 0.8rem;
}

.cookie-btn-decline:hover {
    color: var(--text-secondary);
}

.cookie-btn-details {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 0.75rem;
    padding: 0.55rem 0.4rem;
}

.cookie-btn-details:hover {
    color: var(--text-secondary);
}

/* Cookie Toggle Button (links unten) */
.cookie-toggle {
    position: fixed;
    bottom: 1.5rem;
    left: 1.2rem;
    z-index: 9998;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.cookie-toggle.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .cookie-toggle {
    background: rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.3);
    color: #1e293b;
    box-shadow: 0 0 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .cookie-toggle:hover {
    background: rgba(15, 23, 42, 0.22);
    border-color: rgba(15, 23, 42, 0.5);
    color: #0f172a;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(15, 23, 42, 0.15);
}

.cookie-toggle svg {
    transition: transform 0.3s ease;
}

.cookie-toggle:hover svg {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.2rem 1.2rem;
        bottom: 1rem;
        width: calc(100% - 1.5rem);
        border-radius: 10px;
    }

    .cookie-category-header {
        gap: 0.8rem;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions .cookie-btn-details {
        margin-right: 0;
    }

    .cookie-actions-right {
        flex-direction: column;
    }

    .cookie-actions-right .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-toggle {
        bottom: 1.2rem;
        left: 1rem;
        width: 40px;
        height: 40px;
    }
}
