/* ============================================================
   PundL IT — style.css
   ============================================================
   1.  Design Tokens (@property + :root Custom Properties)
   2.  Fonts (@font-face)
   3.  Reset & Base
   4.  Typography
   5.  Layout (Container, Sections, Background-Utilities, Utilities)
   6.  Buttons
   7.  Status Banner
   8.  Scroll Progress Indicator
   9.  Navbar (Desktop + Mobile)
   10. Hero
   11. Hero — Dark Variant (Leistungsseite)
   12. Rotating Word Animation
   13. Section Header & Eyebrow
   14. Services Tabs (Leistungsseite)
   15. Split Layout (Bild + Text)
   16. Pricing
   17. Process Steps (Leistungsseite)
   18. Promise (Leistungsseite)
   19. Final CTA (Leistungsseite)
   20. Teaser List (Index)
   21. Contact (Info + Formular)
   22. Footer
   23. Legal Pages (Impressum/Datenschutz)
   24. Reveal Animation System
   25. Back-to-Top
   26. Media Queries
   27. Reduced Motion
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

@property --gradient-start {
    syntax: '<color>';
    initial-value: #3B82F6;
    inherits: true;
}

@property --gradient-end {
    syntax: '<color>';
    initial-value: #6366f1;
    inherits: true;
}

:root {
    --primary: #334155;
    --primary-light: #64748B;
    --primary-hover: #1e293b;
    --secondary: #3B82F6;
    --secondary-hover: #2563eb;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-accent: #E2E8F0;
    --bg-card: #FFFFFF;
    --border-color: #CBD5E1;
    --text-main: #0F172A;
    --text-light: #334155;
    --radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-start: #3B82F6;
    --gradient-end: #6366f1;
    transition: --gradient-start 0.7s cubic-bezier(0.32, 0.72, 0, 1),
                --gradient-end 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}


/* ============================================================
   2. FONTS
   ============================================================ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/inter-medium.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-bold.woff2') format('woff2');
}
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/caveat-bold-latin-ext.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-bold-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair-display-italic-bold-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/space-grotesk-bold-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/outfit-bold-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/sora-bold-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/dm-serif-display-latin.woff2') format('woff2');
}


/* ============================================================
   3. RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}


/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
    transition: color 0.3s ease;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.large-text {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.7;
}


/* ============================================================
   5. LAYOUT
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; scroll-margin-top: 70px; }

.bg-light { background-color: var(--bg-light); }

.w-100 { width: 100%; }


/* ============================================================
   6. BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary));
    background-size: 100%;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: background 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
                box-shadow 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--gradient-start) 40%, transparent);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                color 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                box-shadow 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-secondary:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-end);
    box-shadow: 0 4px 15px -3px color-mix(in srgb, var(--gradient-start) 30%, transparent);
    transform: translateY(-2px);
}

.btn.mobile-only { display: none; }


/* ============================================================
   7. STATUS BANNER
   ============================================================ */

.status-banner {
    background-color: var(--primary-light);
    color: white;
    text-align: center;
    padding: 0.85rem;
    font-size: 1.05rem;
    margin-top: 70px;
    box-shadow: var(--shadow-sm);
}


/* ============================================================
   8. SCROLL PROGRESS INDICATOR
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--secondary), #6366f1, #8B5CF6);
    transition: none;
    will-change: transform;
    pointer-events: none;
}


/* ============================================================
   9. NAVBAR (Desktop + Mobile)
   ============================================================ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                border-color 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                backdrop-filter 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                -webkit-backdrop-filter 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.nav-content:has(.nav-trust) {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    justify-content: initial;
}

.nav-content:has(.nav-trust) > .logo { justify-self: start; }
.nav-content:has(.nav-trust) > .nav-trust { justify-self: center; }
.nav-content:has(.nav-trust) > .desktop-nav,
.nav-content:has(.nav-trust) > .nav-end,
.nav-content:has(.nav-trust) > .mobile-menu-btn { justify-self: end; }

.nav-trust {
    display: flex;
    justify-content: center;
}

.nav-trust .trust {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 50px;
    font-size: 0.8125rem;
    color: #166534;
    font-weight: 500;
    white-space: nowrap;
}

.nav-trust .trust .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: nav-trust-pulse 2s infinite;
}

@keyframes nav-trust-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.nav-trust .trust-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--primary-light);
    font-weight: 500;
    padding-left: 0.7rem;
    border-left: 1px solid var(--border-color);
    margin-left: 0.15rem;
}

.nav-trust .trust-loc svg { color: var(--secondary); }

.nav-socials {
    display: inline-flex;
    gap: 0.4rem;
    padding-left: 0.75rem;
    margin-left: 0.5rem;
    border-left: 1px solid var(--border-color);
}

.nav-social-ico {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition);
}

.nav-social-ico:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.logo span { color: var(--secondary); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.desktop-nav a:not(.btn) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.125rem;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.desktop-nav a:not(.btn):hover { color: var(--secondary); }

.desktop-nav a.active {
    color: var(--secondary);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Drei gleich lange Balken (Hamburger) */
