/* Drachen-Tool – Frontend. Baut auf MDB5 (Bootstrap) auf; Farben als Variablen, hell und dunkel. */

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-sans/nunito-sans-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Nunito Sans';
    font-style: italic;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-sans/nunito-sans-latin-italic.woff2') format('woff2');
}

:root {
    --d-nacht: #0f3a5f;
    --d-himmel: #1e88e5;
    --d-himmel-hell: #e8f3fd;
    --d-rot: #f0532d;
    --d-rot-dunkel: #d63f1b;
    --d-gelb: #ffc531;
    --d-gruen: #22a565;
    --d-flieder: #8a5cf6;
    --d-text: #1d2b36;
    --d-text-leise: #5b6b78;
    --d-flaeche: #ffffff;
    --d-flaeche-2: #f4f8fb;
    --d-linie: rgba(15, 58, 95, .12);
    --d-schatten: 0 10px 30px -12px rgba(15, 58, 95, .35);
    --d-radius: 14px;
    --d-schwanz: linear-gradient(90deg, var(--d-rot) 0 25%, var(--d-gelb) 25% 50%, var(--d-gruen) 50% 75%, var(--d-himmel) 75% 100%);
    --mdb-body-font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
[data-mdb-theme='dark'] {
    --d-text: #e6edf3;
    --d-text-leise: #9fb0bf;
    --d-flaeche: #15212b;
    --d-flaeche-2: #0f1922;
    --d-himmel-hell: #12324d;
    --d-linie: rgba(255, 255, 255, .1);
    --d-schatten: 0 10px 30px -12px rgba(0, 0, 0, .7);
}

body.drachenseite {
    font-family: var(--mdb-body-font-family);
    color: var(--d-text);
    background: var(--d-flaeche);
    font-size: 1.0625rem;
    line-height: 1.65;
}
.drachenseite h1, .drachenseite h2, .drachenseite h3, .drachenseite h4 {
    font-weight: 800;
    line-height: 1.2;
    color: inherit;
}
.drachenseite a {
    color: var(--d-himmel);
}
[data-mdb-theme='dark'] .drachenseite a {
    color: #6fb6ff;
}
.drachenseite img {
    max-width: 100%;
    height: auto;
}

.sprung-link {
    position: absolute;
    left: -9999px;
    z-index: 2000;
    padding: .5rem 1rem;
    background: var(--d-gelb);
    color: #000 !important;
}
.sprung-link:focus {
    left: 1rem;
    top: 1rem;
}

/* ---------- Knöpfe ---------- */
.btn-drachen,
.btn-outline-drachen {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    border-radius: 999px;
    padding: .6rem 1.4rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
    box-shadow: none;
}
.btn-drachen {
    background: var(--d-rot);
    border: 2px solid var(--d-rot);
    color: #fff !important;
}
.btn-drachen:hover,
.btn-drachen:focus-visible {
    background: var(--d-rot-dunkel);
    border-color: var(--d-rot-dunkel);
    color: #fff;
    box-shadow: var(--d-schatten);
}
.btn-outline-drachen {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--d-nacht) !important;
}
[data-mdb-theme='dark'] .btn-outline-drachen {
    color: var(--d-text) !important;
}
.btn-outline-drachen:hover,
.btn-outline-drachen:focus-visible {
    background: var(--d-nacht);
    border-color: var(--d-nacht);
    color: #fff !important;
}
.btn-mehr {
    font-weight: 700;
    text-decoration: none;
    color: var(--d-rot) !important;
}
.btn-mehr:hover {
    text-decoration: underline;
}

/* Überschrift eines Abschnitts mit kleinem "Drachenschwanz" darunter */
.abschnitt-titel {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: .75rem;
    text-align: center;
}
.abschnitt-titel::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 96px;
    height: 5px;
    border-radius: 3px;
    background: var(--d-schwanz);
    transform: translateX(-50%);
}
.abschnitt-intro {
    max-width: 46rem;
    margin: -1rem auto 2rem;
    text-align: center;
    color: var(--d-text-leise);
}

