/* =========================
   GRUNDSTIL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f7fb;
    color: #1e2a38;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}
.card {
    width: 100%;
}
/* =========================
   HEADER + NAV
========================= */

header {
    background: #1e2a38;
    color: white;
    padding: 18px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header strong {
    font-size: 18px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* =========================
   TITEL
========================= */

h2 {
    text-align: center;
    font-size: 30px;
    margin: 60px 20px 30px;
}

/* =========================
   WRAPPER (BILD + TEXT)
========================= */

.wrapper {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
    align-items: center;
    padding: 0 20px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* BILD */
.image-card {
    flex: 1;
    text-align: center;
}

.image-card img {
    width: 100%;
    max-width: 260px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* TEXT */
.text-card {
    flex: 2;
}

/* =========================
   SCHWERPUNKTE (ICONS)
========================= */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.service {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f4fa;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.service:hover {
    transform: translateY(-3px);
    background: #e6edf7;
}

.service i {
    color: #2f4a6d;
    font-size: 18px;
}

/* =========================
   SCHRIFTTEXT
========================= */

p {
    margin-bottom: 12px;
}

/* =========================
   KARTEN (ALLGEMEIN)
========================= */

.card {
    max-width: 1100px;
    margin: 20px auto;
}

/* =========================
   GOOGLE MAPS
========================= */

.map-container {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.map-container iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}
.route-btn {
    display: inline-block;
    background: #2f4a6d;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.route-btn:hover {
    background: #1e2a38;
    transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #1e2a38;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .wrapper {
        flex-direction: column;
    }

    h2 {
        font-size: 24px;
    }
}
/* =========================
   Impressum
========================= */

.impressum h1 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 30px;
}

.block {
    padding: 18px 0;
    border-bottom: 1px solid #eef2f7;
}

.block:last-child {
    border-bottom: none;
}

.block h2 {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: left;
    color: #1e2a38;
}

.block p {
    margin: 0;
    color: #444;
}
/* =========================
   Kontakt
========================= */
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-box {
    background: #f4f7fb;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.contact-box:hover {
    transform: translateY(-4px);
    background: #e9eef6;
}

.contact-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-box p {
    font-size: 15px;
}
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* BOXEN ALS KLICKBAR */
.contact-box {
    display: block;
    text-decoration: none;
    background: #f4f7fb;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    color: #1e2a38;
    transition: 0.3s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-box:hover {
    transform: translateY(-6px);
    background: #e9eef6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* TITEL */
.contact-box h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* TEXT */
.contact-box p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* KLEINER "BUTTON TEXT" */
.contact-box span {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2f4a6d;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-boxes {
        grid-template-columns: 1fr;
    }
}
/* =========================
   Stassenkarte
========================= */
.map-container[class = street-map] {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 5px 20px rgba(0,0,0,0.12);
}