
:root {
    --primary-blue: #1962a6;
    --light-blue: #00afef;
    --accent-orange: #FF7A30;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
    color: #212529;
    background-color: #ffffff;
    padding-top: 80px; /* Platz für fixe Navigation */
}

.content-container {
    max-width: 960px;
}


/*-----------------------------*/
/* Bilder in den Cards als Header */
.service-img {
    width: 100%;
    height: 180px;          /* gleiche Höhe für alle drei Cards */
    object-fit: cover;      /* schneidet sauber zu */
    border-top-left-radius: 0.5rem;   /* gleicht Bootstrap-Radius an */
    border-top-right-radius: 0.5rem;
    display: block;
}

@media (max-width: 767px) {
    .service-img {
        height: 150px;
    }
}

.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.20);
}


/*-----------------------------*/

/* --- Karte in Card --- */
.contact-map-card {
    border-radius: 14px;
    overflow: hidden; /* Damit keine weißen Ränder erscheinen */
}

.contact-map-card img {
    display: block;
    width: 100%;
    height: auto;
}



/* Innenbereich der Card */
.contact-map-card .card-body {
    padding: 0; /* Kein Innenabstand, damit das Bild exakt anliegt */
}

/* Bild-Link */
.map-link {
    position: relative;
    display: block;
    cursor: pointer;
}


/* Overlay-Ebene */
.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

/* Inhalt im Overlay */
.map-overlay-content {
    max-width: 300px;
}

/* Hover-Effekt (DSGVO-Einwilligung sichtbar machen) */
.map-link:hover .map-overlay,
.map-link:focus-visible .map-overlay {
    opacity: 1;
}

/* Attribution unterhalb der Karte */
.map-attrib {
    font-size: 0.65rem;
    color: rgba(0,0,0,0.35);
}


/* NAVIGATION – etwas größer, schrumpft beim Scrollen */
.navbar-main {
    transition: all 0.3s ease;
    padding: 0.6rem 0;
    background: #ffffff;
}

.navbar-main.shrink {
    padding: 0.3rem 0 !important;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-main .navbar-brand img {
    height: 52px;
    transition: all 0.3s ease;
}

.navbar-main.shrink .navbar-brand img {
    height: 36px;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-orange);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    color: #fff;
}

.btn-primary-custom:hover {
    background: #1f75c2;
    border-color: #1f75c2;
    color: #fff;
}

.btn-outline-custom {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 500;
}

.btn-outline-custom:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-orange {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    font-weight: 600;
    color: #fff;
}

.btn-orange:hover {
    background: #ff954e;
    border-color: #ff954e;
    color: #fff;
}

.info-banner {
    background: var(--accent-orange);
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header Accent im Hero */
.header-accent {
    width: 50px;
    height: 4px;
    border-radius: 999px;
    background: var(--light-blue);
    margin: 0 auto 1rem auto;
}

/* Hero */
#hero {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(0,175,239,0.70), rgba(25,98,166,0.80)),
        url("../img/header-bg.jpg") center center / cover no-repeat;
    padding: 4.5rem 0 4.5rem;
    text-align: center;
    color: #fff;
}

/* Section headers */
.accent-bar {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--light-blue);
    font-weight: 600;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-soft {
    background: #f5f9fc;   /* identisch zu Services! */
    padding: 1.5rem 0 1rem;
}

/*-----------------------------*/
/* -----------------------------------------
   NOTICE AREA – Hintergrund
----------------------------------------- */
.notice-area {
    background: #f8fbfe;
    padding: 1.6rem 0;
}

/* -----------------------------------------
   NOTICE BOX
----------------------------------------- */
.info-note {
    display: flex;
    gap: 2rem;
    align-items: center;      /* Icon+Titel vertikal zentriert zum Text */

    /* WICHTIG: Box nicht auf min-Content schrumpfen lassen */
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 1.6rem 2rem;

    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* -----------------------------------------
   LINKE SPALTE: Icon + Titel
----------------------------------------- */
.info-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0rem;
}

.info-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.info-left-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 1.0rem;
    line-height: 1.2;
}

/* -----------------------------------------
   TEXT (rechts)
----------------------------------------- */
.info-text {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5d6773;
    text-align: left;         /* Desktop: normal links */
}

.info-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* -----------------------------------------
   RESPONSIVE DESIGN
