/* ============================================================
   Peter Schindler – Stylesheet (Überarbeitung 10/2026)
   Schriften lokal eingebunden (keine Verbindung zu Google-Servern)
   ============================================================ */

/* Figtree – Fließtext & Überschriften (variable Schrift 300–700) */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/figtree-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/figtree-italic-latin.woff2') format('woff2');
}

/* Google Sans Flex – Name & Navigation */
@font-face {
    font-family: 'Google Sans Flex';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/google-sans-flex-latin.woff2') format('woff2');
}

:root {
    --font-text: 'Figtree', system-ui, sans-serif;
    --font-brand: 'Google Sans Flex', 'Figtree', system-ui, sans-serif;

    --color-bg: #ffffff;
    --color-text: #222222;
    --color-text-light: #6b6b6b;
    --color-line: rgba(0, 0, 0, 0.12);
    --color-gold: #a67c22;
    --color-gold-dark: #8a6619;

    --wide: 1100px;     /* Header, Raster */
    --narrow: 860px;    /* Projekt- & Composing-Seiten */
    --measure: 34em;    /* Zeilenlänge Fließtext ≈ 55–65 Zeichen */
    --gutter: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    line-height: 1.25;
    color: #111;
}

/* Fließtext: linksbündig, Silbentrennung, Absätze mit Abstand */
p,
li {
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

.nohy {
    hyphens: manual;
    -webkit-hyphens: manual;
}

/* Englische Seiten: nur lange Wörter trennen (ab 10 Buchstaben, mindestens 4 vor und nach dem Strich).
   Browser ohne diese Begrenzung (Safari) trennen auf Englisch gar nicht. */
html[lang="en"] p,
html[lang="en"] li {
    hyphens: manual;
    -webkit-hyphens: manual;
}

@supports (hyphenate-limit-chars: 10 4 4) {
    html[lang="en"] p,
    html[lang="en"] li {
        hyphens: auto;
        -webkit-hyphens: auto;
        hyphenate-limit-chars: 10 4 4;
    }
}

.prose {
    max-width: var(--measure);
}

.prose p,
.prose ul {
    margin-bottom: 0.9em;
}

.prose ul {
    list-style: disc;
    padding-left: 1.2em;
}

.prose h3 {
    font-size: 1.15em;
    font-weight: 600;
    margin: 2.2em 0 0.6em;
}

.prose a:not(.btn-gold) {
    color: var(--color-gold-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.container {
    width: 100%;
    max-width: calc(var(--wide) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: calc(var(--narrow) + 2 * var(--gutter));
}

.section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    position: relative;
    z-index: 100;
}

.site-header .container {
    padding-top: clamp(1.5rem, 3.5vw, 2.6rem);
}

.brand-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.logo {
    font-family: var(--font-brand);
    font-size: clamp(1.75rem, 3.6vw, 2.9rem);
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.1;
    text-transform: uppercase;
    color: #111;
}

.logo:hover {
    color: #111;
}

.tagline {
    font-family: var(--font-brand);
    font-size: 0.86rem;
    font-weight: 560;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #1a1a1a;
    white-space: nowrap;
    hyphens: manual;
    -webkit-hyphens: manual;
}

.tagline span {
    color: #888;
    margin: 0 0.35em;
}

.main-nav {
    margin-top: clamp(1.2rem, 2.5vw, 1.9rem);
    padding-bottom: clamp(1.2rem, 2.5vw, 1.9rem);
}

.main-nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2.4rem;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    font-family: var(--font-brand);
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #262626;
    display: inline-block;
    padding: 0.35rem 0;
}

.main-nav > ul > li > a {
    border-bottom: 1px solid transparent;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: #000;
    border-bottom-color: #000;
}

.main-nav > ul > li.lang-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55em;
}

.main-nav > ul > li.lang-switch > a {
    border-bottom: 0;
    letter-spacing: 0.1em;
}

.lang-switch a:hover {
    color: #000;
}

.lang-switch a.is-current {
    color: var(--color-gold);
}

.lang-switch span {
    color: var(--color-gold);
    font-weight: 300;
}

.has-sub > a::after {
    content: '';
    display: inline-block;
    width: 0.38em;
    height: 0.38em;
    margin-left: 0.55em;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-0.25em) rotate(45deg);
}

