@font-face {
    font-family: "Trajan Pro";
    src: url("/assets/fonts/trajan-pro-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Trajan Pro";
    src: url("/assets/fonts/trajan-pro-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --display: "Trajan Pro", Georgia, serif;
}

.site-header .revised-brand {
    gap: 14px;
}

.site-header .revised-brand .header-seal {
    width: 62px;
    height: 62px;
    filter: none;
    mix-blend-mode: normal;
}

.site-header .revised-brand .brand-lockup {
    width: 250px;
}

.site-header .revised-brand .header-wordmark {
    display: block;
    width: 100%;
    height: auto;
    filter: none;
    mix-blend-mode: normal;
}

.site-header .revised-brand .brand-jubilee {
    font-family: var(--display);
    letter-spacing: .12em;
}

.hero h1,
.welcome h2,
.home-history h2,
.philosophy h2,
.philosophy h3,
.room-copy h2,
.guest h2,
.guest-card strong,
.quote p,
.news-lead h3,
.archive-lead h2 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .035em;
}

.welcome {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    align-items: center;
    padding-top: 105px;
    padding-bottom: 105px;
    background: var(--chalk);
    border-top: 1px solid rgba(154, 119, 61, .38);
    border-bottom: 1px solid rgba(154, 119, 61, .38);
}

.welcome .section-label {
    position: relative;
    z-index: 1;
    align-self: start;
    width: calc(100% + 35px);
    margin-top: 0;
    padding-top: 37px;
    border-top: 1px solid var(--gold);
}

.welcome-copy {
    position: relative;
    z-index: 1;
    max-width: 940px;
    padding: 25px 0 25px clamp(35px, 4vw, 66px);
    border-left: 2px solid var(--gold);
}

.welcome-copy:before {
    display: none;
}

.welcome h2 {
    max-width: 900px;
    font-size: clamp(39px, 3.8vw, 58px);
    line-height: 1.16;
    letter-spacing: .015em;
}

.welcome .intro {
    max-width: 760px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 32, 74, .17);
}

.welcome .text-link {
    margin-top: 7px;
}

.symbol-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: clamp(35px, 6vw, 105px);
    min-height: 760px;
    padding-top: 78px;
    padding-bottom: 78px;
    background:
        radial-gradient(circle at 76% 48%, rgba(35, 72, 145, .72), transparent 34%),
        radial-gradient(rgba(224, 193, 116, .09) .7px, transparent .8px),
        var(--blue);
    background-size: auto, 11px 11px, auto;
    color: var(--chalk);
    border-top-color: rgba(199, 164, 91, .72);
    border-bottom-color: rgba(199, 164, 91, .72);
}

.symbol-section:before {
    display: none;
}

.symbol-section .welcome-copy {
    max-width: 680px;
    padding: 0;
    border: 0;
}

.symbol-section .welcome-copy:before {
    display: none;
}

.symbol-section h2 {
    color: var(--chalk);
    font-size: clamp(39px, 3.75vw, 57px);
}

.symbol-section .intro {
    max-width: 660px;
    color: #d6deef;
    border-top-color: rgba(224, 193, 116, .42);
}

.symbol-section .text-link {
    color: var(--chalk);
}

.symbol-stage {
    position: relative;
    justify-self: center;
    width: min(43vw, 610px);
    min-width: 440px;
    aspect-ratio: 1;
    isolation: isolate;
}

.symbol-stage:before,
.symbol-stage:after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.symbol-stage:before {
    inset: 4%;
    border: 1px solid rgba(224, 193, 116, .24);
}

.symbol-stage:after {
    inset: 23%;
    background: radial-gradient(circle, rgba(43, 82, 160, .33), rgba(7, 27, 78, .08) 64%, transparent 66%);
    box-shadow: 0 0 90px rgba(35, 72, 145, .42);
}

.symbol-chain {
    position: absolute;
    z-index: 1;
    inset: 1%;
    width: 98%;
    height: 98%;
    object-fit: contain;
    opacity: .38;
    animation: symbol-chain-turn 220s linear infinite reverse;
    will-change: transform;
}

