/* =========================================================
   Mexx-Sauber Fahrzeugaufbereitung – Stylesheet
   ========================================================= */

:root {
    --bg: #ffffff;
    --bg-alt: #f4f7fa;
    --surface: #ffffff;
    --surface-2: #eef2f7;
    --border: rgba(23, 42, 70, 0.1);
    --text: #1f2a37;
    --muted: #5c6b7e;
    --accent: #2f8299;
    --accent-2: #2a6aa0;
    --accent-grad: linear-gradient(120deg, #2f8fa6 0%, #2a6aa0 100%);
    --gold: #e8a627;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px -22px rgba(23, 42, 70, 0.22);
    --shadow-accent: 0 16px 42px -16px rgba(42, 106, 160, 0.4);
    --container: 1180px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --display: 'Outfit', var(--font);
    --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; font-weight: 700; }

.text-gradient {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
}
.btn--primary {
    background: var(--accent-grad);
    color: #ffffff;
    box-shadow: var(--shadow-accent);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(47,143,166,0.4); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 42px;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item i { color: var(--accent); flex-shrink: 0; font-size: 0.95rem; }
.topbar__phone { transition: var(--t); }
.topbar__phone:hover { color: var(--text); }
.topbar__rating .stars { font-size: 0.8rem; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--t);
}
.header.scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 30px -14px rgba(23, 42, 70, 0.18); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-accent);
    flex-shrink: 0;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo__text {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1;
    display: flex;
    flex-direction: column;
}
.logo__accent { color: var(--accent); display: inline; }
.logo__text small {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 22px; }
.nav__link {
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--muted);
    position: relative;
    transition: var(--t);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--accent-grad);
    transition: var(--t);
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__close { display: none; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__toggle span {
    width: 26px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--t);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-alt);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1607860108855-64acf2078ed9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center right;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, rgba(244,247,250,0.98) 0%, rgba(244,247,250,0.92) 34%, rgba(244,247,250,0.6) 55%, rgba(244,247,250,0.15) 78%, rgba(244,247,250,0) 100%),
        linear-gradient(0deg, rgba(31,42,55,0.18) 0%, transparent 30%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}
.hero__content { max-width: 640px; }

/* schwebende Bewertungskarte */
.hero__card {
    justify-self: end;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 30px 70px -28px rgba(23, 42, 70, 0.45);
    animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hero__card-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent-grad);
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.3rem;
}
.hero__card-top strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.hero__card-top .stars { font-size: 0.9rem; }
.hero__card p { font-style: italic; color: var(--text); font-size: 0.98rem; margin-bottom: 12px; }
.hero__card small { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.hero__badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(47, 143, 166, 0.1);
    border: 1px solid rgba(47, 143, 166, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
}
.hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}
.hero__text {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat strong {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__stat span { font-size: 0.88rem; color: var(--muted); }

.hero__scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 44px;
    border: 2px solid rgba(31,42,55,0.25);
    border-radius: 14px;
    z-index: 2;
}
.hero__scroll span {
    position: absolute;
    top: 8px; left: 50%;
    width: 4px; height: 8px;
    margin-left: -2px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 1.6s ease infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Trust bar ---------- */
.trustbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.trustbar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 26px 24px;
}
.trustbar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}
.trustbar__item i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; width: 30px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
    overflow: hidden;
    transition: 0.2s ease-in-out !important;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--accent-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--t);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(47,143,166,0.4); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured {
    background: linear-gradient(160deg, rgba(47,143,166,0.1), var(--surface));
    border-color: rgba(47,143,166,0.3);
}
.service-card__tag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--accent-grad);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--display);
}
.service-card__icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(47,143,166,0.1);
    margin-bottom: 22px;
}
.service-card__icon i { font-size: 1.6rem; color: var(--accent); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-card__list {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.service-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text);
}
.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 14px; height: 14px;
    background: var(--accent-grad);
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.service-card__opt {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-2);
    background: rgba(47, 143, 166, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    position: relative;
    transition: var(--t);
}
.step:hover { transform: translateY(-5px); border-color: rgba(47,143,166,0.3); }
.step__num {
    font-family: var(--display);
    font-weight: 900;
    font-size: 2.6rem;
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
    margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Premium-Schutz ---------- */
.protect {
    position: relative;
    padding: clamp(64px, 9vw, 110px) 0;
    overflow: hidden;
    background: #16222e;
}
.protect__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}
.protect__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(22,34,46,0.92), rgba(22,34,46,0.78)),
                radial-gradient(circle at 80% 10%, rgba(47,143,166,0.3), transparent 50%);
}
.protect__inner { position: relative; z-index: 2; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: #c4d0dc; }
.protect__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.protect-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(6px);
    transition: 0.2s ease-in-out !important;
}
.protect-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); border-color: rgba(47,143,166,0.5); }
.protect-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: var(--accent-grad);
    margin-bottom: 20px;
}
.protect-card__icon i { font-size: 1.5rem; color: #fff; }
.protect-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 12px; }
.protect-card p { color: #c4d0dc; font-size: 0.95rem; }

/* ---------- Preistabelle ---------- */
.price-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}
.price-table thead th {
    background-color: #2a6aa0;
    color: #fff;
    font-family: var(--display);
    font-weight: 600;
    text-align: right;
    padding: 18px 22px;
    font-size: 0.92rem;
}

