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

/* Geschützte Kontaktdaten – nicht auswähl- oder kopierbar */
.protected {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: white;
}

/* ── HEADER ── */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

/* ── BUTTONS ── */
.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ── LAYOUT ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 2rem;
}

.section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ── CLIENTS ── */
.clients {
    background: var(--bg-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    opacity: 0.6;
}

.client-logo {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    padding: 1rem;
}

/* ── SERVICE CARDS ── */
.services-overview {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── TECHNOLOGIES ── */
.technologies {
    background: var(--bg-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    text-align: center;
}

.tech-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ── PROCESS ── */
.process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── HIGHLIGHTS ── */
.highlights {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.highlight-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ── CTA ── */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* ── FOOTER ── */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── BLOG ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* ── APPS ── */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.app-category {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.app-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ── CONTACT FORM ── */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

button[type="submit"] {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-family: inherit;
}

button[type="submit"]:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* ── LEGAL CONTENT PAGES ── */
.content {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.content a:hover {
    text-decoration: underline;
}

.content strong {
    color: var(--text-dark);
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ── HAMBURGER MENU ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.hamburger:hover { background: var(--bg-light); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── DATENSCHUTZ CHECKBOX ── */
.form-checkbox { margin-bottom: 0.5rem; }
.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}
.checkbox-label a { color: var(--primary); }

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {

    /* Navigation */
    header { position: relative; }
    nav { padding: 0.75rem 1.25rem; }
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border);
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 0.25rem 0;
        z-index: 200;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--text-dark);
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links .btn-primary {
        display: block;
        margin: 0.75rem 1.5rem;
        text-align: center;
        border-radius: 0.5rem;
    }

    /* Spacing */
    section { padding: 3rem 1.25rem; }
    .hero  { padding: 3rem 1.25rem; }
    .cta   { padding: 3rem 1.25rem; }
    footer { padding: 3rem 1.25rem; }
    .container   { padding: 0 1.25rem; }
    .page-hero   { padding: 2.5rem 1.25rem; }
    .content     { padding: 2rem 1.25rem; }

    /* Typography */
    .hero h1        { font-size: 1.8rem; line-height: 1.25; }
    .hero p         { font-size: 0.98rem; }
    .section-title  { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .cta h2         { font-size: 1.7rem; }
    .cta p          { font-size: 0.98rem; }
    .page-hero h1   { font-size: 1.6rem; }
    .page-hero p    { font-size: 0.95rem; }
    .content h1     { font-size: 1.6rem; }
    .content h2     { font-size: 1.25rem; }

    /* Hero buttons – full-width, stacked */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary { text-align: center; width: 100%; }

    /* Service cards – 1 column */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card  { padding: 1.5rem; }

    /* Tech – 2 fixed columns */
    .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .tech-item { padding: 1rem; }

    /* Process – 2 fixed columns */
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

    /* Highlights – 1 column */
    .highlights-grid { grid-template-columns: 1fr; gap: 1rem; }
    .highlight-item  { padding: 1.5rem; }

    /* Footer – 2 columns */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }

    /* Blog & Apps – 1 column */
    .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .blog-card  { padding: 1.5rem; }
    .apps-grid  { grid-template-columns: 1fr; gap: 1.25rem; }
    .app-card   { padding: 1.5rem; }

    /* Form – full-width submit */
    button[type="submit"] { width: 100%; }
}

/* ── RESPONSIVE 480px ── */
@media (max-width: 480px) {
    nav { padding: 0.7rem 1rem; }
    .logo { font-size: 1.25rem; }

    /* Single column everything */
    .tech-grid      { grid-template-columns: 1fr; }
    .process-steps  { grid-template-columns: 1fr; }
    .footer-grid    { grid-template-columns: 1fr; gap: 1.5rem; }

    .hero h1        { font-size: 1.6rem; }
    .section-title  { font-size: 1.4rem; }
    .cta h2         { font-size: 1.5rem; }
    .page-hero h1   { font-size: 1.4rem; }

    section  { padding: 2.5rem 1rem; }
    .hero    { padding: 2.5rem 1rem; }
    .cta     { padding: 2.5rem 1rem; }
    footer   { padding: 2.5rem 1rem; }
    .container  { padding: 0 1rem; }
    .page-hero  { padding: 2rem 1rem; }
    .content    { padding: 1.5rem 1rem; }
}
