:root {
    --bg: #343438;
    --text: #e8e4df;
    --text-muted: #a09a92;
    --accent: #FFCE00;
    --border: rgba(255, 255, 255, 0.1);
    --font-body: "Karla", "Segoe UI", Roboto, sans-serif;
    --font-serif: "Lora", Georgia, serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    padding: 0 40px;
}

/* ═══════════════════════════════
   NAVBAR
   ═══════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg);
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
}

.nav-link {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--text);
    transition: color 0.4s;
    min-width: 100px;
}

.nav-link:first-child {
    justify-self: start;
}

.nav-link:last-child {
    justify-self: end;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    height: 65px;
    width: auto;
}

/* ═══════════════════════════════
   TICKER — kesintisiz kayan yazı
   ═══════════════════════════════ */
.ticker {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.40)
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 75s linear infinite;
    will-change: transform;
}

.ticker-track > span {
    flex-shrink: 0;
    font-size: 0.825rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: #ffffff;
}

.ticker-dot {
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 0;
    vertical-align: middle;
    margin: 0 0.5em;
}

.ticker-dot--1 { color: #FFCE00; }
.ticker-dot--2 { color: #6ecf6e; }
.ticker-dot--3 { color: #5bc0de; }
.ticker-dot--4 { color: #f06060; }
.ticker-dot--5 { color: #e87de8; }
.ticker-dot--6 { color: #FFA347; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════
   PAGE CONTENT AREA
   ═══════════════════════════════ */
#app {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#app > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-content {
    padding: 40px 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.page-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════
   HERO SLIDESHOW — Full-screen background
   ═══════════════════════════════ */
.page-content[data-page="home"] {
    width: calc(100% + 80px);
    margin-left: -40px;
    padding: 0;
    flex: 1;
    min-height: 0;
    position: relative;
    justify-content: center;
    align-items: center;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1a18;
    z-index: 0;
}

.hero-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

/* ═══════════════════════════════
   MENU — Links
   ═══════════════════════════════ */
.page-content[data-page="menu"] {
    width: calc(100% + 80px);
    margin-left: -40px;
    padding: 0;
    min-height: 0;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    letter-spacing: 1.45rem;
    gap: 0;
    align-items: stretch;
    margin: 40px 0;
    width: 100%;
}

.menu-list li {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s;
}

.menu-list li:first-child {
    border-top: 1px solid var(--border);
}

.menu-list li:hover {
    background-color: #3f444b;
}

.menu-list li a {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
    padding: 16px 24px;
    display: block;
    text-align: center;
}

.menu-list li a:hover {
    color: var(--accent);
}

/* ═══════════════════════════════
   SUB PAGES — Generic
   ═══════════════════════════════ */
.page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    padding-bottom: 16px;
    margin-bottom: 16px;
    color: var(--text);
    width: 100%;
}

.page-text {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
}

/* ═══════════════════════════════
   TEXTE — Literatur / Beiträge
   ═══════════════════════════════ */
.page-content[data-page="texte"] {
    text-align: left;
    align-items: flex-start;
}

.texte-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    margin-top: 24px;
}

.text-entry {
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.text-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.text-entry-title {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 20px;
}

.text-entry-body p {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.text-entry-body p:last-child {
    margin-bottom: 0;
}

.text-entry-meta {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

/* ═══════════════════════════════
   FOTOS — Album Grid + Gallery
   ═══════════════════════════════ */
.page-content[data-page^="fotos"] {
    text-align: left;
    align-items: flex-start;
}

.foto-albums {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 24px;
}

.foto-album {
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.foto-album-cover {
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a1a18;
}

.foto-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.foto-album:hover .foto-album-cover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.foto-album-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    padding: 12px 0;
    text-align: center;
    transition: color 0.3s;
}

.foto-album:hover .foto-album-title {
    color: var(--accent);
}

.foto-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    transition: color 0.3s;
}

.foto-back:hover {
    color: var(--accent);
}

.foto-credit {
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: -20px;
    margin-bottom: 0;
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 24px;
}

.foto-item {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.foto-item:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

/* ═══════════════════════════════
   LIGHTBOX
   ═══════════════════════════════ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text);
    font-size: 2.2rem;
    cursor: pointer;
    padding: 16px;
    z-index: 1001;
    transition: color 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

/* ═══════════════════════════════
   ORGANIZATION — Über uns + Kontakt
   ═══════════════════════════════ */
.page-content[data-page="organization"] {
    text-align: left;
    align-items: flex-start;
}

.org-section {
    width: 100%;
    padding: 0 300px 48px;
    margin-bottom: 48px;
}

.org-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.org-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text);
}

.org-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.org-text p:last-child {
    margin-bottom: 0;
}

.org-text {
    margin-bottom: 40px;
}

.org-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

/* ── Feature Grid ── */
.org-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: -340px;
    margin-right: -340px;
    border-top: 1px solid var(--border);
}

.org-feature {
    padding: 28px 40px;
    border: 1px solid transparent;
    border-bottom-color: var(--border);
    border-right-color: var(--border);
    margin-top: -1px;
    margin-left: -1px;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
}

.org-feature:nth-child(odd) {
    padding-left: 340px;
}

.org-feature:nth-child(2n) {
    border-right-color: transparent;
    padding-right: 340px;
}

.org-feature:hover {
    background-color: rgba(255, 206, 0, 0.06);
    border-color: var(--accent);
    z-index: 1;
}

.org-feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.org-feature p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── Contact Info ── */
.org-contact-info {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-block h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.contact-block a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.contact-block a:hover {
    color: var(--accent);
}

.contact-socials {
    display: flex;
    gap: 16px;
}

/* ── Contact Form ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-btn {
    align-self: flex-start;
    padding: 14px 48px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #1a1a18;
    background: var(--accent);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, opacity 0.3s;
}

.form-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.form-btn:hover:not(:disabled) {
    background: #e6b800;
    transform: translateY(-1px);
}

.form-btn:active:not(:disabled) {
    transform: translateY(0);
}

.form-consent {
    margin: 4px 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-label a:hover {
    color: #e6b800;
}

.form-status {
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-status.success {
    color: #6ecf6e;
}

.form-status.error {
    color: #f06060;
}

/* ═══════════════════════════════
   PROJEKTE — Karten + Detail
   ═══════════════════════════════ */
.page-content[data-page="projekte"] {
    width: calc(100% + 80px);
    margin-left: -40px;
    padding: 0;
    text-align: left;
    align-items: stretch;
}

.page-content[data-page^="projekt-"] {
    text-align: left;
    align-items: flex-start;
}

.page-content[data-page="projekte"] .page-title {
    padding: 40px 40px 16px 220px;
    margin-bottom: 0;
}

.projekt-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border);
}

.projekt-card {
    display: grid;
    grid-template-columns: 220px 220px 1fr;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid transparent;
    margin-top: -1px;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
}

.projekt-card::before {
    content: "";
    border-right: 1px solid var(--border);
    transition: border-color 0.3s;
}

.projekt-card:hover {
    background-color: rgba(255, 206, 0, 0.06);
    border-color: var(--accent);
    z-index: 1;
}

.projekt-card:hover::before {
    border-right-color: var(--accent);
}

.projekt-thumb {
    overflow: hidden;
    background: #1a1a18;
    border-right: 1px solid var(--border);
    transition: border-color 0.3s;
}

.projekt-card:hover .projekt-thumb {
    border-right-color: var(--accent);
}

.projekt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projekt-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 40px;
    min-width: 0;
}

.projekt-status {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
}

.projekt-status.completed {
    background: rgba(110, 207, 110, 0.15);
    color: #6ecf6e;
}

.projekt-status.active {
    background: rgba(255, 206, 0, 0.15);
    color: var(--accent);
}

.projekt-name {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text);
}

.projekt-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.projekt-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

/* ── Projekt Detail ── */
.projekt-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 28px;
    padding: 0 300px;
    transition: color 0.3s;
}

