:root {
  --tinte: #0f1c38;
  --fliesstext: #4b5568;
  --leise: #6f7a8d;
  --linie: #e3e7ee;
  --linie-dunkel: rgba(255,255,255,.14);
  --toenung: #f5f7fb;
  --blau: #2d5299;
  --zug: cubic-bezier(.25,1,.5,1);
}

html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--tinte); color: #fff; }

/* Leeres Datumsfeld faellt in iOS Safari sonst auf halbe Hoehe zusammen. */
input[type=date]::-webkit-date-and-time-value { min-height: 1.5em; text-align: left; }
input[type=date]::-webkit-datetime-edit { padding: 0; }
html:not(.js) .fade-in { opacity: 1; transform: none; }

.ab { padding-block: clamp(4.5rem, 8vw, 7.5rem); background: #fff; color: var(--tinte); }
.ab--getoent { background: var(--toenung); }
.ab--dunkel { background: var(--tinte); color: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ab-rahmen { max-width: 1550px; margin-inline: auto; padding-inline: 2rem; }
.ab--anschluss { padding-top: 0; }
.ab--anschluss > .ab-rahmen > :first-child { border-top: 1px solid var(--linie); padding-top: clamp(4rem, 7vw, 6.5rem); }

.ab-kopf { display: grid; gap: 1.5rem; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.ab-kopf h2, .ab h2.gross {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.1rem + 2.5vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.035em; color: inherit; margin: 0; hyphens: manual;
}
.ab-kopf p, .ab .lauf { font-size: 1.0625rem; line-height: 1.7; color: var(--fliesstext); max-width: 62ch; margin: 0; }
.ab-kopf p + p, .ab .lauf + .lauf { margin-top: 1rem; }
.ab--dunkel .ab-kopf p, .ab--dunkel .lauf { color: rgba(255,255,255,.72); }
.ab-kopf .knopf { margin-top: 2rem; }

.spalten { display: grid; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.spalten > * { border-top: 1px solid var(--linie); padding-top: 1.5rem; min-width: 0; }
.spalten h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; color: var(--tinte); margin: 0 0 .75rem; }
.spalten p { font-size: .9375rem; line-height: 1.7; color: var(--fliesstext); margin: 0; }
.spalten--titel { row-gap: 0; }
.spalten--titel > * { padding-block: 1.15rem; }
.spalten--titel h3 { font-size: clamp(1.2rem, .9rem + 1vw, 1.625rem); margin: 0; }
.ab--dunkel .spalten > * { border-color: var(--linie-dunkel); }
.ab--dunkel .spalten h3 { color: #fff; }
.ab--dunkel .spalten p { color: rgba(255,255,255,.68); }

.spalten .nr { display: block; margin-bottom: 1.25rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; color: var(--leise); }
.ab-name { display: block; margin-bottom: 1.1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.ab--dunkel .ab-name { color: rgba(255,255,255,.6); }

.sorten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.sorten > div { border-top: 1px solid var(--linie); padding-top: 1.4rem; color: var(--tinte); }
.sorten .sortiment-bild { margin: 0 0 1rem; }
.sorten h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; margin: 0; }
.sorten p { font-size: .8125rem; color: var(--fliesstext); margin: .25rem 0 0; }
@media (min-width: 768px) { .sorten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sorten { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2rem; margin: 0; }
.zahlen--klein { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.zahlen--klein dt { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); letter-spacing: -.03em; }
.zahlen > div { border-top: 1px solid var(--linie); padding-top: 1.1rem; }
.zahlen dt { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--tinte); font-variant-numeric: tabular-nums; }
.zahlen dd { margin: .7rem 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.ab--dunkel .zahlen > div { border-color: var(--linie-dunkel); }
.ab--dunkel .zahlen dt { color: #fff; }
.ab--dunkel .zahlen dd { color: rgba(255,255,255,.6); }

.zeilen { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.zeilen > li { display: grid; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid var(--linie); }
.zeilen h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em; color: var(--tinte); margin: 0; }
.zeilen p { font-size: .9375rem; line-height: 1.7; color: var(--fliesstext); margin: 0; max-width: 62ch; }
.zeilen .marke { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .8125rem; letter-spacing: .02em; color: var(--leise); }
.zeilen h3 .marke { margin-left: .6rem; white-space: nowrap; }
.zeilen--zeit h3 { color: var(--blau); font-variant-numeric: tabular-nums; }
.zeilen--zeit h4 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; color: var(--tinte); margin: 0 0 .4rem; }
.paar .lauf--oben { margin-top: 0; }
.ab--dunkel .zeilen, .ab--dunkel .zeilen > li { border-color: var(--linie-dunkel); }
.ab--dunkel .zeilen h3 { color: #fff; }
.ab--dunkel .zeilen p { color: rgba(255,255,255,.68); }

.haken { list-style: none; margin: 2rem 0 0; padding: 0; border-bottom: 1px solid var(--linie); }
.haken li { display: flex; gap: .85rem; align-items: baseline; padding-block: .85rem; border-top: 1px solid var(--linie); font-size: .9375rem; line-height: 1.5; color: var(--tinte); }
.haken li::before { content: ''; flex: 0 0 .7rem; height: .4rem; border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: translateY(-.2rem) rotate(-45deg); }

.bild { border-radius: 20px; overflow: hidden; background: var(--tinte); margin: 0; }
.bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bild--hell { background: var(--toenung); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.bild--hell img { width: auto; height: auto; max-width: min(70%, 320px); }
.bild--weiss { background: #fff; border: 1px solid var(--linie); }

.stichworte { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.stichworte li { border-top: 1px solid var(--linie); padding-block: .9rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--tinte); }
.ab--dunkel .stichworte li { border-color: var(--linie-dunkel); color: #fff; }
.bild-zeile { display: block; font-size: .75rem; color: var(--leise); margin-top: .6rem; }

.bild--quer { aspect-ratio: 3 / 2; }
.spalten--bild > * { border-top: 0; padding-top: 0; }
.spalten--bild .bild { aspect-ratio: 3 / 2; margin-bottom: 1.4rem; }

.paar { display: grid; gap: 2.5rem; align-items: center; }
.paar .lauf, .anfrage .lauf { margin-top: 1.5rem; }

.paar--oben { align-items: start; }
.zahlen--buendig { margin-top: 0; }
.spalten--abstand { margin-top: 2.5rem; }
.ab-kopf--ende { margin-bottom: 0; }

.wege h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; }
.wege p { max-width: 46ch; }
.wege .knopf { margin-top: 1.75rem; }
.ruf { display: inline-block; margin-top: 1.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.02em; color: var(--tinte); text-decoration: none; }
.ab--dunkel .ruf { color: #fff; }
.textlink { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; color: var(--tinte); text-decoration: none; }
.textlink svg { width: 1rem; height: 1rem; transition: transform .3s var(--zug); }
@media (pointer: fine) {
  .ruf:hover, .textlink:hover { color: var(--blau); }
  .textlink:hover svg { transform: translateX(3px); }
}

.person { display: flex; gap: 1.1rem; align-items: center; }
.person img { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; object-position: top; flex: 0 0 auto; }
.person h3 { margin: 0 0 .15rem; font-size: 1.0625rem; }
.person span { display: block; font-size: .8125rem; color: var(--leise); }
.person a { display: inline-block; margin-top: .35rem; font-size: .9375rem; font-weight: 600; color: var(--tinte); text-decoration: none; }

.knopf {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: 0 1.6rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; letter-spacing: .01em;
  background: var(--tinte); color: #fff; transition: color .3s var(--zug), transform .16s var(--zug);
}
.knopf svg { width: 1rem; height: 1rem; flex: 0 0 auto; transition: transform .3s var(--zug); }
.knopf--hell { background: #fff; color: var(--tinte); }
.knopf--glas { background: rgba(15,28,56,.07); color: var(--tinte); }
.knopf--klar { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ab--dunkel .knopf--glas { background: rgba(255,255,255,.12); color: #fff; }
.knopf:active { transform: scale(.98); }
@media (pointer: fine) {
  .knopf::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--blau); opacity: 0; transition: opacity .3s var(--zug); }
  .knopf:hover::before { opacity: 1; }
  .knopf:hover { color: #fff; }
  .knopf:hover svg { transform: translateX(3px); }
  .person a:hover { color: var(--blau); }
}
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.anfrage { display: grid; gap: 3rem; }
.anfrage-ruf { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); font-size: .875rem; color: rgba(255,255,255,.6); }
.anfrage-ruf a { display: block; margin-top: .35rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.02em; color: #fff; text-decoration: none; }

.themen { display: grid; gap: 3.5rem; }
.themen h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; color: var(--tinte); margin: 0 0 1.5rem; }
.begriffe { margin: 0; border-bottom: 1px solid var(--linie); }
.begriffe > div { display: grid; gap: .35rem; padding-block: 1.1rem; border-top: 1px solid var(--linie); }
.begriffe dt { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9375rem; color: var(--tinte); }
.begriffe dd { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--fliesstext); }
@media (min-width: 1024px) {
  .themen { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 7vw, 8rem); }
  .begriffe > div { grid-template-columns: 10rem minmax(0, 1fr); column-gap: 1.5rem; }
}

.begriffe--gestapelt > div { grid-template-columns: minmax(0, 1fr); }
.punkte { list-style: none; margin: 0; padding: 0; }
.punkte li { padding-block: .55rem; border-top: 1px solid var(--linie); font-size: .9375rem; line-height: 1.5; color: var(--fliesstext); }
.punkte li:first-child { border-top: 0; padding-top: 0; }
.zeichen { display: block; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 2.25rem; line-height: 1; letter-spacing: -.03em; color: var(--blau); }
.spalten p.merkmale { margin-top: 1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--leise); }
.spalten--weit { margin-top: clamp(3.5rem, 6vw, 5.5rem); }

.stellen { border-bottom: 1px solid var(--linie); }
.stelle { display: grid; gap: 1.75rem; padding-block: 2.5rem; border-top: 1px solid var(--linie); }
.stelle .bild { aspect-ratio: 3 / 2; }
.stelle h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; color: var(--tinte); margin: 0; }
.stelle-rahmen { margin: .6rem 0 1.5rem; font-size: .875rem; color: var(--leise); }
.stelle h4 { margin: 0 0 .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.stelle ul { list-style: none; margin: 0; padding: 0; }
.stelle li { padding-block: .55rem; border-top: 1px solid var(--linie); font-size: .9375rem; line-height: 1.5; color: var(--fliesstext); }
@media (min-width: 640px) { .stelle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stelle { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; } }

.formular-flaeche { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.5rem); }

.rechtstext { border-bottom: 1px solid var(--linie); }
.absatz { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.9rem; border-top: 1px solid var(--linie); }
.absatz-nr { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9375rem; line-height: 1.6; color: var(--leise); font-variant-numeric: tabular-nums; }
.absatz h2, .absatz h3 { letter-spacing: -.015em; }
.firma { padding-block: 2.25rem; border-top: 1px solid var(--linie); }
.firma:first-child { border-top: 0; padding-top: 0; }
.firma > h2 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; color: var(--tinte); margin: 0 0 1.75rem; }
.firma-angaben { display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 768px) {
  .absatz { grid-template-columns: 4rem minmax(0, 1fr); }
  .firma-angaben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.anfrage-adresse { margin-top: 1.5rem; font-style: normal; font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.anfrage-adresse a { color: #fff; }

.reiter-haupt { box-shadow: none !important; border-bottom: 1px solid var(--linie); }

@media (min-width: 640px) {
  .spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ab-rahmen { padding-inline: 4rem; }
  .ab-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 7vw, 8rem); align-items: start; }
  .ab-kopf--allein { grid-template-columns: minmax(0, 1fr); }
  .spalten { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .zahlen--reihe { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .zeilen > li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 7vw, 8rem); align-items: baseline; padding-block: 1.75rem; }
  .paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 7rem); }
  .paar--bild-links > .bild, .paar--bild-links > .app-logo { order: -1; }
  .anfrage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 7vw, 8rem); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .knopf, .knopf::before, .knopf svg { transition: none; }
}

/* Startseite */
.leistungen { display: grid; gap: 2.75rem 2rem; list-style: none; margin: 0; padding: 0; }
.leistungen > li { min-width: 0; display: flex; }
.leistungen a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.leistungen .bild { aspect-ratio: 16 / 10; margin-bottom: 1.35rem; }
.leistungen .bild img { transition: transform .6s var(--zug); }
.leistungen h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.875rem); line-height: 1.12; letter-spacing: -.03em; color: var(--tinte); margin: 0 0 .7rem; padding-top: 1.35rem; border-top: 1px solid var(--linie); }
.leistungen p { font-size: .9375rem; line-height: 1.7; color: var(--fliesstext); margin: 0; }
.leistungen .textlink { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; }
@media (pointer: fine) {
  .leistungen a:hover .bild img { transform: scale(1.03); }
  .leistungen a:hover .textlink { color: var(--blau); }
  .leistungen a:hover .textlink svg { transform: translateX(3px); }
}
@media (min-width: 700px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .leistungen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (hover: hover) and (pointer: fine) {
  .zeilen > li, .haken li, .stichworte li { position: relative; isolation: isolate; }
  .zeilen > li::after, .haken li::after, .stichworte li::after {
    content: ''; position: absolute; inset: 1px -1rem 0; z-index: -1; border-radius: 12px;
    background: rgba(15,28,56,.045); opacity: 0; transition: opacity .25s ease;
  }
  .ab--getoent .zeilen > li::after, .ab--getoent .haken li::after, .ab--getoent .stichworte li::after { background: #fff; }
  .ab--dunkel .zeilen > li::after, .ab--dunkel .haken li::after, .ab--dunkel .stichworte li::after { background: rgba(255,255,255,.06); }
  .zeilen > li:hover::after, .haken li:hover::after, .stichworte li:hover::after { opacity: 1; }
  .zeilen h3, .stichworte li { transition: color .25s ease; }
  .zeilen > li:hover h3, .stichworte li:hover { color: var(--blau); }
  .ab--dunkel .zeilen > li:hover h3, .ab--dunkel .stichworte li:hover { color: #93c5fd; }
}

.gin-bild { aspect-ratio: 982 / 1500; width: min(100%, 26rem); justify-self: center; background: #ececec; }
.gin-tipp { margin: 1.75rem 0 0; font-size: .9375rem; line-height: 1.7; color: var(--fliesstext); max-width: 62ch; }
.gin-tipp strong { color: var(--tinte); font-weight: 600; }

.werbung-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.werbung-kopf h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.1rem + 2.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; color: var(--tinte); margin: 0; }
.werbung-pfeile { display: flex; gap: .5rem; flex-shrink: 0; }
.werbung-pfeil { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--linie); background: #fff; color: var(--tinte); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .16s var(--zug); }
.werbung-pfeil svg { width: 1.1rem; height: 1.1rem; }
.werbung-pfeil:active { transform: scale(.95); }
@media (pointer: fine) { .werbung-pfeil:hover { border-color: var(--tinte); } }
.werbung { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 22rem); column-gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.werbung::-webkit-scrollbar { display: none; }
.werbung > li { scroll-snap-align: start; }
.werbung img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--linie); }
@media (min-width: 768px) { .werbung { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); } }
@media (min-width: 1100px) { .werbung { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); } }

