/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Design Tokens ─────────────────────────────────── */
:root {
    --red:      #961b38;
    --red-dark: #7a1530;
    --dark:     #20232c;
    --dark2:    #1d2028;
    --grey:     #555c6e;
    --light:    #f5f5f5;
    --white:    #ffffff;
    --radius:   6px;
    --shadow:   0 4px 24px rgba(0,0,0,.10);
    --transition: .3s ease;
    --max-w:    1140px;
}

/* ─── Layout ─────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--grey  { background: var(--light); }
.section--dark  { background: var(--dark);  color: var(--white); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-intro  { color: var(--grey); font-size: 1.05rem; margin-top: 16px; }
.text-center    { text-align: center; margin-top: 48px; }
.page-wrap      { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }

/* ─── Typography ─────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; font-weight: 700; color: var(--dark); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
p  { color: var(--grey); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.eyebrow {
    font-size: .75rem; font-weight: 700; letter-spacing: 3px;
    color: var(--red); text-transform: uppercase; margin-bottom: 12px;
}

/* ─── Buttons ─────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .95rem;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--red); color: var(--white);
}
.btn--primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(150,27,56,.35);
}
.btn--outline {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
}
.btn--outline:hover {
    background: var(--red); color: var(--white);
    transform: translateY(-2px);
}

/* ─── Header ─────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(29,32,40,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: box-shadow var(--transition);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.site-logo {
    font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px;
    display: flex; align-items: center;
}
.site-logo span { color: var(--red); }
.site-logo__img { height: 44px; width: auto; display: block; }

.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-menu a {
    color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500;
    transition: color var(--transition); position: relative;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px;
    background: var(--red); transform: scaleX(0); transition: transform var(--transition);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: var(--radius);
    transition: background var(--transition);
    z-index: 10;
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }
.nav-toggle span {
    display: block; width: 26px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform .35s ease, opacity .35s ease, width .35s ease;
    transform-origin: center;
}

/* ─── Hero ─────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--dark2); overflow: hidden;
    padding-top: 68px;
}
/* Video Background */
.hero__video-wrap {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.hero__video {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    opacity: .45;
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(to bottom, rgba(29,32,40,.7) 0%, rgba(29,32,40,.5) 60%, rgba(29,32,40,.85) 100%),
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(150,27,56,.25) 0%, transparent 60%);
}
/* Fallback wenn kein Video */
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(150,27,56,.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(150,27,56,.10) 0%, transparent 60%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 860px; padding: 80px 24px;
}
.hero__eyebrow {
    color: var(--red); font-size: .75rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px;
}
.hero__title {
    color: var(--white); margin-bottom: 28px;
}
.hero__claim {
    color: var(--red); font-weight: 700; font-size: 1.05rem;
    margin-bottom: 16px; line-height: 1.5;
}
.hero__sub {
    color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 40px;
}
.hero__scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
}
.hero__scroll-indicator span {
    display: block; width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,.3); border-radius: 12px;
    position: relative;
}
.hero__scroll-indicator span::before {
    content: ''; position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--red); border-radius: 2px;
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
    80%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* ─── About / Section Grid ─────────────────────────────────── */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.section-text h2 { margin-bottom: 20px; }
.section-text p  { margin-bottom: 14px; }
.section-text .btn { margin-top: 16px; }

/* Stats Grid */
.stats-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
    background: var(--light); border-radius: var(--radius);
    padding: 28px 20px; text-align: center;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.stat-number {
    display: block; font-size: 2.5rem; font-weight: 800;
    color: var(--red); line-height: 1;
}
.stat-plus { font-size: 1.5rem; font-weight: 800; color: var(--red); }
.stat-label { display: block; font-size: .85rem; color: var(--grey); margin-top: 6px; }

