/* =========================================
   1. GRUNDEINSTELLUNGEN & VARIABLEN
   ========================================= */
:root {
    --primary-blue: #F0A202; /* Saffron Orange */
    --light-blue: #F0F7F4;
    --dark-blue: #002d62;    /* American Navy */
    --text-main: #333333;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Dreht die Reihenfolge um (Bild links, Text rechts) */
.about-section.reverse {
    flex-direction: row-reverse;
}

/* =========================================
   2. LAYOUT & TYPOGRAFIE
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4 { 
    font-weight: 700; 
    color: var(--dark-blue); 
}

/* =========================================
   3. BUTTONS & UI ELEMENTE
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(240, 162, 2, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-link {
    display: inline-block;
    margin-top: auto; 
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding-top: 1rem;
}

.btn-link:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

.btn-white {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    margin-top: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.tag {
    background-color: #f0f8ff;
    color: #0066cc;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.status {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-icon { margin-right: 0.5rem; font-size: 1.1rem; }

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo strong { 
    color: var(--dark-blue); 
    font-size: 1.8rem; 
    letter-spacing: 1px;
    line-height: 1;
}

.logo span { 
    color: var(--primary-blue); 
    font-weight: 700; 
    font-size: 1rem; 
    margin-left: 0.5rem;
    line-height: 1;
}

.menu-toggle { 
    display: block; 
    font-size: 1.5rem; 
    color: var(--dark-blue); 
    cursor: pointer; 
}

.nav-links { display: none; }

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid #ddd;
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nav-links li { margin: 0.5rem 0; }
.nav-links a { display: block; padding: 0.5rem 2rem; font-weight: 500; }

/* =========================================
   5. HERO SEKTION
   ========================================= */
.hero {
    padding: 5rem 0;
    text-align: center;
}

.hero-text { margin-bottom: 2rem; }
.hero-text h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }
.hero-text span { color: var(--primary-blue); }
.hero-text p { font-size: 1rem; margin-bottom: 1rem; color: #666; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-image {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    max-width: 500px;
    margin: 0 auto;
}

.hero-zoom-img {
    transition: transform 0.4s ease-in-out;
}
.hero-zoom-img:hover {
    transform: scale(1.03);
}

/* =========================================
   6. HOME: PURE CSS SLIDER (Kacheln)
   ========================================= */
.slider-section {
    padding: 5rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.ticker-container::before,
.ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}
.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.ticker-wrapper {
    display: flex;
    gap: 2rem; 
    width: max-content;
    animation: pure-css-scroll 30s linear infinite; 
}

.ticker-wrapper:hover {
    animation-play-state: paused;
}

.slider-section .card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 300px;
    min-height: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--primary-blue);
    cursor: pointer;
}

.slider-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.slider-section .card h4 { color: var(--dark-blue); margin-bottom: 0.5rem; }
.slider-section .card p { color: #666; margin-bottom: 0; }

@keyframes pure-css-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } 
}

/* =========================================
   7. HOME: PAKETE (KI Potenzialanalyse etc.)
   ========================================= */
.package-section {
    padding: 5rem 0;
    text-align: center;
}

.all-inclusive-package-box {
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    color: var(--white);
    margin-bottom: -5rem; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: var(--dark-blue);
}

.all-inclusive-package-box h2 { 
    color: #ffffff !important; 
    margin-bottom: 1rem;
}

.starter-package-box {
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    color: var(--white);
    margin-bottom: 2rem; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: linear-gradient(var(--dark-blue));
}
 
.starter-package-box h2 {
    color: #ffffff !important; 
    margin-bottom: 1rem;
}

.starter-package-box .btn-white {
    background: white;
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1.5rem;
}

.trust-banner {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-style: italic;
    color: #666;
}

/* =========================================
   8. UNTERSEITEN (Infrastruktur & Software)
   ========================================= */
.block-section { padding: 5rem 0; }
.bg-white { background-color: var(--white); }
.bg-light-blue { background-color: #f4f9ff; }
.bg-light-gray { background-color: #fcfcfc; }

.tile-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: 2rem; 
}

.tile {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius);
    padding: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tile h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--dark-blue); }