.news-reihe + .news-reihe { margin-top: clamp(3.5rem, 6vw, 5rem); padding-top: clamp(2.5rem, 4vw, 3.25rem); border-top: 1px solid var(--linie); }
.werbung-kopf h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; color: var(--tinte); margin: 0; }
.werbung-kopf h3 + p { margin: .4rem 0 0; font-size: .9375rem; line-height: 1.6; color: var(--fliesstext); }
.werbung-pfeile[hidden] { display: none; }
.termine { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.termine > li { border-top: 1px solid var(--linie); }
.termin { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: 1.25rem; row-gap: 1.1rem; padding-block: 1.75rem; color: var(--tinte); text-decoration: none; }
.termin-datum { margin: 0; display: flex; flex-direction: column; align-items: flex-start; font-family: 'Poppins', sans-serif; line-height: 1; }
.termin-ab { margin-bottom: .3rem; font-size: .8125rem; font-weight: 600; color: var(--fliesstext); }
.termin-tag { font-weight: 700; font-size: clamp(2.75rem, 2.1rem + 2.2vw, 4.25rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.termin-monat { margin-top: .4rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blau); }
.termin-text h4 { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; transition: color .2s var(--zug); }
.termin-text p { margin: .55rem 0 0; max-width: 58ch; font-size: .9375rem; line-height: 1.6; color: var(--fliesstext); }
.termin-text .termin-wo { margin-top: .35rem; font-size: .875rem; font-weight: 600; color: var(--tinte); }
.termin-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: .45rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; white-space: nowrap; transition: background-color .2s var(--zug), color .2s var(--zug), border-color .2s var(--zug); }
.termin-link svg { width: 1rem; height: 1rem; transition: transform .2s var(--zug); }
.termin:focus-visible { outline-offset: 6px; border-radius: 6px; }
.termin-bild { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--linie); }
.termin-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--zug); }
@media (min-width: 768px) {
  .termin { grid-template-columns: clamp(7rem, 10vw, 9.5rem) minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: 2.1rem; }
  .termin:has(.termin-bild) { grid-template-columns: clamp(10rem, 17vw, 15rem) clamp(5.5rem, 8vw, 8rem) minmax(0, 1fr) auto; column-gap: clamp(1.25rem, 3vw, 3rem); }
  .termin-bild { grid-column: auto; aspect-ratio: 4 / 3; }
  .termin-link { grid-column: auto; justify-self: end; padding: .75rem 1.25rem; border: 1px solid var(--linie); border-radius: 999px; }
}
@media (pointer: fine) {
  .termin:hover h4 { color: var(--blau); }
  .termin:hover .termin-link { background: var(--tinte); border-color: var(--tinte); color: #fff; }
  .termin:hover .termin-link svg { transform: translate(2px, -2px); }
  .termin:hover .termin-bild img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .termin-text h4, .termin-link, .termin-link svg, .termin-bild img { transition: none; } }
.ab--luft-oben { padding-top: 0 !important; }

.app-hinweis { display: grid; gap: 1.75rem; justify-items: start; }
.app-hinweis > img { width: clamp(6.5rem, 5rem + 4vw, 9rem); height: auto; }
.app-text h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.1rem + 2.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; color: var(--tinte); margin: 0 0 1.1rem; }
.app-text p { font-size: 1.0625rem; line-height: 1.7; color: var(--fliesstext); max-width: 52ch; margin: 0; }
.app-logo { margin: 0; display: grid; place-items: center; }
.app-logo img { display: block; width: min(70%, 18rem); height: auto; }
.schritte h3 span { display: inline-block; min-width: 1.6em; color: var(--blau); font-variant-numeric: tabular-nums; }
.schritte + .textlink { margin-top: 1.5rem; }
.ab--dunkel .ab-kopf .app-anbieter { margin-top: 2rem; font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.55); }
@media (min-width: 768px) {
  .app-hinweis { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "marke text" "marke knopf"; column-gap: clamp(3rem, 7vw, 8rem); row-gap: 1.75rem; align-items: center; }
  .app-hinweis > img { grid-area: marke; justify-self: center; }
  .app-hinweis > .app-text { grid-area: text; align-self: end; }
  .app-hinweis > .knopf { grid-area: knopf; align-self: start; }
}

