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

:root {
    --rot: #b92f35;
    --rot-dunkel: #982329;
    --rosa-hell: #f8eeee;
    --creme: #fffaf5;
    --text: #333333;
    --text-hell: #666666;
    --weiss: #ffffff;
    --rand: #eadede;
    --schatten: 0 8px 28px rgba(80, 45, 45, 0.12);
    --max-breite: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--weiss);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 3rem);
}

h3 {
    font-size: 1.3rem;
}

main {
    max-width: 1000px;
	margin: 0px auto 0;
   
}

text {
           
			margin-right: 15px;
			text-align: justify;
            text-justify: inter-word;
            hyphens: auto;
            margin-bottom: 1.5em; /* vergrößert den Abstand zum nächsten Element */
           
        }
		

.img img {
    margin-right: 20px;
    margin-bottom: 15px;
}

.seitenbreite {
    width: min(100% - 40px, var(--max-breite));
    margin-inline: auto;
}


/* =========================================
   FESTSTEHENDER KOPFBEREICH
   ========================================= */

.seitenkopf {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
	background: rgba(250, 242, 236, 1);
    padding: 10px 20px 5px;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo {
    width: auto;
    max-height: 90px;
    object-fit: contain;
}

.untertitel {
    margin: 6px 0 8px;
    color: var(--text-hell);
    font-size: 1rem;
    text-align: center;
}

.navigation-zeile {
    border-top: 1px solid var(--rand);
	background-color: rgba(207, 138, 138, 1);
}

.hauptnavigation {
    width: 100%;
    background: rgba(207, 138, 138, 1);
}

/* Hauptmenü */

.menue {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 20px 12px;
    list-style: none;
}

.menue li {
    position: relative;
}

/* Navigationslinks und Dropdown-Button */

.menue a,
.dropdown-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--weiss);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;

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

/* Beim Darüberfahren mit der Maus */

.menue a:hover,
.menue a:focus-visible,
.dropdown-button:hover,
.dropdown-button:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    color: var(--weiss);
    outline: none;
}

/* Aktuelle Seite bleibt dauerhaft markiert */

.menue a.active,
.dropdown-button.active {
    border-color: var(--rot);
    background: var(--rot);
    color: var(--weiss);
    box-shadow: 0 4px 10px rgba(92, 59, 46, 0.18);
}

/* Aktiver Link bleibt auch beim Hover dunkelrot */

.menue a.active:hover,
.menue a.active:focus-visible,
.dropdown-button.active:hover,
.dropdown-button.active:focus-visible {
    border-color: var(--rot);
    background: var(--rot);
    color: var(--weiss);
}

/* Kleine Bewegung beim Hover */

.menue a:hover,
.dropdown-button:hover {
    transform: translateY(-1px);
}

/* Aktiver Link soll sich nicht bewegen */

.menue a.active:hover,
.dropdown-button.active:hover {
    transform: none;
}

/* Pfeil im Dropdown */

.pfeil {
    margin-left: 7px;
    transition: transform 0.2s ease;
}

.dropdown.offen .pfeil {
    transform: rotate(180deg);
}

/* Untermenü */

.untermenue {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--rand);
    border-radius: 10px;
    background: var(--weiss);
    box-shadow: var(--schatten);
    z-index: 1000;
}

.untermenue li {
    width: 100%;
}

.untermenue a {
    width: 100%;
    justify-content: flex-start;
    white-space: nowrap;
    color: var(--text);
}

/* Hover im Untermenü */

.untermenue a:hover,
.untermenue a:focus-visible {
    background: rgba(207, 138, 138, 0.18);
    border-color: rgba(207, 138, 138, 0.35);
    color: var(--text);
}

/* Aktive Unterseite */

.untermenue a.active {
    background: var(--rot);
    border-color: var(--rot);
    color: var(--weiss);
}

.dropdown:hover .untermenue,
.dropdown:focus-within .untermenue,
.dropdown.offen .untermenue {
    display: block;
}

/* Menübutton für Handy */

.menue-button {
    display: none;
    width: 48px;
    height: 44px;
    margin: 9px 16px 10px auto;
    padding: 9px;
    border: 2px solid var(--rot);
    border-radius: 8px;
    background: var(--weiss);
    cursor: pointer;
}

