:root {
    --primary-color: #0a4d8c;
    --primary-mid: #156bb8;
    --primary-bright: #1e9fd4;
    --primary-soft: #e8f1fb;
    --secondary-color: #f4f7fb;
    --text-color: #2a3340;
    --accent-color: #e74c3c;
    --accent-glow: rgba(231, 76, 60, 0.35);
    --success-color: #2ecc71;
    --footer-bg: #1a2530;
    --card-shadow: 0 4px 6px rgba(0, 40, 100, 0.06), 0 12px 28px rgba(0, 56, 120, 0.09);
    --card-shadow-hover: 0 8px 16px rgba(0, 40, 100, 0.08), 0 20px 40px rgba(0, 56, 120, 0.12);
    --radius-lg: 20px;
    --radius-xl: 24px;
    --font-body: 'Roboto', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text-color);
    background-color: #f8fafc;
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(30, 159, 212, 0.08), transparent 50%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(10, 77, 140, 0.04), transparent 45%);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(10, 77, 140, 0.18);
    color: inherit;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 28px);
}

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

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-bright));
    opacity: 0.9;
}

/* Hero-Bereich */
.hero {
    position: relative;
    background:
        linear-gradient(165deg, rgba(10, 77, 140, 0.92) 0%, rgba(21, 107, 184, 0.82) 45%, rgba(30, 159, 212, 0.78) 100%),
        url('header-bg.webp') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: clamp(72px, 12vw, 120px) 20px clamp(88px, 11vw, 112px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% 120%, rgba(0, 0, 0, 0.22), transparent 55%),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.06) 0%, transparent 35%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(to top, #f8fafc, transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: clamp(20px, 4vw, 32px);
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.brand:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 6px;
    border-radius: 12px;
}

.hero .brand__icon {
    display: block;
    width: clamp(46px, 11vw, 58px);
    height: clamp(46px, 11vw, 58px);
    flex-shrink: 0;
    padding: 8px;
    box-sizing: border-box;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        0 4px 22px rgba(0, 20, 50, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.35);
}

.brand__name {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-shadow: 0 2px 16px rgba(0, 20, 50, 0.3);
}

.hero h1 {
    font-size: clamp(1.85rem, 5.5vw, 3.35rem);
    font-weight: 900;
    margin-bottom: clamp(16px, 3vw, 24px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.12;
    text-shadow: 0 2px 24px rgba(0, 20, 50, 0.35);
}

.hero h2 {
    font-size: clamp(1.1rem, 2.4vw, 1.85rem);
    font-weight: 300;
    line-height: 1.45;
    opacity: 0.96;
    max-width: 36em;
    margin: 0 auto;
    text-shadow: 0 1px 12px rgba(0, 20, 50, 0.2);
}

/* Einleitung */
.intro {
    position: relative;
    padding: clamp(52px, 8vw, 80px) 20px;
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #4a5568;
    line-height: 1.75;
    background: #fff;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 44px);
    border-radius: var(--radius-xl);
    box-shadow:
        0 1px 2px rgba(10, 77, 140, 0.04),
        0 16px 40px rgba(10, 77, 140, 0.08);
    border: 1px solid rgba(10, 77, 140, 0.07);
    border-left: 4px solid var(--primary-mid);
}

/* Produkte / Vorteilsbereich */
.benefits {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
}

.benefits__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% -15%, rgba(0, 168, 255, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 60%, rgba(0, 86, 179, 0.06), transparent 45%),
        radial-gradient(ellipse 50% 35% at 0% 80%, rgba(46, 204, 113, 0.05), transparent 40%),
        linear-gradient(180deg, #f5f8fc 0%, var(--secondary-color) 42%, #eef3f8 100%);
    pointer-events: none;
}

.benefits__inner {
    position: relative;
    z-index: 1;
}

.benefits__header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.benefits__lead {
    font-size: 1.1rem;
    color: #5a6570;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 560px;
}

.benefits .section-title::after {
    margin-top: 14px;
}

.benefit-list {
    list-style: none;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 86, 179, 0.09);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--primary-color), #00a8ff);
    opacity: 0.85;
}