.projekt-back:hover {
    color: var(--accent);
}

.projekt-detail {
    width: 100%;
    padding: 0 300px;
}

/* ── Split Layout (image left, content right) ── */
.projekt-detail--split {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 0;
    align-items: start;
}

.projekt-detail-left {
    position: sticky;
    top: 120px;
    overflow: hidden;
    background: #1a1a18;
    border-right: 1px solid var(--border);
}

.projekt-detail-left img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.projekt-detail-right {
    padding: 0 0 0 40px;
}

.projekt-detail-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.projekt-detail-hero {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    margin-bottom: 32px;
    background: #1a1a18;
}

.projekt-detail-hero img {
    width: 100%;
    height: auto;
}

.projekt-detail-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.projekt-detail-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.projekt-detail-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.projekt-detail-body ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.projekt-detail-body ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.projekt-quote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin-bottom: 24px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
}

.projekt-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-muted);
}

/* ═══════════════════════════════
   VERANSTALTUNGEN — Event Karten + Detail
   ═══════════════════════════════ */
.page-content[data-page="veranstaltungen"] {
    width: calc(100% + 80px);
    margin-left: -40px;
    padding: 0;
    text-align: left;
    align-items: stretch;
}

.page-content[data-page^="event-"] {
    text-align: left;
    align-items: flex-start;
    padding-left: 100px;
    padding-right: 100px;
}