/* ---------- Kopf: Navigation ---------- */
.kopf {
    position: relative;
}
.kopf__leiste {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: .75rem 1rem;
    background: linear-gradient(180deg, rgba(5, 20, 35, .55), rgba(5, 20, 35, 0));
    box-shadow: none;
    transition: background .25s, padding .25s, box-shadow .25s;
}
.kopf__leiste.gescrollt {
    padding: .4rem 1rem;
    background: var(--d-nacht);
    box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5);
}
.kopf__leiste .container-fluid {
    gap: 1rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    color: #fff !important;
}
.navbar-brand img {
    width: auto;
    max-height: 52px;
    transition: max-height .25s;
}
.gescrollt .navbar-brand img {
    max-height: 40px;
}
.navbar-brand__text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}
.navbar-brand__text .fa-paper-plane {
    color: var(--d-gelb);
}

.hauptnavi {
    gap: .25rem;
    margin: 0;
    align-items: center;
}
.hauptnavi__punkt {
    position: relative;
}
.hauptnavi__link {
    display: block;
    padding: .55rem .9rem;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.hauptnavi__link .fa-angle-down {
    font-size: .8em;
    opacity: .8;
}
.hauptnavi__punkt:hover > .hauptnavi__link,
.hauptnavi__punkt.aktiv > .hauptnavi__link,
.hauptnavi__link:focus-visible {
    background: rgba(255, 255, 255, .16);
}
.hauptnavi__punkt.aktiv > .hauptnavi__link {
    box-shadow: inset 0 -3px 0 var(--d-gelb);
}
.hauptnavi__menue {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 230px;
    padding: .75rem;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: var(--d-schatten);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.hauptnavi__menue--drachen {
    min-width: 440px;
}
.hauptnavi__menue--drachen ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
}
.hauptnavi__punkt:hover > .hauptnavi__menue,
.hauptnavi__punkt:focus-within > .hauptnavi__menue,
.hauptnavi__punkt.offen > .hauptnavi__menue {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.hauptnavi__menue a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .6rem;
    border-radius: 10px;
    color: var(--d-text) !important;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.25;
}
.hauptnavi__menue a:hover,
.hauptnavi__menue a.aktiv {
    background: var(--d-himmel-hell);
}
.hauptnavi__menue img,
.hauptnavi__ohne-bild {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}
.hauptnavi__ohne-bild {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--d-himmel-hell);
    color: var(--d-himmel);
}
.hauptnavi__menue .hauptnavi__alle {
    justify-content: center;
    margin-top: .5rem;
    border-top: 1px solid var(--d-linie);
    border-radius: 0;
    padding-top: .65rem;
    color: var(--d-rot) !important;
    font-weight: 700;
}
.kopf__social {
    gap: .25rem;
    margin: 0 0 0 .5rem;
}
.kopf__social a {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
}
.kopf__social a:hover {
    background: rgba(255, 255, 255, .16);
}

/* Mobiles Menü */
.menue-knopf {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 1.25rem;
}
.menue-mobil {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1050;
    width: min(340px, 88vw);
    overflow-y: auto;
    padding: 1rem 1.25rem 2rem;
    background: var(--d-flaeche);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .3);
    transform: translateX(100%);
    transition: transform .25s ease;
}
.menue-mobil.offen {
    transform: none;
}
.menue-mobil__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 800;
}
.menue-mobil__zu {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: var(--d-flaeche-2);
    color: var(--d-text);
    font-size: 1.2rem;
}
.menue-mobil a {
    display: block;
    padding: .55rem .25rem;
    border-bottom: 1px solid var(--d-linie);
    color: var(--d-text) !important;
    font-weight: 700;
    text-decoration: none;
}
.menue-mobil a.aktiv {
    color: var(--d-rot) !important;
}
.menue-mobil__kinder a {
    padding-left: 1rem;
    font-weight: 500;
    font-size: .95rem;
}
.menue-mobil__social a {
    display: inline-block;
    border: 0;
    margin-right: .75rem;
    font-size: 1.3rem;
}
.menue-schleier {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(5, 20, 35, .5);
}

