* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --blau: #557fbd;
    --hellblau: #afbcdf;
    --orange: #ef8c27;
    --beige: #f4ebe0;
    --braun: #d6ccc1;

    --h1:36px;
    --h2:30px;
    --h3:22px;
    --h4:18px;
    --copy:14px;
    --small: 12px;

    --padding-seiten: 20px;
    --padding-obenunten: 60px;
    --padding-innen: 20px;
    --radius: 10px;

    interpolate-size: allow-keywords;
}
:focus-visible {
    outline: none;
    outline-offset: 2px;
    border-radius: 2px;
}
@font-face {
    font-family: Usual;
    font-weight: normal;
    font-display: swap;
    src: url(Usual-Regular.woff2);
}
@font-face {
    font-family: UsualItalic;
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    src: url(Usual-Italic.woff2);
}
@font-face {
    font-family: UsualBold;
    font-weight: bold;
    font-display: swap;
    src: url(Usual-Bold.woff2);
}
@font-face {
    font-family: UsualBoldItalic;
    font-weight: bold;
    font-style: italic;
    font-display: swap;
    src: url(Usual-BoldItalic.woff2);
}
.ratio-4-3 {
    aspect-ratio: 4/3;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ratio-5-3 {
    aspect-ratio: 5/3;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ### - A - ### */
.artikel-link {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 20px;
}
.artikel-link a {
    color: black;
    text-decoration: none;
}
.artikel-link a:hover {
    text-decoration: underline;
}
.artikel-kachel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--padding-innen);
}
.artikel-kachel a {
    color: white;
    text-decoration: none;
}
.artikel-kachel a:hover {
    text-decoration: underline;
}
.artikel-kachel p {
    margin-bottom: 0;
}
.artikel-alle {
    margin-top: var(--padding-innen);
}
.artikel-alle div:first-of-type{
    display: flex;
    gap: 15px;
}
.artikel-alle-expand {
    height: 0;
    overflow: hidden;
}
.artikel-alle-expand.show {
    height: auto;
    margin-top: var(--padding-innen);
}
.artikel-alle img {
    width: 15px;
}
.artikel-alle button {
    color: white;
    border: none;
    margin-bottom: 0;
    cursor: pointer;
    background: none;
    font-family: Usual;
    font-size: var(--copy);
}
.artikel-alle h4:last-of-type {
    margin-bottom: 0;
}
.artikel-alle a {
    color: white;
    text-decoration: none;
}
.artikel-alle a:hover {
    text-decoration: underline;
}
.aufzaehlung {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--padding-innen);
}
.aufzaehlung-item {
    grid-column: 1/5;
}
.aufzaehlung-item div {    
    display: grid;
    grid-template-columns: calc(var(--h1) * 1) 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.aufzaehlung-item span {
    background-color: var(--hellblau);
    height: calc(var(--h1) * 1);
    width: calc(var(--h1) * 1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: var(--h4);
}
.bg-hellblau .aufzaehlung-item span {
    background-color: var(--beige);
}
.aufzaehlung-item h4 {
    align-self: center;
    margin-bottom: 0;
}
/* ### - B - ### */
body {
    font-family: Usual, sans-serif;
}
.bold {
    font-family: UsualBold, sans-serif;
}
.bg-blau {
    background-color: var(--blau);
    color: white;
}
.bg-blau p a {
    color: white;
}
.bg-hellblau {
    background-color: var(--hellblau);
}
.bg-beige {
    background-color: var(--beige);
}
.bg-braun {
    background-color: var(--braun);
} 
.bg-weiss {
    background-color: white;
}
.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.button {
    padding: 5px 15px;
    background-color: var(--orange);
    font-family: UsualBold, sans-serif;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
    font-size: var(--copy);
    border: none;
    cursor: pointer;
} 
.button:hover {
    background-color: #F2B06B;
}
.bettdecke {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.bogen-box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bogen {
    width: 30%;
}
.backlink a {
    color: black;
    text-decoration: none;
}
.backlink a:hover {
    text-decoration: underline;
}
.breadcrumb {
    background-color: var(--hellblau);
    border-radius: var(--radius);
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: var(--h2);
}
.intro-text .breadcrumb {
    margin-bottom: 0;
}
.breadcrumb a {
    color: white;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
/* ### - C - ### */
.content {
    grid-column: 1/7;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: var(--padding-innen);
    padding: var(--padding-obenunten) var(--padding-seiten);
}
.content-text {
    grid-column: 1/7;
}
.content-text-big {
    grid-column: 1/7;
}
.content-media {
    grid-column: 1/7;
    margin-bottom: var(--copy);
}
.content figcaption {
    font-size: 12px;
    margin-top: 5px;
}
.content ul,
.content ol {
    padding-left: 20px;
    margin-bottom: var(--copy);
    font-size: var(--copy);
}
.content ol {
    padding-left: 28px;
}
.content li ul {
    margin-top: 5px;
    margin-bottom: 0;
}
.content li {
    margin-bottom: 5px;
}
.content li::marker {
    color: var(--orange);
}
.content li a {
    color: black;
    text-decoration: none;
}
.content li a:hover {
    text-decoration: underline;
}
.content-faq {
    grid-column: 1/7;
    margin-bottom: var(--padding-innen);
}
.content-quote {
    grid-column: 1/-1;
    display: grid;
    margin: var(--padding-innen) 0;
}
.content-quote img {
    height: 100px;
}
.content-quote img:last-child {
    justify-self: end;
}
.content-quote p {
    margin-bottom: 0;
}
.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.cta-wrapper {
    position: absolute;
}
.cta-home {
    position: fixed;
    bottom: 32vh;
    right: 20px;
    width: max-content;
    transform: translateX(calc(100% + 40px));  /* ausgefahren = aus dem Viewport rechts */
    transition: transform 0.4s ease;
    z-index: 3;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: grid;
}
.cta-close {
    justify-self: end;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}
.cta-home ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    list-style-type: none;
}
.cta-home.is-offen {
    transform: translateX(0);
}
.cta-buttons {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: var(--padding-innen);
}
.cta-buttons .button {
    display: block;
}
@media (prefers-reduced-motion: reduce) {
    .cta-home { transition: none; }
}
#cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    height: 100vh;
    width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
#cookie-settings-open {
    font-size: 12px;
    color: black;
}
#cookie-settings-open:hover {
    text-decoration: underline;
}
.cookie-banner-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.cookie-banner-buttons button:first-of-type {
    background-color: #5ab678;
}
.cookie-banner-buttons button:first-of-type:hover {
    background-color: #7ed09c;
}
.cookie-dienst p {
    font-size: 12px;
    line-height: 16px;
}
/* ### - D - ### */
details {
    margin-bottom: var(--copy);
    cursor: pointer;
    background-color: var(--hellblau);
    scroll-margin-top: 50px;
}
.bg-hellblau details {
    background-color: var(--beige);
}
summary::marker {
    content: "";
}
summary::-webkit-details-marker {
    display: none; 
}
.details-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
details summary {
    display: grid;
    grid-template-columns: 1fr 20px;
    grid-column-gap: 30px;
    grid-row-gap: 15px;
    list-style: none;
}
details summary span {
    margin-bottom: 0;
    font-size: var(--copy);
}
details summary img {
    width: 15px;
    align-self: center;
    transition: transform 0.3s ease;
}
details[open] summary img {
    transform: rotate(180deg);
}
.details-content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 20px; 
    gap: 30px;
}
details p {
    font-size: var(--copy);
}
details p:last-child {
    margin-bottom: 0;
}
details .button {
    margin-top: var(--copy);
    display: inline-block;
}
details hr {
    border: 1px solid #cccccc;
    margin-bottom: var(--copy);
}
/* ### - E - ### */
/* ### - F - ### */
footer {
    color: white;
    position: relative;
    z-index: 2;
}
.footer-content {
    grid-column: 1/7;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: var(--padding-innen);
    padding: 50px var(--padding-seiten);
}
.footer-list {
    padding: 10px 0;
}
footer button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    color: white;
    font-family: Usual;
    width: 100%;
    align-items: center;
}
footer h4 {
    margin-bottom: 0;
}
footer button img {
    width: 13px;
    transition: 0.2s;
}
footer button img.rotate {
    transform: rotate(180deg);
}
.footer-list ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    transition: 0.2s;
}
.footer-list ul.show {
    max-height: 1000px;
    margin-top: 20px;
}
.footer-second ul {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}
footer .bg-blau a {
    color: white;
    text-decoration: none;
}
footer .bg-hellblau a {
    color: black;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.footer-second {
    font-size: 12px!important;
}
.footer-second .social-links {
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.social-links a {
    display: flex;
    color: var(--blau);
    transition: color 0.2s;
}
.social-links a:hover,
.social-links a:focus-visible {
    color: var(--orange);
}
.social-links svg {
    width: 22px;
    height: 22px;
}
.faq-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-link {
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 1fr 20px;
}
.faq-link-icon {
    width: 15px;
    rotate: 45deg;
    justify-self: center;
    align-self: center;
}
.faq-links p {
    margin-bottom: 0;
}
.faq-link a {
    color: black;
    text-decoration: none;
}
.faq-link a:hover {
    text-decoration: underline;
}
.faq-bilder {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--padding-innen);
}
form input,
form textarea {
    font-family: Usual;;
    font-size: var(--copy);
    border: none;
    border-radius: var(--radius);
    width: 100%;
}
form textarea {
    padding: 15px 25px;
    background-color: white;
    min-height: 100px;
}
form input[type="text"],
form input[type="email"],
form input[type="datetime"],
form input[type="file"],
form input[type="tel"],
form input[type="datetime-local"] {
    padding: 15px 25px;
    background-color: white;
}
form input[type="checkbox"] {
    padding: 5px;
    border: none;
    margin-right: 10px;
    appearance: none;
    background-color: white;
    width: 20px;
    height: 20px;
    border-radius: 0;
    cursor: pointer;
}
input[type="checkbox"]:checked {
    background-color: var(--orange);
}
form select {
    appearance: none;
    padding: 15px 45px 15px 25px;   /* rechts mehr Platz für den Pfeil */
    background-color: white;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="black"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    font-family: Usual;
    font-size: var(--copy);
    border: none;
    border-radius: var(--radius);
    width: 100%;
}
form a {
    color: black;
}
.form-success {
    background-color: var(--blau);
    border-radius: var(--radius);
    padding: var(--padding-innen);
    color: white;
}
form fieldset {
    border: none;
}
form label {
    font-size: var(--copy);
}
form .radio-option {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}
form input[type="radio"] {
    border: none;
    height: var(--h3);
    width: var(--h3);
}
form .feld {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-buttons {
    display: flex;
    justify-content: space-between;
}
/* ### - G - ### */
.grid-row-gap {
    grid-row-gap: 20px;
}
/* ### - H - ### */
html {
    scroll-behavior: smooth;
    /* Sicherheitsnetz gegen seitliches Scrollen (z. B. durch Einblend-Animationen).
       clip statt hidden: erzeugt keinen Scroll-Container, position: sticky bleibt intakt */
    overflow-x: clip;
}
h1 {
    font-family: UsualBold, sans-serif;
    font-size: var(--h1);
    line-height: calc(var(--h1) * 1.1);
    margin-bottom: var(--h1);
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4; 
    text-wrap: balance;
}
h2 {
    font-family: UsualBold, sans-serif;
    font-size: var(--h2);
    line-height: calc(var(--h2) * 1.1);
    margin-bottom: var(--h2);
    scroll-margin-top: 100px;
}
h3 {
    font-size: var(--h3);
    font-weight: normal;
    margin-bottom: var(--h3);
    scroll-margin-top: 100px;
    text-wrap: balance;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
}
h4 {
    font-size: var(--h4);
    font-weight: normal;
    margin-bottom: var(--h4);
    scroll-margin-top: 100px;
    text-wrap: balance;
}
.h-dot {
    text-indent: -0.8em;
    margin-left: 1.7em;
}
.h-dot::before {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background-color: var(--orange);
    border-radius: 50%;
    transform: translateX(-0.8em);
}
header {
    background-color: var(--blau);
    padding: 10px var(--padding-seiten);
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
    z-index: 5;
}
#hilfe-form {
    display: grid;
}
#hilfe-form .card {
    display: flex;
    flex-direction: column;
    gap: var(--padding-innen);
}
#hilfe-form .card[hidden] {
    display: none;
}
#hilfe-form h3 {
    margin-bottom: 0;
}
#hilfe-form .card-schritt {
    margin-bottom: 0;
}
/* ### - I - ### */
img {
    display: block;
    max-width: 100%;
}
.intro {
    width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
    height: 50vh;
    overflow: hidden;
    position: sticky;
    top: 40px;
    z-index: 1;
    margin-top: 40px;
}
#home .intro {
    height: 70vh;
}
.intro-text {
    width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
    overflow: hidden;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: var(--padding-obenunten) var(--padding-seiten);
}
.inhaltsverzeichnis ul {
    font-size: var(--h3);
    list-style-type: none;
    padding-left: 0;
}
.inhaltsverzeichnis li {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}
.inhaltsverzeichnis img {
    height: var(--h4);
    margin-top: 7px;
    rotate: 180deg;
}
/* ### - J - ### */
.js [data-fade] {
    opacity: 0;
    transform: translateY(16px);
}
@media (prefers-reduced-motion: reduce) {
    .js [data-fade] {
        transform: none;
    }
}
@media print {
    [data-fade] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}