.mobile-menu-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Offen: sauberes, mittig gekreuztes X (Abstand Mitte↔außen = 2px Balken + 6px Lücke = 8px) */
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--bg-card);
    padding: 0 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mobile-nav.active {
    max-height: 400px;
    padding: 1rem 2rem 2rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-light);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.25s; }


/* ============================================================
   10. HERO
   ============================================================ */

.hero {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-light) 100%);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
    transition: background 0.3s ease;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, opacity;
}

.hero .subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    flex-wrap: wrap;
}


/* ============================================================
   11. HERO — DARK VARIANT (Leistungsseite)
   ============================================================ */

.hero-dark {
    background: linear-gradient(160deg, #0F172A 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 10rem 0 6rem;
}

.hero-dark .hero-bg {
    display: none;
}

.hero-dark::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.hero-dark h1 {
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-dark .subtitle {
    color: var(--border-color);
    position: relative;
    z-index: 1;
}

.hero-dark .hero-actions {
    position: relative;
    z-index: 1;
}

.hero-dark .hero-features {
    color: var(--border-color);
    position: relative;
    z-index: 1;
}

.hero-dark .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hero-dark .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}


/* ============================================================
   12. ROTATING WORD ANIMATION (Apple-smooth)
   ============================================================ */

.rotating-word-wrapper {
    display: inline-block;
    position: relative;
    /* height == line-height so overflow:hidden baseline (bottom edge) lines up
       with the static text baseline; vertical-align:bottom matches the bottoms */
    vertical-align: bottom;
    overflow: hidden;
    min-width: 120px;
    height: 1.2em;
    line-height: 1.2;
    perspective: 800px;
    transition: width 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Hidden measurer: renders text off-screen to get accurate width */
.rotating-word-measurer {
    position: absolute;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
}

.rotating-word {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(70%);
    transform-origin: center bottom;
    transition: opacity 0.65s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.65s cubic-bezier(0.32, 0.72, 0, 1),
                filter 0.65s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform, opacity, filter;
    background: linear-gradient(135deg, var(--secondary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotating-word.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.rotating-word.exit {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-60%);
    transform-origin: center top;
}

/* Font variations per word */
.rotating-word[data-font="inter"],
.rotating-word-measurer[data-font="inter"] {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}
.rotating-word[data-font="playfair"],
.rotating-word-measurer[data-font="playfair"] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
}
.rotating-word[data-font="space"],
.rotating-word-measurer[data-font="space"] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}
.rotating-word[data-font="caveat"],
.rotating-word-measurer[data-font="caveat"] {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.2em;
}
.rotating-word[data-font="outfit"],
.rotating-word-measurer[data-font="outfit"] {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}
.rotating-word[data-font="sora"],
.rotating-word-measurer[data-font="sora"] {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}
.rotating-word[data-font="dm-serif"],
.rotating-word-measurer[data-font="dm-serif"] {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

/* Color variations per word (nth-child) */
.rotating-word:nth-child(1) { background: linear-gradient(135deg, #3B82F6, #6366f1); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(2) { background: linear-gradient(135deg, #8B5CF6, #EC4899); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(3) { background: linear-gradient(135deg, #10B981, #3B82F6); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(4) { background: linear-gradient(135deg, #F59E0B, #EF4444); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(5) { background: linear-gradient(135deg, #EC4899, #8B5CF6); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(6) { background: linear-gradient(135deg, #06B6D4, #3B82F6); -webkit-background-clip: text; background-clip: text; }
.rotating-word:nth-child(7) { background: linear-gradient(135deg, #14B8A6, #6366f1); -webkit-background-clip: text; background-clip: text; }


/* ============================================================
   13. SECTION HEADER & EYEBROW
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-header p { font-size: 1.25rem; }

.section-eyebrow {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}


/* ============================================================
   14. SERVICES TABS (Leistungsseite)
   ============================================================ */

.services-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 480px;
}

.services-nav {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    padding: 1rem 0;
}

.services-nav-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.75rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 500;
    font-family: inherit;
    border-left: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.services-nav-item > svg:first-child {
    flex-shrink: 0;
}

.services-nav-item .nav-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.services-nav-item:hover {
    background: rgba(59, 130, 246, 0.04);
    color: var(--primary);
}

.services-nav-item.active {
    background: var(--bg-main);
    color: var(--secondary);
    border-left-color: var(--secondary);
    font-weight: 600;
}

.services-nav-item.active .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.services-detail {
    padding: 3rem;
    position: relative;
}

.service-panel {
    display: none;
    animation: fadePanel 0.4s ease-out;
}

.service-panel.active {
    display: block;
}

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

.service-panel h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.panel-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.panel-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.panel-problems-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.panel-problems {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.panel-problems li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.5;
}

.panel-problems li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}


/* ============================================================
   15. SPLIT LAYOUT (Bild + Text)
   ============================================================ */

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.benefit-list {
    list-style: none;
    margin-top: 2.5rem;
}

.benefit-list li {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit-list strong {
    display: block;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.list-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: url('img/hero-support.jpg') center/cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.image-placeholder span {
    position: relative;
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 70%);
}


/* ============================================================
   16. PRICING
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 0;
    align-items: start;
    /* Zonen: Icon, Titel, Beschreibung, Preis, Badge, Features (dehnbar), CTA */
    grid-template-rows: auto auto auto auto auto 1fr auto;
    margin: 3rem auto 0;
    max-width: 1100px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                box-shadow 0.5s cubic-bezier(0.32, 0.72, 0, 1),
                border-color 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    /* Subgrid: gleiche Zonen aller Karten liegen auf einer Linie */
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.pricing-card.highlighted {
    background: linear-gradient(180deg, #f0f4ff 0%, var(--bg-main) 100%);
    border: 2px solid var(--secondary);
    box-shadow: 0 12px 40px -8px rgba(59, 130, 246, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.06);
    transform: none;
    z-index: 1;
}

.pricing-card.highlighted:hover {
    box-shadow: 0 20px 50px -8px rgba(59, 130, 246, 0.25),
                0 8px 20px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary) 0%, #6366f1 100%);
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--secondary);
    font-weight: bold;
}


/* ============================================================
   17. PROCESS STEPS (Leistungsseite)
   ============================================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 16.5%;
    right: 16.5%;
    height: 2px;
    background: var(--bg-accent);
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 8px var(--bg-main), var(--shadow-md);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}


/* ============================================================
   18. PROMISE (Leistungsseite)
   ============================================================ */

.promise {
    padding: 6rem 0;
    background: linear-gradient(160deg, #0F172A 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.promise::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.promise .section-eyebrow {
    color: #fff;
}

.promise h2 {
    color: #fff;
}

.promise .section-header p {
    color: var(--border-color);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.promise-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

.promise-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-3px);
}

.promise-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--border-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.pm-check {
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2px;
}


/* ============================================================
   19. FINAL CTA (Leistungsseite)
   ============================================================ */

.final-cta {
    padding: 6rem 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cta-inner p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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


/* ============================================================
   20. TEASER LIST (Index — Frage-Liste)
   ============================================================ */

.teaser-list {
    max-width: 720px;
    margin: 0 auto;
}

.teaser-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.teaser-item:last-child {
    border-bottom: none;
}

.teaser-item:hover {
    border-bottom-color: var(--secondary);
}

.teaser-item:hover .teaser-question {
    color: var(--primary-hover);
}

.teaser-item:hover .teaser-label {
    color: var(--secondary);
}

.teaser-item:hover .teaser-label svg {
    transform: translateX(4px);
}

.teaser-question {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.teaser-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.teaser-label svg {
    transition: transform 0.3s ease;
}


/* ============================================================
   21. CONTACT (Info + Formular)
   ============================================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.contact-info {
    padding: 3.5rem;
    background-color: var(--bg-light);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item h4 { color: var(--text-main); }
.contact-item p { margin: 0; }
.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}
.contact-item a:hover { text-decoration: underline; }

.contact-item-icon {
    font-size: 1.75rem;
    background: var(--bg-card);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-socials {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.contact-form-container { padding: 3.5rem 3.5rem 3.5rem 1rem; }
.contact-form h3 { margin-bottom: 2rem; color: var(--primary); }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-checkbox label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
}

.form-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 0;
    accent-color: var(--secondary);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 600;
}

.form-checkbox a:hover {
    color: var(--secondary-hover);
}

.form-success-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 8px;
    border: 1px solid #16a34a;
    text-align: center;
    font-weight: 500;
}


/* ============================================================
   22. FOOTER
   ============================================================ */

footer {
    background-color: var(--text-main);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-brand p {
    color: var(--border-color);
    font-size: 1.125rem;
    max-width: 400px;
}

.footer-links p {
    color: var(--bg-accent);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}
.footer-links a {
    color: var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--secondary); text-decoration: underline; }

.footer-social-mini { margin-top: 1rem; }
.footer-social-mini a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}
.footer-social-mini a:hover { color: var(--secondary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--primary-light);
    margin: 0;
}


/* ============================================================
   23. LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */

.legal-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legal-footer {
    background-color: var(--text-main);
    padding: 2rem 0;
    text-align: center;
}

.legal-footer p {
    color: var(--primary-light);
    margin: 0;
    font-size: 0.9rem;
}

.document-container {
    max-width: 800px;
    margin: 2rem auto 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.document-container h1 { margin-bottom: 2rem; }
.document-container h2 { font-size: 1.5rem; margin-top: 2rem; }

.document-container ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.document-container ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}


/* ============================================================
   24. REVEAL ANIMATION SYSTEM (Apple-Style)
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(4px);
    transition: opacity 1s cubic-bezier(0.32, 0.72, 0, 1),
                transform 1s cubic-bezier(0.32, 0.72, 0, 1),
                filter 1s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform, opacity, filter;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Staggered child reveals */
.reveal-children > * {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(3px);
    transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1),
                transform 0.8s cubic-bezier(0.32, 0.72, 0, 1),
                filter 0.8s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform, opacity, filter;
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.reveal-children.visible > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }

/* Legacy fallback (still used in markup + script.js) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   25. BACK-TO-TOP
   ============================================================ */

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
}

.btt-line {
    width: 28px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 1px;
    transition: var(--transition);
}


/* ============================================================
   26. MEDIA QUERIES
   ============================================================ */

@media (max-width: 1100px) {
    .nav-trust { display: none; }
    .nav-socials { display: none; }
}

@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; gap: 4rem; }
    .split-layout .split-image { order: 0 !important; }
    .split-layout .split-text { order: 0 !important; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 0; }
    .contact-form-container { padding: 2rem; border-top: 1px solid var(--border-color); }
    .contact-info { padding: 2rem; }
    .pricing-card.highlighted { transform: none; }
    .pricing-card.highlighted:hover { transform: translateY(-5px); }
    /* Einspaltig: Subgrid auflösen, Karten als Flex-Spalten stapeln */
    .pricing-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2rem; }
    .pricing-card { display: flex; flex-direction: column; grid-row: auto; }
    .process-steps { grid-template-columns: 1fr; gap: 3rem; }
    .process-steps::before { display: none; }
    .promise-grid { grid-template-columns: 1fr; }
    .services-layout { grid-template-columns: 1fr; min-height: auto; }
    .services-nav { border-right: none; border-bottom: 1px solid var(--border-color); flex-direction: row; overflow-x: auto; padding: 0; -webkit-overflow-scrolling: touch; }
    .services-nav-item { flex-direction: column; padding: 1rem 1.25rem; border-left: none; border-bottom: 3px solid transparent; min-width: 110px; text-align: center; font-size: 0.85rem; gap: 0.4rem; }
    .services-nav-item.active { border-left-color: transparent; border-bottom-color: var(--secondary); }
    .services-nav-item .nav-arrow { display: none; }
    .services-detail { padding: 2rem 1.5rem; }
    .service-panel h3 { font-size: 1.5rem; }
    .panel-desc { font-size: 1rem; }
}

@media (max-width: 768px) {
    .btn.mobile-only { display: inline-flex; }
    html { font-size: 15px; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-trust { display: none; }
    .hero { padding: 4rem 0 6rem; }
    .hero-dark { padding: 8rem 0 4rem; }
    .hero-actions { flex-direction: column; gap: 1rem; }
    .hero-features { flex-direction: column; gap: 1rem; }
    .footer-content { grid-template-columns: 1fr; }
    .scroll-progress { height: 2px; }
    .section { padding: 4rem 0; }
    .cta-actions { flex-direction: column; align-items: center; }
    .teaser-item { flex-direction: column; align-items: flex-start; gap: 0.4rem; padding: 1rem 0; }
    .teaser-question { font-size: 1rem; }
    .document-container { padding: 1.5rem; margin: 1.5rem auto 3rem; }
    .document-container h1 { font-size: 1.75rem; }
    .document-container h2 { font-size: 1.25rem; margin-top: 1.5rem; }
    .document-container h3 { font-size: 1.1rem; }
    .legal-header .btn { font-size: 0.9rem; padding: 0.5rem 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .document-container { padding: 1.25rem; margin: 1rem auto 2rem; border-radius: 8px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 2rem 1.5rem; }
    .image-placeholder span { font-size: 1.35rem; }
    .contact-info { padding: 1.5rem; }
    .contact-form-container { padding: 1.5rem; }
    .contact-item-icon { width: 40px; height: 40px; font-size: 1.4rem; }
}


/* ============================================================
   27. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-children > *,
    .rotating-word {
        transition-duration: 0.01s !important;
        filter: none !important;
    }
    .hero-content {
        will-change: auto !important;
    }
}

/* ============================================
   Pricing Card — Status Pill (z.B. Anfahrt inkl.)
   ============================================ */
.price-pill-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.price-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.price-pill-success {
  background: #BBF7D0;
  color: #166534;
  border: 1px solid #86EFAC;
}

.price-pill-success .price-pill-dot {
  background: #16A34A;
}


/* ============================================================
   28. MOBILE FOUNDATION (Touch defaults + Helpers)
   ============================================================
   Additive layer. Desktop rules above stay untouched.
   ============================================================ */

* { -webkit-tap-highlight-color: transparent; }

body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}


/* ============================================================
   29. TABLET / LARGE MOBILE (max-width: 991px)
   ============================================================
   Catches 769–991px range that previously fell into desktop.
   Touch-friendly sizing, no hover-stick.
   ============================================================ */

@media (max-width: 991px) {
    .nav-trust { display: none; }
    .nav-socials { display: none; }

    /* Touch targets */
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }

    .nav-social-ico {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }

    .teaser-item {
        min-height: 56px;
    }

    /* Section spacing tightened */
    .section {
        padding: 5rem 0;
    }
}


/* ============================================================
   30. TOUCH-DEVICE HOVER RESET
   ============================================================
   On touch-primary devices, replace hover with active feedback.
   Prevents sticky-hover on tap.
   ============================================================ */

@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .btn-primary:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .btn-secondary:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .pricing-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
        border-color: var(--border-color);
    }

    .pricing-card.highlighted:hover {
        transform: scale(1);
        box-shadow: 0 12px 40px -8px rgba(59, 130, 246, 0.2),
                    0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .promise-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .teaser-item:active {
        background: rgba(59, 130, 246, 0.04);
    }

    #back-to-top:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .nav-social-ico:hover {
        color: var(--primary-light);
        border-color: var(--border-color);
    }

    .desktop-nav a:not(.btn):hover {
        color: var(--text-main);
    }

    .social-btn:hover {
        background: var(--bg-card);
        color: var(--primary);
        border-color: var(--border-color);
    }

    .footer-links a:hover {
        color: var(--border-color);
        text-decoration: none;
    }
}


