/* ==========================================================================
   Journal – Klinik Wollmarshöhe
   1:1-Rekonstruktion, Werte aus dem Original ausgelesen (Stand: Juli 2026)
   Fonts wie im Original: lokale Adobe-Fonts (Neue Haas Unica, Baskerville URW,
   Neue Haas Grotesk Display) + System-Palatino. Kein Webfont-Loading.
   ========================================================================== */

:root {
    --black: #000;
    --white: #fff;
    --text-light: #fff;
    --paragraph-color: hsl(220, 14%, 26%);
    --text-color: var(--paragraph-color);
    --superlightgrey: #f7f7f7;
    --wh-color-fullorange: #fa6000;
    --wh-red: #f00;
    --grid-2: repeat(2, minmax(0, 1fr));

    --content-max: 2560px;
    --section-pad-y: clamp(10px, 0.9vw, 20px);
    --section-pad-x: clamp(16px, 1.8vw, 46px);
    --col-gap: clamp(16px, 1.8vw, 46px);
    --col-inset: clamp(1.5rem, 4.3vw, 4.5rem);
    --header-h: 110px;

    --font-body: "neue-haas-unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --font-hero: baskerville, "baskerville-urw", "Baskerville", "Times New Roman", serif;
    --font-cta: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 1px;
    color: var(--paragraph-color);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

strong {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.hidden-accessible,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.75rem 1.25rem;
    background: var(--black);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(250, 252, 255);
}

.site-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    height: var(--header-h);
    padding: 0 clamp(1rem, 4vw, 4.2rem);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 2rem;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    text-decoration: none;
    justify-self: start;
}

.site-header__logo img {
    height: 45px;
    width: auto;
}

.site-header__logo img + img {
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    padding-left: 1.4rem;
    height: 49px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    justify-self: end;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--paragraph-color);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* Im geoeffneten Zustand ein X. Die Balken stehen 7px auseinander
   (2px hoch, 5px Abstand), daher der Versatz um genau diesen Wert. */
body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Vollflaechiges Menue
   Der Header traegt nur Logo und Schalter. Die beiden Menuepunkte stehen
   mittig auf einer eigenen Flaeche, in derselben Sprache wie die Linkzeilen
   darunter: Baskerville, Versalien, feine Linien, Pfeil am Zeilenende.
   -------------------------------------------------------------------------- */

