/*
========================================
AIBITEC – Globale Designbasis
Finaler Feinschliff Schritt 21
========================================
*/

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Variablen */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-soft: #dbeafe;

    --color-brand-dark: #081226;
    --color-brand-dark-2: #0d1b36;

    --color-heading: #081226;
    --color-heading-soft: #0f172a;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-white: #ffffff;
    --color-bg: #f8fafc;
    --color-border: #dbe4ee;

    --container-width: 1280px;
    --container-padding: 20px;

    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);

    --transition: all 0.25s ease;
}

/* Grundstruktur */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

.site-main,
main {
    flex: 1;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Typografie */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-heading);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 26px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-height: 52px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--color-heading);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}

.site-branding,
.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img,
.custom-logo,
.site-logo .custom-logo {
    max-height: 42px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--color-heading);
}

.main-navigation {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    position: relative;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-text);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta {
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background-color: var(--color-heading);
}

.mobile-menu {
    display: none;
    background-color: var(--color-white);
    border-top: 1px solid #e2e8f0;
    padding: 0 20px 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-navigation {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-menu a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.mobile-cta {
    width: 100%;
}

/* Home Hero */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, #1e293b 55%, var(--color-primary) 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    color: #ffffff;
}

.hero-subheadline {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.7;
    color: #dbeafe;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.hero .btn {
    min-width: 180px;
}

.hero .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual-card {
    width: 100%;
    max-width: 460px;
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hero-visual-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.hero-visual-card h2 {
    font-size: 28px;
    color: #ffffff;
}

.hero-visual-card p {
    color: #e2e8f0;
}

/* Services */
.services {
    margin-top: -40px;
    padding: 120px 0 110px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 2;
}

.services-header,
.section-header {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 42px;
    line-height: 1.15;
    color: var(--color-heading-soft);
}

.section-header p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-muted);
}

.services-grid {
    display: grid;
    gap: 32px;
}

.service-box {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #dbe4ee;
    border-radius: 24px;
    padding: 42px;
    box-shadow: var(--shadow-sm);
}

.service-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-box h3 {
    font-size: 30px;
}

.service-target {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading-soft);
}

.service-box p {
    font-size: 17px;
    line-height: 1.75;
}

.service-problem {
    color: #b91c1c;
}

.service-benefit {
    color: #15803d;
}

.service-features {
    margin: 22px 0;
}

.service-features li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
}

.service-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

/* Warum AIBITEC */
.why-aibitec {
    padding: 110px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.why-aibitec-header {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.why-aibitec-header h2 {
    font-size: 2.4rem;
}

.why-aibitec-header p {
    font-size: 1.05rem;
    color: #475569;
}

.why-aibitec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-aibitec-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
}

.why-aibitec-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
}

.why-aibitec-card h3 {
    font-size: 1.25rem;
}

.why-aibitec-card p {
    color: #475569;
}

.why-aibitec-cta {
    text-align: center;
    margin-top: 40px;
}