/* ============================================================
   31. MOBILE DRAWER (max-width: 768px)
   ============================================================
   Full-height slide-in drawer with backdrop.
   Replaces the max-height accordion behavior on phones.
   Uses 100dvh for Samsung Internet / iOS adressbar.
   ============================================================ */

@media (max-width: 768px) {
    .mobile-nav {
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(100dvh - 70px);
        max-height: none;
        padding: 0 1.5rem;
        background: var(--bg-card);
        border-bottom: none;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
        overflow: hidden auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        will-change: transform;
        display: flex;
        flex-direction: column;
        gap: 0;
        z-index: 999;
    }

    .mobile-nav.active {
        transform: translateX(0);
        padding: 2rem 1.5rem 2.5rem;
        max-height: none;
    }

    .mobile-nav a {
        font-size: 1.35rem;
        padding: 1rem 0;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--bg-light);
    }

    .mobile-nav-backdrop {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 998;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }

}


/* ============================================================
   32. MOBILE LAYOUT REFINEMENTS
   ============================================================
   Hero, forms, services, pricing, contact, footer fine-tuning.
   ============================================================ */

@media (max-width: 768px) {
    /* Hero buttons full-width consistency */
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    .cta-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Form inputs: 16px prevents iOS auto-zoom on focus */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.9rem 1rem;
        min-height: 48px;
    }
    .form-group textarea {
        min-height: 120px;
    }
    .form-checkbox input[type="checkbox"] {
        width: 28px;
        height: 28px;
    }

    /* Button touch sizing */
    .btn {
        min-height: 48px;
        padding: 0.85rem 1.5rem;
    }

    /* Footer spacing trimmed */
    footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-content {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    /* Contact item icons touch-friendly */
    .contact-item-icon {
        min-width: 48px;
        min-height: 48px;
    }

    .social-btn {
        min-height: 44px;
        padding: 0.6rem 1.1rem;
    }

    /* Back-to-top moved up to avoid mobile UI */
    #back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
    }

    /* Services tab nav: extra touch padding */
    .services-nav-item {
        min-height: 60px;
    }

    /* Pricing card: tighter inner spacing */
    .pricing-card {
        padding: 2.25rem 1.5rem;
    }

    /* Legal pages: legal-header wraps cleanly */
    .legal-header {
        flex-wrap: wrap;
    }

    /* Rotating word: own line below "Wir kümmern uns um", centered, full width.
       width:100% !important overrides the px width JS sets inline via the measurer. */
    .rotating-word-wrapper {
        display: block;
        width: 100% !important;
        min-width: 0;
        text-align: center;
        margin-top: 0.15em;
    }
    /* Absolute words stretch full width (left+right:0) and center their text,
       so no word breaks mid-word; transform-Y animation stays intact. */
    .rotating-word {
        left: 0;
        right: 0;
        text-align: center;
        white-space: nowrap;
    }
}