.check {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #0066cc 0%, var(--primary-color) 45%, #004a93 100%);
    color: white;
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.95);
    line-height: 1;
}

.product-card__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .product-card__inner {
        grid-template-columns: minmax(240px, 38%) 1fr;
        align-items: stretch;
        min-height: 220px;
    }
}

.product-media {
    position: relative;
    margin: 0;
    min-height: 200px;
    background: linear-gradient(160deg, var(--primary-soft) 0%, #dceaf7 100%);
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-media {
        min-height: 100%;
        border-radius: 0 0 0 19px;
    }

    .product-card__inner .product-media {
        border-radius: 19px 0 0 19px;
    }
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 40, 90, 0.06) 100%);
    pointer-events: none;
}

.product-media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04);
}

.product-card__content {
    padding: 28px 24px 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .product-card__content {
        padding: 32px 36px 32px 28px;
    }
}

.benefit-list h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    margin: 0 0 14px;
    color: #1a2d3d;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    padding-right: 36px;
}

@media (min-width: 768px) {
    .benefit-list h4 {
        padding-right: 0;
    }
}

.product-card__content p {
    margin: 0;
    color: #4a5560;
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Bildplatzhalter (ältere / andere Bereiche) */
.image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #6c757d;
    font-style: italic;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Angebotsblock (Experten-/Produktbereich) */
.expert {
    position: relative;
    padding: clamp(72px, 10vw, 100px) 20px clamp(88px, 10vw, 108px);
    background:
        linear-gradient(180deg, transparent 0%, rgba(232, 241, 251, 0.5) 30%, rgba(232, 241, 251, 0.85) 100%);
}

.expert::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 77, 140, 0.15), transparent);
    pointer-events: none;
}

.expert-content {
    position: relative;
    background: linear-gradient(165deg, #ffffff 0%, #f3f8fd 55%, #eef5fc 100%);
    padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 44px);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(10, 77, 140, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 50px rgba(10, 77, 140, 0.12),
        0 4px 16px rgba(10, 77, 140, 0.06);
}

.expert-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(30, 159, 212, 0.45), rgba(10, 77, 140, 0.25) 40%, rgba(231, 76, 60, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
}

.expert-content > * {
    position: relative;
    z-index: 1;
}

.expert-content h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    letter-spacing: 0.14em;
    font-weight: 700;
}

.expert-content h3 {
    margin-bottom: clamp(16px, 3vw, 24px);
    color: var(--primary-color);
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.expert-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #3d4a5c;
}

.expert-content p strong {
    color: #243240;
}

.expert-content > div:first-of-type {
    margin: clamp(20px, 3vw, 28px) 0 !important;
    padding: clamp(12px, 2vw, 20px);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(10, 77, 140, 0.08);
    box-shadow: 0 8px 24px rgba(10, 77, 140, 0.07);
}

.expert-content > div:first-of-type img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    filter: drop-shadow(0 6px 16px rgba(10, 77, 140, 0.12));
}

.expert-content > ul {
    text-align: left !important;
    margin: 18px auto 20px !important;
    max-width: 600px !important;
    padding: 18px 22px 18px 48px !important;
    list-style: none;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    border: 1px solid rgba(10, 77, 140, 0.08);
    box-shadow: 0 4px 14px rgba(10, 77, 140, 0.05);
}

.expert-content > ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 4px;
    color: #3d4a5c;
    line-height: 1.55;
}

.expert-content > ul li:last-child {
    margin-bottom: 0;
}

.expert-content > ul li::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-bright), var(--primary-color));
    box-shadow: 0 0 0 3px rgba(30, 159, 212, 0.2);
}

.expert-content div:has(> a.btn) {
    margin: clamp(24px, 3vw, 32px) 0 10px !important;
}

.expert-content > div:last-of-type {
    text-align: left !important;
    font-size: 0.9rem !important;
    color: #4a5568 !important;
    margin: clamp(24px, 3vw, 32px) auto 0 !important;
    max-width: 700px !important;
    padding: clamp(20px, 3vw, 26px) clamp(18px, 3vw, 24px) !important;
    padding-top: 24px !important;
    border-top: none !important;
    border-radius: 14px;
    background: rgba(10, 77, 140, 0.04);
    border: 1px solid rgba(10, 77, 140, 0.08) !important;
}