/* ---------- Kopf: Bild bzw. Slider ---------- */
.kopf__bild {
    position: relative;
    min-height: 46vh;
    background: var(--d-nacht) var(--bg) center / cover no-repeat;
    color: #fff;
}
.kopf__bild--slider,
.kopf__bild--slider .carousel-item {
    min-height: 78vh;
}
.drachenseite:not(.drachenseite--start) .kopf__bild--slider,
.drachenseite:not(.drachenseite--start) .kopf__bild--slider .carousel-item {
    min-height: 55vh;
}
.kopf__bild .carousel-item {
    background: var(--d-nacht) var(--bg) center / cover no-repeat;
}
@media (max-width: 767.98px) {
    .kopf__bild,
    .kopf__bild .carousel-item {
        background-image: var(--bg-klein, var(--bg));
    }
    .kopf__bild--slider,
    .kopf__bild--slider .carousel-item {
        min-height: 64vh;
    }
}
.kopf__bild--ohne {
    min-height: 34vh;
    background: linear-gradient(160deg, var(--d-himmel) 0%, var(--d-nacht) 100%);
}
.kopf__maske {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(5, 20, 35, .15) 30%, rgba(5, 20, 35, .7) 100%);
}
.kopf__inhalt {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
}
.kopf__titel {
    max-width: 22ch;
    margin: 0 0 .5rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900 !important;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.kopf__text {
    max-width: 40rem;
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.kopf__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.kopf .carousel-indicators {
    margin-bottom: 1.25rem;
}
.kopf .carousel-indicators [data-mdb-target] {
    width: 26px;
    height: 5px;
    border-radius: 3px;
}

/* Wind von heute auf der Startseite */
.wind-chip {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    max-width: calc(100% - 2.5rem);
    padding: .5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--d-nacht) !important;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: var(--d-schatten);
    backdrop-filter: blur(6px);
}
.wind-chip > i {
    font-size: 1.3rem;
    color: var(--d-gelb);
}
.wind-chip--ideal > i {
    color: var(--d-gruen);
}
.wind-chip--schlecht > i,
.wind-chip--stark > i {
    color: var(--d-rot);
}
@media (max-width: 575.98px) {
    .wind-chip {
        position: static;
        display: flex;
        margin: .75rem 1rem 0;
        border-radius: 12px;
    }
}

/* ---------- Karten der Drachen ---------- */
.drachen-karte {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: 0 1px 0 var(--d-linie), var(--d-schatten);
    transition: transform .2s, box-shadow .2s;
}
.drachen-karte:hover {
    transform: translateY(-4px);
}
.drachen-karte__bild {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--d-himmel-hell);
}
.drachen-karte__bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.drachen-karte:hover .drachen-karte__bild img {
    transform: scale(1.05);
}
.drachen-karte__ohne-bild {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--d-himmel);
}
.drachen-karte__abzeichen {
    position: absolute;
    top: .75rem;
    left: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.drachen-abzeichen {
    padding: .15rem .6rem;
    border-radius: 999px;
    background: var(--d-nacht);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.drachen-abzeichen--neu {
    background: var(--d-gelb);
    color: #1d1d1d;
}
.drachen-abzeichen--verkauf {
    background: var(--d-gruen);
}
.drachen-abzeichen--bestellung {
    background: var(--d-flieder);
}
.drachen-abzeichen--verkauft {
    background: #6b7280;
}
.drachen-karte__text {
    padding: 1rem 1.15rem 1.15rem;
}
.drachen-karte__text h3 {
    margin: 0 0 .25rem;
    font-size: 1.15rem;
}
.drachen-karte__text h3 a {
    color: inherit !important;
    text-decoration: none;
}
.drachen-karte__text h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}
.drachen-karte {
    position: relative;
}
.drachen-karte__merkmale,
.drachen-karte__wind {
    margin: 0;
    color: var(--d-text-leise);
    font-size: .92rem;
}
.drachen-karte__wind i {
    color: var(--d-himmel);
}

/* Übersicht: Banner je Kategorie */
.kat-block + .kat-block {
    margin-top: 4rem;
}
.kat-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    min-height: 200px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: linear-gradient(135deg, var(--d-himmel), var(--d-nacht));
    color: #fff !important;
    text-decoration: none;
}
.kat-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.kat-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 20, 35, .75), rgba(5, 20, 35, .1));
}
.kat-banner:hover img {
    transform: scale(1.04);
}
.kat-banner__text,
.kat-banner__anzahl {
    position: relative;
    z-index: 1;
}
.kat-banner__text .h2 {
    display: block;
    margin: 0;
    color: #fff;
}
.kat-banner__teaser {
    display: block;
    max-width: 36rem;
}
.kat-banner__anzahl {
    font-weight: 800;
    white-space: nowrap;
}