.main-nav .sub {
    position: absolute;
    top: 100%;
    left: -1.2rem;
    min-width: 240px;
    padding: 0.9rem 1.2rem;
    background: #fff;
    border: 1px solid var(--color-line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Media-Untermenü (rechts außen) nach links aufklappen, damit es nicht über den Rand ragt */
.main-nav > ul > li:nth-last-child(2) > .sub {
    left: auto;
    right: -1.2rem;
}

.main-nav .has-sub:hover > .sub,
.main-nav .has-sub:focus-within > .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub a {
    display: block;
    padding: 0.45rem 0;
    white-space: nowrap;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.main-nav .sub a:hover,
.main-nav .sub a.active {
    color: var(--color-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font: inherit;
    font-family: var(--font-brand);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111;
    cursor: pointer;
    padding: 0.4rem 0;
}

@media (max-width: 1060px) {
    .main-nav > ul {
        gap: 0.4rem 1.6rem;
    }
}

@media (max-width: 900px) {
    .main-nav > ul {
        gap: 0.4rem 0.9rem;
    }

    .main-nav a {
        letter-spacing: 0.1em;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        padding-bottom: 1.2rem;
    }

    .brand-row {
        align-items: flex-end;
    }

    .tagline {
        order: 3;
        flex-basis: 100%;
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        white-space: normal;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        margin-top: 1rem;
        border-top: 1px solid var(--color-line);
        padding-top: 0.5rem;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav > ul > li.lang-switch {
        margin-left: 0;
    }

    .main-nav > ul > li > a {
        padding: 0.7rem 0;
        border: 0;
    }

    .main-nav .sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        box-shadow: none;
        padding: 0 0 0.6rem 1rem;
        display: none;
    }

    .main-nav .has-sub.open > .sub {
        display: block;
    }

    .has-sub > a::after {
        transition: transform 0.2s ease;
    }

    .has-sub.open > a::after {
        transform: translateY(0) rotate(225deg);
    }
}

/* ---------- Überschriften ---------- */
/* Seitentitel in derselben Größe wie der Name „Peter Schindler“ im Header */
.page-title {
    font-family: var(--font-text);
    font-size: clamp(1.75rem, 3.6vw, 2.9rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.4em;
}

.page-title--center {
    text-align: center;
}

.page-subtitle {
    color: var(--color-text-light);
    margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.section-head {
    text-align: center;
    font-size: clamp(1.75rem, 3.6vw, 2.9rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-head::after {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    background: var(--color-gold);
    margin: 0.7em auto 0;
}

.item-title {
    font-size: 1.25em;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.7em;
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    font-family: var(--font-text);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
    cursor: pointer;
}

.btn-gold:hover,
.btn-gold:focus-visible {
    background: var(--color-gold);
    color: #fff;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}

/* ---------- Medien ---------- */
.media-block {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.media-block img,
.media-block video {
    width: 100%;
}

.media-block--portrait img {
    max-width: 440px;
}

.media-caption {
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

/* YouTube-Video: Vorschaubild lokal, Video startet beim Klick direkt auf der Seite */
.yt {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.yt img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.yt:hover img {
    filter: brightness(0.85);
}

.yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    transition: background 0.25s ease;
}

.yt__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
}

.yt:hover .yt__play,
.yt__play:focus-visible {
    background: var(--color-gold);
}

.yt__note {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.yt.is-playing .yt__note {
    display: none;
}

/* ---------- HOME ---------- */
.home-hero {
    position: relative;
    background: #000;
}

.home-hero img {
    width: 100%;
    height: auto;
    max-height: 82vh;
    object-fit: cover;
    object-position: left center;
}

/* Claim rechts unten im Bild, darunter bleibt ein schwarzer Balken sichtbar */
.home-claim {
    position: absolute;
    bottom: 9%;
    right: 4%;
    width: 22%;
    font-size: clamp(1rem, 1.65vw, 1.8rem);
    font-weight: 300;
    line-height: 1.3;
    color: #fff;
    text-align: left;
    hyphens: manual;
}

@media (max-width: 768px) {
    .home-hero img {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    /* gleicher schwarzer Abstand über und unter dem Claim */
    .home-claim {
        position: static;
        width: auto;
        padding: 2rem var(--gutter);
        font-size: 1.1rem;
    }
}

/* Startseite: Text links, News-Spalte rechts (Inhalte aus data/news.json) */
.home-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(3rem, 7vw, 6rem);
}

.home-layout .prose {
    flex: 0 1 var(--measure);
}

.news-aside {
    flex: 0 0 300px;
    border-left: 1px solid var(--color-line);
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.news-head {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
}

.news-head::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--color-gold);
    margin-top: 0.7em;
}

.news-list {
    display: grid;
    gap: 2.2rem;
}

.news-item {
    font-size: 0.94em;
}

.news-item + .news-item {
    border-top: 1px solid var(--color-line);
    padding-top: 2.2rem;
}

@media (max-width: 900px) {
    .home-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .home-layout .prose {
        flex-basis: auto;
    }

    .news-aside {
        flex-basis: auto;
        max-width: var(--measure);
        border-left: 0;
        border-top: 1px solid var(--color-line);
        padding-left: 0;
        padding-top: 2.5rem;
    }
}

.news-item img {
    /* Bild vollständig zeigen (auch Plakate im Hochformat), nicht beschneiden */
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 30rem;
    margin-bottom: 1rem;
}

.news-item .credit {
    margin: -0.6rem 0 1rem;
    font-size: 0.72rem;
}

.news-item time {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 0.3rem;
}

.news-item h3 {
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.news-item p {
    margin-bottom: 0.6rem;
}

.news-item .btn-gold {
    margin-top: 0.4rem;
}

/* Formatierter Text aus der News-Verwaltung */
.news-text h4 {
    font-size: 1em;
    font-weight: 600;
    margin: 1rem 0 0.3rem;
}

.news-text ul,
.news-text ol {
    margin: 0 0 0.6rem 1.2em;
}

.news-text ul {
    list-style: disc;
}

.news-text ol {
    list-style: decimal;
}

.news-text li {
    margin-bottom: 0.2rem;
}

.news-text a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.news-text .c-gold {
    color: #a67c22;
}

.news-text .c-rot {
    color: #b3261e;
}

.news-text .c-blau {
    color: #1f4e8c;
}

.news-text .c-grau {
    color: #6b6b6b;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    margin: 0.2rem 0 0.6rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    cursor: pointer;
}

.news-more::after {
    content: '';
    width: 0.4em;
    height: 0.4em;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-0.15em) rotate(45deg);
}

.news-more[aria-expanded="true"]::after {
    transform: translateY(0.1em) rotate(-135deg);
}

.news-more:hover {
    color: #000;
}

/* ---------- Raster (Projects / Composing) ---------- */
/* Flex statt Grid, damit eine unvollständige letzte Reihe mittig steht */
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.6rem 2rem;
}

.tile {
    flex: 0 1 calc((100% - 4rem) / 3);
}

.tile img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.tile:hover img {
    opacity: 0.85;
}

.tile h3 {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.tile:hover h3 {
    color: var(--color-gold);
}

@media (max-width: 900px) {
    .tile {
        flex-basis: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 560px) {
    .tile {
        flex-basis: 100%;
    }
}

/* ---------- Instrumental: Partituren ---------- */
.score-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 3rem;
}

.score img {
    width: 100%;
    border: 1px solid var(--color-line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.2rem;
}

.score .link-row {
    margin-top: 0.8rem;
}

/* „Zum Werk“: aufklappbarer Werktext unter den Noten */
.work-text summary {
    list-style: none;
}

.work-text summary::-webkit-details-marker {
    display: none;
}

.work-text[open] {
    flex-basis: 100%;
}

.engel {
    margin-top: 2.4rem;
    scroll-margin-top: 1.5rem;
}

.engel .media-block {
    margin: 0;
}

.work-text .prose {
    margin-top: 1.4rem;
}

.work-text h3 {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 0.6em;
}

/* Bildnachweis */
.credit {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

@media (max-width: 640px) {
    .score-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Zitat (Songs and Musicals for Children) ---------- */
.quote-block {
    padding: clamp(50px, 9vw, 110px) 0;
}

.quote-block blockquote {
    font-size: clamp(1.3rem, 2.7vw, 1.9rem);
    font-weight: 300;
    line-height: 1.35;
    max-width: 23em; /* ca. 45–50 Zeichen pro Zeile */
    color: #111;
    hyphens: manual;
}

.quote-block--inline {
    padding: 2.2rem 0 0.4rem;
}

.quote-block .source {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.quote-block .source a {
    color: var(--color-text-light);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ---------- Workshops ---------- */
.photo-hero {
    position: relative;
    background: #000;
}

.photo-hero img {
    width: 100%;
    max-height: 78vh;
    object-fit: cover;
}

.photo-hero__title {
    position: absolute;
    top: 24%;
    left: 11%;
    font-size: clamp(1.1rem, 3.6vw, 3.1rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

.photo-hero__title span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .photo-hero__title {
        top: 14%;
        left: 8%;
    }
}

/* ---------- Media ---------- */
.subnav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.subnav a {
    font-family: var(--font-brand);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.subnav a:hover {
    color: var(--color-gold);
}

.disco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.2rem;
    align-items: start;
}

.disco-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f6f6f6;
    margin-bottom: 1.2rem;
}

.disco-item details {
    text-align: center;
}

.disco-item summary {
    list-style: none;
    display: inline-block;
}

.disco-item summary::-webkit-details-marker {
    display: none;
}

.disco-item summary::after {
    content: '+';
    margin-left: 0.6em;
    font-weight: 400;
}

.disco-item details[open] summary::after {
    content: '–';
}

.disco-item ol {
    margin-top: 1.3rem;
    padding-left: 1.4em;
    text-align: left;
    font-size: 0.95em;
}

.disco-item ol li {
    margin-bottom: 0.6em;
    padding-left: 0.2em;
}

.disco-item ol a {
    text-decoration: underline;
    text-decoration-color: rgba(166, 124, 34, 0.5);
    text-underline-offset: 0.18em;
}

.disco-item ol a:hover {
    color: var(--color-gold);
}

@media (max-width: 900px) {
    .disco-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .disco-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

.video-teaser {
    display: block;
    position: relative;
    background: #000;
}

.video-teaser img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.video-teaser:hover img {
    opacity: 1;
}

.video-teaser .yt__play {
    pointer-events: none;
}

.video-teaser:hover .yt__play {
    background: var(--color-gold);
}

.video-teaser__label {
    position: absolute;
    left: 1.4rem;
    bottom: 1.2rem;
    font-family: var(--font-brand);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(150px, 20vw, 240px);
    gap: 0.8rem;
}

.photo-grid a {
    display: block;
    overflow: hidden;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-grid a:hover img {
    transform: scale(1.03);
}

.photo-grid .tall {
    grid-column: 3;
    grid-row: 1 / span 2;
}

@media (max-width: 640px) {
    .photo-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 38vw;
    }

    .photo-grid .tall {
        grid-column: auto;
        grid-row: span 2;
    }
}

/* ---------- Kontakt ---------- */
.contact-line {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.contact-line span {
    color: #bbb;
    margin: 0 0.5em;
}

.contact-line a {
    color: var(--color-gold-dark);
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    font: inherit;
    padding: 0.85rem 1rem;
    border: 1px solid #d8d8d8;
    background: #fafafa;
    color: var(--color-text);
    border-radius: 0;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #fff;
}

.contact-form .consent {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.contact-form .consent input {
    margin-top: 0.3em;
    accent-color: var(--color-gold);
}

.contact-form .consent a {
    text-decoration: underline;
}

.contact-form .hp {
    position: absolute;
    left: -9999px;
}

.contact-form .btn-gold {
    justify-self: center;
    margin-top: 0.5rem;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}

.form-status {
    text-align: center;
    min-height: 1.6em;
}

.form-status.ok {
    color: #2e6b2e;
}

.form-status.error {
    color: #a33;
}

/* ---------- Rechtliches ---------- */
.legal h2 {
    font-size: 1.15em;
    font-weight: 600;
    margin: 2em 0 0.5em;
}

.legal .lead {
    font-size: 1.1em;
}

.legal .number {
    color: var(--color-gold);
    font-weight: 600;
    margin-right: 0.4em;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: clamp(4rem, 9vw, 7rem);
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--color-line);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-line);
    color: #333;
}

.social a:hover {
    color: #fff;
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    font-family: var(--font-brand);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #333;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.site-footer p {
    text-align: center;
}

/* Sehr schmale Handys (z. B. iPhone SE): Tagline passt in eine Zeile */
@media (max-width: 380px) {
    .tagline {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }
}