/* ─── Expertise Cards ─────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.expertise-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 24px; text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--red);
}
.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.expertise-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.expertise-card h3 { color: var(--red); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.expertise-card p  { font-size: .9rem; line-height: 1.6; }

/* ─── Quote ─────────────────────────────────── */
.quote {
    max-width: 800px; margin: 0 auto; text-align: center;
    border: none; padding: 0;
}
.quote p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic; color: var(--white); line-height: 1.6;
    margin-bottom: 24px;
}
.quote cite {
    font-style: normal; font-size: .8rem;
    font-weight: 700; letter-spacing: 3px;
    color: var(--red); text-transform: uppercase;
}

/* ─── Contact ─────────────────────────────────── */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.contact-text { text-align: center; margin-bottom: 36px; font-size: 1rem; }

/* CF7 Styling */
.wpcf7-form { display: grid; gap: 16px; }
.wpcf7-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=date],
.wpcf7-form textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid #ddd; border-radius: var(--radius);
    font-size: 1rem; transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none; border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(150,27,56,.12);
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-submit {
    background: var(--red); color: var(--white);
    border: none; border-radius: var(--radius);
    padding: 14px 32px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: background var(--transition), transform var(--transition);
    width: 100%;
}
.wpcf7-submit:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ─── Blog ─────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-grid--full { grid-template-columns: 1fr; max-width: 760px; }
.blog-card {
    background: var(--white); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid transparent;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
    border-top-color: var(--red);
}
.blog-card__meta time { font-size: .8rem; color: var(--red); font-weight: 600; }
.blog-card h2, .blog-card h3 { margin: 10px 0; font-size: 1.05rem; }
.blog-card h2 a, .blog-card h3 a { color: var(--dark); transition: color var(--transition); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--red); }
.read-more { font-size: .9rem; color: var(--red); font-weight: 600; }
.read-more:hover { text-decoration: underline; }

/* ─── Single Post / Page ─────────────────────────────────── */
.single-post, .single-page { max-width: 760px; }
.single-post h1, .single-page h1 { margin-bottom: 32px; color: var(--dark); }
.post-meta { margin-bottom: 12px; }
.post-meta time { font-size: .85rem; color: var(--red); font-weight: 600; }
.entry-content p  { margin-bottom: 20px; color: var(--grey); }
.entry-content h2 { margin: 36px 0 16px; }
.entry-content h3 { margin: 28px 0 12px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; color: var(--grey); }
.post-footer { margin-top: 48px; }
.page-title { font-size: 2rem; margin-bottom: 48px; color: var(--dark); }

/* ─── Footer ─────────────────────────────────── */
.site-footer {
    background: var(--dark2); color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--white); display: block; margin-bottom: 12px; }
.footer-logo span { color: var(--red); }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-links h3, .footer-legal h3 {
    color: var(--white); font-size: .75rem; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 16px;
}
.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 10px; }
.footer-links a, .footer-legal a {
    font-size: .9rem; transition: color var(--transition);
}
.footer-links a:hover, .footer-legal a:hover { color: var(--red); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { color: var(--red); }

/* ─── Animations ─────────────────────────────────── */

/* Fade-up (Hero) */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease forwards;
}
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .30s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .60s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }

/* Counter */
.stat-number { transition: color var(--transition); }

/* ─── Nav Overlay (Desktop + Mobile) ─────────────────────────────────── */

/* Standard: Nav als Overlay von rechts – immer Burger */
.primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 85vw;
    background: var(--dark2);
    border-left: 1px solid rgba(255,255,255,.08);
    z-index: 200;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    padding: 100px 0 40px;
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
}
.primary-nav.is-open { transform: translateX(0); }

.nav-menu { flex-direction: column; gap: 0; padding: 0 32px; }
.nav-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-menu a { display: block; padding: 16px 0; font-size: 1rem; }
.nav-menu a::after { display: none; }

/* Overlay Backdrop */
.nav-backdrop {
    display: none; position: fixed; inset: 0; z-index: 150;
    background: rgba(0,0,0,.6); backdrop-filter: blur(2px);
}
.nav-backdrop.is-open { display: block; }

/* Toggle Close-X Animation */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-grid { grid-template-columns: 1fr; gap: 48px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cards-grid { grid-template-columns: 1fr; }
    .hero__content { padding: 60px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