@media (max-width: 480px) {
    /* Hero subtitle balanced */
    .hero .subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    /* Reduce hero padding further */
    .hero { padding: 3rem 0 4.5rem; }
    .hero-dark { padding: 7rem 0 3rem; }

    /* Image overlay text smaller */
    .image-placeholder { padding: 1.5rem; }

    /* Section header bottom margin */
    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Rotating word: lighter blur on small screens to ease GPU */
    .rotating-word {
        filter: blur(4px);
    }
    .rotating-word.exit {
        filter: blur(3px);
    }

    /* Form padding tighter */
    .contact-form-container,
    .contact-info {
        padding: 1.5rem 1.25rem !important;
    }

    /* Footer brand image smaller */
    .footer-brand .logo img {
        height: 42px !important;
    }
}


/* ============================================================
   33. UNIVERSAL TOUCH FEEDBACK + ACCESSIBILITY POLISH
   ============================================================ */

/* Visible keyboard focus rings — does not change touch behavior */
.btn:focus-visible,
.mobile-menu-btn:focus-visible,
.services-nav-item:focus-visible,
.nav-social-ico:focus-visible,
.social-btn:focus-visible,
.teaser-item:focus-visible,
#back-to-top:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

/* Form fields keep their dedicated focus style — add for legacy/Firefox */
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 1px;
}


