/* ============================================================
   KAROSSERIE SCHILD · CLEAN AUTOMOTIVE
   Inspired by Motorium + Городок 111 reference
   Sans-Serif only · Blue accents · Soft animations
   ============================================================ */

:root {
    --bg: #ffffff;
    --bg-soft: #f6f5f2;
    --bg-card: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-dark-2: #121212;
    --bg-dark-3: #1a1a1a;
    --ink: #0a0a0a;
    --ink-soft: #2a2a2a;
    --muted: #6b6b6b;
    --muted-soft: #9a9a9a;
    --line: #e7e3da;
    --line-dark: rgba(255, 255, 255, 0.1);
    --accent: #0040A8;
    --accent-bright: #1c5cd6;
    --accent-glow: rgba(0, 64, 168, 0.4);
    --container: 1320px;
    --pad-x: clamp(20px, 5vw, 64px);
    --section-pad: clamp(70px, 10vw, 140px);
    --radius: 16px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
strong, b { font-weight: 700; }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    will-change: transform;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

body.cursor-hover .cursor-ring {
    width: 64px;
    height: 64px;
    background: rgba(0, 64, 168, 0.08);
    opacity: 1;
}

body.cursor-hover .cursor-dot {
    width: 4px;
    height: 4px;
}

@media (max-width: 900px), (hover: none) {
    .cursor { display: none; }
}

/* ============================================================
   PRELOADER
   ============================================================ */

.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    width: min(70vw, 420px);
}

.preloader-logo {
    height: clamp(46px, 6vw, 70px);
    margin: 0 auto 28px;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.6s 0.15s forwards;
}

.preloader-bar {
    width: 100%;
    height: 2px;
    background: var(--line);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.6s 0.3s forwards;
}

.preloader-bar span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: progressBar 1.4s 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes progressBar { to { width: 100%; } }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 22px 6px 6px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 0;
    transition:
        background 0.4s ease,
        top 0.4s ease,
        padding 0.4s ease,
        box-shadow 0.4s ease,
        border-radius 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0);
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    padding: 8px 22px;
    background: #0040A8;
    border-radius: 0;
    transition:
        transform 0.4s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-radius 0.5s cubic-bezier(0.65, 0, 0.35, 1),
        padding 0.4s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0, 64, 168, 0.18);
}

/* Brand bleibt im Scroll-Zustand ebenfalls eckig */

.brand:hover {
    transform: scale(0.97);
    background: #1c5cd6;
}

.brand-logo {
    height: 102px;
    width: auto;
    display: block;
    transition: height 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.site-header.scrolled .brand-logo {
    height: 58px;
}

/* Header behält ungescrollte Größe — nur border-radius animiert */

.site-nav { display: none; }

.site-nav ul {
    display: flex;
    gap: 6px;
}

.site-nav a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 64, 168, 0.08);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.site-nav a:hover {
    background: rgba(0, 64, 168, 0.18);
    color: var(--accent);
}

.site-nav a.is-active {
    background: var(--accent);
    color: #fff;
}

.site-nav a.is-active:hover {
    background: var(--accent-bright);
    color: #fff;
}

.header-cta {
    display: none;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 11px 22px;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.header-cta:hover { background: var(--accent); }

.header-cta i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.header-cta:hover i { transform: translateX(4px); }

.burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 0;
}

.burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s ease;
}

.burger.is-active span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); background: #fff; }
.burger.is-active span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); background: #fff; }

@media (min-width: 1000px) {
    .site-nav { display: block; }
    .header-cta { display: inline-flex; }
    .burger { display: none; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    color: #fff;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: var(--pad-x);
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li { overflow: hidden; }

.mobile-menu a {
    display: inline-block;
    font-weight: 600;
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.5;
    color: #fff;
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), color 0.3s ease;
}

.mobile-menu.is-open a { transform: translateY(0); }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.08s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.14s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.20s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.26s; }

.mobile-menu a:hover { color: var(--accent-bright); }

.mobile-meta {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-meta a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s ease; }
.mobile-meta a:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: clamp(580px, 90vh, 820px);
    margin: 110px 16px 0;
    border-radius: 0 0 clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1.05);
    transition: transform 8s ease;
}