.price-table thead th:first-child {
        background: var(--accent-grad);
}

.price-table thead th:last-child {
    background: linear-gradient(120deg, #2a6aa0 0%, #2f8fa6 100%);
}

.price-table thead th:first-child { text-align: left; }
.price-table tbody td {
    padding: 16px 22px;
    text-align: right;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    vertical-align: top;
    transition: 0.2s ease-in-out !important;
}
.price-table tbody td:first-child {
    text-align: left;
    font-family: var(--display);
    font-weight: 600;
    color: var(--text);
}
.price-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.price-table tbody tr:hover { background: rgba(47, 143, 166, 0.07); }
.price-table__highlight { background: rgba(47, 143, 166, 0.1) !important; }
.price-table__highlight td:first-child { color: var(--accent-2); }
.price-table__sub {
    display: block;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 3px;
    transition: 0.2s ease-in-out !important;
}
.price-table sup { color: var(--accent); font-weight: 700; }

.price-notes {
    margin-top: 26px;
    display: grid;
    gap: 8px;
    text-align: center;
}
.price-notes p { color: var(--muted); font-size: 0.88rem; }
.price-notes sup { color: var(--accent); font-weight: 700; }
.price-notes strong { color: var(--text); }

.pricing__note { text-align: center; color: var(--muted); margin-top: 30px; }
.pricing__note a { color: var(--accent); font-weight: 600; }

/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about__media { position: relative; }
.about__img {
    border-radius: var(--radius);
    height: 480px;
    background-image: url('https://images.unsplash.com/photo-1607860108855-64acf2078ed9?auto=format&fit=crop&w=1920&q=80');    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}
.about__badge {
    position: absolute;
    bottom: -24px; right: -10px;
    background: var(--accent-grad);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    box-shadow: var(--shadow-accent);
    display: flex;
    flex-direction: column;
}
.about__badge strong { font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: 0.82rem; font-weight: 600; }
.about__content .section__title { margin-bottom: 20px; }
.about__content p { color: var(--muted); margin-bottom: 16px; }
.about__content p strong { color: var(--text); }
.about__points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.about__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about__points i { font-size: 1.15rem; color: var(--accent); flex-shrink: 0; width: 22px; text-align: center; }

/* ---------- Rating + Reviews ---------- */
.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.rating-summary .stars { font-size: 1.3rem; }
.rating-summary strong { font-family: var(--display); font-size: 1.4rem; }
.rating-summary span { color: var(--muted); font-size: 0.92rem; }
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: 0.2s ease-in-out !important;
}
.review:hover { transform: translateY(-5px); border-color: rgba(47,143,166,0.3); }
.review .stars { font-size: 1.05rem; }
.review p { margin: 16px 0; font-size: 1rem; color: var(--text); font-style: italic; }
.review footer { font-weight: 600; font-family: var(--display); color: var(--accent); }

/* ---------- CTA ---------- */
.cta {
    background: var(--accent-grad);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 30h60M30 0v60' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
}
.cta__inner { position: relative; text-align: center; padding: clamp(56px, 8vw, 90px) 0; color: #ffffff; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.cta p { font-size: 1.15rem; margin-bottom: 32px; font-weight: 500; opacity: 0.95; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn--primary { background: #ffffff; color: var(--accent-2); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.3); }
.cta .btn--ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); color: #ffffff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.26); }