.eckdaten { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.eckdaten > div { padding-block: 1.6rem; border-top: 1px solid var(--linie-dunkel); }
.eckdaten > div:first-child { border-top: 0; }
.eckdaten dt { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .55rem; }
.eckdaten dd { margin: 0; font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.eckdaten a { display: inline-block; padding-block: .4rem; color: rgba(255,255,255,.85); text-decoration: none; }
@media (pointer: fine) { .eckdaten a:hover { color: #93c5fd; } }
@media (min-width: 700px) {
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .eckdaten > div:nth-child(2) { border-top: 0; }
}
@media (min-width: 1100px) {
  .eckdaten { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); }
  .eckdaten > div { border-top: 0; border-left: 1px solid var(--linie-dunkel); padding: .2rem 0 .2rem 2rem; }
  .eckdaten > div:first-child { border-left: 0; padding-left: 0; }
}

.eckdaten--liste { margin-top: 2.5rem; }
@media (min-width: 700px) {
  .eckdaten--liste { grid-template-columns: minmax(0, 1fr); }
  .eckdaten--liste > div:nth-child(2) { border-top: 1px solid var(--linie-dunkel); }
}
@media (min-width: 1100px) {
  .eckdaten--liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .eckdaten--liste > div { border-left: 0; border-top: 1px solid var(--linie-dunkel); padding: 1.6rem 0 0; }
  .eckdaten--liste > div:nth-child(-n+2) { border-top: 0; padding-top: 0; }
}

.mannschaft { display: grid; gap: 2.5rem 2rem; list-style: none; margin: 0; padding: 0; }
.mannschaft > li { border-top: 1px solid var(--linie); padding-top: 1.5rem; min-width: 0; }
.mannschaft img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: top; margin-bottom: 1.1rem; }
.mannschaft-platzhalter { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; margin-bottom: 1.1rem; background: #e9eef3; color: var(--blau); font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: .04em; }
.mannschaft h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; color: var(--tinte); margin: 0; }
.mannschaft .rolle { display: block; margin: .2rem 0 1rem; font-size: .8125rem; color: var(--leise); }
.mannschaft a { display: block; font-size: .9375rem; line-height: 1.6; color: var(--fliesstext); text-decoration: none; padding-block: .45rem; overflow-wrap: anywhere; }
@media (pointer: fine) { .mannschaft a:hover { color: var(--blau); } }
@media (min-width: 560px) { .mannschaft { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mannschaft { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .mannschaft { gap: 0; }
  .mannschaft > li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1.1rem; align-content: start; padding-block: 1.4rem 1rem; }
  .mannschaft > li > * { grid-column: 2; }
  .mannschaft > li > img, .mannschaft > li > .mannschaft-platzhalter { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 3.5rem; height: 3.5rem; margin: 0; }
  .mannschaft .rolle { margin-bottom: .4rem; }
  .mannschaft h3 + a { margin-top: .3rem; }
}


.fuss-wege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-bottom: 2.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--linie-dunkel); }
.fuss-wege h2 { margin: 0 0 .9rem; font: 600 .75rem/1.4 'Open Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.fuss-wege a { display: block; padding-block: .4rem; font-size: .9375rem; line-height: 1.4; color: rgba(255,255,255,.85); text-decoration: none; overflow-wrap: break-word; hyphens: manual; }
.fuss-wege p { margin: 0; padding-block: .4rem; font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.6); }
@media (pointer: fine) { .fuss-wege a { transition: color .2s ease; } .fuss-wege a:hover { color: #93c5fd; } }
@media (min-width: 900px) { .fuss-wege { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }

/* Tippziele und Kleintext auf dem Handy */
.fuss-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.fuss-links a { padding: .55rem .25rem; }
.marken-ruf { display: inline-block; padding: .8rem 1rem; }

/* Genug Flaeche zum Antippen, ohne die Optik zu vergroessern */
.pille { display: inline-flex; align-items: center; min-height: 40px; }
.textlink { min-height: 40px; }
.check-wrap input[type="checkbox"],
.accent-navy[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; }

.fortschritt { background: #fff; border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }

.kopf-marke { padding-block: .5rem; align-items: center; text-align: center; }
footer .leading-tight { text-align: center; width: max-content; }

.rechte { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.rechte li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: .75rem; padding-block: .7rem; border-top: 1px solid var(--linie); font-size: .875rem; line-height: 1.5; color: var(--fliesstext); }
.rechte .artikel { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--tinte); font-variant-numeric: tabular-nums; }


/* Altersabfrage */
#ub-age-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(15,28,56,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.alter-feld { width: min(100%, 27rem); background: #fff; border-radius: 20px; padding: clamp(2rem, 5vw, 2.75rem); }
.alter-feld .alter-titel { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); line-height: 1.1; letter-spacing: -.035em; color: var(--tinte); margin: 0 0 .75rem; }
.alter-feld p { font-size: .9375rem; line-height: 1.65; color: var(--fliesstext); margin: 0; }
.alter-marke { display: block; margin-bottom: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }
.alter-haken { display: flex; align-items: center; gap: .85rem; margin: 1.75rem 0; padding-top: 1.5rem; border-top: 1px solid var(--linie); cursor: pointer; }
.alter-haken input { width: 22px; height: 22px; min-width: 22px; accent-color: var(--tinte); cursor: pointer; }
.alter-haken span { font-size: .9375rem; font-weight: 600; color: var(--tinte); }
.alter-feld .knopf { width: 100%; justify-content: center; }
.alter-feld .knopf:disabled { background: transparent; color: var(--fliesstext); box-shadow: inset 0 0 0 1px var(--linie); cursor: not-allowed; }
@media (pointer: fine) { .alter-feld .knopf:disabled:hover::before { opacity: 0; } .alter-feld .knopf:disabled:hover { color: var(--fliesstext); } }

.marken-band { overflow: hidden; margin-top: 1.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marken { --lauf-abstand: clamp(2.75rem, 5vw, 5rem); --skala: 1; display: flex; width: max-content; animation: marken-lauf 24s linear infinite; will-change: transform; }
/* Drei gleiche Gruppen samt Abstand zur naechsten: ein Drittel Weg ergibt einen nahtlosen Durchlauf. */
.marken-gruppe { list-style: none; margin: 0; padding: 0 var(--lauf-abstand) 0 0; display: flex; flex: 0 0 auto; align-items: center; gap: var(--lauf-abstand); }
.marken li { flex: 0 0 auto; display: flex; align-items: center; min-height: 5.5rem; }
.marken img { display: block; width: auto; height: calc(var(--h) * var(--skala) * 1px); }
@keyframes marken-lauf { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-100% / 3), 0, 0); } }
@media (max-width: 640px) { .marken { --skala: .8; } }
@media (prefers-reduced-motion: reduce) {
  .marken { animation: none; width: 100%; display: block; will-change: auto; }
  .marken-gruppe { width: 100%; padding: 0 1.5rem; flex-wrap: wrap; justify-content: center; gap: 2rem 2.75rem; }
  .marken-gruppe[aria-hidden] { display: none; }
}

/* Hauptnavigation mit zwei Themenbereichen. */
#mobile-menu .schubfach-nav { width: min(100%, 48rem); gap: .3rem; }
#mobile-menu .menue-hauptpunkt { display: flex; align-items: center; min-height: 48px; padding: .35rem 0; color: #fff; font: 900 clamp(1.6rem, 3.2vw, 2.6rem)/1.22 'Poppins', sans-serif; letter-spacing: -.02em; text-decoration: none; }
#mobile-menu .menue-gruppe { width: 100%; }
#mobile-menu .menue-gruppe summary { cursor: pointer; list-style: none; justify-content: space-between; gap: 1.5rem; transition: color .12s ease, translate .18s ease; }
#mobile-menu .menue-gruppe summary::-webkit-details-marker { display: none; }
#mobile-menu .menue-gruppe summary::after { content: ''; flex: 0 0 .45em; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .25s ease; margin-right: .2rem; }
#mobile-menu .menue-gruppe[open] summary::after { transform: translateY(.1em) rotate(225deg); }
#mobile-menu .menue-unterpunkte { display: grid; gap: .05rem; padding: .55rem 0 1rem 1rem; }
#mobile-menu .menue-unterpunkte a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; padding: .45rem 0; color: #cbd5e6; font: 500 clamp(1rem, 1.5vw, 1.2rem)/1.4 'Open Sans', sans-serif; text-decoration: none; overflow-wrap: anywhere; }
#mobile-menu .menue-unterpunkte .menue-aktion { font-size: .9375rem; color: #a8cdff; padding-left: 1rem; }
#mobile-menu .schubfach-nav :focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 2px; }
#mobile-menu.per-zeiger .schubfach-nav :focus-visible { outline: none; }
#mobile-menu .schubfach-nav a[aria-current='page'] { color: #a8cdff; }
.js #mobile-menu .schubfach-nav a { transition: color .12s ease, translate .18s ease; transform: none; opacity: 1; }
.js #mobile-menu.open .schubfach-nav a { transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  #mobile-menu .schubfach-nav .menue-hauptpunkt:hover { color: #a8cdff; translate: .55rem 0; }
  #mobile-menu .schubfach-nav .menue-unterpunkte a:hover { color: #fff; translate: .5rem 0; }
}
@supports (interpolate-size: allow-keywords) {
  #mobile-menu .menue-gruppe { interpolate-size: allow-keywords; }
  #mobile-menu .menue-gruppe::details-content { height: 0; overflow: clip; content-visibility: hidden; transition: height .28s ease, content-visibility .28s allow-discrete; }
  #mobile-menu .menue-gruppe[open]::details-content { height: auto; content-visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-menu .menue-gruppe::details-content, #mobile-menu .menue-gruppe summary::after,
  #mobile-menu .menue-gruppe summary, .js #mobile-menu .schubfach-nav a { transition: none; }
}

