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

:root {
    /* Helle, freundliche Farbpalette */
    --primary: hsl(210, 90%, 50%);
    --primary-foreground: hsl(0, 0%, 100%);
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(222, 20%, 20%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 20%, 20%);
    --muted: hsl(210, 20%, 95%);
    --muted-foreground: hsl(222, 15%, 45%);
    --border: hsl(214, 15%, 88%);
    --accent: hsl(195, 85%, 50%);
    --accent-foreground: hsl(0, 0%, 100%);
    --success: hsl(142, 71%, 45%);
    --chart-2: hsl(160, 75%, 42%);
    --radius: 0.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-primary {
    color: var(--primary);
}

.logo-secondary {
    color: var(--muted-foreground);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
    background: linear-gradient(135deg, hsl(210, 100%, 97%) 0%, hsl(195, 100%, 95%) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.6), 
        var(--background));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.75;
    font-weight: 400;
}

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

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--success);
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: hsl(210, 90%, 45%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.icon-right {
    transition: transform 0.2s ease;
}

.btn-primary:hover .icon-right {
    transform: translateX(2px);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-background {
    background-color: var(--background);
}

.bg-card {
    background-color: var(--muted);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background-color: hsl(210, 100%, 95%);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.gap-medium {
    gap: 2rem;
}

.gap-large {
    gap: 3rem;
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.card-lg {
    padding: 2rem;
}

.card-sm {
    padding: 1rem;
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--muted);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.card-icon-sm {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-icon-xs {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: calc(var(--radius) * 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.card-icon-center {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.card-title-lg {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.card-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.card-text {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.card-text-sm {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.card-horizontal {
    display: flex;
    gap: 1rem;
}

.card-horizontal-sm {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.card-content {
    flex: 1;
}

.card-gradient {
    background: linear-gradient(135deg, hsl(210, 100%, 96%) 0%, hsl(195, 100%, 95%) 100%);
    border: 1px solid hsl(210, 80%, 90%);
}

/* Metric Badge */
.metric-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success), hsl(160, 75%, 38%));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Tabs */
.tabs {
    margin-top: 2rem;
}

.tabs-list {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    overflow-x: auto;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--foreground);
    background-color: var(--muted);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-feature-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.tab-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.tab-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.15;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--foreground);
}

.list-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Use Cases */
.use-case-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.use-case-grid {
    display: grid;
    gap: 1rem;
}

/* Metrics */
.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 3rem;
}

.mt-large {
    margin-top: 3rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    padding: 0.5rem 1.25rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Integration Features */
.integration-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.integration-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: calc(var(--radius) * 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.integration-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.integration-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.max-w-large {
    max-width: 56rem;
}

.mb-medium {
    margin-bottom: 1.5rem;
}

.mt-small {
    margin-top: 0.75rem;
}

/* Contact Form */
.contact-form {
    width: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: all 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-foreground);
}

.btn-full {
    width: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: hsl(142, 76%, 95%);
    border: 1px solid hsl(142, 76%, 85%);
    color: hsl(142, 71%, 30%);
}

.form-message.error {
    display: block;
    background-color: hsl(0, 76%, 95%);
    border: 1px solid hsl(0, 76%, 85%);
    color: hsl(0, 71%, 40%);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-note {
    padding: 1.25rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.contact-note p {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--muted);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-info {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.footer-info p {
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .card-title-lg {
        font-size: 1.125rem;
    }

    .card-title {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .tab-title {
        font-size: 1.25rem;
    }

    .use-case-title {
        font-size: 1.25rem;
    }

    /* Content-Bereich begrenzen */
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .card {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* H1 auf Unterseiten optimieren */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h2 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h3 {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .tab-feature-grid {
        grid-template-columns: 1fr;
    }

    .tab-visual {
        display: none;
    }

    .hero-badges {
        gap: 1rem;
    }

    .trust-badges {
        gap: 0.75rem;
    }

    .tabs-list {
        gap: 0.25rem;
    }

    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    /* Hero Section Anpassungen */
    .hero-content {
        padding: 3rem 1rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .card-title-lg {
        font-size: 1rem;
    }

    .card-title {
        font-size: 0.9375rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    /* H1 auf Unterseiten noch kleiner auf sehr kleinen Screens */
    h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }

    h3 {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

    /* Content-Bereiche noch besser begrenzen */
    .card {
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-content {
        padding: 2rem 0.75rem;
    }

    /* Tab-Buttons kleiner */
    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    /* Form-Elemente */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
}