.symbol-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(224, 193, 116, .35);
    border-radius: 50%;
    will-change: transform;
}

.symbol-orbit:before,
.symbol-orbit:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e2c475;
    box-shadow: 0 0 14px rgba(226, 196, 117, .92);
}

.symbol-orbit--outer {
    inset: 14%;
    border-style: dashed;
    animation: symbol-orbit-outer 160s linear infinite;
}

.symbol-orbit--outer:before {
    left: 8%;
    top: 18%;
}

.symbol-orbit--outer:after {
    right: 4%;
    bottom: 29%;
    width: 4px;
    height: 4px;
}

.symbol-orbit--inner {
    inset: 29%;
    border-color: rgba(224, 193, 116, .3);
    animation: symbol-orbit-inner 110s linear infinite;
}

.symbol-orbit--inner:before {
    right: 5%;
    top: 23%;
    width: 5px;
    height: 5px;
}

.symbol-orbit--inner:after {
    left: 9%;
    bottom: 23%;
    width: 3px;
    height: 3px;
}

.symbol-node {
    --symbol-angle: 0deg;
    --symbol-counter: 0deg;
    position: absolute;
    inset: 0;
    display: block;
    transform: rotate(var(--symbol-angle));
}

.symbol-node img {
    position: absolute;
    left: 100%;
    top: 50%;
    width: clamp(68px, 7vw, 102px);
    height: clamp(54px, 5.6vw, 82px);
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(224, 193, 116, .12));
    opacity: .94;
}

.symbol-orbit--outer .symbol-node img {
    animation: symbol-upright-outer 160s linear infinite;
}

.symbol-orbit--inner .symbol-node img {
    width: clamp(58px, 6vw, 86px);
    height: clamp(58px, 6vw, 86px);
    animation: symbol-upright-inner 110s linear infinite;
}

.symbol-node--o1 { --symbol-angle: 0deg; --symbol-counter: 0deg; }
.symbol-node--o2 { --symbol-angle: 90deg; --symbol-counter: -90deg; }
.symbol-node--o3 { --symbol-angle: 180deg; --symbol-counter: -180deg; }
.symbol-node--o4 { --symbol-angle: 270deg; --symbol-counter: -270deg; }
.symbol-node--i1 { --symbol-angle: 0deg; --symbol-counter: 0deg; }
.symbol-node--i2 { --symbol-angle: 120deg; --symbol-counter: -120deg; }
.symbol-node--i3 { --symbol-angle: 240deg; --symbol-counter: -240deg; }

.symbol-medallion {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 27%;
    aspect-ratio: 1;
    padding: 11px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    background: var(--chalk);
    box-shadow: 0 0 0 7px rgba(7, 27, 78, .78), 0 0 0 8px rgba(224, 193, 116, .36), 0 18px 55px rgba(0, 8, 30, .4);
    transform: translate(-50%, -50%);
}

.symbol-medallion img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes symbol-chain-turn {
    to { transform: rotate(360deg); }
}

@keyframes symbol-orbit-outer {
    to { transform: rotate(-360deg); }
}

@keyframes symbol-orbit-inner {
    to { transform: rotate(360deg); }
}

@keyframes symbol-upright-outer {
    from { transform: translate(-50%, -50%) rotate(var(--symbol-counter)); }
    to { transform: translate(-50%, -50%) rotate(calc(var(--symbol-counter) + 360deg)); }
}