/* ============================================================
   34. NAVBAR PHONE CTA  (Punkt 1 — sichtbar mobil + desktop)
   ============================================================ */

/* Right-side cluster: phone + (desktop-nav | hamburger) */
.nav-end {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Schlichter Inline-Text-Link — kein Pill, kein Hintergrund, kein Border */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-phone svg { flex-shrink: 0; stroke: var(--secondary); transition: stroke 0.3s ease; }

.nav-phone:hover { color: var(--secondary-hover); }

.nav-phone:hover svg { stroke: var(--secondary-hover); }

/* Phone in the minimal legal-page header */
.legal-header { display: flex; align-items: center; gap: 1rem; }

/* Keep nav links on one line so the phone link fits beside them */
.desktop-nav a { white-space: nowrap; }

/* Icon-only phone: tablet band (full nav still shown, tight) + tiny phones.
   Full number stays on desktop (>=992px) and on the mobile drawer view (<=768px). */
@media (min-width: 769px) and (max-width: 991px) {
    .nav-phone .nav-phone-label { display: none; }
}
@media (max-width: 400px) {
    .nav-phone .nav-phone-label { display: none; }
}

/* The single filled navbar button: stays on one line, hides on mobile (drawer) */
.nav-cta { white-space: nowrap; }

@media (max-width: 768px) {
    .nav-cta { display: none; }
}


/* ============================================================
   35. HERO PHONE TEXT-LINK + STABLE-H1 ROTATING TAGLINE
   ============================================================ */

/* Dezenter Telefon-Textlink unter den Hero-Buttons (kein Button-Styling) */
.hero-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.hero-phone-link svg { flex-shrink: 0; stroke: var(--secondary); }

.hero-phone-link a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-phone-link a:hover { color: var(--secondary-hover); text-decoration: underline; }

/* Rotating line decoupled from H1 (leistungen.html) */
.hero-rotating-tagline {
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0.25rem 0 1.25rem;
    position: relative;
    z-index: 1;
}


/* ============================================================
   36. EINSATZGEBIET — Band mit integrierter Karte (2 Spalten)
   ============================================================ */

.einsatzgebiet-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Karte ohne Card-Optik, integriert ins Band */
.einsatzgebiet-map img {
    width: 100%;
    height: auto;
    display: block;
}

.einsatzgebiet-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

/* Legende */
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.legend-item svg { flex-shrink: 0; }

.legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #C7DDFB;
    border: 1px solid #93C5FD;
    flex-shrink: 0;
}