.tile p { font-size: 0.95rem; color: #666; margin: 0; flex-grow: 1; }

.custom-solution-wrapper {
    padding: 5rem 0 10rem;
    background-color: var(--white);
}

.custom-solution-card.tile {
    background-color: var(--white) !important;
    border: 1px solid #eaeaea !important;      
    border-bottom: 4px solid var(--primary-blue) !important; 
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-radius: var(--border-radius);
    cursor: default;
}

.custom-solution-card.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-solution-card h2 { color: var(--dark-blue); margin-bottom: 1rem; }
.custom-solution-card p { color: #555; max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }
.custom-solution-card .action-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* =========================================
   9. POP-UP / MODAL (Unterseiten)
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 45, 98, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 650px;
    padding: 2rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content { transform: translateY(0); }

.close-btn { 
    position: absolute; 
    top: 0.5rem;   
    right: 1rem;   
    font-size: 2rem; 
    cursor: pointer; 
    color: #999; 
    line-height: 1; 
    z-index: 10;   
}

.close-btn:hover { color: var(--dark-blue); }

.modal-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: var(--light-blue);
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: bold;
    overflow: hidden;
    position: relative;
}

.modal-image::after {
    content: 'Symbolbild';
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-title { font-size: 1.8rem; margin-bottom: 1rem; color: var(--dark-blue); }
.modal-text { color: #555; margin-bottom: 2rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    background-color: #333333;
    color: #fff;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p { color: #fff; line-height: 1.6; font-size: 0.9rem; }
.footer-section h4 { margin-bottom: 1.5rem; border-left: 3px solid var(--primary-blue); padding-left: 10px; color: #fff; }
.footer-section ul { list-style: none; padding: 0; font-size: 0.9rem; line-height: 2; }
.footer-section a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--primary-blue); }

.footer-logo-wrap { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; line-height: 1; }
.footer-logo-wrap strong { font-size: 1.5rem; color: #fff; }
.footer-logo-wrap span { color: var(--primary-blue); }

.footer-bottom { border-top: 1px solid #555; padding-top: 2rem; text-align: center; font-size: 0.8rem; color: #fff; }
.footer-bottom .footer-tagline { margin-top: 5px; color: var(--primary-blue); }

/* =========================================
   10.1 PAGE HERO (Seitenköpfe der Unterseiten)
   ========================================= */
.page-hero {
    background-color: #fff;
    padding: 5rem 20px;
    border-bottom: 1px solid #eaeaea;
}

.page-hero .container { text-align: center; }
.page-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-blue); }
.page-hero p { max-width: 700px; margin: 0 auto; color: #555; }

/* =========================================
   10.2 SUBMIT BUTTON (Formulare)
   ========================================= */
.submit-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-btn:hover { background-color: var(--dark-blue); }

/* =========================================
   11. JLN 360° IT-CARE PRICING SEKTION
   ========================================= */
.it-care-section {
    padding: 5rem 0;
    background-color: #fcfcfc;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: flex-start;
    margin-top: 3rem;
}
.pricing-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    border-bottom: 6px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
    position: relative;
    z-index: 1;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 10;
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    border-bottom: 6px solid var(--primary-blue);
    box-shadow: 0 15px 35px rgba(240,162,2,0.15);
    position: relative;
}
.pricing-card.popular:hover {
    transform: translateY(-10px);
}
.popular-badge {
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.card-header h3 {
    color: var(--dark-blue);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.card-header .target {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.card-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
    /* --- HIER IST DIE NEUE, SAUBERE AUSRICHTUNG --- */
    display: flex;
    align-items: flex-start; /* Häkchen und Text sind immer oben bündig */
    justify-content: flex-start;
}
.card-features li > span:not(.check-icon):not(.tooltip) {
    flex: 1; /* Schiebt das nachfolgende Tooltip gnadenlos an den rechten Rand */
    padding-right: 10px; /* Ein kleiner Puffer, damit der Text nicht ins Fragezeichen klebt */
}
.check-icon {
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}
.missing-icon {
    color: #ccc;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* =========================================
   11.1 TOOLTIPS (INFO-BUTTONS)
   ========================================= */
.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help; 
    margin-left: auto; 
    width: 18px;
    height: 18px;
    background-color: #f0f0f0;
    color: #888;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0; /* Verhindert, dass das Fragezeichen gequetscht wird! */
    margin-top: 2px; /* Setzt das Fragezeichen auf eine perfekte optische Linie mit dem Text */
}
.tooltip:hover {
    background-color: var(--primary-blue);
    color: #fff;
}
.tooltip .tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #222; /* Sehr dunkles Grau */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px 14px;
    position: absolute;
    z-index: 100; /* Stellt sicher, dass das Kästchen GANZ OBEN ist */
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    /* Verhindert, dass der Text die Box sprengt */
    white-space: normal; 
}
/* Kleines Dreieck unter dem Tooltip */
.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    bottom: 130%; /* Leichter Hochfahr-Effekt */
}

/* =========================================
   11.2 PREISE & NEUE BUTTONS
   ========================================= */
.pricing-price {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-blue);
    font-weight: 700;
    margin: 1.5rem 0 2rem 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
    line-height: 1;
}
.pricing-price span {
    display: block;
    font-size: 0.9rem;
    color: #888;
    font-weight: normal;
    margin-top: 5px;
}
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.btn-primary-card {
    background-color: var(--primary-blue);
    color: #fff !important;
    padding: 14px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
    border: 2px solid var(--primary-blue);
}
.btn-primary-card:hover {
    background-color: #d89102;
    border-color: #d89102;
    transform: translateY(-2px);
}
.btn-secondary-card {
    background-color: transparent;
    color: var(--dark-blue) !important;
    padding: 14px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #eaeaea;
}
.btn-secondary-card:hover {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}


/* =========================================
   EIGENENTWICKLUNGEN / PRODUKTE SECTION
   ========================================= */
.products-section {
    background: #ffffff;
    padding: 5rem 0;
}

.packets-section {
    background: #ffffff;
    padding: 5rem 0;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-header .section-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.products-header h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.product-logo-area {
    background: var(--dark-blue);
    padding: 2.5rem 2rem;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-logo-wordmark {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.product-logo-wordmark em {
    color: var(--primary-blue);
    font-style: normal;
}

.product-body {
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.product-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.product-desc {
    color: #555;
    line-height: 1.75;
    font-size: 0.95rem;
    flex: 1;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.product-cta .arrow {
    transition: transform 0.2s ease;
}

.product-card:hover .product-cta .arrow {
    transform: translateX(5px);
}

/* =========================================
   12. MEDIA QUERIES
   ========================================= */

/* --- MOBILE & TABLET (bis 1023px: Hamburger-Menü) --- */
@media (max-width: 1023px) {
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .slider-section, .package-section, .block-section, .custom-solution-wrapper,
    .pricing-section, .partner-section { padding: 3.5rem 0; }
    .hero { padding: 3.5rem 0; }
    .page-hero { padding: 3rem 20px; }
    .page-hero h1 { font-size: 2rem; }

    .contact-wrapper { padding: 3.5rem 20px; }
    .about-content { padding: 3.5rem 20px; }
    .legal-wrapper { padding: 3.5rem 20px; }
}

/* --- TABLET (768px–1023px: etwas mehr Platz, 2-Spalten-Grid) --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .hero-text h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- DESKTOP (ab 1024px: horizontale Nav) --- */
@media (min-width: 1024px) {
    header .container { padding: 0.5rem 1rem; }
    .menu-toggle { display: none; }

    .nav-links { display: block; position: static; background: none; border: none; box-shadow: none; padding: 0; }
    .nav-links ul { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; }
    .nav-links li { margin: 0 0.5rem; }
    .nav-links a { padding: 0.5rem 1rem; font-weight: 600; font-size: 0.95rem; color: var(--dark-blue); }

    .hero { padding: 5rem 0; text-align: left; display: flex; align-items: center; justify-content: space-between; }
    .hero-text { flex: 1; margin-bottom: 0; margin-right: 3rem; text-align: left; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin-left: 0; }
    .hero-image { flex: 1; max-width: 400px; }

    .grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
}