@keyframes symbol-upright-inner {
    from { transform: translate(-50%, -50%) rotate(var(--symbol-counter)); }
    to { transform: translate(-50%, -50%) rotate(calc(var(--symbol-counter) - 360deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .symbol-chain,
    .symbol-orbit,
    .symbol-node img {
        animation: none !important;
    }

    .symbol-node img {
        transform: translate(-50%, -50%) rotate(var(--symbol-counter));
    }
}

.hero h1 {
    font-size: clamp(42px, 4.7vw, 72px);
    line-height: 1.12;
    font-variant-caps: normal;
    font-feature-settings: normal;
    text-transform: none;
}

.hero:after {
    display: none;
}

.hero-note {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .07em;
}

.hero-art > p {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
}

.hero-art {
    background: #0c286a;
}

.hero-art:before,
.hero-art:after,
.hero-circle,
.hero-seal {
    display: none !important;
}

.hero-moon,
.hero-sun {
    position: absolute;
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.hero-moon {
    width: min(58%, 485px);
    left: -10%;
    bottom: -5%;
    opacity: .58;
    filter: contrast(1.22);
    transform: scaleX(-1) rotate(-7deg) !important;
    transform-origin: center;
}

.hero-sun {
    width: min(84%, 700px);
    right: -13%;
    top: -18%;
    opacity: .7;
    filter: contrast(1.22);
}

.hero-seal,
.hero-sun {
    animation: none !important;
    transform: none !important;
}

.orbit {
    z-index: 2;
    border: 1px dashed rgba(225, 198, 121, .76);
}

.celestial-core {
    position: absolute;
    z-index: 1;
    width: 210px;
    height: 210px;
    right: 18%;
    top: 22%;
    border: 1px solid rgba(225, 198, 121, .38);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(225, 198, 121, .035), 0 0 48px rgba(225, 198, 121, .12);
    animation: celestial-breathe 6s ease-in-out infinite;
}

.orbit:before,
.orbit:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #e1c679;
    box-shadow: 0 0 18px #e1c679;
    animation: celestial-twinkle 3.4s ease-in-out infinite;
}

.orbit-one:before {
    width: 8px;
    height: 8px;
    right: 13%;
    top: 4%;
}

.orbit-one:after {
    width: 6px;
    height: 6px;
    left: 4%;
    bottom: 24%;
    animation-delay: -1.7s;
}

.orbit-two:before {
    width: 7px;
    height: 7px;
    left: 8%;
    top: 25%;
    animation-delay: -.8s;
}

.orbit-two:after {
    width: 5px;
    height: 5px;
    right: 22%;
    bottom: 3%;
    animation-delay: -2.5s;
}

.orbit i {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 0 6px rgba(225, 198, 121, .11), 0 0 30px #e1c679;
}

.orbit i:after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(225, 198, 121, .72);
    border-radius: 50%;
    animation: celestial-signal 2.8s ease-out infinite;
}

.hero-art .orbit-one {
    width: 705px;
    height: 705px;
    right: -8%;
    top: -5%;
    animation-duration: 28s;
}

.hero-art .orbit-one i {
    top: 65px;
    left: 47px;
}

.hero-art .orbit-two {
    display: block;
    width: 975px;
    height: 975px;
    right: -24%;
    top: -24%;
    border-style: solid;
    border-color: rgba(225, 198, 121, .34);
    animation-duration: 44s;
}

.hero-art .orbit-two i {
    right: 93px;
    bottom: 98px;
    width: 14px;
    height: 14px;
}

@keyframes celestial-breathe {
    0%, 100% { opacity: .45; transform: scale(.96); }
    50% { opacity: .9; transform: scale(1.05); }
}

@keyframes celestial-twinkle {
    0%, 100% { opacity: .35; transform: scale(.72); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes celestial-signal {
    0% { opacity: .75; transform: scale(.55); }
    75%, 100% { opacity: 0; transform: scale(1.8); }
}

.home-history {
    position: relative;
    overflow: hidden;
    background: var(--blue);
}

.home-history:after {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(48vw, 690px);
    aspect-ratio: 1;
    right: -11%;
    top: -17%;
    background: url("/assets/images/sonne.png") center / contain no-repeat;
    opacity: .12;
    pointer-events: none;
}

.home-history__images,
.home-history__copy {
    position: relative;
    z-index: 1;
}

.home-history__images {
    min-height: 430px;
    padding: 0;
    border: 0;
}

.home-history__building {
    position: relative;
    border: 0;
    overflow: visible;
}

.home-history__building:after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 18px;
    border: 2px solid var(--gold);
    pointer-events: none;
}

.home-history__building img {
    min-height: 385px;
    filter: grayscale(.5) contrast(1.08);
}

.home-history__building figcaption {
    left: 18px;
    bottom: -34px;
    padding: 0;
    background: transparent;
    color: #d7bd7c;
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: none;
    text-align: left;
}

.home-history li b,
.history-timeline__year {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: .1em;
}

.home-history__copy .eyebrow,
.home-history h2,
.room-copy h2,
.guest h2 {
    text-transform: uppercase;
}

.home-history h2 {
    font-size: clamp(38px, 3.7vw, 56px);
    letter-spacing: .025em;
}

.philosophy h2,
.room-copy h2,
.guest h2 {
    font-size: clamp(35px, 3.35vw, 52px);
}

.philosophy-grid h3 {
    margin-top: 0;
}

.news-lead h3,
.archive-lead h2 {
    font-size: clamp(34px, 3vw, 48px);
}

/* Die Einblend-Animation vergrößert das Bild kurz; nicht über den Rand ragen lassen. */
.blue-room {
    overflow-x: clip;
}

.room-image {
    background-image: url("/assets/images/machern.png");
    background-position: center 43%;
    background-size: auto 108%;
    background-repeat: no-repeat;
}

.room-image:after {
    inset: 18px;
    margin: 0;
    border: 2px solid var(--gold);
}

.room-caption {
    left: 28px;
    bottom: 28px;
    padding: 9px 13px;
    background: var(--blue);
    color: #f0d187;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .14em;
    writing-mode: horizontal-tb;
    transform: none;
}

.room-copy h2 {
    line-height: 1.12;
}

.guest-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    grid-template-areas:
        "seal status"
        "seal date"
        "title title"
        "rule rule"
        "place place";
    grid-template-rows: auto auto 1fr auto auto;
    gap: 5px 22px;
    align-items: center;
    max-width: 480px;
    min-height: 335px;
    padding: 42px 48px;
    box-shadow: none;
}

.guest:before {
    display: none;
}

.guest-card:before {
    inset: 12px;
    border: 2px solid var(--gold);
}

.guest-card:hover {
    transform: none;
    box-shadow: none;
}

.guest-card img {
    grid-area: seal;
    width: 117px;
    height: 117px;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.guest-card em {
    grid-area: status;
    align-self: end;
    justify-self: end;
    margin: 0;
    color: var(--chalk);
    font: 400 10px/1.35 var(--display);
    font-style: normal;
    letter-spacing: .11em;
    text-align: right;
    text-transform: uppercase;
}

.guest-card span {
    grid-area: date;
    align-self: start;
    justify-self: end;
    margin: 3px 0 0;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .1em;
    text-align: right;
}

.guest-card strong {
    grid-area: title;
    align-self: end;
    margin: 21px 0 7px;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.guest-card strong::first-letter {
    font-size: 1.18em;
}

.guest-card hr {
    grid-area: rule;
    width: 66px;
    margin: 8px 0 13px;
}

.guest-card small {
    grid-area: place;
    color: #dbe2f2;
    font-size: 12px;
    letter-spacing: .025em;
}

.guest-card small:before {
    content: "Ort · ";
    color: var(--gold);
}

.guest h2 {
    line-height: 1.05;
}

.events-hero h1,
.event-schedule h2,
.schedule-item h3 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .025em;
}

.events-hero h1 {
    letter-spacing: .035em;
}

.event-schedule {
    padding: 92px clamp(24px, 10vw, 175px) 110px;
    background: var(--chalk);
}

.event-schedule__heading {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) 1.45fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 56px;
}

.event-schedule__heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
}

.event-schedule__list {
    border-top: 2px solid var(--gold);
}

.schedule-item {
    display: grid;
    grid-template-columns: minmax(165px, .48fr) minmax(320px, 1.52fr) auto;
    gap: clamp(28px, 5vw, 78px);
    align-items: center;
    min-height: 205px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(16, 32, 74, .18);
}

.schedule-item time {
    display: flex;
    flex-direction: column;
    color: var(--blue);
}

.schedule-item time strong {
    font: 400 clamp(54px, 5vw, 76px)/.9 var(--display);
}

.schedule-item time span {
    margin-top: 12px;
    color: #8f7137;
    font-size: 12px;
    letter-spacing: .08em;
}

.schedule-item__copy .eyebrow {
    margin-bottom: 8px;
}

.schedule-item h3 {
    margin: 0 0 9px;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.08;
}

.schedule-item__copy > p:last-child {
    max-width: 620px;
    margin: 0;
    color: #45516b;
}

.schedule-item > .text-link {
    white-space: nowrap;
}

/* Terminseite: dieselbe ruhige, festliche Typografie wie auf der Startseite. */
.event-detail {
    width: min(980px, 100%);
    max-width: none;
    padding-top: 92px;
    padding-bottom: 82px;
}

.event-detail .back-link {
    display: block;
    width: fit-content;
    margin-bottom: 49px;
}

.event-detail .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    color: #9a7430;
    font-family: var(--display) !important;
    font-size: 14px;
    letter-spacing: .075em;
}