.page-content[data-page="veranstaltungen"] .page-title {
    padding: 40px 40px 16px 220px;
    margin-bottom: 0;
}

.event-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border);
}

.event-card {
    display: grid;
    grid-template-columns: 220px 220px 1fr;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid transparent;
    margin-top: -1px;
    overflow: hidden;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
}

.event-card::before {
    content: "";
    border-right: 1px solid var(--border);
    transition: border-color 0.3s;
}

.event-card:hover {
    background-color: rgba(255, 206, 0, 0.06);
    border-color: var(--accent);
    z-index: 1;
}

.event-card:hover::before {
    border-right-color: var(--accent);
}

.event-img {
    overflow: hidden;
    background: #1a1a18;
    border-right: 1px solid var(--border);
    transition: border-color 0.3s;
}

.event-card:hover .event-img {
    border-right-color: var(--accent);
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img img {
    transform: scale(1.03);
}

.event-body {
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.event-date {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.event-name {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text);
}

.event-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.event-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ── Event Detail ── */
.event-detail {
    width: 100%;
    padding: 0 300px;
}

/* ── Split Layout (image left, content right) ── */
.event-detail--split {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 0;
    align-items: start;
}

.event-detail-left {
    position: sticky;
    top: 120px;
    overflow: hidden;
    background: #1a1a18;
    border-right: 1px solid var(--border);
}

.event-detail-left img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.event-detail-right {
    padding: 0 0 0 40px;
}

.event-detail-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.event-detail-hero {
    width: 100%;
    overflow: hidden;
    margin-bottom: 32px;
    background: #1a1a18;
}

.event-detail-hero img {
    width: 100%;
    height: auto;
}

.event-detail-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.event-detail-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.event-detail-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.event-detail-body ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.event-detail-body ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.event-status {
    margin-top: 24px;
    padding: 10px 16px;
    background: rgba(255, 206, 0, 0.1);
    border-left: 3px solid var(--accent);
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

.event-fotos-link {
    color: var(--accent);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

/* ── Artist Biography Panel ── */
.artist-bio {
    margin-top: 32px;
    margin-bottom: 24px;
    padding: 28px 28px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.artist-bio-heading {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.artist-bio p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.artist-bio p:last-of-type {
    margin-bottom: 0;
}

.artist-bio-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.artist-bio-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.artist-bio-links a {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.event-fotos-link:hover {
    opacity: 0.75;
}

/* ═══════════════════════════════
   LEGAL PAGES — Impressum, Datenschutz
   ═══════════════════════════════ */
.legal-page {
    text-align: left;
    max-width: 800px;
}

.legal-page .org-heading {
    margin-bottom: 24px;
}

.legal-block {
    margin-bottom: 28px;
}

.legal-block h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.legal-block h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.legal-block p,
.legal-block li {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.legal-block ul {
    padding-left: 20px;
    margin: 8px 0;
}

.legal-block a {
    color: var(--accent);
}

.legal-note {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-note a {
    color: var(--accent);
    font-weight: 600;
}

/* ═══════════════════════════════
   VIDEOS — YouTube Embeds
   ═══════════════════════════════ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    width: 100%;
}

.video-card {
    width: 100%;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 kare */
    overflow: hidden;
    background: #1a1a18;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════
   SOCIAL MEDIA PAGE
   ═══════════════════════════════ */
.social-cards {
    display: flex;
    gap: 32px;
    width: 100%;
    margin-top: 24px;
    justify-content: center;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color 0.3s, border-color 0.3s;
}

.social-card:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.social-card span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.site-footer {
    flex-shrink: 0;
    padding: 16px 0;
    border-top: 2px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
}

.copyright {
    justify-self: start;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    justify-self: center;
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent);
}

.social-links {
    justify-self: end;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ═══════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 40px;
    background: var(--bg-card);
    border-top: 2px solid var(--accent);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.cookie-btn:hover {
    opacity: 0.85;
}

.cookie-btn--accept {
    background: var(--accent);
    color: var(--bg);
}

.cookie-btn--reject {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 900px) {
    .foto-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .foto-albums {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-detail,
    .projekt-detail {
        padding-left: 100px;
        padding-right: 100px;
    }

    .projekt-back {
        padding-left: 100px;
        padding-right: 100px;
    }

    .event-detail--split,
    .projekt-detail--split {
        grid-template-columns: 1fr;
    }

    .event-detail-left,
    .projekt-detail-left {
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 300px;
    }

    .event-detail-left img,
    .projekt-detail-left img {
        max-height: 300px;
        object-fit: cover;
    }

    .event-detail-right,
    .projekt-detail-right {
        padding: 24px 0 0 0;
    }

    .nav-link {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .org-section {
        padding-left: 100px;
        padding-right: 100px;
    }

    .org-features {
        grid-template-columns: 1fr;
        margin-left: -140px;
        margin-right: -140px;
    }

    .org-feature:nth-child(odd),
    .org-feature:nth-child(2n) {
        padding-left: 140px;
        padding-right: 140px;
    }

    .menu-list {
        letter-spacing: 0.6rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 12px 16px;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        min-width: auto;
    }

    .container {
        padding: 0 16px;
    }

    .page-content[data-page="home"],
    .page-content[data-page="menu"] {
        width: calc(100% + 32px);
        margin-left: -16px;
    }

    .page-content {
        padding: 20px 0;
        min-height: 40vh;
    }

    .page-title {
        font-size: 1.4rem;
    }

    /* ── Menu ── */
    .menu-list {
        letter-spacing: 0.3rem;
        margin: 20px 0;
    }

    .menu-list li a {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    /* ── Event Detail ── */
    .event-detail,
    .projekt-detail {
        padding-left: 0;
        padding-right: 0;
    }

    .projekt-back {
        padding-left: 0;
        padding-right: 0;
    }

    .event-detail--split {
        grid-template-columns: 1fr;
    }

    .event-detail-left {
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 250px;
    }

    .event-detail-left img {
        max-height: 250px;
        object-fit: cover;
    }

    .event-detail-right {
        padding: 20px 0 0 0;
    }

    .event-detail-body p {
        font-size: 0.92rem;
    }

    .event-detail-body h3 {
        font-size: 1.05rem;
        margin-top: 20px;
    }

    .org-heading {
        font-size: 1.4rem;
    }

    /* ── Artist Bio ── */
    .artist-bio {
        padding: 20px 16px 16px;
        margin-top: 24px;
    }

    .artist-bio-heading {
        font-size: 0.95rem;
    }

    .artist-bio p {
        font-size: 0.88rem;
    }

    /* ── Projekt Quote ── */
    .projekt-quote {
        padding: 12px 16px;
        font-size: 1rem;
    }

    /* ── Foto Grid ── */
    .foto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .foto-albums {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .foto-back,
    .projekt-back {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .foto-credit {
        font-size: 0.78rem;
    }

    /* ── Video ── */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ── Organization ── */
    .org-section {
        padding-left: 0;
        padding-right: 0;
    }

    .org-features {
        grid-template-columns: 1fr;
        margin-left: -16px;
        margin-right: -16px;
    }

    .org-feature {
        padding: 20px 16px;
        border-right-color: transparent !important;
    }

    .org-feature:nth-child(odd) {
        padding-left: 16px;
    }

    .org-feature:nth-child(2n) {
        padding-right: 16px;
    }

    .org-contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .org-text p {
        font-size: 0.92rem;
    }

    /* ── Veranstaltungen & Projekte List ── */
    .page-content[data-page="projekte"],
    .page-content[data-page="veranstaltungen"] {
        width: calc(100% + 32px);
        margin-left: -16px;
    }

    .page-content[data-page="projekte"] .page-title,
    .page-content[data-page="veranstaltungen"] .page-title {
        padding: 20px 16px 12px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card::before {
        display: none;
    }

    .event-img {
        border-right: none;
        border-bottom: 1px solid var(--border);
        height: 180px;
    }

    .event-card:hover .event-img {
        border-right-color: var(--border);
        border-bottom-color: var(--accent);
    }

    .event-body {
        padding: 16px;
    }

    .event-name {
        font-size: 1.1rem;
    }

    .projekt-card {
        grid-template-columns: 1fr;
    }

    .projekt-card::before {
        display: none;
    }

    .projekt-thumb {
        border-right: none;
        border-bottom: 1px solid var(--border);
        height: 180px;
    }

    .projekt-card:hover .projekt-thumb {
        border-right-color: var(--border);
        border-bottom-color: var(--accent);
    }

    .projekt-info {
        padding: 16px;
    }

    .projekt-detail--split {
        grid-template-columns: 1fr;
    }

    .projekt-detail-left {
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 250px;
    }

    .projekt-detail-left img {
        max-height: 250px;
        object-fit: cover;
    }

    .projekt-detail-right {
        padding: 20px 0 0 0;
    }

    /* ── Legal Pages ── */
    .legal-page {
        padding: 0 4px;
    }

    .legal-page .org-heading {
        font-size: 1.3rem;
    }

    .legal-block h3 {
        font-size: 0.95rem;
    }

    .legal-block h4 {
        font-size: 0.88rem;
    }

    .legal-block p,
    .legal-block li {
        font-size: 0.85rem;
    }

    /* ── Footer ── */
    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 12px 16px;
        gap: 12px;
    }

    .copyright {
        justify-self: center;
        order: 2;
        font-size: 0.78rem;
    }

    .footer-legal {
        justify-self: center;
        order: 1;
        gap: 16px;
    }

    .footer-legal a {
        font-size: 0.75rem;
    }

    .social-links {
        justify-self: center;
        order: 0;
    }

    /* ── Contact Form ── */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-btn {
        width: 100%;
        text-align: center;
    }

    /* ── Cookie Banner ── */
    .cookie-banner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        text-align: center;
        font-size: 0.82rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        padding: 10px 16px;
    }

    /* ── Ticker ── */
    .ticker {
        padding: 4px 0;
    }

    .ticker-track > span {
        font-size: 0.675rem;
        letter-spacing: 0.15em;
    }

    /* ── Social Media Page ── */
    .social-cards {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
}
