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

:root {
    --brand:       #476278;
    --brand-dark:  #35505f;
    --brand-light: #5e7d94;
    --accent:      #e6eef3;
    --text:        #1a2530;
    --muted:       #6b7c8d;
    --white:       #ffffff;
    --card-bg:     #f5f8fa;
    --border:      #d8e4ec;
    --radius:      10px;
    --shadow:      0 4px 24px rgba(71,98,120,.12);
    --shadow-lg:   0 8px 40px rgba(71,98,120,.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

/* ── Layout helpers ──────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--alt { background: var(--accent); }

.tag {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--brand); transform: translateY(-2px); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }

/* ── NAV ─────────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--brand);
    display: flex;
    align-items: center;
}
.logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: invert(37%) sepia(18%) saturate(600%) hue-rotate(162deg) brightness(85%) contrast(90%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-cta { margin-left: 8px; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: all .3s;
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 10px 0;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--brand); }

/* ── PAGE HERO (sub-pages) ───────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
    color: var(--white);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.page-hero-inner { position: relative; }
.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p  { font-size: 1.1rem; opacity: .85; max-width: 560px; margin: 0 auto; }

/* ── FEATURES ────────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
    width: 52px; height: 52px;
    background: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; fill: var(--white); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: .95rem; }

/* ── PRODUCTS ────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.product-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px 32px;
    position: relative;
    transition: all .25s;
}
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.product-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}
.product-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.product-icon svg { width: 30px; height: 30px; fill: var(--white); }
.icon-blue  { background: var(--brand); }
.icon-dark  { background: var(--brand-dark); }
.icon-light { background: var(--brand-light); }
.product-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.product-subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount   { font-size: 2.4rem; font-weight: 800; color: var(--brand); }
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--brand); }
.price-period   { font-size: .9rem; color: var(--muted); }
.price-note     { font-size: .8rem; color: var(--muted); margin-bottom: 28px; }
.product-features { list-style: none; margin-bottom: 32px; }
.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
}
.product-features li:last-child { border-bottom: none; }
.check {
    flex-shrink: 0;
    width: 18px; height: 18px;
    background: #4caf82;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.check svg { width: 10px; height: 10px; fill: var(--white); }
.product-card .btn { width: 100%; text-align: center; }

/* ── WEBDESIGN ───────────────────────────────────────────────────── */
.webdesign-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.webdesign-text .tag { background: var(--brand-light); }
.webdesign-text h2  { margin-bottom: 16px; }
.webdesign-text p   { color: var(--muted); margin-bottom: 24px; }
.webdesign-list { list-style: none; margin-bottom: 32px; }
.webdesign-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .95rem;
}
.webdesign-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--brand);
    border-radius: 50%;
    flex-shrink: 0;
}
.webdesign-visual {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.browser-bar {
    background: var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.bd-red    { background: #ff5f56; }
.bd-yellow { background: #ffbd2e; }
.bd-green  { background: #27c93f; }
.browser-url {
    flex: 1;
    background: var(--white);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: .8rem;
    color: var(--muted);
    margin-left: 8px;
}
.browser-content { padding: 28px 24px; }
.mock-hero {
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%);
    border-radius: 8px;
    padding: 28px 20px;
    margin-bottom: 20px;
}
.mock-title { background: rgba(255,255,255,.35); height: 18px; border-radius: 4px; width: 60%; margin-bottom: 10px; }
.mock-sub   { background: rgba(255,255,255,.2);  height: 10px; border-radius: 4px; width: 80%; margin-bottom: 18px; }
.mock-btn   { background: rgba(255,255,255,.9);  height: 28px; border-radius: 6px; width: 100px; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-card  { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 12px 10px; }
.mock-line  { background: var(--border); height: 8px; border-radius: 3px; margin-bottom: 6px; }
.mock-line.short { width: 65%; }

/* ── TRUST ────────────────────────────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 28px;
}
.trust-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.trust-num   { font-size: 2.2rem; font-weight: 800; color: var(--brand); display: block; }
.trust-label { color: var(--muted); font-size: .9rem; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { color: var(--muted); margin-bottom: 32px; }
.contact-items   { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-item-icon {
    width: 44px; height: 44px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; fill: var(--brand); }
.contact-item-label { font-size: .8rem; color: var(--muted); }
.contact-item-value { font-weight: 600; font-size: .95rem; }

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(77,104,128,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; text-align: center; margin-top: 4px; }

/* ── CTA BANNER ──────────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p  { opacity: .82; font-size: 1.1rem; margin-bottom: 32px; }
.cta-buttons   { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
    background: #1a2530;
    color: rgba(255,255,255,.7);
    padding: 72px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand .logo { color: var(--white); font-size: 1.6rem; display: block; margin-bottom: 14px; }
.footer-brand p     { font-size: .9rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
    color: var(--white);
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── HERO (Startseite) ───────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero p  { font-size: 1.15rem; opacity: .88; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; }
.stat { text-align: center; }
.stat-num   { font-size: 2rem; font-weight: 800; display: block; }
.stat-label { font-size: .85rem; opacity: .7; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.server-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 340px;
}
.server-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.server-row:last-child { border-bottom: none; }
.dot         { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green   { background: #4caf82; box-shadow: 0 0 8px #4caf82; }
.dot-yellow  { background: #f0c040; box-shadow: 0 0 8px #f0c040; }
.server-row span  { font-size: .9rem; opacity: .9; }
.server-row small { margin-left: auto; opacity: .6; font-size: .8rem; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid    { grid-template-columns: 1fr 1fr; }
    .footer-grid   { grid-template-columns: 1fr 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section        { padding: 64px 0; }
    .nav-links,
    .nav-cta        { display: none; }
    .hamburger      { display: flex; }
    .hero-inner     { grid-template-columns: 1fr; }
    .hero-visual    { display: none; }
    .hero-stats     { gap: 20px; }
    .features-grid  { grid-template-columns: 1fr; }
    .products-grid  { grid-template-columns: 1fr; }
    .webdesign-inner { grid-template-columns: 1fr; }
    .trust-grid     { grid-template-columns: 1fr 1fr; }
    .footer-grid    { grid-template-columns: 1fr; }
    .footer-bottom  { flex-direction: column; gap: 16px; text-align: center; }
    .form-row       { grid-template-columns: 1fr; }
    .contact-form   { padding: 28px 20px; }
}