body.is-loaded .hero-img { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.55) 50%, rgba(10, 10, 10, 0.3) 100%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 64, 168, 0.3), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 70px);
    min-height: clamp(580px, 90vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1100px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    width: fit-content;
    margin-bottom: 28px;
}

.eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4.4vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 0 0 28px;
    color: #fff;
}

.hero-title b {
    color: var(--accent-bright);
    font-weight: 800;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding: 0.04em 0;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

body.is-loaded .hero-title .line:nth-child(1) .word { transform: translateY(0); transition-delay: 0.15s; }
body.is-loaded .hero-title .line:nth-child(2) .word { transform: translateY(0); transition-delay: 0.25s; }
body.is-loaded .hero-title .line:nth-child(3) .word { transform: translateY(0); transition-delay: 0.35s; }

.hero-sub {
    max-width: 560px;
    margin: 0 0 36px;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.55s, transform 0.8s ease 0.55s;
}

body.is-loaded .hero-sub {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

body.is-loaded .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-corner {
    position: absolute;
    bottom: clamp(28px, 4vw, 60px);
    right: clamp(28px, 4vw, 60px);
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s;
}

body.is-loaded .hero-corner { opacity: 1; transform: translateY(0); }

.hero-phone {
    display: none;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 999px;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-phone:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-phone > i {
    font-size: 16px;
    color: var(--accent-bright);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-phone div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hp-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.hp-num {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
}

@media (min-width: 800px) {
    .hero-phone { display: inline-flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
    will-change: transform;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-bright);
}

.btn-primary i {
    font-size: 11px;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-primary:hover i { transform: translateX(4px); }

.btn-primary.big,
.btn-secondary.big {
    padding: 18px 32px;
    font-size: 15px;
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* Within dark hero override */
.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head:not(.section-head--left) {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    position: relative;
    padding-left: 22px;
}

.kicker::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1.5px;
    background: var(--accent);
}

.kicker.light { color: var(--accent-bright); }
.kicker.light::before { background: var(--accent-bright); }

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    color: var(--ink);
}

.section-title b {
    color: var(--accent);
    font-weight: 700;
}

.section-title.light { color: #fff; }
.section-title.light b { color: var(--accent-bright); }

.section-sub {
    font-size: clamp(15px, 1.15vw, 17px);
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.section-sub.light { color: rgba(255, 255, 255, 0.65); }

/* ============================================================
   BENEFITS
   ============================================================ */

.benefits {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.benefit-item {
    background: #fff;
    padding: 36px 30px;
    text-align: center;
    transition: background 0.4s ease, transform 0.4s ease;
    position: relative;
}

.benefit-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.benefit-item:hover::before { width: 100%; }
.benefit-item:hover { background: var(--bg-soft); }

.benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    background: rgba(0, 64, 168, 0.08);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    transition: background 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

.benefit-item h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    color: var(--ink);
}

.benefit-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

@media (min-width: 600px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   SERVICES (DARK SECTION)
   ============================================================ */

.services {
    padding: var(--section-pad) 0;
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 64, 168, 0.18), transparent 60%);
    pointer-events: none;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    position: relative;
}

.service-card {
    background: var(--bg-dark-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s ease, background 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 64, 168, 0.4);
    background: var(--bg-dark-3);
}

.sc-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-dark-3);
}

.sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    filter: brightness(0.9) saturate(1.05);
}

.service-card:hover .sc-image img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.1);
}

.sc-num {
    position: absolute;
    top: 22px;
    left: 22px;
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.sc-body {
    padding: 32px 30px;
}

.sc-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.sc-body h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: #fff;
}

.sc-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-bright);
    background: rgba(28, 92, 214, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.sc-body p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 22px;
}

.sc-list {
    border-top: 1px solid var(--line-dark);
    padding-top: 4px;
}