.speicher-eintrag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.speicher-eintrag > div { min-width: 0; padding: 1rem; }
.speicher-eintrag > div + div { border-left: 1px solid var(--linie); }
.speicher-eintrag dt { margin-bottom: .5rem; color: var(--tinte); font-size: .75rem; font-weight: 700; }
.speicher-eintrag dd { margin: 0; color: var(--fliesstext); font-size: .8125rem; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .speicher-eintrag { grid-template-columns: 1fr; }
  .speicher-eintrag > div + div { border-left: 0; border-top: 1px solid var(--linie); }
}

/* Lesbare Inhalte und verlässliche Abstände auf kleinen Bildschirmen. */
section[id], main[id], h2[id] { scroll-margin-top: 96px; }
.ab-kopf > *, .paar > *, .anfrage > * { min-width: 0; }
.ab-kopf h2, .ab h2.gross { overflow-wrap: break-word; }
.knopf { padding-block: .8rem; line-height: 1.45; max-width: 100%; justify-content: center; text-align: center; }
.ab-kopf .knopf-reihe .knopf { margin-top: 0; }
.knopf:focus-visible, .textlink:focus-visible, .reiter:focus-visible, .pille:focus-visible { outline: 3px solid #7198d1; outline-offset: 4px; }
.ab--dunkel .anfrage label { color: rgba(255,255,255,.8) !important; }
.ab--dunkel .anfrage .formular-flaeche label { color: var(--tinte) !important; }
.ab--dunkel .anfrage .formular-flaeche input::placeholder, .ab--dunkel .anfrage .formular-flaeche textarea::placeholder { color: #667085; }
.ab--dunkel .anfrage .formular-flaeche :focus-visible { outline-color: var(--blau); }
.ab--dunkel .anfrage input::placeholder, .ab--dunkel .anfrage textarea::placeholder { color: #b0bbce; opacity: 1; }
.ab--dunkel .anfrage input:focus-visible, .ab--dunkel .anfrage textarea:focus-visible, .ab--dunkel .anfrage select:focus-visible { outline: 2px solid #b8d1f5; outline-offset: 3px; }
.download-liste { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--linie); }
.download-liste li { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--linie); }
.download-liste strong { display: block; font: 600 1rem/1.4 'Poppins',sans-serif; }
.download-liste small { display: block; color: var(--fliesstext); font-size: .875rem; margin-top: .3rem; }
.download-liste .knopf { margin: 0; flex-shrink: 0; }
.quellen-hinweis { font-size: .875rem; line-height: 1.6; color: var(--fliesstext); margin-top: 1.5rem; }
.quellen-hinweis a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:640px){
 .ab-rahmen { padding-inline: 1.5rem; }
 .reiter-haupt .overflow-x-auto { flex-wrap: wrap; overflow: visible; }
 .reiter-haupt .reiter { flex: 1 1 30%; min-width: 0; white-space: normal; text-align: center; padding: .85rem .4rem; font-size: .75rem; line-height: 1.4; display: grid; align-items: center; }
 .reiter-haupt > div { padding-inline: 1rem; }
 .rechtstext .absatz { grid-template-columns: 1.25rem minmax(0,1fr); gap: .75rem; }
 .rechtstext p, .rechtstext li { font-size: 1rem; line-height: 1.75; }
 input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: 16px !important; }
 .download-liste li { align-items: flex-start; flex-direction: column; gap: .85rem; }
}