/* Orte als gruppierter Text-Block (SEO + A11y) */
.einsatzgebiet-orte { margin: 0.5rem 0 1.25rem; }
.orte-lead { font-size: 1.05rem; color: var(--text-main); margin-bottom: 1rem; }
.orte-gruppe { color: var(--text-light); line-height: 1.6; margin-bottom: 0.9rem; }
.orte-gruppe:last-child { margin-bottom: 0; }
.orte-label {
    display: block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent, var(--secondary)); margin-bottom: 0.2rem;
}

.area-note {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Unter 900px: einspaltig stapeln — erst Karte, dann Info */
@media (max-width: 900px) {
    .einsatzgebiet-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* ============================================================
   37. PRICING — Fernwartung-Pill (Punkt 6, blau)
   ============================================================ */

.price-pill-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #93C5FD;
}

.price-pill-info .price-pill-dot { background: #2563EB; }


/* ============================================================
   38. FAQ — Accordion  (Punkt 8)
   ============================================================ */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    color: var(--secondary);
}

.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

.faq-item .faq-answer {
    padding: 0 1.5rem 1.4rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
    border-radius: var(--radius);
}


/* ============================================================
   39. FOOTER NAP  (Punkt 3 — Local-SEO Standort)
   ============================================================ */

.footer-nap {
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--primary-light);
    line-height: 1.6;
}

.legal-footer .footer-nap { margin-top: 0.5rem; }