.sc-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.sc-list li::before {
    content: '+';
    color: var(--accent-bright);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

.sc-list li:hover {
    color: #fff;
    padding-left: 6px;
}

.sc-list li:last-child { border-bottom: none; }

@media (min-width: 800px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SPECIALTY / DELLE
   ============================================================ */

.specialty {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.specialty-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.specialty-image {
    position: relative;
    aspect-ratio: 5/4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-dark-3);
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.specialty-image:hover img { transform: scale(1.06); }

.specialty-corners span {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--accent-bright);
    pointer-events: none;
}

.specialty-corners span:nth-child(1) { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.specialty-corners span:nth-child(2) { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.specialty-corners span:nth-child(3) { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.specialty-corners span:nth-child(4) { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.specialty-text p {
    font-size: clamp(15px, 1.15vw, 17px);
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 540px;
}

.check-list {
    margin-bottom: 36px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--ink-soft);
    font-weight: 500;
}

.check-list li i {
    width: 26px;
    height: 26px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .specialty-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: clamp(15px, 1.15vw, 17px);
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 580px;
}

.about-text p b {
    color: var(--ink);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    display: block;
}

.stat-num,
.stat-suffix {
    display: inline-block;
    vertical-align: baseline;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-num {
    color: var(--ink);
}

.stat-suffix {
    color: var(--accent);
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.about-image {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-dark);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.about-image:hover img { transform: scale(1.06); }

.about-image-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.about-image-tag i {
    color: var(--accent-bright);
    font-size: 12px;
}

@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
    .about-image { aspect-ratio: 4/5; }
}

/* ============================================================
   TEAM
   ============================================================ */

.team {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 18px 50px rgba(0, 64, 168, 0.10);
}

.team-photo {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-dark-3);
    position: relative;
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-photo::after { opacity: 1; }

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.team-card:hover .team-photo img {
    transform: scale(1.08);
}

.team-body {
    padding: 26px 26px 28px;
}

.team-role {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 4px 12px;
    background: rgba(0, 64, 168, 0.08);
    border-radius: 999px;
    margin-bottom: 12px;
}

.team-body h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    color: var(--ink);
}

.team-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.team-rest {
    margin-top: 40px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.team-rest-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.team-rest-names {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.7;
    color: var(--ink-soft);
}

.team-rest-names b {
    color: var(--ink);
    font-weight: 600;
}

.team-rest-names > span:not(.sep) {
    color: var(--muted);
    font-size: 0.9em;
    margin-right: 4px;
}

.team-rest-names .sep {
    color: var(--accent);
    margin: 0 8px;
    opacity: 0.5;
}

@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Werkstattteam (zweiter Team-Block) --- */
.team--alt {
    background: #fff;
    border-top: 1px solid var(--line);
}

/* --- Teamfotos-Galerie --- */
.team-gallery-section {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.team-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-gallery figure {
    margin: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-dark-3);
}

.team-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.team-gallery figure:hover img { transform: scale(1.05); }

@media (min-width: 800px) { .team-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FOTO-GALERIE (Werkstatt / Leistungen)
   ============================================================ */

.photo-section {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

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

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.photo-gallery figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-dark-3);
}

.photo-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.photo-gallery figure:hover img { transform: scale(1.06); }

.photo-gallery figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 18px 14px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

@media (min-width: 700px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .photo-gallery { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   AUSZEICHNUNG / AWARD
   ============================================================ */

.award {
    padding: var(--section-pad) 0;
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.award::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(0, 64, 168, 0.22), transparent 60%);
    pointer-events: none;
}

.award-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.award-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-dark-3);
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
    filter: brightness(0.95) contrast(1.05);
}

.award-image:hover img {
    transform: scale(1.06);
    filter: brightness(1) contrast(1.05);
}

.award-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--accent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 64, 168, 0.45);
}

.award-badge i { font-size: 12px; }

.award-text p {
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 18px;
    max-width: 600px;
}

.award-text p b {
    color: #fff;
    font-weight: 600;
}

.award-text .btn-primary {
    margin-top: 12px;
}

@media (min-width: 900px) {
    .award-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
}

/* ============================================================
   PARTNERS
   ============================================================ */

.partners {
    padding: 60px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.partner-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 3vw, 40px);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.partner-divider {
    color: var(--accent);
    font-weight: 400;
}

.partner-list > span:not(.partner-divider) {
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.partner-list > span:not(.partner-divider):hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 64, 168, 0.08);
}

.cc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 64, 168, 0.08);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 20px;
    transition: background 0.4s ease, color 0.4s ease;
}

