/* ==========================================================================
   MG flyers – Stylesheet (angelehnt an das Betheme-Original, nicht pixelgenau)
   ========================================================================== */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.496654ac82a3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-tight-latin.f5af7a761c2b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #000098;        /* Themenfarbe des Originals */
  --blue-dark: #00006e;
  --accent: #0089f7;
  --text: #0e0e11;
  --muted: #626262;
  --grey: #989898;
  --line: #e7e7e7;
  --bg: #f6f6f6;
  --white: #ffffff;
  --wrap: 1240px;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(0,0,0,.08);
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img, iframe, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; color: var(--text); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
p, ul, ol { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; }
td, th { border: 1px solid var(--line); padding: .5em .75em; text-align: left; vertical-align: top; }
th { background: #efefef; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .5em 1em; z-index: 1000; }
.skip:focus { left: 8px; }

/* --- Buttons ------------------------------------------------------------ */
.btn, a.btn { display: inline-block; background: var(--blue); color: #fff; padding: .7em 1.4em; border-radius: var(--radius); font-weight: 600; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; line-height: 1.3; transition: background .2s; }
.btn:hover, a.btn:hover { background: var(--accent); color: #fff; }
.btn-light, a.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue); }

/* --- Header -------------------------------------------------------------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 90px; }
.logo img { height: 54px; width: auto; display: block; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 1.1rem .7rem; font-weight: 600; font-size: .95rem; color: var(--text); white-space: nowrap; }
.main-nav > ul > li:hover > a, .main-nav > ul > li.active > a, .main-nav > ul > li > a:focus { color: var(--blue); }
.main-nav > ul > li.active > a::after { content: ""; display: block; height: 3px; background: var(--blue); margin-top: -.3rem; }
.sub-toggle { display: none; }
.main-nav .sub { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--blue); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 50; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub, .main-nav li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav > ul > li:nth-last-child(-n+3) > .sub { left: auto; right: 0; }
.main-nav .sub a { display: block; padding: .5rem 1.1rem; font-size: .92rem; color: var(--text); }
.main-nav .sub a:hover, .main-nav .sub .current > a { color: var(--blue); background: #f3f3fb; }
.nav-toggle { display: none; background: none; border: 2px solid var(--blue); border-radius: var(--radius); width: 46px; height: 42px; position: relative; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 10px; right: 10px; height: 3px; background: var(--blue); border-radius: 2px; transition: .2s; }
.nav-toggle-bar { top: 18px; }
.nav-toggle-bar::before { top: -8px; left: 0; right: 0; }
.nav-toggle-bar::after { top: 8px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header-inner { min-height: 72px; }
  .logo img { height: 38px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: .5rem 0 1rem; }
  .main-nav > ul > li { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 48px; }
  .main-nav > ul > li > a { padding: .85rem 1rem; white-space: normal; }
  .main-nav > ul > li.active > a::after { display: none; }
  .sub-toggle { display: block; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translate(-50%, -70%) rotate(45deg); transition: .2s; }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(225deg); }
  .main-nav .sub { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; background: #f6f6f6; min-width: 0; }
  .main-nav li.open > .sub { display: block; }
  .main-nav li:hover > .sub { display: none; }
  .main-nav li.open:hover > .sub { display: block; }
  .main-nav .sub a { padding: .6rem 1.5rem; }
}

/* --- Hero / Slider -------------------------------------------------------- */
.hero { position: relative; height: clamp(360px, 55vw, 720px); overflow: hidden; background: #0e0e11; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.1); will-change: transform, opacity; }
/* Aktives Bild zoomt in 6 s (= Wechselintervall) von 1.0 auf 1.1; inaktive Bilder bleiben bei 1.1, damit beim Überblenden nichts zurückspringt */
.hero .slide.active { opacity: 1; z-index: 1; animation: kenburns 6s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .hero .slide.active { animation: none; } }
.hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 60%); }
.hero .caption { position: absolute; left: 0; right: 0; bottom: 14%; z-index: 2; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero .caption h1 { color: #fff; font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); font-weight: 600; margin: 0 0 .4em; max-width: 14em; }
.hero .caption p { font-size: clamp(1rem, .9rem + .8vw, 1.4rem); margin: 0 0 1.2em; max-width: 34em; }
.hero .caption .btn { margin-right: .5rem; margin-bottom: .5rem; }
.hero .dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero .dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero .dots button[aria-current="true"] { background: #fff; }
.hero .arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(0,0,0,.45); border: 0; color: #fff; width: 44px; height: 70px; font-size: 1.6rem; cursor: pointer; }
.hero .arrow.prev { left: 0; } .hero .arrow.next { right: 0; }
.hero .arrow:hover { background: var(--blue); }
@media (max-width: 640px) { .hero .arrow { display: none; } }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(2.5rem, 5vw, 5rem) 0; }
.section-white { background: var(--white); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h2, .section-blue h3, .section-blue h4, .section-blue a { color: #fff; }
.section-dark { background: #161922; color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: .3em; }
.section-title p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.section-blue .section-title p { color: rgba(255,255,255,.8); }

/* Kacheln (Schnellzugriff) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.tile { display: block; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--blue); transition: transform .2s; color: var(--text); }
.tile:hover { transform: translateY(-4px); color: var(--blue); }
.tile .icon { display: block; margin: 0 auto .6rem; width: 44px; height: 44px; color: var(--blue); }
.tile .icon svg { width: 44px; height: 44px; }
.tile h2, .tile h3 { font-size: 1.25rem; margin: 0; }

/* Bildkacheln (Landing-Seiten) */
.img-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.img-tile { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .2s; }
.img-tile:hover { transform: translateY(-4px); color: var(--blue); }
.img-tile img { width: 100%; aspect-ratio: 19 / 9; object-fit: cover; display: block; }
.img-tile h3, .img-tile h4 { margin: 0; padding: .9rem 1.1rem; font-size: 1.1rem; }

/* News-Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e7e7e7; }
.card-body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card time { color: var(--grey); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.card h3 { font-size: 1.2rem; margin: .3em 0 .5em; }
.card h3 a { color: var(--text); } .card h3 a:hover { color: var(--blue); }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { font-weight: 600; font-size: .9rem; }

/* Angebote (3 Spalten mit Bild) */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.offer { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.offer img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.offer-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.offer-body .kicker { color: var(--grey); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; margin: 0 0 .2em; }
.offer-body h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; }
.offer-body p { flex: 1; }

/* Angebote auf einen Blick */
.glance h3 { margin: 2rem 0 1rem; color: var(--blue); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.glance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.glance-item { display: block; background: #fff; padding: 1.3rem 1.4rem; border-radius: var(--radius); border-left: 4px solid var(--blue); color: var(--text); box-shadow: var(--shadow); }
.glance-item:hover { border-left-color: var(--accent); color: var(--text); }
.glance-item h4 { margin-bottom: .3em; color: var(--blue); }
.glance-item p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Banner (Simulator) und Veranstaltungen */
.banner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-body { padding: 1.5rem 2rem 1.5rem 0; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } .banner-body { padding: 0 1.5rem 1.5rem; } }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.event { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.event img { width: 100%; border-radius: 4px; }
.event h3 { font-size: 1.2rem; }
.event p { font-size: .95rem; color: var(--muted); }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; } }
.explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.explore a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; }
.explore img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .4s; }
.explore a:hover img { transform: scale(1.04); }
.explore h3 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.2rem 1.4rem; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); color: #fff; }
.social-row { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.social-row a { display: inline-flex; align-items: center; gap: .6rem; background: #fff; padding: .8rem 1.4rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; }
.social-row svg { width: 22px; height: 22px; fill: currentColor; }

/* --- Inhaltsseiten ----------------------------------------------------- */
.page-hero { min-height: clamp(260px, 34vw, 420px); background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; }
/* Breite Panorama-Kopfbilder (Original-Subheader) werden unbeschnitten in ihrem Seitenverhältnis gezeigt */
.page-hero-wide { aspect-ratio: var(--hero-ratio); min-height: 0; max-height: 440px; }
@media (max-width: 760px) { .page-hero-wide { aspect-ratio: auto; min-height: 240px; } }
.page-hero-wide .page-hero-text { padding: 1rem 0 1.2rem; }
.page-hero-wide .page-hero-text h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); }
.page-hero-wide .page-hero-text p { font-size: 1rem; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,40,.72) 0%, rgba(0,0,40,.25) 55%, rgba(0,0,40,.05) 100%); }
.page-hero-text { position: relative; color: #fff; padding: 2rem 0 2.2rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.page-hero-text h1 { color: #fff; margin-bottom: .3em; }
.page-hero-text p { font-size: 1.15rem; margin: 0; max-width: 40em; color: rgba(255,255,255,.92); }
.content { padding: clamp(2rem, 4vw, 3.5rem) 0 4rem; overflow-wrap: break-word; }
.content > :first-child { margin-top: 0; }
.content .lead, .content .fancy-heading > :not(h1):not(h2):not(h3) { color: var(--muted); font-size: 1.15rem; }
.content .fancy-heading { margin-bottom: 1.5rem; }
.content .fancy-heading h1, .content .fancy-heading h2 { margin-bottom: .2em; }
.content .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem 2rem; margin-bottom: 1.5rem; align-items: start; }
.content .row-inner { margin-bottom: 0; }
.content .col { grid-column: span 12; min-width: 0; }
.content .col > :last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .content .col-1-2 { grid-column: span 6; }
  .content .col-1-3 { grid-column: span 4; }
  .content .col-2-3 { grid-column: span 8; }
  .content .col-1-4 { grid-column: span 3; }
  .content .col-3-4 { grid-column: span 9; }
  .content .col-1-5 { grid-column: span 3; }
  .content .col-1-6 { grid-column: span 2; }
}
@media (min-width: 760px) and (max-width: 1000px) {
  .content .col-1-4, .content .col-1-6, .content .col-1-5 { grid-column: span 6; }
}
.content .img-frame { margin: 0 0 1rem; }
.content .img-frame img { display: block; width: auto; max-width: 100%; border-radius: var(--radius); }
.content figure { margin: 0 0 1.2rem; }
.content figure img { border-radius: var(--radius); display: block; width: auto; max-width: 100%; }
.content .caption, .content figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.content .gallery { margin: 0 0 1.5rem; }
.content .col:has(> .gallery) { grid-column: span 12; }
.content .gallery ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
.content .gallery li { margin: 0; }
.content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; cursor: zoom-in; }
.content .gallery a { display: block; }
/* Kachel-Links mit Bild + Überschrift (Landing-Seiten, Muffin "photo box") */
.content .col > a:has(> img + h2), .content .col > a:has(> img + h3), .content .col > a:has(> img + h4) { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); margin-bottom: 1.5rem; }
.content .col > a:has(> img + h2):hover, .content .col > a:has(> img + h3):hover, .content .col > a:has(> img + h4):hover { color: var(--blue); }
.content .col > a:has(> img + h2) img, .content .col > a:has(> img + h3) img, .content .col > a:has(> img + h4) img { width: 100%; display: block; aspect-ratio: 19 / 9; object-fit: cover; }
.content .col > a:has(> img + h2) h2, .content .col > a:has(> img + h3) h3, .content .col > a:has(> img + h4) h4 { margin: 0; padding: .9rem 1.1rem; font-size: 1.1rem; }
.content .landing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.content .icon-box { background: #fff; padding: 1.3rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1rem; }
.content .icon-box h2, .content .icon-box h3, .content .icon-box h4 { font-size: 1.15rem; }
.content .icon-box a { color: var(--text); }
.content .icon-box a:hover { color: var(--blue); }
.content .promo-box { background: #fff; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 1.5rem 0 2.5rem; }
.quick-fact { text-align: center; background: #fff; padding: 1.8rem 1.2rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.quick-fact .qf-number { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 700; color: var(--blue); line-height: 1; margin: 0 0 .35em; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.quick-fact .qf-label { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin: 0 0 .6em; }
.quick-fact .qf-text { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.5; }
.content .cta { background: var(--blue); color: #fff; padding: 1.5rem 2rem; border-radius: var(--radius); margin: 1.5rem 0; }
.content .cta h2, .content .cta h3, .content .cta h4 { color: #fff; }
.content .cta a:not(.btn) { color: #fff; text-decoration: underline; }
.content .note { background: #eef3ff; border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: 4px; margin: 1rem 0; }
.content .tab-panel { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.content .tab-panel .tab-title { color: var(--blue); border-bottom: 2px solid var(--line); padding-bottom: .4em; }
.content details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: .7rem; padding: 0 1.3rem; }
.content summary { cursor: pointer; font-weight: 600; padding: .9rem 0; list-style: none; position: relative; padding-right: 2rem; }
.content summary::-webkit-details-marker { display: none; }
.content summary::after { content: "+"; position: absolute; right: 0; top: .7rem; font-size: 1.4rem; color: var(--blue); }
.content details[open] summary::after { content: "–"; }
.content details > :not(summary) { margin-top: 0; }
.content details[open] { padding-bottom: .8rem; }
.content .btn-wrap { margin: 1rem 0; }
.content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.content .map iframe { aspect-ratio: 16 / 8; }
.content ul { padding-left: 1.3em; }
.content .text > :last-child { margin-bottom: 0; }
.content .sec { margin-bottom: 2rem; }

/* News / Blog */
.post-header { margin-bottom: 1.5rem; }
.post-date { color: var(--grey); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.post-image img { width: 100%; border-radius: var(--radius); }
.post-body { max-width: 860px; }
.post-body img { border-radius: var(--radius); width: auto; max-width: 100%; }
.post-footer { margin-top: 2.5rem; }
.news-year { margin: 2.5rem 0 1rem; padding-bottom: .3em; border-bottom: 2px solid var(--line); }
.pagination { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { padding: .5em .9em; border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.pagination [aria-current] { background: var(--blue); color: #fff; }

/* Formulare */
.form { background: #fff; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 820px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.form legend { font-weight: 600; font-size: 1.1rem; margin-bottom: .6rem; color: var(--blue); }
.form .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem 1rem; }
.form label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .2rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea { width: 100%; padding: .65em .8em; border: 1px solid #ccc; border-radius: 4px; font: inherit; background: #fff; }
.form textarea { min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: .3rem 0; }
.form .check input { margin-top: .35em; flex: none; }
.form .check span { flex: 1; }
.form .req { color: #c00; }
.form-note { background: #fff8e1; border-left: 4px solid #f0b400; padding: .8rem 1rem; border-radius: 4px; font-size: .92rem; margin-bottom: 1.5rem; }
.hp { position: absolute; left: -9999px; }

/* Kontaktbox */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.contact-box { background: #fff; padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-box h3 { color: var(--blue); font-size: 1.1rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.5rem; margin: 0 0 1em; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 500; padding: 3.5rem 4rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: .9rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--blue); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) { .lightbox { padding: 3rem .5rem; } .lightbox .lb-prev, .lightbox .lb-next { width: 40px; height: 40px; bottom: .8rem; top: auto; transform: none; } .lightbox .lb-prev { left: 25%; } .lightbox .lb-next { right: 25%; } }

/* Alben (Galerie mit Titel und Vorschau) */
.album { margin: 0 0 2.5rem; }
.album-title { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .8rem; }
.album-count { font-size: .85rem; font-weight: 400; color: var(--muted); }
.album-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.album-grid li { margin: 0; }
.album-grid a { display: block; position: relative; border-radius: 6px; overflow: hidden; }
.album-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .3s; }
.album-grid a:hover img { transform: scale(1.04); }
.album-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,152,.55); color: #fff; font-size: 1.6rem; font-weight: 700; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: #161922; color: #cfcfd6; margin-top: 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; padding: 3rem 0 2rem; }
.footer-logo img { height: 56px; width: auto; display: block; margin-bottom: 1rem; opacity: .95; }
.site-footer h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.site-footer a.btn-light { color: var(--blue); }
.site-footer a.btn-light:hover { color: #fff; }
.site-footer .social { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer .social a { display: inline-block; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .35em 1em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom .legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }
.footer-bottom p { margin: 0; }

/* 404 */
.error-page { text-align: center; padding: 5rem 0; }

/* YouTube-Videos erst nach Klick laden (Datenschutz) */
.video-consent { position: relative; aspect-ratio: 16 / 9; background: #161922 url("../../video-placeholder.16cd4219eacc.svg") center / 64px no-repeat; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; color: #fff; padding: 1.5rem; margin-bottom: 1.5rem; }
.video-consent p { font-size: .9rem; margin: 0 0 .8rem; color: rgba(255,255,255,.85); max-width: 40em; }
.video-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Ergänzungen für das Wagtail-CMS ----------------------------------- */
.content .row.cols-2 .col { grid-column: span 6; }
.content .row.cols-3 .col { grid-column: span 4; }
.content .row.cols-4 .col { grid-column: span 3; }
.content .row.layout-wide-left .col:first-child { grid-column: span 8; }
.content .row.layout-wide-left .col:not(:first-child) { grid-column: span 4; }
.content .row.layout-wide-right .col:last-child { grid-column: span 8; }
.content .row.layout-wide-right .col:not(:last-child) { grid-column: span 4; }
@media (max-width: 759px) { .content .row .col { grid-column: span 12 !important; } }
.content figure.img-medium { max-width: 900px; }
.content figure.img-small { max-width: 600px; }
.img-tiles.cols-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.img-tiles.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.img-tile p { margin: 0; padding: 0 1.1rem 1rem; color: var(--muted); font-size: .95rem; }
.content .accordion { margin-bottom: 1.5rem; }
.form .field { margin-bottom: .4rem; }
.form .field-wide { grid-column: 1 / -1; }
.form .field small { display: block; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.form .field ul { list-style: none; padding: 0; margin: 0; }
.form .field ul li label { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
.form .field input[type="checkbox"], .form .field input[type="radio"] { width: auto; }
.form .privacy { font-size: .9rem; color: var(--muted); margin: 1rem 0; }
.form .field-checkbox label.check { font-size: .95rem; }
.wagtail-userbar { z-index: 2000; }
.content .post-body .row { max-width: none; }

/* --- Tabellen (z. B. Lizenzvergleich) ------------------------------------- */
.table-wrap { overflow-x: auto; margin: 0 0 2rem; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.content table { border-collapse: collapse; width: 100%; margin: 0; font-size: .95rem; background: #fff; }
.content th { background: var(--blue); color: #fff; text-align: left; padding: .9em 1em; vertical-align: bottom; font-weight: 600; border: 0; border-left: 1px solid rgba(255,255,255,.25); }
.content th:first-child { border-left: 0; }
.content th strong { font-weight: 700; }
.content td { padding: .8em 1em; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); vertical-align: top; }
.content td:first-child { border-left: 0; font-weight: 600; color: var(--blue); background: #f3f3fb; min-width: 9em; }
.content tbody tr:nth-child(even) td:not(:first-child) { background: #fafafd; }
.content table p { margin: 0 0 .5em; }
.content table em { color: var(--muted); }
/* Tabellen mit gleichwertigen Spalten (class="plain"): erste Spalte nicht hervorheben */
.content table.plain td:first-child { font-weight: 400; color: var(--text); background: transparent; min-width: 0; }
.content table.plain tbody tr:nth-child(even) td { background: #fafafd; }

/* --- Flotte ----------------------------------------------------------------- */
.fleet-item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin: 0 0 2rem; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 10; }
.fleet-body { padding: 1.6rem 1.8rem 1.6rem; }
.fleet-body h3 { color: var(--blue); font-size: 1.6rem; margin-bottom: .1em; }
.fleet-reg { color: var(--muted); font-weight: 600; letter-spacing: .06em; margin: 0 0 1.1em; }
.fleet-specs { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.4rem; margin: 0; font-size: .93rem; }
.fleet-specs dt { font-weight: 600; color: var(--text); }
.fleet-specs dd { margin: 0; color: var(--muted); }
.fleet-note { margin-top: 1rem; font-size: .93rem; }
@media (max-width: 760px) { .fleet-item { grid-template-columns: 1fr; } .fleet-specs { grid-template-columns: 1fr; gap: 0; } .fleet-specs dd { margin-bottom: .5rem; } }

/* --- Kundenstimmen (Handschrift-Optik) --------------------------------------- */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/caveat-latin-ext.2a8768f8ef1f.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/caveat-latin.2d9de14f93a2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.testimonial { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; align-items: start; margin: 0 0 2.5rem; }
.testimonial-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-2deg); border: 6px solid #fff; }
.testimonial-body { position: relative; }
.testimonial-quote { margin: 0; padding: 1.4rem 1.8rem 1.2rem 2.2rem; background: #fffdf5 repeating-linear-gradient(transparent 0, transparent 2.05em, rgba(0,0,152,.12) 2.05em, rgba(0,0,152,.12) calc(2.05em + 1px)); background-position: 0 1.2rem; border-radius: 4px; box-shadow: var(--shadow); font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-size: 1.55rem; line-height: 2.05em; color: #1d2340; position: relative; }
.testimonial-mark { color: var(--blue); font-family: var(--font); font-weight: 700; font-size: 1.3em; line-height: 0; opacity: .6; }
.testimonial-author { font-family: "Caveat", cursive; font-size: 1.6rem; color: var(--blue); margin: .8rem 0 1rem 1.2rem; }
.testimonial-facts { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin: 0; font-size: .9rem; }
.testimonial-facts .facts-title { width: 100%; font-weight: 600; color: var(--text); margin-bottom: .1rem; }
.testimonial-facts div { display: flex; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; }
.testimonial-facts dt { color: var(--muted); }
.testimonial-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 700px) { .testimonial { grid-template-columns: 1fr; } .testimonial-photo { max-width: 200px; } .testimonial-quote { font-size: 1.35rem; padding: 1.1rem 1.1rem 1rem 1.4rem; } }

/* --- Online-Shop ------------------------------------------------------------ */
.shop-nav { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.shop-nav a { padding: .6rem 1rem; font-weight: 600; font-size: .95rem; color: var(--text); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.shop-nav a:hover, .shop-nav a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.shop-nav .badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--blue); color: #fff; font-size: .8rem; text-align: center; line-height: 1.4em; }
.shop-msg { background: #eef7ee; border-left-color: #2e9e4f; }
.shop-msg-error { background: #fdeeee; border-left-color: #c00; }
.shop-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin: 1.5rem 0 2rem; }
.shop-product { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.shop-product > img { width: 100%; aspect-ratio: 19 / 12; object-fit: cover; display: block; }
.shop-product-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.shop-product h2 { font-size: 1.35rem; margin-bottom: .3em; }
.shop-teaser { color: var(--muted); margin-bottom: .8em; }
.shop-more { box-shadow: none; background: #f6f6f6; padding: 0 1rem; margin-bottom: 1rem; }
.shop-more summary { padding: .6rem 0; font-size: .95rem; }
.shop-more summary::after { top: .4rem; }
.shop-more p { font-size: .95rem; }
.shop-variants { margin-top: auto; }
.shop-variants fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.shop-variant { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .55rem .2rem; border-top: 1px solid var(--line); cursor: pointer; }
.shop-variant:first-of-type { border-top: 0; }
.shop-variant input { margin: 0; width: 18px; height: 18px; accent-color: var(--blue); }
.shop-variant-name small { display: block; color: var(--muted); font-size: .85rem; }
.shop-price { font-weight: 700; color: var(--blue); white-space: nowrap; }
.shop-add { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.shop-add label { font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: .2rem; }
.shop-add input[type="number"] { width: 5em; padding: .55em .6em; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.shop-vat { font-size: .8rem; color: var(--muted); margin: .6rem 0 0; }
.shop-legal { font-size: .9rem; color: var(--muted); }
.shop-cart input[type="number"] { width: 4.5em; padding: .4em .5em; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.content .shop-cart td, .content .shop-cart th, .content .shop-page table td:first-child { font-weight: 400; color: var(--text); background: none; }
.content .shop-page td.num, .content .shop-page th.num { text-align: right; white-space: nowrap; }
.content .shop-page tfoot th { background: #f3f3fb; color: var(--text); border-top: 2px solid var(--blue); }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.link-btn { background: none; border: 0; color: var(--blue); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.shop-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.shop-checkout { max-width: none; }
.shop-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
.shop-summary { background: #f3f3fb; border-radius: var(--radius); padding: 1.3rem 1.4rem; position: sticky; top: 100px; }
.shop-summary h2 { font-size: 1.2rem; }
.shop-summary-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.shop-summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid #fff; }
.shop-summary-list small { color: var(--muted); }
.shop-summary-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--blue); padding-top: .6rem; }
.shop-consent .check { margin: .5rem 0; }
.btn-order { width: 100%; font-size: 1.05rem; padding: .9em 1.2em; }
.shop-payment { display: grid; gap: .6rem; }
.shop-pay-option { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; }
.shop-pay-option:has(input:checked) { border-color: var(--blue); background: #f3f3fb; }
.shop-pay-option input { margin-top: .3em; accent-color: var(--blue); }
.shop-pay-option small { color: var(--muted); }
.form.shop-checkout select { width: 100%; padding: .65em .8em; border: 1px solid #ccc; border-radius: 4px; font: inherit; background: #fff; }
.shop-bank { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.2rem; margin: 1rem 0; }
.shop-bank dt { font-weight: 600; } .shop-bank dd { margin: 0; overflow-wrap: anywhere; }
.content .cta .shop-bank strong { font-size: 1.1em; }
.shop-vouchers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin: 1.5rem 0 2rem; }
.shop-voucher-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.4rem; border-top: 5px solid var(--blue); }
.shop-voucher-card p { margin-bottom: .5em; }
.shop-voucher-title { font-weight: 600; font-size: 1.1rem; }
.shop-voucher-large { max-width: 640px; margin-bottom: 1.5rem; }
.shop-voucher-large .shop-voucher-title { font-size: 1.5rem; color: var(--blue); }
.shop-voucher-dedication { font-style: italic; color: var(--muted); }
.shop-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.25rem; white-space: nowrap; font-weight: 700; letter-spacing: .06em; color: var(--blue); background: #f3f3fb; padding: .4em .7em; border-radius: 4px; display: inline-block; }
.shop-lookup { max-width: 480px; }
.shop-lookup input { text-transform: uppercase; }
.shop-text h3 { margin-top: 1.5em; }
form.inline { display: inline; }
@media (max-width: 900px) { .shop-checkout-grid { grid-template-columns: 1fr; } .shop-summary { position: static; } }
@media (max-width: 600px) { .shop-products { grid-template-columns: 1fr; } .shop-nav a { padding: .5rem .7rem; font-size: .9rem; } .content .shop-page table { font-size: .9rem; } }

/* --- Terminkalender ----------------------------------------------------------- */
:root { --kind-theorie: #000098; --kind-treff: #d97706; --kind-roundtable: #059669; --kind-pilotstable: #7c3aed; --kind-kurs: #0284c7; --kind-pruefung: #dc2626; --kind-event: #db2777; --kind-sonstiges: #6b7280; }
.calendar { margin: 1.5rem 0 2.5rem; }
.cal-legend { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--muted); }
.cal-legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .4rem; background: var(--kind-sonstiges); vertical-align: middle; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.cal-month { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem 1.2rem; }
.cal-month h3 { font-size: 1.1rem; margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); color: var(--blue); }
.cal-month-empty { opacity: .85; }
.cal-note { margin: 0 0 .6rem; font-size: .9rem; color: var(--muted); font-style: italic; }
.cal-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.cal-events li { display: flex; gap: .8rem; align-items: center; padding: .35rem .5rem .35rem 0; border-left: 4px solid var(--kind-sonstiges); border-radius: 4px; background: #fafafd; }
.cal-date { flex: none; width: 48px; text-align: center; line-height: 1.05; margin-left: .5rem; }
.cal-day { display: block; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.cal-mon { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cal-body { display: flex; flex-direction: column; min-width: 0; }
.cal-title { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cal-meta { font-size: .82rem; color: var(--muted); }
.kind-theorie { border-left-color: var(--kind-theorie) !important; } .cal-legend .kind-theorie::before { background: var(--kind-theorie); }
.kind-treff { border-left-color: var(--kind-treff) !important; } .cal-legend .kind-treff::before { background: var(--kind-treff); }
.kind-roundtable { border-left-color: var(--kind-roundtable) !important; } .cal-legend .kind-roundtable::before { background: var(--kind-roundtable); }
.kind-pilotstable { border-left-color: var(--kind-pilotstable) !important; } .cal-legend .kind-pilotstable::before { background: var(--kind-pilotstable); }
.kind-kurs { border-left-color: var(--kind-kurs) !important; } .cal-legend .kind-kurs::before { background: var(--kind-kurs); }
.kind-pruefung { border-left-color: var(--kind-pruefung) !important; } .cal-legend .kind-pruefung::before { background: var(--kind-pruefung); }
.kind-event { border-left-color: var(--kind-event) !important; } .cal-legend .kind-event::before { background: var(--kind-event); }

/* --- Rundflugziele ------------------------------------------------------------ */
.destinations { margin: 1.5rem 0 2.5rem; }
.dest-intro { color: var(--muted); margin: 0 0 1rem; }
.dest-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: #222; }
.dest img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.dest:hover img { transform: scale(1.05); }
.dest-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 1.2rem; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); color: #fff; }
.dest-time { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: .35em .9em; border-radius: 999px; margin-bottom: .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.dest h3 { color: #fff; font-size: 1.6rem; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.6); letter-spacing: .04em; }
.dest p { margin: .2rem 0 0; font-size: .9rem; color: rgba(255,255,255,.9); text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* --- Ablauf in Schritten -------------------------------------------------------- */
.steps { list-style: none; counter-reset: none; margin: 1.5rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.step-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.step-body { padding: 1.2rem 1.3rem 1.4rem; position: relative; }
.step-no { position: absolute; top: -22px; left: 1.1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,152,.3); }
.step:not(:has(.step-img)) .step-no { position: static; margin-bottom: .8rem; }
.step-body h3 { font-size: 1.15rem; margin: .9rem 0 .4rem; }
.step:not(:has(.step-img)) .step-body h3 { margin-top: 0; }
.step-body p { margin: 0; font-size: .95rem; color: var(--muted); }

/* --- Shop-Hinweis ----------------------------------------------------------------- */
.shop-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--blue); color: #fff; border-radius: var(--radius); padding: 1.5rem 2rem; margin: 1.5rem 0 2.5rem; box-shadow: var(--shadow); }
.shop-cta h3 { color: #fff; margin: 0 0 .3em; font-size: 1.35rem; }
.shop-cta p { margin: 0; color: rgba(255,255,255,.88); max-width: 46em; }
.shop-cta-buttons { display: flex; gap: .7rem; flex-wrap: wrap; }
.shop-cta-buttons .btn-wrap { margin: 0; }
.shop-cta-buttons .btn { background: #fff; color: var(--blue); }
.shop-cta-buttons .btn:hover { background: var(--accent); color: #fff; }
.shop-cta-buttons .btn-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }

/* --- Vorteile / Merkmale ---------------------------------------------------------- */
.features { margin: 1.5rem 0 2.5rem; }
.features-title { text-align: center; margin-bottom: 1.4rem; font-size: 1.5rem; }
.features-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.features.cols-2 .features-grid { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.feature { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.3rem; border-top: 4px solid var(--blue); }
.feature-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #eef0fb; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin: .1em 0 .3em; }
.feature p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 480px) { .features.cols-2 .features-grid, .features-grid { grid-template-columns: 1fr; } }

/* --- Faktenbox ----------------------------------------------------------------- */
.key-facts { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.5rem 1.4rem; border-top: 4px solid var(--blue); margin: 0 0 2rem; }
.key-facts h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: .8rem; }
.key-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem 1.5rem; margin: 0 0 .5rem; }
.key-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.key-facts dd { margin: 0; font-weight: 600; font-size: 1rem; }
.key-facts .btn-wrap { margin: .8rem 0 0; }
.content h3 { margin-top: 1.8rem; }
.content h3:first-child { margin-top: 0; }