/* ---------- Contact ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
    width: 50px; height: 50px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(47,143,166,0.1);
    display: grid; place-items: center;
}
.contact__icon i { font-size: 1.3rem; color: var(--accent); }
.contact__item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact__item p { color: var(--muted); }
.contact__item a:hover { color: var(--accent); }
.contact__item small { font-size: 0.85rem; opacity: 0.8; }
.contact__map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 420px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.15); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer__brand p { color: var(--muted); margin-top: 18px; font-size: 0.94rem; max-width: 320px; }
.footer__col h4 { font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col li { color: var(--muted); font-size: 0.94rem; transition: var(--t); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    flex-wrap: wrap;
}
.footer__bottom p { color: var(--muted); font-size: 0.85rem; }

/* ---------- Float call ---------- */
.float-call {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--accent-grad);
    display: grid; place-items: center;
    box-shadow: var(--shadow-accent);
    z-index: 90;
    color: #ffffff;
    transition: var(--t);
    animation: pulse 2.5s infinite;
}
.float-call i { font-size: 1.5rem; }
.float-call:hover { transform: scale(1.1); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(47,143,166,0.5); }
    70% { box-shadow: 0 0 0 16px rgba(47,143,166,0); }
    100% { box-shadow: 0 0 0 0 rgba(47,143,166,0); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; color: var(--accent); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--accent); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--accent); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services, .reviews { grid-template-columns: repeat(2, 1fr); }
    .protect__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; gap: 50px; }
    .about__img { height: 360px; }
    .contact { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__card { display: none; }
    .hero__overlay {
        background:
            linear-gradient(95deg, rgba(244,247,250,0.97) 0%, rgba(244,247,250,0.9) 45%, rgba(244,247,250,0.55) 75%, rgba(244,247,250,0.2) 100%),
            linear-gradient(0deg, rgba(31,42,55,0.15) 0%, transparent 35%);
    }
}

@media (max-width: 1024px) {
    .topbar__item:not(.topbar__phone) { display: none; }
    .topbar__inner { justify-content: center; }

    /* Header auf Mobil ohne backdrop-filter -> verhindert unscharfes Slide-Menü */
    .header,
    .header.scrolled {
        background: var(--surface);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(88vw, 400px);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--surface);
        padding: 100px 30px 36px;
        box-shadow: -24px 0 70px rgba(23, 42, 70, 0.28);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 110;
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav__list li { width: 100%; }
    .nav__link {
        display: block;
        padding: 18px 6px;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text);
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .nav__link::after { display: none; }
    .nav__link:hover, .nav__link.active { color: var(--accent); padding-left: 12px; }
    .nav__cta { margin-top: 28px; width: 100%; font-size: 1.1rem; padding: 17px; }
    .nav__close {
        display: block;
        position: absolute;
        top: 26px; right: 24px;
        width: 44px; height: 44px;
        background: var(--surface-2); border: none;
        border-radius: 50%;
        color: var(--text);
        font-size: 1.8rem;
        cursor: pointer;
        line-height: 1;
    }
    .nav__toggle { display: flex; }
    .nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__toggle.active span:nth-child(2) { opacity: 0; }
    .nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-backdrop {
        position: fixed; inset: 0;
        background: rgba(15, 23, 35, 0.55);
        opacity: 0; visibility: hidden;
        transition: var(--t);
        z-index: 99;
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
    .hero { min-height: auto; padding: 70px 0; }
    .hero__stats { gap: 26px; }
    .hero__stat strong { font-size: 1.6rem; }
}

/* Preistabelle als Karten auf Mobil */
@media (max-width: 720px) {
    .price-table-wrap { background: transparent; border: none; box-shadow: none; overflow: visible; }
    .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
    .price-table thead { display: none; }
    .price-table tbody tr {
        background: var(--surface) !important;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 16px;
        padding: 8px 4px;
        box-shadow: var(--shadow);
    }
    .price-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 16px;
        text-align: right;
        border-top: none;
        padding: 9px 18px;
    }
    .price-table tbody td:first-child {
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 12px;
        margin-bottom: 4px;
        display: block;
    }
    .price-table tbody td:not(:first-child)::before {
        content: attr(data-label);
        font-family: var(--font);
        font-weight: 500;
        color: var(--muted);
        font-size: 0.85rem;
        text-align: left;
    }
    .price-table__sub { display: inline; margin-top: 0; margin-left: 6px; }
    .price-table tbody td:first-child .price-table__sub { display: block; margin-left: 0; }
}

@media (max-width: 560px) {
    .services, .reviews, .steps, .footer__inner, .trustbar__inner { grid-template-columns: 1fr; }
    .hero__actions, .cta__actions { flex-direction: column; }
    .hero__actions .btn, .cta__actions .btn { width: 100%; }
    .about__badge { right: 10px; }
    .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