/* Kategorien-Kacheln */
.kategorie-kachel {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: linear-gradient(135deg, var(--d-himmel), var(--d-nacht));
    color: #fff !important;
    text-decoration: none;
    box-shadow: var(--d-schatten);
}
.kategorie-kachel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.kategorie-kachel:hover img {
    transform: scale(1.06);
}
.kategorie-kachel__text {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(180deg, transparent, rgba(5, 20, 35, .85));
}
.kategorie-kachel__text strong {
    font-size: 1.5rem;
    font-weight: 900;
}
.kategorie-kachel__text small {
    color: var(--d-gelb);
    font-weight: 800;
}

/* Filter nach Bauform */
.filter-leiste {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.75rem;
}
.filter-leiste__knopf {
    padding: .35rem .95rem;
    border: 2px solid var(--d-linie);
    border-radius: 999px;
    background: var(--d-flaeche);
    color: var(--d-text);
    font-weight: 700;
}
.filter-leiste__knopf span {
    margin-left: .25rem;
    color: var(--d-text-leise);
    font-weight: 600;
}
.filter-leiste__knopf:hover {
    border-color: var(--d-himmel);
}
.filter-leiste__knopf.aktiv {
    border-color: var(--d-nacht);
    background: var(--d-nacht);
    color: #fff;
}
.filter-leiste__knopf.aktiv span {
    color: rgba(255, 255, 255, .75);
}

/* ---------- Detailseite ---------- */
.drachen-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
}
.drachen-meta li {
    padding: .3rem .85rem;
    border-radius: 999px;
    background: var(--d-himmel-hell);
    font-weight: 700;
    font-size: .95rem;
}
.drachen-meta li a {
    color: inherit !important;
    text-decoration: none;
}
.drachen-meta i {
    color: var(--d-himmel);
}
.drachen-meta__verfuegbar--verkauf {
    background: #dcf5e8 !important;
}
.drachen-meta__verfuegbar--bestellung {
    background: #ece4fe !important;
}
[data-mdb-theme='dark'] .drachen-meta__verfuegbar--verkauf,
[data-mdb-theme='dark'] .drachen-meta__verfuegbar--bestellung {
    background: var(--d-himmel-hell) !important;
}
.drachen-detail__lead {
    max-width: 48rem;
    font-size: 1.3rem;
    color: var(--d-text-leise);
}
.drachen-detail__aktionen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    margin-top: 1.25rem;
}
.drachen-text + .drachen-text {
    margin-top: 2rem;
}
.steckbrief {
    padding: 1.5rem;
    border-radius: var(--d-radius);
    background: var(--d-flaeche-2);
    border-top: 5px solid transparent;
    border-image: var(--d-schwanz) 1;
}
.steckbrief h2 {
    font-size: 1.35rem;
}
.steckbrief dl {
    margin: 0;
}
.steckbrief__zeile {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px dashed var(--d-linie);
}
.steckbrief__zeile:last-child {
    border-bottom: 0;
}
.steckbrief dt {
    font-weight: 600;
    color: var(--d-text-leise);
}
.steckbrief dt i {
    width: 1.25em;
    color: var(--d-himmel);
}
.steckbrief dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

/* Bilderraster (Detailseite, Berichte) und Galerie als Mauerwerk */
.galerie-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.galerie-raster--einzeln {
    grid-template-columns: minmax(0, 900px);
}
.galerie-raster__bild,
.galerie-mauer__bild {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--d-himmel-hell);
}
.galerie-raster__bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .4s;
}
.galerie-raster--einzeln .galerie-raster__bild img {
    aspect-ratio: auto;
}
.galerie-raster__bild:hover img,
.galerie-mauer__bild:hover img {
    transform: scale(1.03);
}
.galerie-raster__bild figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.5rem .75rem .5rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6));
    color: #fff;
    font-size: .85rem;
    pointer-events: none;
}
.galerie-raster__bild--mehr {
    display: none;
}
.alle-sichtbar .galerie-raster__bild--mehr {
    display: block;
}
.galerie-mauer {
    columns: 3 280px;
    column-gap: 1rem;
}
.galerie-mauer__bild {
    margin-bottom: 1rem;
    break-inside: avoid;
}
.galerie-mauer__bild img {
    display: block;
    width: 100%;
    cursor: zoom-in;
    transition: transform .4s;
}