.event-detail .event-detail__date {
    display: flex;
    width: fit-content;
    margin: 0 0 19px;
    font-size: 20px;
    line-height: 1.35;
}

.event-detail .event-detail__date:after {
    width: 68px;
}

.event-detail .eyebrow:after {
    content: "";
    width: 54px;
    border-top: 1px solid var(--gold);
}

.event-detail h1,
.registration h2 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .025em;
}

.event-detail h1 {
    font-size: clamp(54px, 6vw, 82px);
    line-height: 1;
}

.event-detail__lead {
    max-width: 760px;
    margin-top: 29px;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.65;
}

.event-detail dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 760px;
    margin-top: 45px;
    border-top: 2px solid var(--gold);
    background: rgba(16, 32, 74, .14);
}

.event-detail dl div {
    min-height: 91px;
    padding: 21px 24px;
    background: #eee9dd;
}

.event-detail dl .event-detail__ornament {
    background: #c9cace;
}

.event-detail dt {
    color: #876b38;
    letter-spacing: .14em;
}

.event-detail dd {
    margin-top: 7px;
    font-size: 15px;
}

.event-detail__body {
    max-width: 760px;
    padding-top: 31px;
    border-top: 1px solid rgba(16, 32, 74, .14);
}

.registration {
    position: relative;
    padding-top: 76px;
    padding-bottom: 86px;
    border-top: 1px solid rgba(154, 119, 61, .28);
}

