/* =========================
   GRUNDEINSTELLUNGEN
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================
   TYPOGRAFIE
========================= */

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

p {
    margin-top: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 48px;
}

.section-heading p:last-child {
    color: #6b7280;
    font-size: 1.05rem;
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 22px;

    border: 2px solid #2563eb;
    border-radius: 6px;

    background-color: #2563eb;
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.button-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.button-outline:hover {
    background-color: #ffffff;
    color: #111827;
    border-color: #ffffff;
}

.button-light {
    background-color: #ffffff;
    color: #111827;
    border-color: #ffffff;
}

.button-light:hover {
    background-color: #f3f4f6;
    border-color: #f3f4f6;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: rgba(15, 23, 42, 0.97);
    color: #ffffff;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.08em;
}

.logo:hover {
    color: #93c5fd;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navigation a {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #ffffff;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 760px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(15, 23, 42, 0.35),
            rgba(15, 23, 42, 0.35)
        ),
        url("../images/hero-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.hero-content {
  
    padding: 100px 0;
}

.hero .eyebrow {
    color: #93c5fd;
}

.hero-text {
    max-width: 650px;
    margin-bottom: 32px;

    color: #d1d5db;
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================
   LEISTUNGEN
========================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    overflow: hidden;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-content {
    padding: 26px;
}

.service-content li {
     color: #6b7280;
}

.service-content p {
    color: #6b7280;
}

.service-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

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


/* =========================
   CTA
========================= */

.cta {
    padding: 70px 0;
    background-color: #2563eb;
    color: #ffffff;
}

.cta .eyebrow {
    color: #dbeafe;
}

.cta p {
    color: #dbeafe;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-content > div {
    max-width: 700px;
}

.cta h2 {
    margin-bottom: 12px;
}


/* =========================
   ÜBER UNS
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image img {
    width: 100%;
    min-height: 520px;

    object-fit: cover;

    border-radius: 14px;
}

.about-content > p {
    color: #6b7280;
}

.about-content .eyebrow {
    color: #2563eb;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    margin-top: 30px;
}

.benefits div {
    padding: 14px 16px;

    border-radius: 8px;
    background-color: #f8fafc;

    font-weight: 600;
}

.benefits strong {
    margin-right: 7px;
    color: #2563eb;
}


/* =========================
   PARTNER
========================= */

.partner-section {
    padding: 90px 0;
    background-color: #f8fafc;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    align-items: center;
}

.partner-grid img {
    max-width: 480px;
    max-height: 380px;

    margin: 0 auto;

    object-fit: contain;

    filter: grayscale(1);
    opacity: 0.65;

    transition:
        filter 0.2s ease,
        opacity 0.2s ease;
}

.partner-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}


/* =========================
   KONTAKT
========================= */

.contact {
    padding: 100px 0;
    background-color: #0f172a;
    color: #ffffff;
}

.contact-info {
    max-width: 1120px;
}

.contact .eyebrow {
    color: #93c5fd;
}

.contact h2 {
    max-width: 600px;
    margin-bottom: 20px;
}

.contact-intro {
    max-width: 600px;
    margin-bottom: 40px;

    color: #cbd5e1;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;

    min-width: 460px;
    padding: 22px 25px;

    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    background-color: #2563eb;
    border-radius: 50%;

    font-size: 1.3rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    margin-bottom: 3px;
    color: #ffffff;
}

.contact-item a,
.contact-item span {
    color: #cbd5e1;
    text-decoration: none;
}

.contact-item a:hover {
    color: #93c5fd;
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: #020617;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;

    padding: 70px 0;
}

.footer-logo {
    width: 160px;
    margin-bottom: 18px;
}

.footer-logo-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer h3 {
    color: #ffffff;
}

.footer a {
    display: block;

    margin-bottom: 10px;

    text-decoration: none;
    color: #cbd5e1;
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.9rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

    .navigation {
        display: none;
    }

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

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

    .about-image img {
        min-height: auto;
        max-height: 500px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

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


@media (max-width: 650px) {

    .section {
        padding: 70px 0;
    }

    .header .button {
        display: none;
    }

    .nav-container {
        min-height: 68px;
    }

    .logo {
        font-size: 1.35rem;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .service-card img {
        height: 210px;
    }

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

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

    .partner-grid img {
        margin-bottom: 20px;
    }

    .contact {
        padding: 70px 0;
    }

    .contact-details {
        flex-direction: column;
    }

    .contact-item {
        width: 100%;
    }

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

/* =========================
   IMPRESSUM
========================= */

.impressum {
    min-height: 80vh;
    padding: 100px 0;
    background-color: #f8fafc;
}

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

.impressum h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #0f172a;
    margin-bottom: 40px;
}

.impressum-card {
    padding: 50px;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.impressum-card h2 {
    margin-bottom: 30px;
    color: #0f172a;
}

.impressum-card h3 {
    margin-top: 35px;
    margin-bottom: 10px;

    color: #0f172a;
    font-size: 1.15rem;
}

.impressum-card p {
    color: #4b5563;
}

.impressum-card a {
    color: #2563eb;
    text-decoration: none;
}

.impressum-card a:hover {
    text-decoration: underline;
}

.impressum-back {
    margin-top: 30px;
}


/* Impressum auf dem Handy */

@media (max-width: 650px) {

    .impressum {
        padding: 70px 0;
    }

    .impressum-card {
        padding: 28px 22px;
    }
}