/* ### - K - ### */
.karriereillu img {
    width: 100%;
}
.kachel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--padding-innen);
    margin-bottom: var(--padding-innen);
}
.kachelfoto {
    grid-column: 1/3;
}
.kacheltext {
    grid-column: 1/3;
}
.kontakt-kacheln {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--padding-innen);
}
.kontakt-kacheln .kachel {
    background-color: var(--hellblau);
    display: flex;
    gap: 20px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 20px;
    align-items: center;
    color: black;
    text-decoration: none;
    font-size: var(--small);
    transition: 0.1s;
}
.bg-hellblau .kontakt-kacheln .kachel {
    background-color: var(--beige);
}
.kontakt-kacheln .kachel:hover {
    scale: 1.1;
}
.kachel__icon {
    width: 40%;
}
/* ### - L - ### */
.logo img {
    height: 20px;
}
/* ### - M - ### */
main {
    margin-top: -30px;
    position: relative;
    z-index: 2;
}
.menu {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background-color: var(--blau);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: 100px 1fr;
    z-index: 1;
}
.menu.is-open {
    transform: translateX(0);
}
/* Buttons */
.menu-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
    background: none; 
    cursor: pointer;
}
.menu-button img {
    height: 15px;
}
.menu-close-box {
    display: flex;
    flex-direction: row-reverse;
    background-color: var(--hellblau);
    height: 60px;
}
.menu-close {
    border: none;
    background: none;
    cursor: pointer;
}
/* Zweit Menü */
.menu-zweit {
    background-color: var(--hellblau);
    font-size: var(--copy);
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    height: auto;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 2;
    transform: translateX(100%);
    transition: 0.3s ease;
}
.menu-zweit.is-open {
    transform: translateX(0);
    visibility: visible;
}
.menu-zweit li:nth-child(2) {
    justify-self: center;
}
.menu-zweit li:nth-child(3) {
    justify-self: end;
}
.menu-zweit-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
    text-decoration: none;
    font-size: var(--small);
}
.menu-zweit-link:hover {
    text-decoration: underline;
}
.menu-zweit-icon {
    height: 15px;
}
.menu-zweit button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: Usual;
    font-size: var(--small);
}
.menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--h2);
    color: white;
    font-family: Usual;
}
.menu button:hover {
    text-decoration: underline;
}
/* Hauptmenü */
.menu-ebene-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.menu-uebersicht {
    display: flex;
    align-items: center;
    gap:10px;
}
.menu-uebersicht img {
    height: 15px;
    rotate: 45deg;
    display: none;
}
/* Übersichts-Link als orangener Button (Schalter im Panel: Site → Übersichts-Link im Untermenü).
   Spezifischer als ".menu-ebene-2 a", das sonst Farbe und Größe überschreibt */