/* Wann fliegt er? */
.wann-fliegt__tage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}
.wann-fliegt__tag {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: var(--d-flaeche-2);
    border-left: 5px solid #9aa5ae;
}
.wann-fliegt__tag--ja {
    border-left-color: var(--d-gruen);
}
.wann-fliegt__wind {
    color: var(--d-text-leise);
    font-size: .92rem;
}
.wann-fliegt__urteil {
    font-weight: 700;
    font-size: .92rem;
}
.wann-fliegt__tag--ja .wann-fliegt__urteil {
    color: var(--d-gruen);
}
.wind-quelle {
    margin-top: .75rem;
    color: var(--d-text-leise);
    font-size: .82rem;
}

/* Vorheriger / nächster Drachen */
.drachen-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--d-linie);
}
.drachen-nav__link {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--d-text) !important;
    text-decoration: none;
}
.drachen-nav__link--next {
    flex-direction: row-reverse;
    text-align: right;
}
.drachen-nav__link img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}
.drachen-nav__link small {
    display: block;
    color: var(--d-text-leise);
}
.drachen-nav__zurueck {
    text-align: center;
}
@media (max-width: 575.98px) {
    .drachen-nav {
        grid-template-columns: 1fr 1fr;
    }
    .drachen-nav__zurueck {
        grid-column: 1 / -1;
        order: -1;
    }
    .drachen-nav__link img {
        display: none;
    }
}

/* Teilen */
.teilen {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}
.teilen__titel {
    margin-right: .25rem;
    color: var(--d-text-leise);
    font-size: .9rem;
    font-weight: 700;
}
.teilen__knopf {
    display: inline-flex;
    width: 2.3rem;
    height: 2.3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--d-flaeche-2);
    color: var(--d-nacht) !important;
    text-decoration: none;
}
[data-mdb-theme='dark'] .teilen__knopf {
    color: var(--d-text) !important;
}
.teilen__knopf:hover {
    background: var(--d-himmel);
    color: #fff !important;
}
.teilen__meldung {
    font-size: .85rem;
    color: var(--d-gruen);
}

/* ---------- Text mit Bild ---------- */
.textbild--hell {
    background: var(--d-flaeche-2);
}
.textbild--himmel {
    background: linear-gradient(160deg, var(--d-himmel), var(--d-nacht));
    color: #fff;
}
.textbild--himmel a:not(.btn) {
    color: var(--d-gelb) !important;
}
.textbild__bild {
    margin: 0;
}
.textbild--oben .textbild__bild {
    margin-bottom: 1.5rem;
}
.textbild__bild img {
    width: 100%;
    border-radius: var(--d-radius);
    box-shadow: var(--d-schatten);
}
.textbild__bild figcaption {
    margin-top: .5rem;
    color: var(--d-text-leise);
    font-size: .9rem;
}
.textbild__mit-rund {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.textbild__rund {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--d-flaeche);
    box-shadow: var(--d-schatten);
}
@media (max-width: 575.98px) {
    .textbild__mit-rund {
        flex-direction: column;
    }
}