/* Referenzen */
.references {
    padding: 110px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.references-header {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.reference-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.reference-content p,
.reference-note {
    color: var(--color-muted);
}

/* Kontakt */
.contact {
    padding: 130px 0;
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-header {
    margin-bottom: 24px;
}

.contact-header p {
    color: var(--color-muted);
}

.contact-benefit-highlight {
    max-width: 560px;
    margin: 0 auto 22px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
}

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

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border-radius: 12px;
}

.contact-note {
    margin-top: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.contact-info {
    margin-top: 30px;
    font-size: 14px;
    color: var(--color-muted);
}

.contact-info a {
    display: block;
    margin-top: 6px;
    color: var(--color-primary);
    font-weight: 600;
}

/* Angebotsseite */
.fahrschul-webseiten-page .container {
    max-width: 1180px;
}

.offer-page section {
    position: relative;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-heading p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-muted);
}

.offer-hero {
    min-height: 760px;
    padding: 150px 0 130px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top center, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(180deg, #edf6ff 0%, #ffffff 100%);
}

.offer-hero-inner {
    display: flex;
    justify-content: center;
    text-align: center;
}

.offer-hero-content {
    max-width: 1020px;
}

.offer-hero h1 {
    max-width: 980px;
    margin: 0 auto 24px;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.offer-hero-lead {
    max-width: 820px;
    margin: 0 auto 34px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
}

.offer-hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.offer-hero-actions .btn {
    min-width: 220px;
    min-height: 56px;
}

.hero-trust-note,
.pricing-note,
.pricing-note-strong,
.addons-intro {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.hero-trust-note {
    margin: 0 auto 28px;
}

.offer-hero-points {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto 24px;
}

.offer-hero-points li {
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--color-primary-soft);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.offer-hero-trust {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.offer-hero-trust span {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-muted);
}

.offer-hero-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translateY(-50%);
}

/* Angebotssektionen */
.offer-problem-solution,
.offer-included,
.offer-benefits,
.offer-pricing,
.offer-process,
.offer-future,
.offer-seo-text,
.offer-cta {
    padding: 120px 0;
}

.offer-problem-solution,
.offer-process,
.offer-seo-text {
    background: #ffffff;
}

.offer-included,
.offer-pricing {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.offer-benefits {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.offer-future {
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.problem-solution-grid,
.included-grid,
.benefits-grid,
.process-grid,
.addon-groups {
    display: grid;
    gap: 28px;
}

.problem-solution-grid,
.addon-groups {
    grid-template-columns: repeat(2, 1fr);
}

.included-grid,
.benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.problem-card,
.solution-card,
.included-box,
.benefit-card,
.process-step,
.pricing-main-card,
.addon-group,
.future-box,
.seo-text-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.problem-card,
.solution-card,
.included-box,
.benefit-card,
.process-step,
.addon-group,
.future-box,
.seo-text-box {
    padding: 34px;
}

.problem-card ul,
.solution-card ul,
.included-box ul,
.pricing-feature-list,
.addon-group ul {
    display: grid;
    gap: 12px;
}

.problem-card li,
.solution-card li,
.included-box li,
.pricing-feature-list li,
.addon-group li {
    position: relative;
    padding-left: 24px;
    color: #475569;
    line-height: 1.7;
}

.problem-card li::before,
.solution-card li::before,
.included-box li::before,
.pricing-feature-list li::before,
.addon-group li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.benefit-card h3 {
    font-size: 1.45rem;
}

.benefit-card p,
.process-step p,
.future-box p,
.seo-text-box p {
    color: #475569;
}

/* Pricing */
.pricing-main-card {
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 48px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.10);
}

.pricing-highlight {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-price {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
}

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

.pricing-description {
    max-width: 660px;
    margin: 0 auto 26px;
    color: #475569;
}

.pricing-feature-list {
    max-width: 560px;
    margin: 0 auto 30px;
    text-align: left;
}

.pricing-note {
    margin-top: 14px;
}

.pricing-note-strong {
    margin-top: 8px;
    font-weight: 700;
}

.addons-intro {
    max-width: 720px;
    margin: 34px auto 24px;
}

.addon-group {
    position: relative;
    padding: 34px;
    overflow: hidden;
}

.addon-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--color-primary);
}

.addon-group h3 {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8eef5;
    font-size: 1.25rem;
}

.addon-group h3 span {
    color: var(--color-primary);
    font-size: 1rem;
    white-space: nowrap;
}

/* Process */
.process-step {
    text-align: center;
}

.step-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 700;
}

.future-box,
.seo-text-box {
    max-width: 920px;
    margin: 0 auto;
}

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

.seo-text-box {
    padding: 52px 54px;
    border-radius: 26px;
}

.seo-text-box p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.03rem;
    line-height: 1.9;
    color: #475569;
}

.seo-text-box p + p {
    margin-top: 24px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-dark-2));
    color: #cbd5f5;
    padding: 60px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #cbd5f5;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
    color: #cbd5f5;
}

/* Legal Pages */
.legal-page {
    background: var(--color-bg);
}

.legal-section {
    padding: 80px 0;
}

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

.legal-container h1 {
    margin-bottom: 32px;
}

.legal-container h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.legal-container p,
.legal-container li {
    line-height: 1.75;
}

.legal-container ul {
    margin: 16px 0 24px 24px;
    list-style: disc;
}

/* Anchor Offset */
#kontakt,
#preise {
    scroll-margin-top: 120px;
}