----------------------------------------- */
@media (max-width: 900px) {
    .info-note {
        flex-direction: column;
        text-align: center;
        padding: 1.8rem 1.6rem;
        align-items: center;
    }

    .info-left {
        padding-top: 0;
        margin-bottom: 1rem;
    }

    .info-text {
        width: 100%;
        text-align: center;   /* mobil schön zentriert */
    }
}

/* ---------------------------------------------- */

.about-photo {
    width: 100%;
    max-width: 220px;
    border-radius: 14px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Sobald viewport kleiner als LG ist */
@media (max-width: 991.98px) {
    .about-photo {
        display: block;
        margin-left: auto;
        margin-right: auto;   /* Bild zentriert */
        max-width: 200px;     /* optional: etwas kleiner */
    }
}


/*-----------------------------*/



/* -------------- Bild Formatierung Terminverinbarung-------------- */
/*
.booking-image {
    text-align: center;
    margin: 2.5rem 0;
}

.booking-image img {
    max-width: 200px;
    width: 100%;
    height: auto;
}
*/
.booking-row {
    display: flex;
    align-items: center;      /* vertikal ausrichten */
    justify-content: center;  /* horizontal zentrieren */
    gap: 2rem;
    margin: 3rem 0;
}

.booking-logo {
	max-height: 140px;
    width: auto;   /* anpassen */
}

.booking-action {
    display: flex;
}


/* ---------------------------------------------- */

/* Sections */
section {
    padding: 1.5rem 0;
}

#services {
	padding-top: 4.5rem;
    background: #f5f9fc;
}

#about {
	padding-top: 4.5rem;
    background: #ffffff;
}

#contact {
    background: #ffffff;
}

/* Cards */
.card {
    border-radius: 1rem;
}

/* Footer */
footer {
    background: #00afef;
    color: #ffffff; 
    padding: 2rem 0;
}

footer a {
    color: #e0edf8;
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-orange);
}

/* Seite2 Header */
.page-header {
    background:
        linear-gradient(135deg, rgba(25,98,166,0.9), rgba(0,175,239,0.9)),
        url("../img/header-bg.jpg") center center / cover no-repeat;
    padding: 5rem 0 4rem;
    color: #fff;
    text-align: center;
}

@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    .navbar-main .navbar-brand img {
        height: 44px;
    }
    .navbar-main.shrink .navbar-brand img {
        height: 32px;
    }
    #hero {
        padding: 3.5rem 0 3.5rem;
    }
}

/*------------------------------------------------------------*/
/* Liste der Formulare – alles untereinander */
.formulare-main .form-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* einzelner Eintrag */
.formulare-main .form-item {
    display: flex;
    align-items: center;          /* Icon + Button vertikal zentriert */
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.04);
}

/* Icon-Spalte */
.formulare-main .form-item-icon {
    flex: 0 0 auto;
    margin-top: 0.1rem;          /* kannst du auch entfernen, wenn es perfekt mittig sein soll */
	fill: var(--primary-blue);
}

.formulare-main .download-icon {
    width: 26px;
    height: auto;
	fill: var(--primary-blue);
}

/* Text-Spalte */
.formulare-main .form-item-body {
    flex: 1 1 auto;
    min-width: 0;

    /* WICHTIG: damit justify-content wirkt */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.formulare-main .form-item-title {
    font-size: 0.95rem;
    font-weight: 600;
	color: var(--primary-blue);
}

.formulare-main .form-item-meta {
    font-size: 0.9rem;
}

.formulare-main .form-item-desc {
    font-size: 0.9rem;
}

/* Button-Spalte */
.formulare-main .form-item-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;     /* Button vertikal mittig */
}

/* sehr kleine Hinweise */
.x-small {
    font-size: 0.74rem;
}

/* Responsive: auf kleineren Screens untereinander stapeln */
@media (max-width: 767.98px) {
    .formulare-main .form-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .formulare-main .form-item-action {
        width: 100%;
        align-items: flex-start;
        margin-top: 0.25rem;
    }

    .formulare-main .form-item-action .btn {
        width: 100%;
    }
}

/* 404 – minimal */
#error-404 {
    padding: 6rem 0;
    text-align: center;
}

#error-404 .error-title {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
}

#error-404 .error-text {
    margin-bottom: 2rem;
    color: rgba(0,0,0,.7);
}