/* Neuigkeiten auf der Startseite */
#aktuelles { scroll-margin-top: 110px; }
.neuigkeit { min-width: 0; }
.neuigkeit > a { display: grid; align-items: center; gap: 2rem; color: inherit; text-decoration: none; }
.neuigkeit .bild { margin: 0; aspect-ratio: 16 / 9; }
.neuigkeit .jubilaeum-marke { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tinte); color: #fff; }
.jubilaeum-marke-zahl { font: 700 clamp(7rem, 18vw, 14rem)/.9 'Poppins', sans-serif; letter-spacing: -.07em; color: #efcf8b; }
.jubilaeum-marke-name { margin-top: .55rem; font: 700 clamp(1.3rem, 3vw, 2.2rem)/1.1 'Poppins', sans-serif; letter-spacing: .02em; }
.jubilaeum-marke-zusatz { margin-top: .3rem; font-size: clamp(.7rem, .85vw, .8rem); letter-spacing: .14em; color: rgba(255,255,255,.7); }
.neuigkeit p { color: var(--fliesstext); font-size: 1rem; line-height: 1.7; max-width: 36rem; }
.neuigkeit-text .lauf { margin-top: 1.25rem; }
.neuigkeit .textlink { margin-top: 1.3rem; }
.neuigkeit a:focus-visible { outline: 2px solid var(--blau); outline-offset: 8px; }
@media (pointer: fine) {
  .neuigkeit a:hover .textlink { color: var(--blau); }
  .neuigkeit a:hover .textlink svg { transform: translateX(3px); }
}
.mannschaft a { overflow-wrap: anywhere; }
@media (min-width: 900px) { .neuigkeit > a { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem); } }