.registration > * {
    position: relative;
    z-index: 1;
}

.registration h2 {
    max-width: 760px;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.12;
}

.registration-form {
    gap: 21px 24px;
    margin-top: 37px;
}

.registration-form input,
.registration-form textarea {
    border-color: rgba(16, 32, 74, .38);
    border-radius: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.registration-form input:focus,
.registration-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(199, 164, 91, .2);
    outline: 0;
}

.registration-form button {
    width: fit-content;
    min-width: 205px;
    justify-content: space-between;
}

.footer-brand {
    align-self: center;
    gap: 18px;
}

footer .footer-brand .footer-seal {
    width: 76px;
    height: 76px;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.footer-brand > span {
    width: min(275px, 100%);
}

footer .footer-brand .footer-wordmark {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(1) brightness(0) invert(1);
    mix-blend-mode: normal;
}

.footer-brand small {
    margin-top: 7px;
    color: #d9e0f2;
    font: 400 9px/1 var(--display);
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.history-hero h1,
.history-intro > p:last-child,
.history-timeline h2,
.history-timeline h3,
.history-gallery h2,
.history-gallery figcaption strong,
.history-sources h2 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .025em;
}

.history-hero h1 {
    line-height: 1.08;
}

.history-hero figure {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--chalk);
}

.history-hero figure:after {
    display: none;
}