.menue-button span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--rot);
}




/* =========================================
   STARTBEREICH
   ========================================= */

.hero {
    padding: clamp(45px, 7vw, 90px) 0;
    background:
        linear-gradient(135deg, rgba(255, 250, 245, 0.98), rgba(248, 238, 238, 0.96));
}

.hero-inhalt {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
    width: min(100% - 40px, var(--max-breite));
    margin-inline: auto;
}

.hero-text p:not(.kleine-ueberschrift) {
    max-width: 650px;
    color: var(--text-hell);
    font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.kleine-ueberschrift {
    margin-bottom: 8px;
    color: var(--rot);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


.hauptbutton {
    display: inline-flex;
    margin-top: 10px;
    padding: 13px 22px;
    border-radius: 8px;
    background: var(--rot);
    color: var(--weiss);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hauptbutton:hover {
    background: var(--rot-dunkel);
    transform: translateY(-2px);
}

.hero-bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--schatten);
}


/* =========================================
   ANGEBOTE
   ========================================= */

.angebote {
    padding: clamp(55px, 8vw, 100px) 0;
}

.abschnittskopf {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.kartenraster {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.karte {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--rand);
    border-radius: 18px;
    background: var(--weiss);
    box-shadow: 0 7px 22px rgba(80, 45, 45, 0.07);
}

.karte p {
    color: var(--text-hell);
}

.karte a {
    margin-top: auto;
    color: var(--rot);
    font-weight: 800;
    text-decoration: none;
}

.karte a:hover {
    text-decoration: underline;
}


/* =========================================
   INFOBEREICH
   ========================================= */

.infobereich {
    padding: clamp(50px, 7vw, 85px) 0;
    background: var(--rosa-hell);
}

.info-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-raster p {
    color: var(--text-hell);
    font-size: 1.08rem;
}


/* =========================================
   FUSSBEREICH
   ========================================= */

.seitenfuss {
    padding: 45px 0 20px;
    background: #342d2d;
    color: var(--weiss);
}

.fuss-raster {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.fuss-raster div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fuss-raster a {
    text-decoration: none;
}

.fuss-raster a:hover {
    text-decoration: underline;
}

.copyright {
    width: min(100% - 40px, var(--max-breite));
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-align: center;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 980px) {

    .hero-inhalt {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

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

    .karte {
        min-height: 220px;
    }
}


/* =========================================
   HANDY UND KLEINE TABLETS
   ========================================= */

@media (max-width: 760px) {

    .seitenbreite,
    .hero-inhalt,
    .copyright {
        width: min(100% - 28px, var(--max-breite));
    }

    .banner {
        padding: 7px 14px 3px;
    }

    .logo {
        max-height: 66px;
    }

    .untertitel {
        margin-bottom: 5px;
        font-size: 0.88rem;
    }

    .menue-button {
        display: block;
    }

    .hauptnavigation {
        display: none;
        max-height: calc(100vh - 145px);
        overflow-y: auto;
        border-top: 1px solid var(--rand);
    }

    .hauptnavigation.offen {
        display: block;
    }

    .menue {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px 14px 16px;
    }

    .menue li {
        width: 100%;
    }

    .menue a,
    .dropdown-button {
        width: 100%;
    }

    .untermenue {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 4px;
        box-shadow: none;
    }

    .untermenue a {
        justify-content: center;
        white-space: normal;
    }

    .dropdown:hover .untermenue {
        display: none;
    }

    .dropdown.offen .untermenue {
        display: block;
    }

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

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

    .hero-text {
        text-align: center;
    }

    .hero-bild {
        order: -1;
    }

    .hero-bild img {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

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

    .karte {
        min-height: 0;
    }

    .info-raster {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .fuss-raster {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   SEHR KLEINE HANDYS
   ========================================= */

@media (max-width: 420px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .logo {
        max-height: 56px;
    }

    .untertitel {
        font-size: 0.8rem;
    }

    .hauptbutton {
        width: 100%;
        justify-content: center;
    }

    .karte {
        padding: 22px;
    }
}


/* =========================================
   BARRIEREARM: WENIGER BEWEGUNG
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