/* Der Seitengrund folgt den dunklen Vollbildflaechen auch in iOS Safari. */
html.js:has(#ub-age-gate:not([style*="display: none"])),
html.js:has(#mobile-menu.open),
html.js:has(#ub-age-gate:not([style*="display: none"])) body,
html.js:has(#mobile-menu.open) body { background-color: #0f1c38; }
html.js #ub-age-gate { background: #0f1c38; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 640px) {
  footer .leading-tight { width: auto; text-align: center; }
  footer.py-10 { padding-block: 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom) + 3rem); }
  .fuss-wege { display: block; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .fuss-wege > nav { display: none; }
  .fuss-wege > div h2,
  .fuss-wege > div p:last-of-type,
  .fuss-wege > div a:last-of-type { display: none; }
  .fuss-wege > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; text-align: center; }
  .fuss-wege > div p:first-of-type { width: 100%; }
  .fuss-links { margin-top: .35rem; justify-content: center; }
}

/* Safari zeigt ausserhalb des Dokuments den Grund der sichtbaren Randzone. */
@media (max-width: 640px) {
  html.js.hero-rand:not(.seitenmitte),
  html.js.hero-rand:not(.seitenmitte) body { background-color: var(--hero-rand, #0f1c38); }
}
html.js.am-fuss,
html.js.am-fuss body { background-color: #0f1c38; }

/* Die Kopfzeile bewegt sich unabhaengig vom feststehenden Schubfach. */
#navbar { background: transparent; box-shadow: none; border: 0; }
.kopf-zeile { position: relative; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transform: translateY(0); transition: transform .5s cubic-bezier(.4,0,.2,1); }
/* Unsichtbarer Filter am festen Rahmen, nicht an der wegfahrenden Zeile: sonst faerbt Safari 26 die Statusleiste ein, sobald der Kopf weg ist. */
#navbar::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; -webkit-backdrop-filter: saturate(1); backdrop-filter: saturate(1); }
#navbar.kopf-weg .kopf-zeile { transform: translateY(calc(-100% - 30px)); pointer-events: none; }
#navbar .kopf-wortmarke, #navbar .kopf-pille, #navbar #menu-btn { color: #fff; transition: color .2s ease, border-color .2s ease; }
#navbar .kopf-unterzeile { color: rgba(255,255,255,.7); transition: color .2s ease; }
#navbar .kopf-pille { border-color: rgba(255,255,255,.6); }
#navbar .kopf-marke { text-shadow: 0 1px 10px rgba(0,0,0,.12); }
#navbar .kopf-marke.kopf-auf-hell .kopf-wortmarke,
#navbar .kopf-pille.kopf-auf-hell,
#navbar #menu-btn.kopf-auf-hell { color: #0f1c38; }
#navbar .kopf-marke.kopf-auf-hell .kopf-unterzeile { color: #526078; }
#navbar .kopf-pille.kopf-auf-hell { border-color: rgba(15,28,56,.35); }
#navbar .kopf-marke.kopf-auf-hell { text-shadow: 0 1px 10px rgba(255,255,255,.6); }
#navbar:has(#mobile-menu.open) #menu-btn { color: #fff; }
.menue-strich { transform-origin: 12px 12px; transition: transform .24s cubic-bezier(.25,1,.5,1); }
#menu-btn[aria-expanded="true"] .menue-strich--oben { transform: rotate(45deg) translateY(3px); }
#menu-btn[aria-expanded="true"] .menue-strich--unten { transform: rotate(-45deg) translateY(-3px); }
html.menue-offen, html.menue-offen body { overflow: hidden; }
html.menue-offen, html.menue-offen body { background-color: #0f1c38 !important; }
/* Safari haelt eine feste Flaeche am oberen Rand als Leistenfarbe fest und zeigt nach dem ersten Scrollen nur noch den Inhalt unter der Leiste. Deshalb beginnt das Schubfach 6px tiefer und das Blau darueber kommt aus dem Dokument. */
html.js #mobile-menu { position: fixed; inset: 0; z-index: 40; display: none; background: #0f1c38; clip-path: inset(6px 0 0); }
html.js #mobile-menu.open { display: block; }
html.js body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 45; height: calc(var(--menue-y, 0px) + 6px); background: #0f1c38; pointer-events: none; display: none; opacity: 0; transition: opacity .18s cubic-bezier(.25,1,.5,1), display .18s allow-discrete; }
html.js.menue-offen body::before { display: block; opacity: 1; transition-duration: .24s; }
@starting-style { html.js.menue-offen body::before { opacity: 0; } }
html.js #mobile-menu > div { height: 100dvh; overscroll-behavior: contain; padding-top: max(6rem, calc(env(safe-area-inset-top) + 4.5rem)); padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
html.js #mobile-menu a { opacity: 1; transform: none; }
html .fade-in, html .fade-in.visible { opacity: 1; transform: none; transition: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.knopf:active, .kopf-pille:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  html.js #mobile-menu.open { animation: none; }
  .kopf-zeile, .menue-strich, #navbar .kopf-wortmarke, #navbar .kopf-unterzeile, #navbar .kopf-pille, #navbar #menu-btn { transition: none; }
  html.js body::before { transition: none; }
}

#hero-dots { gap: 0; margin-left: -12px; }
#hero-dots .hero-dot { position: relative; flex: 0 0 44px; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; padding: 0; cursor: pointer; }
#hero-dots .hero-dot::before { content: ''; position: absolute; top: 18px; left: 18px; width: 8px; height: 8px; border-radius: 9px; background: rgba(255,255,255,.5); transition: width .18s ease, left .18s ease, background-color .18s ease; }
#hero-dots .hero-dot[aria-pressed="true"]::before { width: 28px; left: 8px; background: #fff; }
#hero-dots .hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { #hero-dots .hero-dot::before { transition: none; } }

body { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid #0f1c38; outline-offset: 3px; }
#navbar .kopf-auf-hell:focus-visible { outline-color: #0f1c38; }
#navbar:has(#mobile-menu.open) :focus-visible { outline-color: #fff; }
@media (max-width: 560px) {
  #navbar .kopf-wortmarke { font-size: 23px !important; }
  #navbar .kopf-unterzeile { display: none; }
  #navbar .kopf-pille { padding: 7px 14px !important; font-size: 12px !important; }
}
@media (max-width: 380px) {
  #navbar .kopf-wortmarke { font-size: 20px !important; }
  #navbar .kopf-pille { padding: 7px 11px !important; font-size: 11px !important; }
}
@media (max-width: 340px) { #navbar .kopf-wortmarke { font-size: 18px !important; } }
html:not(.js) #navbar { position: relative; background: #0f1c38; }
html:not(.js) #menu-btn { display: none; }

/* Bild und Seitenflaechen reichen auf iPhones bis an den Displayrand. */
#navbar .kopf-zeile > .absolute { top: env(safe-area-inset-top, 0px); }
#ub-age-gate { padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
section[id], main[id], h2[id] { scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px)); }

.seiteninhalt { display: flow-root; }

/* Text und Bedienung behalten beim Menue- und Motivwechsel ihren Platz. */
html { scrollbar-gutter: stable; }
#home .hero-content { display: flex; flex-direction: column; align-items: flex-start; }
#home .hero-content > .knopf { margin-top: auto; }

.aufmacher-bild { position: absolute; inset: 0; display: block; }
/* Helle Fotos oben leicht abdunkeln, damit Wortmarke und Knöpfe im Kopf lesbar bleiben. */
section[data-aufmacher].overflow-hidden::after { content: ''; position: absolute; inset: 0 0 auto; height: 170px; background: linear-gradient(rgba(8,14,30,.42), rgba(8,14,30,0)); pointer-events: none; }
.aufmacher-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--bild-position, center); }

.text-details { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin-top: 1.5rem; color: var(--tinte); }
.text-details + .text-details { border-top: 0; margin-top: 0; }
.text-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 58px; padding: 1rem 0; list-style: none; cursor: pointer; font: 600 .9375rem/1.5 'Poppins', sans-serif; text-wrap: pretty; }
.text-details > summary::-webkit-details-marker { display: none; }
.text-details > summary::after { content: '+'; flex: 0 0 1.25rem; text-align: center; font: 400 1.5rem/1 'Open Sans', sans-serif; }
.text-details[open] > summary::after { content: '−'; }
.text-details > summary:focus-visible { outline-offset: 4px; }
.text-details-inhalt { display: flow-root; padding: .25rem 0 1.5rem; }
.text-details-inhalt > :first-child { margin-top: 0; }
.text-details-inhalt > :last-child { margin-bottom: 0; }
.ab--dunkel .text-details { color: #fff; border-color: var(--linie-dunkel); }
.stelle > .text-details { grid-column: 1 / -1; margin-top: 0; }
.stelle .text-details-inhalt { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
@media (hover: hover) and (pointer: fine) { .text-details > summary:hover { color: var(--blau); } }
@media (max-width: 640px) {
  .text-details > summary { font-size: .875rem; min-height: 56px; }
  .stelle .text-details-inhalt { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media print { .text-details .text-details-inhalt { display: block !important; } .text-details::details-content { display: block; content-visibility: visible; } }

/* Beim Ueberblenden stehen nie zwei Ueberschriften uebereinander. */
#home .hero-content { visibility: hidden; transition: none; }
#home .hero-content.active { visibility: visible; animation: motiv-text .22s ease-out; }
@keyframes motiv-text { from { opacity: 0; } to { opacity: 1; } }
#hero-dots .hero-dot::before { width: 8px; left: 18px; transition: opacity .18s ease; }
#hero-dots .hero-dot::after { content: ''; position: absolute; top: 18px; left: 8px; width: 28px; height: 8px; border-radius: 9px; background: #fff; opacity: 0; transition: opacity .18s ease; }
#hero-dots .hero-dot[aria-pressed="true"]::before { width: 8px; left: 18px; opacity: 0; }
#hero-dots .hero-dot[aria-pressed="true"]::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #home .hero-content.active { animation: none; } #hero-dots .hero-dot::before, #hero-dots .hero-dot::after { transition: none; } }
.bild > picture { display: block; width: 100%; height: 100%; }
@media (min-width: 1100px) { .stelle > .text-details { grid-column: 3 / -1; } }

/* Themendetails bleiben direkt bei ihrer Einleitung. */
.wissen-themen > .text-details:first-child { margin-top: 0; }
.text-details-inhalt > .lauf + .begriffe { margin-top: 1.5rem; }
.themen > div { border-top: 1px solid var(--linie); padding-top: 1.5rem; }
.themen .textlink { min-height: 44px; }


/* Mobil bleibt der vorherige Seitenstand unter der neuen Ansicht stehen. */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation: none; }
  ::view-transition-old(root) { animation: none; opacity: 1; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: seitenwechsel-mobil .24s cubic-bezier(.25,1,.5,1) both; mix-blend-mode: normal; }
}
@keyframes seitenwechsel-mobil { from { opacity: 0; } to { opacity: 1; } }