.history-hero img {
    flex: 1 1 auto;
    min-height: 0;
    filter: none;
}

.history-hero figcaption {
    position: static;
    max-width: none;
    padding: 10px 18px;
    background: var(--chalk);
    color: #80642f;
    letter-spacing: .03em;
    text-align: left;
    text-transform: none;
}

.history-gallery figcaption,
.history-gallery figcaption strong,
.history-gallery figcaption span {
    letter-spacing: .02em;
    text-transform: none;
}

.history-gallery__grid {
    background: #233865;
}

.history-gallery figure {
    background: #0b255f;
}

.history-gallery img {
    filter: none;
}

@media (max-width: 780px) {
    .site-header .revised-brand {
        gap: 9px;
    }

    .site-header .revised-brand .header-seal {
        width: 43px;
        height: 43px;
    }

    /* „Termine ansehen“ steht im Menü; in der Kopfzeile bleiben nur Marke und Menü. */
    .site-header .desktop-nav {
        display: none;
    }

    .site-header .revised-brand .brand-lockup {
        width: min(215px, 56vw);
    }

    .site-header .revised-brand .brand-jubilee {
        margin-top: 5px;
        font-size: 7px;
        letter-spacing: .1em;
    }

    .hero h1,
    .hero .lead {
        text-wrap: pretty;
    }

    /* Keine Silbentrennung: Wörter wandern in die nächste Zeile.
       Nur ein Wort, das allein nicht in die Zeile passt, wird notfalls umbrochen. */
    h1,
    h2 {
        overflow-wrap: break-word;
    }

    /* Größen so gewählt, dass „Gästeabende“ und „Datenschutzerklärung“ ab 320 px in eine Zeile passen. */
    .page-hero h1 {
        font-size: min(50px, 10vw);
    }

    .legal h1 {
        font-size: min(48px, 9.4vw);
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 53px);
    }

    .welcome {
        min-height: 0;
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .welcome .section-label {
        width: 100%;
        margin-top: 0;
        padding-top: 17px;
    }

    .welcome-copy {
        padding: 27px 0 0;
        border-top: 2px solid var(--gold);
        border-left: 0;
    }

    .welcome h2 {
        font-size: clamp(33px, 9vw, 43px);
        line-height: 1.18;
    }

    .home-history h2,
    .philosophy h2,
    .room-copy h2,
    .guest h2 {
        font-size: clamp(32px, 8.7vw, 42px);
    }

    .welcome .intro {
        margin-top: 28px;
    }

    .symbol-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 70px 24px 76px;
    }

    .symbol-section .welcome-copy {
        max-width: 620px;
        padding: 0;
        border: 0;
    }

    .symbol-stage {
        width: min(100%, 470px);
        min-width: 0;
    }

    .symbol-node img {
        width: clamp(52px, 17vw, 78px);
        height: clamp(42px, 13vw, 64px);
    }

    .symbol-orbit--inner .symbol-node img {
        width: clamp(45px, 14vw, 66px);
        height: clamp(45px, 14vw, 66px);
    }

    .symbol-medallion {
        width: 29%;
        padding: 8px;
        border-width: 2px;
        box-shadow: 0 0 0 5px rgba(7, 27, 78, .78), 0 0 0 6px rgba(224, 193, 116, .36), 0 12px 35px rgba(0, 8, 30, .36);
    }

    .hero-moon {
        width: 64%;
        left: -16%;
        bottom: -10%;
    }

    .hero-sun {
        width: 94%;
        right: -29%;
        top: -25%;
    }

    .hero-art .orbit-one {
        width: 390px;
        height: 390px;
        right: -21%;
        top: -18%;
    }

    .hero-art .orbit-two {
        width: 525px;
        height: 525px;
        right: -39%;
        top: -39%;
    }

    .celestial-core {
        width: 118px;
        height: 118px;
        right: 16%;
        top: 18%;
    }

    .home-history__images {
        min-height: 330px;
        padding: 0;
        margin-bottom: 24px;
    }

    .home-history__building:after {
        inset: 12px;
    }

    .home-history__building img {
        min-height: 300px;
    }

    .home-history__building figcaption {
        left: 12px;
        bottom: -30px;
    }

    .home-history:after {
        width: 600px;
        right: -330px;
        top: 37%;
    }

    .guest-card {
        width: 100%;
        max-width: none;
    }

    .event-schedule {
        padding: 65px 24px 75px;
    }

    .event-schedule__heading {
        display: block;
        margin-bottom: 38px;
    }

    .schedule-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 20px;
        min-height: 0;
        padding: 27px 0 30px;
    }

    .schedule-item time {
        align-self: start;
    }

    .schedule-item time strong {
        font-size: 50px;
    }

    .schedule-item h3 {
        font-size: min(30px, 7.5vw);
    }

    .schedule-item > .text-link {
        grid-column: 2;
        justify-self: start;
    }

    .event-detail {
        padding-top: 58px;
        padding-bottom: 54px;
    }

    .event-detail .back-link {
        margin-bottom: 43px;
    }

    .event-detail .eyebrow {
        font-size: 12px;
    }

    .event-detail .event-detail__date {
        font-size: 16px;
    }

    .event-detail h1 {
        font-size: clamp(47px, 15vw, 64px);
    }

    .event-detail dl {
        grid-template-columns: 1fr;
    }

    .event-detail dl .event-detail__ornament {
        display: none;
    }

    .registration {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .room-image:after {
        inset: 12px;
    }

    .footer-brand {
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    footer {
        gap: 29px;
        padding: 43px 20px 46px;
        font-size: 12px;
    }

    .footer-brand {
        align-self: start;
    }

    footer .footer-brand .footer-seal {
        width: 58px;
        height: 58px;
    }

    .footer-brand > span {
        width: min(230px, calc(100vw - 112px));
    }

    footer > div:nth-child(2) a,
    footer > div:nth-child(2) span {
        overflow-wrap: anywhere;
    }

    .footer-links {
        columns: 2;
        column-gap: 24px;
    }

    .footer-links > * {
        break-inside: avoid;
    }
}

@media (max-width: 360px) {
    .site-header {
        padding-inline: 12px;
    }

    .site-header .revised-brand {
        gap: 8px;
    }

    .site-header .revised-brand .header-seal {
        width: 35px;
        height: 35px;
    }

    .site-header .revised-brand .brand-lockup {
        width: 175px;
    }

    .site-header .revised-brand .brand-jubilee {
        font-size: 6px;
    }

    .mobile-nav summary {
        width: 38px;
        height: 38px;
    }
}

/* Zwischen Handy und Desktop (Handy quer, Tablet hochkant) passt die volle
   Navigation nicht in die Kopfzeile; dort das Menü zeigen statt überstehen. */
@media (min-width: 781px) and (max-width: 1000px) {
    .site-header .desktop-nav {
        display: none;
    }

    .site-header .mobile-nav {
        display: block;
        position: relative;
    }

    .site-header .mobile-nav > div {
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
    }
}

/* Gästeabend-Karte: nie schmaler, als Siegel, Termin und Titel es brauchen. */
@media (min-width: 1001px) {
    .guest {
        grid-template-columns: minmax(420px, .85fr) minmax(0, 1.15fr);
    }
}

/* Handy quer und Tablet hochkant: Karte und Text untereinander statt gequetscht nebeneinander. */
@media (min-width: 781px) and (max-width: 1000px) {
    .guest {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }
}

/* Hinweis in der Vorschau von Entwürfen aus der Redaktion. */
.preview-banner {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 10px 20px;
    background: #8a5a06;
    color: #fff;
    font: 700 13px/1.4 var(--sans);
    text-align: center;
}

.preview-banner a {
    margin-left: 10px;
    color: #fff;
    text-decoration: underline;
}

/* Sicherheitsnetz: Nichts darf die Seite seitlich verschiebbar machen. */
html,
body {
    overflow-x: clip;
}