.contact-card:hover .cc-icon {
    background: var(--accent);
    color: #fff;
}

.cc-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.cc-value {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

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

.cc-secondary {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

a.cc-secondary { transition: color 0.3s ease; }
a.cc-secondary:hover { color: var(--accent); }

@media (min-width: 600px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.contact-photo {
    position: relative;
    margin: 0 0 24px;
    aspect-ratio: 16/10;
    max-height: 460px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-dark-3);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.contact-photo:hover img { transform: scale(1.05); }

.contact-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 20px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.gmap-container {
    width: 100%;
    height: clamp(300px, 45vh, 480px);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-dark-3);
    border: 1px solid var(--line);
    position: relative;
}

.gmap-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.15) contrast(1.02);
    transition: filter 0.4s ease;
}

.gmap-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-brand img {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-brand--original {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-brand--original img {
    /* Logo zeigt sich direkt im Original — keine Filter, keine Hilfsfläche */
}

.footer-brand--original:hover img {
    transform: scale(0.97);
}

.back-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.back-top:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.back-top i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.back-top:hover i { transform: translateY(-3px); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 50px 0;
    border-bottom: 1px solid var(--line-dark);
}

.footer-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}

.footer-col p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

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

@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 28px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-legal a:hover { color: #fff; }

.agency-branding {
    border-top: 1px solid var(--line-dark);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.agency-branding p { margin: 0; }

.agency-branding a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: text-decoration-color 0.3s ease;
}

.agency-branding a:hover { text-decoration-color: #fff; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 18px;
    left: 18px;
    right: 18px;
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-dark);
    color: #fff;
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    z-index: 200;
    font-size: 13px;
    line-height: 1.5;
    transform: translateY(180%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner p { margin: 0; flex: 1; min-width: 220px; }

.cookie-banner a {
    text-decoration: underline;
    color: #fff;
}

.cookie-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cookie-btn:hover { background: var(--accent-bright); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1), transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.no-js .reveal { opacity: 1; transform: none; }
.no-js .preloader { display: none; }

/* ============================================================
   SECTION CTA (Teaser → Subpage)
   ============================================================ */

.section-more {
    text-align: center;
    margin-top: 60px;
    padding: 0 var(--pad-x);
}

.about-text .btn-primary,
.about-text .btn-secondary {
    margin-top: 36px;
}

/* ============================================================
   SUBPAGE LAYOUTS (Impressum, Datenschutz etc.)
   ============================================================ */

.page-hero {
    position: relative;
    margin: 110px 16px 0;
    padding: clamp(60px, 10vw, 120px) clamp(28px, 5vw, 70px) clamp(50px, 8vw, 80px);
    background: var(--bg-soft);
    color: var(--ink);
    border-radius: 0 0 clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px);
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 100%, rgba(0, 64, 168, 0.10), transparent 60%),
        radial-gradient(ellipse at 10% 20%, rgba(0, 64, 168, 0.06), transparent 55%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .kicker {
    color: var(--accent);
    margin-bottom: 18px;
}

.page-hero .kicker::before {
    background: var(--accent);
}

.page-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 5.5vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: var(--ink);
}

.page-hero-title b {
    color: var(--accent);
    font-weight: 800;
}

.page-hero-sub {
    margin: 0;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 640px;
}

.page-content {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.page-prose {
    max-width: 760px;
    margin: 0 auto;
}

.page-prose h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 50px 0 18px;
    color: var(--ink);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

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

.page-prose h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 32px 0 12px;
    color: var(--ink);
}

.page-prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 18px;
}

.page-prose ul {
    margin: 0 0 22px;
    padding-left: 0;
    list-style: none;
}

.page-prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.page-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 12px;
    height: 1.5px;
    background: var(--accent);
}

.page-prose a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.page-prose a:hover {
    color: var(--accent-bright);
}

.page-prose .info-block {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    margin: 24px 0 30px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.page-prose .info-block strong { color: var(--ink); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-title .word { transform: none; }
}