/* Tablet */
@media (max-width: 1100px) {
    .why-aibitec-grid,
    .included-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .main-navigation,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .problem-solution-grid,
    .included-grid,
    .benefits-grid,
    .process-grid,
    .addon-groups {
        grid-template-columns: 1fr;
    }

    .offer-hero {
        min-height: auto;
        padding: 110px 0 90px;
    }

    .offer-hero h1 {
        font-size: clamp(2.4rem, 7vw, 3.6rem);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 18px;
    }

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        padding: 13px 18px;
        font-size: 15px;
    }

    .header-inner {
        min-height: 78px;
    }

    .site-logo img,
    .custom-logo,
    .site-logo .custom-logo {
        max-height: 46px;
    }

    .hero {
        padding: 56px 0 44px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-inner {
        gap: 24px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.18;
    }

    .hero-subheadline {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero .btn {
        width: 100%;
        min-width: 0;
    }

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

    .hero-highlights span {
        width: 100%;
        justify-content: center;
    }

    .hero-visual-card {
        padding: 24px;
        border-radius: 20px;
    }

    .services {
        margin-top: -24px;
        padding: 72px 0;
        border-radius: 22px 22px 0 0;
    }

    .section-header,
    .services-header,
    .section-heading,
    .why-aibitec-header,
    .references-header {
        margin-bottom: 36px;
    }

    .section-header h2,
    .why-aibitec-header h2 {
        font-size: 28px;
    }

    .section-header p,
    .section-heading p,
    .why-aibitec-header p {
        font-size: 15px;
        line-height: 1.65;
    }

    .service-box,
    .why-aibitec-card,
    .reference-card,
    .contact-wrapper,
    .problem-card,
    .solution-card,
    .included-box,
    .benefit-card,
    .process-step,
    .pricing-main-card,
    .addon-group,
    .future-box,
    .seo-text-box {
        padding: 26px 22px;
        border-radius: 20px;
    }

    .service-box h3 {
        font-size: 24px;
    }

    .service-box p,
    .service-target,
    .service-features li {
        font-size: 15px;
        line-height: 1.65;
    }

    .why-aibitec,
    .references,
    .contact,
    .offer-problem-solution,
    .offer-included,
    .offer-benefits,
    .offer-pricing,
    .offer-process,
    .offer-future,
    .offer-seo-text {
        padding: 72px 0;
    }

    .why-aibitec-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        max-width: 100%;
    }

    .contact-header h2 {
        font-size: 28px;
        line-height: 1.15;
    }

    .contact-header p,
    .contact-benefit-highlight,
    .contact-note,
    .contact-info {
        font-size: 15px;
        line-height: 1.55;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 15px;
    }

    .offer-hero {
        padding: 72px 0 62px;
    }

    .offer-hero h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .offer-hero-lead {
        font-size: 15px;
        line-height: 1.65;
    }

    .offer-hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .offer-hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-trust-note,
    .pricing-note,
    .pricing-note-strong,
    .addons-intro {
        font-size: 14px;
        line-height: 1.55;
    }

    .offer-hero-points {
        flex-direction: column;
    }

    .offer-hero-points li {
        width: 100%;
    }

    .offer-hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .pricing-price {
        font-size: 42px;
    }

    .addon-group h3 {
        display: block;
    }

    .addon-group h3 span {
        display: block;
        margin-top: 6px;
    }

    .seo-text-box p {
        font-size: 15px;
        line-height: 1.75;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }

    body {
        font-size: 15px;
    }

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 74px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding: 44px 0 38px;
    }

    .hero h1 {
        font-size: 25px;
        line-height: 1.18;
    }

    .hero-subheadline {
        font-size: 14px;
    }

    .hero-eyebrow,
    .section-badge {
        font-size: 10px;
        padding: 7px 11px;
    }

    .hero-visual-card h2 {
        font-size: 22px;
    }

    .hero-visual-card p {
        font-size: 15px;
    }

    .services,
    .why-aibitec,
    .references,
    .contact,
    .offer-problem-solution,
    .offer-included,
    .offer-benefits,
    .offer-pricing,
    .offer-process,
    .offer-future,
    .offer-seo-text {
        padding: 60px 0;
    }

    .section-header h2,
    .section-heading h2,
    .why-aibitec-header h2 {
        font-size: 26px;
        line-height: 1.18;
    }

    .offer-hero {
        padding: 58px 0 52px;
    }

    .offer-hero h1 {
        font-size: 30px;
        line-height: 1.12;
    }

    .offer-hero-lead {
        font-size: 14px;
    }

    .offer-hero-points li,
    .offer-hero-trust span {
        font-size: 14px;
    }

    .contact-wrapper {
        padding: 28px 20px;
    }

    .contact-header h2 {
        font-size: 26px;
    }

    .contact-header p,
    .contact-benefit-highlight,
    .contact-note,
    .contact-info {
        font-size: 14px;
    }

    .pricing-main-card {
        padding: 30px 20px;
    }

    .pricing-price {
        font-size: 38px;
    }

    .step-number {
        width: 48px;
        height: 48px;
    }

    .legal-section {
        padding: 56px 0;
    }

    .legal-container h1 {
        font-size: 32px;
    }
}

.mobile-navigation {
    padding-top: 18px;
    padding-bottom: 8px;
}