/* ---------- Windvorhersage ---------- */
.wind__intro {
    max-width: 46rem;
    margin: -1rem auto 2rem;
    text-align: center;
    color: var(--d-text-leise);
}
.wind__ort {
    display: inline-block;
    font-weight: 700;
    color: var(--d-text);
}
.wind__tage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}
.wind-tag {
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: 0 1px 0 var(--d-linie), var(--d-schatten);
    border-top: 6px solid #9aa5ae;
}
.wind-tag--ideal {
    border-top-color: var(--d-gruen);
}
.wind-tag--gut {
    border-top-color: var(--d-himmel);
}
.wind-tag--stark {
    border-top-color: var(--d-gelb);
}
.wind-tag--schlecht {
    border-top-color: var(--d-rot);
}
.wind-tag__kopf {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wind-tag__kopf h3 {
    margin: 0;
    font-size: 1.15rem;
}
.wind-tag__wetter {
    font-size: 1.6rem;
    color: var(--d-gelb);
}
.wind-tag__bft {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: .5rem 0 .25rem;
}
.wind-tag__bft strong {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
}
.wind-tag__pfeil {
    display: inline-flex;
    align-self: center;
    margin-right: .35rem;
    color: var(--d-himmel);
    font-size: 1.3rem;
    /* Symbol zeigt nach Nordost (45°) – auf die Zugrichtung des Windes drehen */
    transform: rotate(calc(var(--richtung) - 45deg));
}
.wind-tag__werte {
    margin: 0 0 .5rem;
    color: var(--d-text-leise);
    font-size: .9rem;
    line-height: 1.5;
}
.wind-tag__urteil {
    margin: 0 0 .75rem;
    font-weight: 800;
}
.wind-tag--ideal .wind-tag__urteil {
    color: var(--d-gruen);
}
.wind-tag--schlecht .wind-tag__urteil {
    color: var(--d-rot);
}
.wind-tag__urteil small {
    font-weight: 600;
    color: var(--d-text-leise);
}
.wind-tag__stunden {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 48px;
    margin-top: auto;
}
.wind-stunde {
    flex: 1;
    height: var(--hoehe);
    border-radius: 3px 3px 0 0;
    background: #b9c4cc;
}
.wind-stunde--2, .wind-stunde--3, .wind-stunde--4 {
    background: var(--d-gruen);
}
.wind-stunde--5 {
    background: var(--d-gelb);
}
.wind-stunde--6, .wind-stunde--7, .wind-stunde--8, .wind-stunde--9, .wind-stunde--10, .wind-stunde--11, .wind-stunde--12 {
    background: var(--d-rot);
}
.wind-tag__achse {
    display: flex;
    justify-content: space-between;
    margin: .2rem 0 0;
    color: var(--d-text-leise);
    font-size: .75rem;
}
.wind-tag__drachen {
    margin: .75rem 0 0;
    padding-top: .65rem;
    border-top: 1px dashed var(--d-linie);
    font-size: .9rem;
}
.wind-tag__drachen small {
    color: var(--d-text-leise);
}
.wind-tag__drachen a {
    display: inline-block;
    margin: .15rem .15rem 0 0;
    padding: .05rem .55rem;
    border-radius: 999px;
    background: var(--d-himmel-hell);
    color: var(--d-text) !important;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- Termine ---------- */
.termine__gruppe {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}
.termine__leer {
    color: var(--d-text-leise);
}
.termine__liste {
    display: grid;
    gap: 1rem;
}
.termin {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: 0 1px 0 var(--d-linie), var(--d-schatten);
}
.termin__datum {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 4.5rem;
    padding: .5rem 0;
    border-radius: 12px;
    background: var(--d-nacht);
    color: #fff;
    line-height: 1.1;
}
.termin__datum strong {
    font-size: 1.8rem;
    font-weight: 900;
}
.termin__datum span {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--d-gelb);
}
.termin__datum small {
    opacity: .75;
}
.termin__oben {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .25rem;
}
.termin__typ,
.termin__dabei {
    padding: .1rem .6rem;
    border-radius: 999px;
    background: var(--d-himmel-hell);
    font-size: .8rem;
    font-weight: 800;
}
.termin__dabei {
    background: var(--d-gelb);
    color: #1d1d1d;
}
.termin h4 {
    margin: 0 0 .25rem;
    font-size: 1.25rem;
}
.termin__meta {
    margin: 0 0 .5rem;
    color: var(--d-text-leise);
    font-size: .95rem;
}
.termin__beschreibung p:last-child {
    margin-bottom: .25rem;
}
.termin__bild {
    width: 180px;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.termine__liste--vergangen .termin {
    opacity: .75;
}
.termine__liste--vergangen .termin__datum {
    background: #6b7280;
}
@media (max-width: 767.98px) {
    .termin {
        grid-template-columns: auto 1fr;
    }
    .termin__bild {
        display: none;
    }
}

/* ---------- Berichte ---------- */
.bericht-karte {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: 0 1px 0 var(--d-linie), var(--d-schatten);
}
.bericht-karte__bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.bericht-karte__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}
.bericht-karte__text h3 {
    font-size: 1.2rem;
}
.bericht-karte__text h3 a {
    color: inherit !important;
    text-decoration: none;
}
.bericht-karte__meta {
    margin: 0 0 .25rem;
    color: var(--d-text-leise);
    font-size: .88rem;
    font-weight: 700;
}
.bericht-karte .btn-mehr {
    margin-top: auto;
}
.bericht__kopf .lead {
    max-width: 48rem;
    font-size: 1.3rem;
    color: var(--d-text-leise);
}
.bericht__meta {
    color: var(--d-text-leise);
    font-weight: 700;
}
.bericht__text {
    max-width: 48rem;
    margin-bottom: 2rem;
}
.bericht__galerie,
.bericht .teilen {
    margin-bottom: 2rem;
}
.bericht__drachen {
    margin-top: 1rem;
}

/* ---------- Videos (Zwei-Klick-Lösung) ---------- */
.video-karte {
    height: 100%;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: var(--d-flaeche);
    box-shadow: 0 1px 0 var(--d-linie), var(--d-schatten);
}
.video-karte__player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}
.video-start {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}
.video-start img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: opacity .2s;
}
.video-start:hover img {
    opacity: 1;
}
.video-start__knopf {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--d-rot);
    color: #fff;
    font-size: 1.6rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
}
.video-start__dauer {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    padding: .05rem .45rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: .8rem;
}
.video-karte__hinweis {
    position: absolute;
    left: .6rem;
    bottom: .6rem;
    margin: 0;
    max-width: 70%;
    color: rgba(255, 255, 255, .85);
    font-size: .72rem;
    pointer-events: none;
}
.video-karte__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-karte__text {
    padding: 1rem 1.15rem;
}
.video-karte__text h3 {
    font-size: 1.15rem;
}
.video-karte__datum {
    color: var(--d-text-leise);
    font-size: .88rem;
}