.site-nav {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgb(250, 252, 255);

    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Waechst die Liste ueber den Bildschirm hinaus, bleibt der Anfang
       erreichbar statt nach oben aus dem Scrollbereich zu rutschen. */
    justify-content: safe center;
    align-items: center;

    /* Oben und unten gleich viel, sonst sitzt der Block optisch zu tief.
       Der obere Teil bleibt frei fuer Logo und Schalter. */
    padding:
        calc(var(--header-h) + clamp(1rem, 3vw, 2.5rem))
        clamp(1.5rem, 6vw, 4rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0s linear 0.3s;
}

body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Die Seite darunter soll nicht mitscrollen. */
body.nav-open {
    overflow: hidden;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: min(760px, 100%);
    border-bottom: 1px solid rgba(1, 8, 66, 0.1);
}

.site-nav__item {
    position: static;
}

/* Die beiden Hauptpunkte: dieselbe Zeile wie im Panel, nur groesser. */
.linkzeile--haupt {
    width: 100%;
    background: none;
    border: 0;
    border-top: 1px solid rgba(1, 8, 66, 0.1);
    align-items: center;
    padding: clamp(1.3rem, 2.6vw, 2.3rem) 0;
    font-size: clamp(22px, 3vw, 38px);
    letter-spacing: clamp(2px, 0.35vw, 5px);
    text-align: left;
    cursor: pointer;
}

.linkzeile--haupt .linkzeile__pfeil {
    width: clamp(20px, 2vw, 28px);
    height: clamp(20px, 2vw, 28px);
}

/* Nach unten, solange der Punkt zu ist; nach oben, sobald er offen ist. */
.linkzeile__pfeil--klapp {
    transform: rotate(90deg);
}

.site-nav__item.is-open .linkzeile__pfeil--klapp {
    transform: rotate(-90deg);
}

/* Sprungmarken: Der Header klebt oben und wuerde das Ziel sonst verdecken.
   Damit landet jeder Ankerlink am oberen Rand der Kachel statt in der
   Ueberschrift. */
.content-section,
.content-section__column[id],
.content-section__inner--full[id] {
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Das aufgeklappte Panel steht direkt unter seinem Menuepunkt und ist
   leicht eingerueckt, damit die Ebene erkennbar bleibt. */
.meganav {
    display: none;
    padding: 0 0 clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 2rem);
}

.site-nav__item.is-open > .meganav {
    display: block;
}

/* Die Linie unter der letzten Zeile liefert schon der naechste Menuepunkt. */
.meganav .linkzeilen {
    border-bottom: 0;
    max-width: none;
}

/* --------------------------------------------------------------------------
   Menü-Linkzeilen
   Muster von wollmarshoehe.three65.de/zuweisung: Zeile mit feiner Linie,
   Beschriftung links, Pfeil rechts. Ersetzt die frühere Spaltenliste mit
   allen Einzelbeiträgen.
   -------------------------------------------------------------------------- */

.linkzeilen {
    border-bottom: 1px solid rgba(1, 8, 66, 0.1);
    max-width: 760px;
}

.linkzeile {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(1, 8, 66, 0.1);
    font-family: var(--font-hero);
    font-size: 18.4px;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgb(1, 8, 66);
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.linkzeile__text {
    display: block;
    min-width: 0;
}

.linkzeile__zusatz {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--paragraph-color);
}

/* Die Themenzeile im Archiv wird aus den Beitragstiteln zusammengesetzt.
   Das Komma steht im CSS, damit die Vorlage keine Trennzeichen-Logik
   braucht - und die Zeile wird auf eine Zeile gekürzt, statt zu wuchern. */
.linkzeile__zusatz--einzeilig {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.linkzeile__zusatz--einzeilig span:not(:last-child)::after {
    content: ",";
}

.linkzeile__pfeil {
    flex: none;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.linkzeile:hover {
    opacity: 0.5;
}

/* Der Klapp-Pfeil zeigt die Richtung an und bleibt daher, wo er ist. */
.linkzeile:hover .linkzeile__pfeil:not(.linkzeile__pfeil--klapp) {
    transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   Seitliche Kontakt-Buttons
   -------------------------------------------------------------------------- */

.side-buttons {
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--white);
    opacity: 1;
    transition: opacity 0.15s ease;
}

.side-buttons a:hover {
    opacity: 0.7;
}

.side-buttons a:nth-child(1) {
    background: #7ba7b3;
}

.side-buttons a:nth-child(2) {
    background: #a9c4ac;
}

.side-buttons svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-section {
    position: relative;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 var(--section-pad-x) var(--section-pad-y);
}

.hero-section picture img {
    width: 100%;
    height: auto;
}

.hero-section__content-wrapper {
    position: absolute;
    inset: 48% var(--section-pad-x) auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    color: var(--white);
}

.hero-section__content-wrapper h1 {
    margin: 0;
    font-family: var(--font-hero);
    font-size: clamp(24px, 2.4vw, 44px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 10px;
    line-height: 1.1;
    text-align: center;
}

.hero-section__content-wrapper p {
    margin: 2.5rem 0 0;
}

.hero-section__content-wrapper span {
    font-family: var(--font-body);
    font-size: clamp(20px, 1.9vw, 38px);
    font-weight: 400;
    letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Content-Sektionen
   -------------------------------------------------------------------------- */

.content-section {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: var(--section-pad-y) var(--section-pad-x);
}

.content-section__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--col-gap);
    align-items: stretch;
}

.content-section__column {
    background: var(--white);
    color: var(--text-color, var(--paragraph-color));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(2.5rem, 4.75vw, 80px);
}

.content-section__column--media {
    background: none;
    padding-bottom: 0;
}

.content-section__column--media .media,
.content-section__column--media video,
.content-section__column--media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section__column--media figure {
    margin: 0;
    height: 100%;
}

/* Medien oben in Text-Karten laufen randlos */
.content-section__media {
    display: block;
    width: 100%;
}

.content-section__media img {
    width: 100%;
    height: auto;
}

/* Alles andere in der Karte bekommt den Innenabstand */
.content-section__heading-wrapper,
.content-section__content-wrapper,
.book,
.content-section__column > .footer__social,
.cta-wrapper {
    margin-inline: var(--col-inset);
}

.content-section__heading-wrapper {
    margin-top: clamp(2.5rem, 4.75vw, 80px);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.65vw, 28px);
    padding: 0 0 2.5rem 0;
}

.content-section__heading,
.heading-h2 {
    margin: 0;
    color: inherit;
}

/* Große Serif-Überschrift (Palatino) – Original: 60px/56px bei Desktop */
.content-section__heading {
    font-family: var(--font-serif);
    font-size: clamp(2.875rem, 3.56vw, 3.75rem);
    font-weight: 500;
    line-height: 0.933;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sans-Überschrift (volle Breite, Social, Newsletter) – Original-clamp */
.heading-h2 {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 2.37vw, 3.75rem);
    font-weight: 500;
    line-height: clamp(2.75rem, 2.61vw, 4.25rem);
    letter-spacing: 1px;
}

/* Falls ein einzelnes Wort doch einmal breiter ist als die Spalte: umbrechen
   statt abschneiden. */
.content-section__heading,
.heading-h2 {
    overflow-wrap: break-word;
}

.smart-spacing > .content-section__heading {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.accent-heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2.96px;
}

.content-section__content-wrapper {
    display: grid;
    gap: 24px;
    margin-top: clamp(1.5rem, 2.4vw, 40px);
    flex: 1;
    align-content: start;
    padding: 0;
}

.content-section__content-wrapper--dark {
    grid-template-columns: 1fr;
}

.smart-spacing p {
    margin: 0;
}

.smart-spacing p + p {
    margin-top: 24px;
}

/* Zwischenüberschrift mit roten Linien (Original: 1px rot, oben+unten) */
.interlude {
    font-weight: 500;
    border-top: 1px solid var(--wh-red);
    border-bottom: 1px solid var(--wh-red);
    padding: 2px 0;
}

.vorspann {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Frueher stand der Text in Sektionen mit heller Schrift auf 1,25rem und war
   damit deutlich groesser als in allen anderen Sektionen - auf dem Telefon
   sprang das ins Auge. Die Groesse kommt jetzt wie ueberall aus dem Grundtext;
   nur die einzelne Auszeichnung im Fliesstext bleibt gross. */
.text-bold-white {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.85;
}

/* Volle Breite – Original: 10% Seiteneinzug, großzügiger Abstand unter dem Button */
.content-section__inner--full {
    color: var(--text-color, var(--paragraph-color));
    overflow: hidden;
    display: block;
    padding-bottom: clamp(4rem, 10.8vw, 176px);
}

.content-section__inner--full .content-section__heading-wrapper,
.content-section__inner--full .content-section__content-wrapper,
.content-section__inner--full .cta-wrapper {
    margin-inline: 10%;
}

.content-section__inner--full .content-section__content-wrapper {
    margin-top: 30px;
    flex: none;
}

.content-section__inner--full .cta-wrapper {
    margin-top: 70px;
    padding-top: 0;
}

/* Dunkler Verlauf (Buch-Spalte Ausgabe 01) */
.fx-bg-blue {
    background: radial-gradient(95% 75% at 0% 100%, rgb(30, 104, 163) 0%, rgb(13, 55, 99) 32%, rgb(4, 22, 52) 62%, rgb(0, 6, 18) 100%);
}

/* Ausgabe 03, Sektion "Kunst mit Wirkung": statt Vollorange derselbe dunkle
   Verlauf. Einzelfall-Ausnahme, greift nur ueber den Anker #kunst, den es
   genau einmal im gesamten Journal gibt. Das !important ist noetig, weil
   die Hintergrundfarbe aus dem CP als Inline-Style ausgegeben wird. */
#kunst {
    background: radial-gradient(95% 75% at 0% 100%, rgb(30, 104, 163) 0%, rgb(13, 55, 99) 32%, rgb(4, 22, 52) 62%, rgb(0, 6, 18) 100%) !important;
}

/* Gleiche Sektion, Bildspalte: Die Bronzefigur sitzt im Foto im linken
   Drittel. Die schmale, hohe Medienspalte zeigt bei mittigem Zuschnitt nur
   rund 29 % der Bildbreite - die Figur faellt dabei aus dem Ausschnitt.
   Deshalb den Fokuspunkt nach links holen. Bei schmalen Viewports, wo die
   Spalte breit und flach wird, ist der Wert wirkungslos. */
.content-section__column--media img[src*="bv-4_1920x1080"] {
    object-position: 30% 50%;
}

/* Buch-Box */
.book {
    margin-top: 2.5rem;
}

.book__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
}

.book__inner img {
    grid-row: 1 / 3;
    width: 124px;
    height: auto;
}

.book__inner p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.book__title {
    font-weight: 500;
}

/* Media in Spalten */
figure.media {
    margin: 0;
    position: relative;
    height: 100%;
}

figure.media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

video.media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   CTA-Button (Original: 400px breit, zentrierter Text, Outline, 8px Radius)
   -------------------------------------------------------------------------- */

.cta-wrapper {
    margin-top: auto;
    padding-top: clamp(2rem, 4vw, 3rem);
    display: block;
}

/* Der Knopf traegt im Markup zusaetzlich die Auszeichnung "linkzeile" und
   uebernimmt von dort Schrift, Ausrichtung und Pfeil. Hier steht nur, was ihn
   davon unterscheidet: er steht allein, braucht also unten eine zweite Linie,
   und seine Farbe kommt aus dem Inhalt (--btn-color), damit er auch auf
   dunklem Grund lesbar bleibt. */
.cta-button {
    display: flex;
    width: 100%;
    padding: 1.5rem 0;
    border: 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 0;
    background: transparent;
    color: var(--btn-color, rgb(1, 8, 66));
    text-align: left;
}

/* Die zweite Zeile ist noetig, weil AOS seine Regeln mit doppelten
   Attributselektoren schreibt ([data-aos][data-aos].aos-animate) und damit
   ein einfaches .cta-button:hover ueberstimmt. Betrifft nur Buttons in
   vollbreiten Sektionen, die haben ein data-aos. Die kurze Transition hier
   sorgt dafuer, dass der Hover nicht die 0,7 s der Einblendanimation erbt. */
.cta-button:hover,
.cta-button[data-aos].aos-animate:hover {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.cta-button:hover .linkzeile__pfeil {
    transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   Social
   -------------------------------------------------------------------------- */

.footer__social {
    margin-top: 2.5rem;
}

.footer__social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__social-list svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.footer__social-list a:hover svg {
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Kontakt-Strip & Footer
   -------------------------------------------------------------------------- */

.contact-strip {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: clamp(2.5rem, 4.75vw, 80px) var(--section-pad-x);
    text-align: center;
}

.contact-strip h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(28px, 2.7vw, 50px);
    line-height: 1;
    margin: 0 0 2rem;
}

.contact-strip__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.contact-strip__buttons .cta-button {
    width: auto;
    min-width: 280px;
    padding-inline: 2rem;
}

.footer {
    background: rgb(250, 252, 255);
}

.footer__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: clamp(4rem, 7vw, 8rem) clamp(1rem, 4vw, 4.2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Der Klinikname bleibt in der Grotesk. In Baskerville und Versalien kam er
   dem gesetzten Logo so nahe, dass er wie eine schlechte Kopie davon wirkte -
   das echte Zeichen steht oben im Kopf. Hier genuegt eine ruhige Zeile. */
.footer__inner h2 {
    margin: 0 0 0.2rem;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.75;
    color: rgb(1, 8, 66);
}

.footer__subtitle,
.footer__address {
    margin: 0;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.75;
}

.footer__address {
    margin-top: 0.6rem;
}

/* Die feine Linie trennt Anschrift und Verweise, wie im Menue. */
.footer__links {
    list-style: none;
    margin: clamp(2.5rem, 5vw, 4rem) 0 0;
    padding: 1.6rem 0 0;
    width: min(760px, 100%);
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    border-top: 1px solid rgba(1, 8, 66, 0.1);
}

.footer__links a {
    font-family: var(--font-hero);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgb(1, 8, 66);
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.footer__links a:hover {
    opacity: 0.5;
}

.footer .footer__social {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: 0;
}

.footer .footer__social-list {
    gap: clamp(1.75rem, 4vw, 2.75rem);
}

/* Etwas groesser als zuvor, dafuer in gedecktem Grau: sichtbar, aber nicht
   lauter als die Anschrift darueber. */
.footer .footer__social-list svg {
    width: 24px;
    height: 24px;
    color: #9aa1ac;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.footer .footer__social-list a:hover svg {
    transform: none;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Newsletter-Popup
   -------------------------------------------------------------------------- */

.newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 1rem;
}

.newsletter-popup.is-visible {
    display: flex;
}

.newsletter-popup__card {
    position: relative;
    background: var(--white);
    max-width: 560px;
    padding: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.newsletter-popup__card img {
    max-width: 140px;
    margin: 0 auto 1.5rem;
}

.newsletter-popup__card h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.newsletter-popup__card .cta-button {
    margin-inline: auto;
    margin-top: 1.5rem;
}

.newsletter-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--paragraph-color);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 1025px) {
    /* Ab hier stehen die Sektionen zweispaltig (Text neben Medien). Der
       Textblock darin darf sich erst dann selbst nochmal teilen, wenn jede
       Haelfte noch mindestens 360px breit waere - das entspricht rund 45
       Zeichen pro Zeile. Sonst blieben bei 1025px nur 186px, also etwa 23
       Zeichen. auto-fit regelt den Umschaltpunkt selbst, ohne festen Wert.
       Vollbreite Sektionen (.content-section__inner--full) sind nicht
       betroffen, dort ist der Textblock ohnehin breit genug. */
    .content-section__inner .content-section__content-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .content-section__inner {
        grid-template-columns: 1fr;
    }

    /* Einspaltig: Medien vor den Text ziehen, aber nur wenn im Layout
       erst die Textspalte und dann Bild/Video kommt. Sektionen, die
       ohnehin mit Medien beginnen, bleiben unveraendert. */
    .content-section__column:not(.content-section__column--media)
        + .content-section__column--media {
        order: -1;
    }
}

/* Mobilnavigation. Bis 1200px, damit auch das iPad Pro im Hochformat
   (1024px) die Klappnavigation bekommt statt des breiten Mega-Menues. */
/* Ab hier greift das schmale Layout: kleinerer Header, kleinere Marken. Das
   Menue selbst bleibt gleich - es ist auf jeder Breite dasselbe. */
@media (max-width: 1200px) {
    :root {
        --header-h: 80px;
    }

    .site-header__logo img {
        height: 36px;
    }

    .site-header__logo img + img {
        height: 38px;
        padding-left: 1rem;
    }

    .side-buttons a {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .content-section__content-wrapper {
        grid-template-columns: 1fr !important;
    }

    /* Die Ueberschriften-Clamps haben nach unten bei 46px bzw. 40px
       aufgehoert - auf einem 390px-Display blieb es dabei. "FORTBILDUNG"
       braucht dort rund 325px, zur Verfuegung stehen 312px, und weil die
       Vollbreite-Sektion overflow:hidden hat, wurde abgeschnitten statt
       umgebrochen. Unterhalb von 768px daher eigene, kleinere Werte; bei
       genau 768px treffen sie auf die alten Minima, der Uebergang ist
       also stufenlos. */
    .content-section__heading {
        font-size: clamp(1.75rem, 7.5vw, 2.875rem);
        line-height: 1.05;
    }

    .heading-h2 {
        font-size: clamp(1.6rem, 6.5vw, 2.5rem);
        line-height: 1.15;
    }

    .footer__inner {
        flex-direction: column;
    }

    /* Hero-Headline mobil deutlich zurücknehmen */
    .hero-section__content-wrapper {
        inset: 40% var(--section-pad-x) auto;
    }

    .hero-section__content-wrapper h1 {
        font-size: clamp(14px, 4.2vw, 21px);
        letter-spacing: clamp(2px, 0.9vw, 5px);
        line-height: 1.25;
    }

    .hero-section__content-wrapper p {
        margin-top: 1.25rem;
    }

    .hero-section__content-wrapper span {
        font-size: clamp(12px, 3.2vw, 17px);
    }
}
