/* ===================================
   OctoPages – Startseite
   Farben: DCS Teal + Octoserv Orange
   =================================== */

:root {
    --teal-dark: #1a5a6a;
    --teal: #1f7a8a;
    --teal-light: #5ba3c9;
    --orange: #e09000;
    --orange-light: #f0a820;
    --bg-light: #f7f8fa;
    --bg-dark: #0f2b33;
    --text: #1a1a2e;
    --text-muted: #5a6577;
    --text-light: #ffffff;
    --border: #e2e6ea;
    --shadow: 0 2px 16px rgba(26, 90, 106, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 90, 106, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-octoserv {
    height: 36px;
    width: auto;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-dark);
    letter-spacing: -0.02em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.header-nav a:hover {
    color: var(--teal-dark);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(224, 144, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--teal-dark);
    border-color: var(--teal-dark);
}

.btn-outline:hover {
    background: var(--teal-dark);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border: 2px solid var(--teal-dark);
    border-radius: var(--radius-sm);
    color: var(--teal-dark);
}

.btn-sm:hover {
    background: var(--teal-dark);
    color: #fff;
}

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

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, #f0f7fa 0%, #fff 50%, #fef8eb 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--teal-dark);
    letter-spacing: -0.03em;
}

.text-accent {
    color: var(--orange);
}

.hero-sub {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Browser Mockup */
.browser-mockup {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #f5f5f7;
    border-bottom: 1px solid var(--border);
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:last-child { background: #28ca41; }

.browser-content {
    padding: 24px;
}

.mockup-hero-bar {
    height: 80px;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.mockup-text-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-line {
    height: 10px;
    background: #eee;
    border-radius: 4px;
}

.mockup-line.w80 { width: 80%; }
.mockup-line.w60 { width: 60%; }

.mockup-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-box {
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.mockup-cta {
    height: 36px;
    width: 140px;
    background: var(--orange);
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

/* ===== SECTIONS ===== */

.section {
    padding: 80px 0;
}

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

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--teal-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-dark .section-title {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

/* ===== STEPS ===== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.step:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--teal-dark);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit {
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.benefit:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: rgba(26, 90, 106, 0.08);
    color: var(--teal-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.benefit h3 {
    font-size: 1.05rem;
    color: var(--teal-dark);
    margin-bottom: 6px;
}

.benefit p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== SHOWCASE ===== */

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.showcase-empty-icon {
    color: var(--teal-light);
    margin-bottom: 16px;
}

.showcase-empty p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Showcase Card (fuer spaeter) */
.showcase-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.showcase-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.showcase-card-body {
    padding: 16px;
}

.showcase-card-body h3 {
    font-size: 1rem;
    color: var(--teal-dark);
    margin-bottom: 4px;
}

.showcase-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== PRICING ===== */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.price-card-featured {
    background: #fff;
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.price-badge {
    display: inline-block;
    background: var(--teal-dark);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.price-card-featured .price-badge {
    background: var(--orange);
}

.price-card h3 {
    font-size: 1.2rem;
    color: var(--teal-dark);
    margin-bottom: 12px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 24px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.price-card li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    padding-left: 24px;
    position: relative;
}

.price-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--teal-dark);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3 4.3l-6.6 6.6L3.3 7.5' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3 4.3l-6.6 6.6L3.3 7.5' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.price-card-featured li::before {
    background: var(--orange);
}

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

.contact-info {
    max-width: 480px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.contact-card {
    display: flex;
    justify-content: center;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.15rem;
}

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

.footer {
    background: #0a1f26;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.8;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-logo-octoserv {
    height: 22px;
    width: auto;
    opacity: 0.6;
}

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

.footer-right a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-visual {
        max-width: 480px;
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
    }

    .pricing {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .price-card-featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .header-nav.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 110px 0 60px;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-left, .footer-center {
        justify-content: center;
    }
}