.mobile-nav-menu {
    gap: 14px;
}

.mobile-nav-menu a {
    display: block;
    padding: 6px 0;
}

.mobile-cta {
    margin-top: 8px;
}

/* =========================
   FINAL MOBILE FEINSCHLIFF – SCHRITT 21
========================= */

@media (max-width: 480px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    h1,
    .hero h1,
    .offer-hero h1 {
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    h2,
    .section-header h2,
    .section-heading h2,
    .why-aibitec-header h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    h3,
    .service-box h3,
    .benefit-card h3,
    .addon-group h3 {
        font-size: 21px;
        line-height: 1.25;
    }

    p,
    li,
    .hero-subheadline,
    .offer-hero-lead,
    .section-heading p,
    .section-header p,
    .service-box p,
    .service-target,
    .service-features li,
    .contact-header p,
    .contact-benefit-highlight,
    .contact-note,
    .contact-info,
    .seo-text-box p {
        font-size: 15px;
        line-height: 1.65;
    }

    .section-badge,
    .hero-eyebrow,
    .pricing-highlight {
        font-size: 10px;
        padding: 7px 11px;
        margin-bottom: 14px;
    }

    .hero {
        padding: 46px 0 42px;
    }

    .hero-visual-card {
        padding: 24px;
    }

    .services,
    .why-aibitec,
    .references,
    .contact,
    .offer-problem-solution,
    .offer-included,
    .offer-benefits,
    .offer-pricing,
    .offer-process,
    .offer-future,
    .offer-seo-text {
        padding: 58px 0;
    }

    .offer-hero {
        padding: 54px 0 48px;
        min-height: auto;
    }

    .offer-hero-actions,
    .hero-buttons {
        gap: 12px;
    }

    .btn,
    .offer-hero-actions .btn,
    .hero .btn,
    .contact-form .btn-primary {
        width: 100%;
        min-height: 50px;
        padding: 13px 18px;
        font-size: 15px;
        border-radius: 14px;
    }

    .offer-hero-points {
        gap: 10px;
        margin-bottom: 18px;
    }

    .offer-hero-points li {
        width: 100%;
        font-size: 14px;
        line-height: 1.45;
        padding: 12px 16px;
    }

    .offer-hero-trust {
        display: none;
    }

    .problem-card,
    .solution-card,
    .included-box,
    .benefit-card,
    .process-step,
    .pricing-main-card,
    .addon-group,
    .future-box,
    .seo-text-box,
    .service-box,
    .why-aibitec-card,
    .reference-card,
    .contact-wrapper {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .pricing-price {
        font-size: 40px;
    }

    .pricing-note,
    .pricing-note-strong,
    .addons-intro,
    .hero-trust-note {
        font-size: 14px;
        line-height: 1.55;
    }

    .addon-group h3 span {
        display: block;
        margin-top: 6px;
        font-size: 15px;
    }

    .contact-wrapper {
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* BESSERE VISUELLE STRUKTUR MOBILE */

@media (max-width: 480px) {

    .section-heading,
    .section-header {
        margin-bottom: 28px;
    }

    .problem-card,
    .solution-card,
    .included-box,
    .benefit-card,
    .addon-group {
        margin-bottom: 14px;
    }

    .offer-hero-points li {
        border-radius: 14px;
    }

    .pricing-main-card {
        margin-bottom: 24px;
    }
}

.section-cta {
    margin-top: 40px;
    text-align: center;
}

.section-cta .btn {
    min-width: 260px;
}

@media (max-width: 768px) {
    .section-cta {
        margin-top: 30px;
    }

    .section-cta .btn {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   ABLAUF-BEREICH FINALER FEINSCHLIFF
========================= */

.offer-process .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.offer-process .process-step {
    min-height: 300px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
}

.offer-process .step-number {
    width: 58px;
    height: 58px;
    margin: 0 0 24px;
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.offer-process .process-step h3 {
    min-height: 64px;
    margin-bottom: 18px;
    font-size: 1.45rem;
    line-height: 1.22;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-process .process-step p {
    margin: 0;
    max-width: 240px;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

/* Tablet */
@media (max-width: 1100px) {
    .offer-process .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-process .process-step {
        min-height: 260px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .offer-process .process-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .offer-process .process-step {
        min-height: auto;
        padding: 28px 22px;
    }

    .offer-process .process-step h3 {
        min-height: auto;
        font-size: 1.35rem;
    }

    .offer-process .process-step p {
        max-width: 100%;
        font-size: 15px;
    }
}

.offer-process .process-step h3 {
    font-size: 1.35rem;
}
