/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === Hero === */
.hero {
    position: relative;
    background: url('images/hero-bg.webp') center center / cover no-repeat;
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 58, 95, 0.75) 50%, rgba(29, 78, 216, 0.72) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Sections === */
.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 52px;
}

/* === Services === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.25s ease;
}

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

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: all 0.25s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-highlight {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.pricing-highlight:hover {
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
}

.price-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Domain Hint */
.domain-hint {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 40px;
    font-size: 0.92rem;
}

.domain-hint-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* === Steps / Ablauf === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.step {
    padding: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* === Contact === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row .form-group {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    transition: border-color 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-info {
    padding-top: 12px;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.contact-detail {
    margin-bottom: 16px;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
    color: var(--dark);
    font-weight: 500;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 32px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

/* === Legal Pages (Impressum/Datenschutz) === */
.legal-page {
    padding-top: 120px;
}

.legal-container {
    max-width: 780px;
}

.legal-container h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 32px;
}

.legal-container h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-container h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-container p {
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-container ul {
    margin: 8px 0 16px 24px;
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.legal-container a {
    color: var(--primary);
}

.legal-container a:hover {
    text-decoration: underline;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 1px solid var(--gray-300);
    padding: 1.25rem 2rem;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner--hidden  { transform: translateY(100%); }

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon { font-size: 2rem; flex-shrink: 0; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-size: .95rem; margin-bottom: .35rem; color: var(--dark); }
.cookie-text p { color: var(--gray-500); font-size: .82rem; margin: 0; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-text a:hover { color: var(--dark); }

.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: .6rem 1.5rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--gray-500);
    border: 1px solid var(--gray-300);
    padding: .6rem 1.5rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.cookie-btn-decline:hover {
    border-color: var(--primary);
    color: var(--dark);
}

/* === reCAPTCHA === */
.grecaptcha-badge { visibility: hidden !important; }

.recaptcha-notice {
    font-size: .72rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: .5rem;
}
.recaptcha-notice a { color: var(--gray-500); text-decoration: underline; }
.recaptcha-notice a:hover { color: var(--primary); }

/* === Form Message === */
.form-message {
    text-align: center;
    padding: 0;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 12px 16px;
}
.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 12px 16px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 130px 0 72px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 64px 0;
    }

    .pricing-highlight {
        transform: none;
    }

    .pricing-highlight:hover {
        transform: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