/* ---------- Anfrage ---------- */
.anfrage__falle {
    position: absolute;
    left: -9999px;
}
.anfrage__drache {
    margin: 0;
    overflow: hidden;
    border-radius: var(--d-radius);
    background: var(--d-flaeche-2);
}
.anfrage__drache img {
    width: 100%;
}
.anfrage__drache figcaption {
    display: flex;
    flex-direction: column;
    padding: .75rem 1rem;
}
.anfrage__drache figcaption span {
    color: var(--d-gruen);
    font-weight: 800;
}

/* ---------- Fehlerseite ---------- */
.fehlerseite__links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------- Footer ---------- */
.fuss {
    position: relative;
    margin-top: 5rem;
    padding: 3rem 0 1.5rem;
    background: var(--d-nacht);
    color: rgba(255, 255, 255, .85);
}
[data-mdb-theme='dark'] .fuss {
    background: #08131d;
}
.fuss__welle {
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 100%;
    height: 40px;
    fill: var(--d-nacht);
}
[data-mdb-theme='dark'] .fuss__welle {
    fill: #08131d;
}
.fuss a {
    color: #fff !important;
}
.fuss__marke {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
}
.fuss__marke img {
    max-height: 64px;
    width: auto;
}
.fuss__marke .fa-paper-plane {
    color: var(--d-gelb);
}
.fuss__titel {
    margin-bottom: .75rem;
    font-size: 1rem !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--d-gelb) !important;
}
.fuss__links li {
    margin-bottom: .35rem;
}
.fuss__links a {
    text-decoration: none;
}
.fuss__links a:hover {
    text-decoration: underline;
}
.fuss__social a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-right: .35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    font-size: 1.1rem;
}
.fuss__social a:hover {
    background: var(--d-rot);
}
.fuss__schluss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .9rem;
}
.fuss__schluss p {
    margin: 0;
}
.fuss__schluss ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0;
}
.fuss__schluss a {
    text-decoration: none;
}

/* Bewegung reduzieren, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
    .drachenseite *,
    .drachenseite *::before,
    .drachenseite *::after {
        transition: none !important;
        animation: none !important;
    }
}