.menu-ebene a.menu-uebersicht.button {
    align-self: flex-start;
    color: white;
    padding: 8px 15px;
}
.menu-ebene a.menu-uebersicht.button:hover {
    text-decoration: none;
}
.menu-ebene-1 {
    list-style: none;
    transition: 0.3s ease;
    font-size: var(--h2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--blau);
}
.menu-ebene-1 li,
.menu-ebene-2 li,
.menu-ebene-3 li {
    display: grid;
    grid-template-columns: 7fr 1fr;   
    align-items: center;
}
.menu-ebene-1 a,
.menu-ebene-2 a,
.menu-ebene-3 a {
    text-decoration: none;
}
.menu-ebene-1 a:hover,
.menu-ebene-2 a:hover,
.menu-ebene-3 a:hover {
    text-decoration: underline;
}
.menu-ebene-1 a {
    color: white;
}
.menu-ebene-2 .drill-trigger,
.menu-ebene-2 a,
.menu-ebene-3 a {
    color: black;
    font-size: var(--copy);
}
.menu-ebene-2,
.menu-ebene-3 {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    grid-row: 2/3;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.menu-ebene-2.open,
.menu-ebene-3.open {
    transform: translateX(0);
}
.menu-ebene-2 ul,
.menu-ebene-3 ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.menu-ebene-title {
    font-size: var(--h2);
    margin-top: 20px;
    margin-bottom: 20px;
}
.drill-trigger {
    text-align: left;
}
.drill-trigger img {
    height: 7px;
    margin-top: 0px;
    rotate: -90deg;
    margin-left: 10px;
    vertical-align: middle;
    display: inline;
}
.menu-ebene-2 .drill-trigger img,
.menu-ebene-3 .drill-trigger img {
    height: 5px;
    rotate: -90deg;
}
.close-trigger img {
    height: 20px;
    rotate: -90deg;
}
/* ### - N - ### */
.no-padding-bottom {
    padding-bottom: 0!important;
}
.no-padding-top {
    padding-top: 0!important;
}
/* ### - O - ### */
/* ### - P - ### */
p {
    font-size: var(--copy);
    line-height: calc(var(--copy) * 1.6);
    margin-bottom: var(--copy);
}
p:last-of-type {
}
p a {
    color: var(--blau);
}
.padding-innen {
    padding: var(--padding-innen);
}
/* ### - Q - ### */
/* ### - R - ### */
.radius {
    border-radius: var(--radius);
}
.related-kachel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
.ratgeber-kachel {
    display: grid;
    grid-template-rows: 1fr max-content max-content;
    height: 100%;
}
.ratgeber-kachel h4,
.related-kachel h4 {
    margin-bottom: 0;
}
.ratgeber-kachel h4 a,
.related-kachel h4 a {
    color: black;
    text-decoration: none;
}
.ratgeber-kachel h4 a:hover,
.related-kachel h4 a:hover {
    text-decoration: underline;
}
.ratgeber-kachel p,
.related-kachel p {
    margin-bottom: 0;
}
.ratgeber-illu {
    margin-bottom: var(--copy);
}
.ratgeber-kategorien {
    margin: 0!important;
    padding: 0!important;
    list-style: none;
}
.ratgeber-kategorien li {
    margin-bottom: 20px;
    font-size: var(--h3);
    font-family: UsualBold;
    display: flex;
    gap: 20px;
    align-items: center;
}
.ratgeber-kategorien li img {
    height: var(--h4);
    margin-top: 5px;
    rotate: 180deg;
}
.ratgeber-kategorie h2 {
    scroll-margin-top: 100px;
    margin-bottom: 0;
}
.related-container {
    display: flex;
    flex-direction: column;
    gap: var(--padding-innen);
}
.related-container-spalten {
    display: flex;
    flex-direction: column;
    gap: var(--padding-innen);
}
.related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--padding-innen);
}
.related-foto {
    grid-column: span 2;
}
.related-text {
    grid-column: span 2;
}
.related2 {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-gap: 20px;
    color: black;
    text-decoration: none;
}
.related2-dot {
    background-color: var(--orange);
    border-radius: 50%;
    aspect-ratio: 1/1;
    align-self: center;
}
.related2-dot a {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.related2-dot img {
    width: 45%;
}
.related2-text {
    align-self: center;
    display: flex;
    align-items: center;
}
.related2-text h4 {
    margin-bottom: 0;
}
.related2-text a {
    color: black;
    text-decoration: none;
}
.related2-text a:hover {
    text-decoration: underline;
}
/* ### - S - ### */
section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
/* 1px Überlappung: verhindert Haarlinien durch Subpixel-Rundung,
   durch die sonst das sticky Header-Bild hinter main durchblitzt */
main > section + section {
    margin-top: -1px;
}
.span-6 {
    grid-column: span 6;
}
.span-5 {
    grid-column: span 6;
}
.span-4 {
    grid-column: span 6;
}
.span-3 {
    grid-column: span 6;
}
.span-2 {
    grid-column: span 6;
}
.span-1 {
    grid-column: span 3;
}
.sprache-switcher-trigger {
    border: none;
    background: none;
    cursor: pointer;
}
.sprache-switcher-trigger[aria-expanded="true"] .sprachen-ausklappen-icon {
    transform: rotate(180deg);
}
.sprachen-ausklappen-icon {
    height: 5px;
}
.sprache-dropdown {
    background-color: white;
    flex-direction: column;
    width: max-content;
    position: fixed;
    right: 20px;
    display: none;
    list-style-type: none;
}
.sprache-dropdown.is-open {
    display: flex;
}
.sprache-dropdown a {
    color: black;
    text-decoration: none;
}
.sprache-dropdown a:hover {
    text-decoration: underline;
}
.sprachen-ausklappen-icon {
    transition: transform 0.2s;
}
.suche {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
    padding: var(--padding-innen) var(--padding-seiten);
    display: grid;
    grid-template-columns: 1fr 50px;
    transform: translateY(-200px);
    transition: 0.2s;
    z-index: 6;
}
.suche.show {
    transform: translateY(0);
}
.suche form {
    grid-column: 1/3;
    background-color: white;
    border: 1px solid #cccccc;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 20px;
    gap: 10px;
}
.suche form input,
.suche form button {
    border: none;
    background-color: white;
    font-family: Usual;
}
.suche form img {
    height: 15px;
    cursor: pointer;
}
.suche-close {
    border: none;
    background: none;
    height: max-content;
    cursor: pointer;
    justify-self: end;
    margin-top: 5px;
}
.suche-close img {
    height: 20px;
}
.suchergebnisse form {
    background-color: white;
    border: none;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 20px;
    gap: 10px;
}
.suchergebnisse input {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 20px;
    gap: 10px;
}
.suchergebnisse form input,
.suchergebnisse form button {
    border: none;
    background-color: white;
    font-family: Usual;
}
.suchergebnisse form img {
    height: 15px;
    cursor: pointer;
}
.suchergebnis {
    grid-column: 1/7;
}
.suchergebnis p {
    margin-bottom: 0;
}
#suche .intro-text {
    height: 200px;
}
.schlagworte {
    font-family: UsualBold;
    font-size: var(--h2);
}
.schlagworte span {
    display: block;
    line-height: calc(var(--h2) * 1.1);
    margin-bottom: var(--h2);
}
.schlagworte span u {
    text-decoration-thickness: 5px;
}
.scroll-to-top {
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    transition: 0.5s;
    opacity: 1;
}
.scroll-to-top:hover {
    background-color: #F2B06B;
}
.scroll-to-top.is-hidden {
    opacity: 0;
}
.scroll-to-top img {
    width: 50%;
}
strong {
    font-family: UsualBold, sans-serif;
}
/* ### - T - ### */
/* ### - U - ### */
u {
    text-decoration-color: var(--orange);
}
h2 u {
    text-decoration-thickness: 5px;
}
.upload {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
/* ### - V - ### */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ### - W - ### */
/* ### - X - ### */
/* ### - Y - ### */
/* ### - Z - ### */

@media (min-width: 750px) {
    .logo img {
        height: 30px;
    }
    .menu-close img {
        height: 20px;
    }
    .menu-button img {
        height: 20px;
    }
    .menu,
    .menu-zweit {
        width: 50vw;
        transform: translateX(200%);
    }
    .menu-zweit {
        left: inherit;
    }
    .menu.is-open {
        transform: translateX(100%);
    }
    .content-text {
        grid-column: 2/6;
    }
    .content-text-big p {
        font-size: var(--h4);
        line-height: calc(var(--h4) * 1.4);
        font-weight: normal;
        margin-bottom: var(--h4);
    }
    .related2 {
        grid-template-columns: 1fr 9fr;
    }    
    .kontakt-kacheln {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1000px) {
    :root {
        --h1:50px;
        --h2:40px;
        --h3:30px;
        --h4:20px;
        --copy:14px;

        --padding-seiten: 50px;
        --padding-obenunten: 60px;
        --padding-innen: 40px;
        --radius: 10px;
    }
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 2;  /* unter der .menu (3), aber über dem Content */
    }
    /* Wenn das Menü offen ist, Backdrop einblenden */
    body:has(.suche.show)::after,
    body:has(.menu-ebene-2.open)::after {
        opacity: 1;
    }
    .intro {
        top: 80px;
        height: auto;
    }
    .intro-text {
        padding-top: 170px;
        gap: 50px;
        top: 0;
    }
    .bogen {
        width: 50%;
    }
    .span-6 {
        grid-column: span 6;
    }
    .span-5 {
        grid-column: span 5;
    }
    .span-4 {
        grid-column: span 4;
    }
    .span-3 {
        grid-column: span 3;
    }
    .span-2 {
        grid-column: span 2;
    }
    .span-1 {
        grid-column: span 1;
    }
    .content {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    h2, h3 {
        scroll-margin-top: 140px;
    }
    #ratgeberweiche section:nth-child(2) .span-3 { order: 2; }
    #ratgeberweiche section:nth-child(2) .span-1 { order: 1; }
    #ratgeberweiche section:nth-child(2) .span-2 { order: 0; }
    .sprache-dropdown {
        transform: translateX(-50%);
        z-index: 3;
        padding: 20px;
    }
    .wertefoto {
        grid-row: 1;
        grid-column: 4/7;
    }
    .aboutfoto {
        grid-row: 1;
        grid-column: 1/4;
    }
    .abspann .span-2 {
        grid-row: 1;
        grid-column: 1/3;
    }
    .inhaltsverzeichnis img {
        margin-top: 14px;
    }
    .leerraum-klein {
        height: 50px;
    }
    .leerraum-gross {
        height: 100px;
    }
    .related-foto {
        grid-column: span 1;
    }
    .related-text {
        grid-column: span 1;
    }
    .aufzaehlung {
        gap: var(--padding-innen);
    }
    .aufzaehlung-item {
        grid-column: 1/4;
    }
    .aufzaehlung-item:nth-child(even) {
        grid-column: 2/5;
    }
    .aufzaehlung-item h3 {
        height: calc(var(--h1) * 1.5);
        width: calc(var(--h1) * 1.5);
    }
    footer button img {
        display: none;
    }
    .footer-list ul {
        margin-top: 20px;
        max-height: max-content;
        gap: 5px;
    }
    .footer-second ul {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        margin: 0;
        font-size: 12px;
    }
    .footer-second ul li {
        margin-bottom: 0;
    }
    .footer-second .social-links {
        justify-content: flex-end;
    }
    .scroll-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
    .suche {
        transform: translateY(-300px);
    }
    .suchergebnis {
        grid-column: 2/6;
    }
    .related2 {
        grid-template-columns: 80px 1fr;
    }
    .related-container-spalten {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .kachelfoto {
        grid-column: 1/2;
    }
    .kacheltext {
        grid-column: 2/3;
    }
    details {
        scroll-margin-top: 150px;
    }
    header {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        margin-top: 30px;
        padding: 15px var(--padding-seiten);
        transition: 0s;
    }
    header.is-top {
        margin-top: 0;
    }
    .logo {
        z-index: 2;
    }
    .menu-zweit {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 30px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;  /* nicht 100vw: Chrome rechnet die Scrollbar mit ein */
        padding: 0 var(--padding-seiten);
        height: 30px;
        font-size: 12px;
        transition: 0.3s;
        overflow: hidden;
        z-index: 2;
        transform: none;
    }
    .menu-zweit.is-hidden {
        height: 0;
    }
    .menu-close-box {
        display: none;
    }
    .menu-button {
        display: none;
    }
    .menu {
        transform: none;
        width: auto;
        height: auto;
        visibility: inherit;
        transition: 0.7s;
        z-index: 1;
        position: initial;
        display: flex;
        grid-column: 2/4;
        background: none;
    }
    .menu button,
    .menu-ebene-1 {
        font-size: var(--copy);
    }
    .menu.is-open {
        transform: translateY(0);
    }
    .menu-ebene-1,
    .menu-ebene {
        position: relative;
        inset: 0;
        height: 100%;
        width: 100%;
    }
    .menu-ebene-1 {
        grid-column: 1/2;
        grid-row: 2/3;
        z-index: 4;
        flex-direction: row;
        justify-content: end;
        background: none;
        gap: 20px;
    }
    .menu-ebene-1.padding-innen {
        padding: 0;
    }
    .menu-ebene-2 {
    }
    .menu-ebene-3 {
    }
    .menu-ebene-2, .menu-ebene-3 {
        position: absolute;
        top: 15px;
        width: 100vw;
        height: max-content;
        padding: 50px var(--padding-seiten);
        left: 0;
        right: 0;
        transform: translateY(-500px);
        transition: 0s;
        z-index: 1;
    }
    .menu-ebene-2.open,
    .menu-ebene-3.open {
        transform: translateX(0);
    }
    .menu-ebene-2 ul, .menu-ebene-3 ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    .menu-uebersicht img {
        height: 12px;
        display: block;
    }
    .drill-trigger img {
        height: 5px;
        margin-top: 0px;
        rotate: 0deg;
    }
    .close-trigger {
        display: none;
    }
    .menu-ebene-3 .close-trigger {
        display: block;
    }
    .cta-buttons {
        position: fixed;
        right: var(--padding-seiten);
        padding: 0;
        bottom: 20px;
    }
}

@media (min-width: 1350px) {
    :root {
        --h1:72px;
        --h2:52px;
        --h3:38px;
        --h4:28px;
        --copy:16px;

        --padding-seiten: 70px;
        --padding-obenunten: 100px;
        --padding-innen: 40px;
        --radius: 10px;
    }
    header {
        padding: 25px var(--padding-seiten);
    }
    .menu {
        grid-column: 2/3;
    }
    .menu-ebene-1 {
        justify-content: center;
        gap: 30px;
    }
    .menu-ebene-2, .menu-ebene-3 {
        top: 25px;
    }
    main {
        margin-top: -40px;
    }
    .bettdecke {
        border-top-left-radius: 45px;
        border-top-right-radius: 45px;
    }
    .grid-row-gap {
        grid-row-gap: 40px;
    }
    h2 u {
        text-decoration-thickness: 7px;
    }
    .leerraum-klein {
        height: 80px;
    }
    .leerraum-gross {
        height: 150px;
    }
    details summary {
        grid-column-gap: 50px;
    }   
    .cta-close {
        height: 20px;
        width: 20px;    
    } 
    .cta-close img {
        width: 100%;
    }
    .cta-buttons {
        position: fixed;
        right: var(--padding-seiten);
        padding: 0;
        bottom: unset;
    }
    .cta-button {
        right: 20px;
        height: 70px;
        width: 70px;
    }
    .kontakt-kacheln .kachel {
        font-size: var(--copy);
    }
}

@media (min-width: 1650px) {
    :root {
        --h1:90px;
        --h2:60px;
        --h3:42px;
        --h4:28px;
        --copy:18px;

        --padding-seiten: 80px;
        --padding-obenunten: 130px;
        --padding-innen: 50px;
        --radius: 10px;
    }
    .grid-row-gap {
        grid-row-gap: 50px;
    }
    .inhaltsverzeichnis li {
        gap: 30px;
    }
    .scroll-to-top {
        right: 30px;
        bottom: 30px;
    }    
    .menu-pfeil {
        height: 25px;
    }
    .content {
        grid-column-gap: 80px;
    }
    .suche {
        transform: translateY(-400px);
    }
}

@media (min-width: 2000px) {
    :root {
        --h1:120px;
        --h2:72px;
        --h3:50px;
        --h4:36px;
        --copy:20px;

        --padding-seiten: 120px;
        --padding-obenunten: 170px;
        --padding-innen: 50px;
        --radius: 10px;
    }
    .inhaltsverzeichnis img {
        margin-top: 10px;
    }
    details summary img {
        width: 20px;
    } 
    .intro {
        top: 100px;
    }
}

@media (min-width: 2200px) {
    :root {
        --h1:150px;
        --h2:84px;
        --h3:60px;
        --h4:42px;
        --copy:24px;

        --padding-seiten: 120px;
        --padding-obenunten: 170px;
        --padding-innen: 50px;
        --radius: 20px;
    }
    .inhaltsverzeichnis img {
        margin-top: 10px;
    }
    .suche {
        transform: translateY(-450px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        transform: none;
        opacity: 1;
        transition: none;
    }
    .fade.active {
        transform: none;
        opacity: 1;
    }
    header {
        transition: none;
    }
    .menu {
        transition: none;
    }
    .sprachen-ausklappen-icon {
        transition: none;
    }
}