.expert-content > div:last-of-type p {
    margin-bottom: 10px;
}

.expert-content > div:last-of-type ul {
    padding-left: 22px !important;
    margin-top: 12px !important;
}

.expert-content > div:last-of-type li {
    margin-bottom: 10px !important;
    color: #4a5568;
    line-height: 1.55;
}

/* Aktionsbereich (z. B. Kaufbutton) */
.cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(180deg, #ef6a5a 0%, var(--accent-color) 100%);
    color: white;
    padding: 16px 42px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow:
        0 4px 14px var(--accent-glow),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow:
        0 8px 22px var(--accent-glow),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.btn:focus-visible {
    outline: 3px solid rgba(231, 76, 60, 0.45);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(0);
}

/* Innere Seiten (Rechtstexte, Kontakt) */
.hero--compact {
    padding: 36px 20px 44px;
    text-align: center;
}

.hero--compact .brand {
    margin-bottom: 16px;
}

.hero--compact .brand__name {
    font-size: clamp(1.2rem, 3.2vw, 1.5rem);
}

.hero--compact .brand__icon {
    width: clamp(42px, 9vw, 50px);
    height: clamp(42px, 9vw, 50px);
    padding: 7px;
}

.hero--compact h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0;
    margin-top: 4px;
    text-transform: uppercase;
}

.legal-page {
    padding: 50px 20px 70px;
}

.legal-doc {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 36px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    color: #2a3340;
    position: relative;
    z-index: 0;
}

.legal-doc h2 {
    color: #0a4d8c;
    font-size: 1.35rem;
    margin: 28px 0 12px;
}

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

.legal-doc h3 {
    font-size: 1.05rem;
    color: #2c3e50;
    margin: 20px 0 8px;
}

.legal-doc p,
.legal-doc li {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1rem;
}

.legal-doc strong {
    color: #1a202c;
    font-weight: 700;
}

.legal-doc ul {
    padding-left: 22px;
    margin: 10px 0 16px;
}

.legal-doc .meta {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.legal-doc__footnote {
    margin-top: 28px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #4a5568;
}

.legal-doc--contact {
    max-width: 560px;
}

.legal-doc--contact h2 {
    margin-top: 8px;
}

.contact-grid {
    display: grid;
    gap: 28px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-form label {
    display: block;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.contact-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #c0392b;
}

.contact-hint {
    font-size: 0.9rem;
    color: #666;
    margin-top: 12px;
}

/* Fußzeile */
footer {
    position: relative;
    background: linear-gradient(180deg, var(--footer-bg) 0%, #141c24 100%);
    color: white;
    text-align: center;
    padding: 36px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-bright), var(--accent-color), transparent);
    opacity: 0.65;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-nav a:focus-visible {
    outline: 2px solid rgba(30, 159, 212, 0.7);
    outline-offset: 2px;
}

.footer-legal {
    margin: 22px auto 20px;
    max-width: 480px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-legal__name {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.98);
    text-transform: uppercase;
}

.footer-legal__grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px 20px;
    justify-content: center;
    justify-items: start;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    font-variant-numeric: tabular-nums;
}

.footer-legal__label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.58);
    justify-self: end;
    text-align: right;
}

.footer-legal__value {
    text-align: left;
    letter-spacing: 0.02em;
}

footer p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}

@media (max-width: 767px) {
    .product-media {
        border-radius: 19px 19px 0 0;
    }

    .benefit-list h4 {
        padding-top: 8px;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 64px 0 72px;
    }

    .benefits__header {
        margin-bottom: 36px;
    }

    .hero--compact h1 {
        font-size: 1.65rem;
    }
    .legal-doc {
        padding: 24px 20px;
    }

    .lead {
        border-left-width: 3px;
        padding-left: 22px;
        padding-right: 22px;
    }
}