/* =================================================================
   DREHLEIERBAU RIEDEL — Premium Design System
   Palette: Cream · Sand · Dark Brown · Gold
   Fonts:   Playfair Display (h) + Inter (body)
   ================================================================= */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    --cream:        #F4EFE6;
    --sand:         #E8DECE;
    --sand-dark:    #D5C5AD;
    --parchment:    #FDFAF6;
    --brown-dark:   #1F0E08;
    --brown-main:   #3A2218;
    --brown-mid:    #5C3D2E;
    --brown-light:  #8B7355;
    --gold:         #C4A35A;
    --gold-dark:    #A88540;
    --gold-pale:    #F0E4C8;
    --white:        #FFFFFF;
    --error-color:  #B91C1C;
    --success-color:#166534;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', 'Segoe UI', system-ui, Arial, sans-serif;

    --section-py-lg: clamp(72px, 10vw, 130px);
    --section-py-md: clamp(48px, 7vw, 90px);
    --section-py-sm: clamp(32px, 5vw, 60px);
    --max-w:         1200px;
    --max-w-text:    720px;
    --px:            clamp(20px, 5vw, 64px);

    --radius-sm: 2px;
    --radius:    4px;
    --radius-lg: 10px;

    --shadow-sm: 0 1px 5px rgba(31, 14, 8, 0.08);
    --shadow-md: 0 4px 18px rgba(31, 14, 8, 0.12);
    --shadow-lg: 0 10px 44px rgba(31, 14, 8, 0.18);

    --ease: 0.28s ease;
    --ease-fast: 0.18s ease;

    --header-h: 78px;
}

/* ── 2. RESET + BASE ──────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    background: var(--cream);
    color: var(--brown-main);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--gold-dark); text-decoration: none; transition: color var(--ease-fast); }
a:hover { color: var(--brown-dark); }

strong, b { font-weight: 600; color: var(--brown-main); }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1.18;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }

p { color: var(--brown-mid); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--brown-mid);
    line-height: 1.75;
    font-weight: 400;
}

.label-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 14px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--brown-mid);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ── 4. LAYOUT ────────────────────────────────────────────────── */
.container {
    width: min(var(--max-w), 100% - (var(--px) * 2));
    margin-inline: auto;
}

.container-text {
    width: min(var(--max-w-text), 100% - (var(--px) * 2));
    margin-inline: auto;
}

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

.is-hidden { display: none !important; }

/* ── 5. SITE HEADER ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    background: var(--parchment);
    border-bottom: 3px solid #7d1e2c;
    box-shadow: var(--shadow-sm);
    transition: background var(--ease), box-shadow var(--ease);
    overflow: visible;
}

.site-header.is-scrolled {
    background: rgba(253, 250, 246, 0.97);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Brand */
.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.site-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 1;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brown-light);
    font-weight: 400;
}

/* Nav */
.site-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-mid);
    border-bottom: 2px solid transparent;
    transition: color var(--ease-fast), border-color var(--ease-fast);
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover { color: var(--brown-dark); border-bottom-color: var(--sand-dark); }

.nav-link.is-active {
    color: var(--brown-dark);
    font-weight: 600;
    border-bottom-color: var(--gold);
}

/* CTA in nav */
.nav-link.nav-cta {
    background: var(--gold);
    color: var(--brown-dark);
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px 16px;
    font-weight: 600;
    margin-left: 8px;
}

.nav-link.nav-cta:hover { background: var(--gold-dark); color: var(--white); border-color: transparent; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: #7d1e2c;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #fff8ef;
    transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. SITE MAIN ─────────────────────────────────────────────── */
.site-main { min-height: 70vh; }

/* ── 7. SECTIONS ──────────────────────────────────────────────── */
.section {
    padding-block: var(--section-py-md);
}

.section-lg { padding-block: var(--section-py-lg); }
.section-sm { padding-block: var(--section-py-sm); }

.section-cream   { background: var(--cream); }
.section-sand    { background: var(--sand); }
.section-parch   { background: var(--parchment); }
.section-dark    { background: var(--brown-dark); color: var(--parchment); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--parchment); }
.section-dark .lead,
.section-dark p   { color: rgba(253, 250, 246, 0.78); }

.section-center { text-align: center; }
.section-center .section-subtitle { margin-inline: auto; }

/* Divider ornament */
.ornament {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.ornament-line {
    flex: 1;
    height: 1px;
    background: var(--sand-dark);
}
.ornament-icon { color: var(--gold); font-size: 1.1rem; }

/* ── 8. BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast), box-shadow var(--ease-fast);
    white-space: nowrap;
}

.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Primary = Gold */
.btn-primary {
    background: var(--gold);
    color: var(--brown-dark);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(168, 133, 64, 0.35);
    text-decoration: none;
}

/* Secondary = outlined */
.btn-secondary {
    background: transparent;
    border-color: var(--brown-dark);
    color: var(--brown-dark);
}
.btn-secondary:hover {
    background: var(--brown-dark);
    color: var(--parchment);
    text-decoration: none;
}

/* Ghost = outlined cream (for dark backgrounds) */
.btn-ghost {
    background: transparent;
    border-color: rgba(253, 250, 246, 0.55);
    color: var(--parchment);
}
.btn-ghost:hover {
    background: rgba(253, 250, 246, 0.12);
    border-color: var(--parchment);
    color: var(--parchment);
    text-decoration: none;
}

/* Small variant */
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ── 9. HERO SECTION ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    background-color: var(--brown-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31, 14, 8, 0.88) 0%,
        rgba(58, 34, 24, 0.70) 50%,
        rgba(31, 14, 8, 0.55) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 80px;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(196, 163, 90, 0.4);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    color: var(--parchment);
    line-height: 1.12;
    margin-bottom: 24px;
}

.hero .lead {
    color: rgba(253, 250, 246, 0.82);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 250, 246, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: heroScroll 2s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(253, 250, 246, 0.5), transparent);
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── 10. INTRO SECTION ────────────────────────────────────────── */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.intro-grid.reverse { direction: rtl; }
.intro-grid.reverse > * { direction: ltr; }

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.intro-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.intro-image-badge strong {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1;
}

.intro-image-badge span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brown-main);
    margin-top: 4px;
}

.intro-text h2 { margin-bottom: 20px; }

.intro-text .lead { margin-bottom: 28px; }

.stats-row {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--sand-dark);
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brown-dark);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-top: 6px;
}

/* ── 11. COURSE HIGHLIGHT ─────────────────────────────────────── */
.course-highlight {
    background: var(--brown-dark);
    overflow: hidden;
}

.course-highlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.course-highlight-image {
    position: relative;
    overflow: hidden;
}

.course-highlight-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform var(--transition-slow);
}

.course-highlight-image:hover img { transform: scale(1.04); }

.course-highlight-content {
    padding: clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.course-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.course-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(253, 250, 246, 0.85);
    font-size: 1rem;
}

.feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-check::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--brown-dark);
    border-bottom: 2px solid var(--brown-dark);
    transform: rotate(-45deg) translateY(-1px);
}

/* ── 12. INSTRUMENTS PREVIEW ──────────────────────────────────── */
.instrument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.instrument-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.instrument-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}

.instrument-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.instrument-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform var(--ease);
}

.instrument-card:hover .instrument-card-image img { transform: scale(1.06); }

.instrument-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--sand-dark);
}

.instrument-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.instrument-card-body h3 {
    font-size: 1.05rem;
    color: var(--brown-dark);
    margin: 0;
}

.instrument-card-summary {
    font-size: 0.88rem;
    color: var(--brown-light);
    flex: 1;
    margin: 0;
}

.instrument-card-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-top: 4px;
}

.instrument-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.instrument-card-cta::after {
    content: '→';
    transition: transform var(--ease-fast);
}

.instrument-card:hover .instrument-card-cta::after { transform: translateX(4px); }

/* ── 13. ABOUT PREVIEW ────────────────────────────────────────── */
.about-strip {
    display: flex;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.about-strip-image {
    flex: 0 0 clamp(180px, 28%, 340px);
}

.about-strip-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.about-strip-text { flex: 1; }
.about-strip-text h2 { margin-bottom: 16px; }
.about-strip-text .lead { margin-bottom: 28px; }

/* ── 14. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--parchment);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--gold-pale);
    font-weight: 700;
}

.testimonial-text {
    font-style: italic;
    color: var(--brown-mid);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    padding-top: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--sand);
    padding-top: 16px;
}

.testimonial-initials {
    width: 40px;
    height: 40px;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brown-main);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brown-dark);
    display: block;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--brown-light);
    display: block;
}

/* ── 15. CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-main) 100%);
    text-align: center;
}

.cta-banner h2 { color: var(--parchment); margin-bottom: 16px; }
.cta-banner .lead { color: rgba(253, 250, 246, 0.78); margin-bottom: 40px; }

.cta-banner.cta-banner--light { background: var(--cream); }
.cta-banner.cta-banner--light h2 { color: var(--brown-dark); }
.cta-banner.cta-banner--light .lead { color: var(--brown-light); }
.cta-banner.cta-banner--light .label-tag { color: var(--gold); }

.cta-banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 16. PAGE HERO (interior pages) ──────────────────────────── */
.page-hero {
    background: var(--brown-dark);
    padding-block: clamp(56px, 8vw, 100px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 0 30 30 Q45 60 60 30' stroke='rgba(196,163,90,0.06)' fill='none' stroke-width='1'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

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

.page-hero h1 {
    color: var(--parchment);
    margin-bottom: 12px;
}

.page-hero .lead { color: rgba(253, 250, 246, 0.75); max-width: 580px; margin-inline: auto; }

/* ── 17. BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
    padding-block: 16px;
    font-size: 0.83rem;
    color: var(--brown-light);
}

.breadcrumb a { color: var(--brown-light); }
.breadcrumb a:hover { color: var(--brown-dark); }
.breadcrumb-sep { margin-inline: 8px; opacity: 0.5; }

/* ── 18. INSTRUMENT CATEGORY PAGE ────────────────────────────── */
.category-section { margin-bottom: 56px; }
.category-section:last-child { margin-bottom: 0; }

.category-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sand);
}

.category-header h2 { margin-bottom: 6px; font-size: 1.6rem; }
.category-header p { font-size: 1rem; margin: 0; }

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-bar-input {
    flex: 1;
    min-width: 220px;
    height: 48px;
    padding: 0 16px;
    background: var(--parchment);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--brown-dark);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}

.filter-bar-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}

/* ── 19. INSTRUMENT DETAIL ────────────────────────────────────── */
.detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.detail-gallery { position: sticky; top: calc(var(--header-h) + 24px); }

.detail-main-image {
    background: #ffffff;
    border: 1px solid var(--sand-dark);
    overflow: hidden;
    margin-bottom: 12px;
}

.detail-main-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    padding: 20px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 8px;
}

.gallery-thumb {
    background: #ffffff;
    border: 1px solid var(--sand-dark);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform var(--ease-fast);
}
.gallery-thumb:hover img { transform: scale(1.08); }

.detail-info h1 { margin-bottom: 8px; }
.detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.detail-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gold-pale);
    color: var(--brown-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.detail-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 24px;
}

.detail-description {
    font-size: 1rem;
    color: var(--brown-mid);
    line-height: 1.75;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--sand);
}

.detail-specs {
    margin-bottom: 32px;
}

.detail-specs h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-bottom: 12px;
}

.spec-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sand);
    font-size: 0.92rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { min-width: 120px; color: var(--brown-light); font-weight: 500; }
.spec-value { color: var(--brown-main); font-weight: 500; }

.audio-player {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.audio-player p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-bottom: 8px;
}
.audio-player audio { width: 100%; }

/* ── 20. COURSE CARDS ─────────────────────────────────────────── */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.course-card {
    background: var(--parchment);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.course-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--sand);
}
.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease);
}
.course-card:hover .course-card-image img { transform: scale(1.05); }

.course-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-card-body h3 { font-size: 1.25rem; margin: 0; }

.course-card-summary { font-size: 0.93rem; color: var(--brown-light); flex: 1; margin: 0; }

.course-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
    margin: 4px 0 8px;
}

.course-meta-item span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brown-light);
    margin-bottom: 3px;
}

.course-meta-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brown-dark);
}

.course-price {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brown-dark);
}

/* ── 21. COURSE DETAIL ────────────────────────────────────────── */
.course-detail-hero {
    background: var(--brown-dark);
    position: relative;
    overflow: hidden;
}

.course-detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.course-detail-hero-content {
    position: relative;
    z-index: 1;
    padding-block: clamp(64px, 9vw, 120px);
    max-width: 640px;
}

.course-detail-hero h1 { color: var(--parchment); margin-bottom: 16px; }
.course-detail-hero .lead { color: rgba(253, 250, 246, 0.78); margin-bottom: 32px; }

.course-detail-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.course-detail-meta-item { text-align: left; }
.course-detail-meta-item .meta-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}
.course-detail-meta-item .meta-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--parchment);
}

.course-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.course-includes-box {
    background: var(--parchment);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.course-includes-box h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sand);
}

.course-includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.course-includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--brown-mid);
}

.course-includes-list li::before {
    content: '✓';
    color: var(--gold-dark);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.course-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.course-details-list li {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--brown-mid);
    padding: 8px 0;
    border-bottom: 1px solid var(--sand);
}
.course-details-list li:last-child { border-bottom: none; }
.course-details-list li::before { content: '→'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }

/* ── 22. CONTACT PAGE ─────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-info-card {
    background: var(--brown-dark);
    color: var(--parchment);
    border-radius: var(--radius);
    padding: 36px;
}

.contact-info-card h3 { color: var(--parchment); font-size: 1.3rem; margin-bottom: 24px; }

.contact-detail-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.94rem;
}

.contact-detail-row:last-of-type { margin-bottom: 0; }

.contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(196, 163, 90, 0.18);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--gold);
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(253, 250, 246, 0.5);
    margin-bottom: 2px;
}

.contact-detail-value { color: var(--parchment); }
.contact-detail-value a { color: var(--gold-pale); }
.contact-detail-value a:hover { color: var(--white); }

.contact-form-wrap { flex: 1; }

.contact-top-logo {
    margin-bottom: 18px;
}

.contact-top-logo img {
    display: block;
    width: min(420px, 100%);
    height: auto;
}

.contact-form-title { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-desc { color: var(--brown-mid); margin-bottom: 32px; }

.form-row { margin-bottom: 20px; }
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brown-main);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-required { color: var(--error-color); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: var(--parchment);
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--brown-dark);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
    appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}

.form-honeypot { display: none !important; }

.form-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.form-notice-success {
    background: #D1FAE5;
    border: 1px solid #6EE7B7;
    color: var(--success-color);
}

.form-notice-error {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: var(--error-color);
}

.form-notice ul { padding-left: 16px; margin: 4px 0 0; }

/* ── 23. ABOUT PAGE ───────────────────────────────────────────── */
.about-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.about-portrait {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.about-portrait img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-portrait-caption {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--brown-light);
    text-align: center;
    font-style: italic;
}

.about-text h2 { margin-bottom: 16px; margin-top: 40px; }
.about-text h2:first-child { margin-top: 0; }

.about-text p { line-height: 1.8; font-size: 1.02rem; }

/* ── 24. FOOTER ───────────────────────────────────────────────── */
.site-footer {
    background: var(--brown-dark);
    color: rgba(253, 250, 246, 0.7);
    padding-block: clamp(48px, 7vw, 80px) 32px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(253, 250, 246, 0.12);
    margin-bottom: 28px;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--parchment);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.87rem;
    color: rgba(253, 250, 246, 0.6);
    line-height: 1.65;
    margin-bottom: 24px;
}

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: rgba(253, 250, 246, 0.65);
}

.footer-contact-line a { color: rgba(253, 250, 246, 0.65); }
.footer-contact-line a:hover { color: var(--parchment); }

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-list a {
    font-size: 0.92rem;
    color: rgba(253, 250, 246, 0.65);
    transition: color var(--ease-fast);
}

.footer-nav-list a:hover { color: var(--parchment); text-decoration: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.83rem;
}

.footer-copy { color: rgba(253, 250, 246, 0.4); }

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: rgba(253, 250, 246, 0.5);
    font-size: 0.83rem;
}

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

/* ── 25. LIGHTBOX ─────────────────────────────────────────────── */
.lightbox[hidden] { display: none !important; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 20px;
}

.lightbox-figure {
    margin: 0;
    max-width: min(92vw, 1200px);
    max-height: 90vh;
    text-align: center;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    background: #111;
}

.lightbox-caption {
    color: #f1f1f1;
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(20, 20, 20, 0.75);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: background var(--ease-fast);
}

.lightbox-close:hover, .lightbox-nav:hover { background: rgba(20, 20, 20, 0.95); }

.lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 72px;
    font-size: 2.2rem;
    border-radius: var(--radius-sm);
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

/* ── 26. MISC UTILITIES ───────────────────────────────────────── */
body.has-lightbox-open { overflow: hidden; }

.text-input {
    display: block;
    width: min(460px, 100%);
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--sand-dark);
    background: var(--parchment);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--brown-dark);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}
.text-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}
.input-label { display: inline-block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }

/* Legacy button aliases for unchanged pages */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--brown-dark);
    border: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--ease-fast), border-color var(--ease-fast), color var(--ease-fast);
    letter-spacing: 0.03em;
    cursor: pointer;
}
.button:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); text-decoration: none; }

.button-secondary {
    background: transparent;
    color: var(--brown-dark);
    border-color: var(--sand-dark);
}
.button-secondary:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--parchment); }

/* ─── Animate on scroll ─── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: none;
}

/* ── 27. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
    .detail-layout { grid-template-columns: 300px 1fr; }
    .course-detail-body { grid-template-columns: 1fr 280px; }
    .contact-layout { grid-template-columns: 1fr 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    /* Header auf Mobile: Logo darf schrumpfen, Button bleibt sichtbar */
    .site-header .header-inner {
        width: 100%;
        gap: 12px;
    }
    .site-brand { flex-shrink: 1; min-width: 0; overflow: hidden; }
    .site-logo { height: 50px; max-width: calc(100vw - 80px); }
    .nav-toggle { flex-shrink: 0; }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        background: #fff9df;
        padding: 28px 24px;
        transform: translateX(-100%);
        transition: transform var(--ease);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
        border-top: 3px solid #7d1e2c;
        box-shadow: 4px 0 20px rgba(31,14,8,0.18);
    }

    .site-nav.is-open { transform: none; }

    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }

    .nav-link {
        padding: 18px 0;
        font-size: 1.15rem;
        font-weight: 600;
        color: #7d1e2c;
        border-bottom: 1px solid #d8c695;
        border-right: none;
    }
    .nav-link.is-active { color: #601520; font-weight: 700; }
    .nav-link:hover { color: #601520; text-decoration: none; border-bottom-color: #7d1e2c; }
    .nav-link.nav-cta { margin: 20px 0 0; justify-content: center; background: #7d1e2c; color: #fff8ef; padding: 14px; }

    .intro-grid,
    .intro-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
    .intro-image { order: -1; }
    .intro-image img { aspect-ratio: 16/9; }
    .intro-image-badge { display: none; }

    .course-highlight-inner { grid-template-columns: 1fr; }
    .course-highlight-image { min-height: 280px; position: relative; }
    .course-highlight-image img { position: relative; width: 100%; height: 280px; opacity: 1; }

    .about-strip { flex-direction: column; }
    .about-strip-image { flex: 0 0 auto; width: 100%; max-width: 320px; }

    .detail-layout,
    .course-detail-body,
    .contact-layout,
    .about-content { grid-template-columns: 1fr; }

    .detail-gallery { position: static; }
    .course-includes-box { position: static; }
    .about-portrait { position: static; }

    .stats-row { gap: 20px; }
}

@media (max-width: 600px) {
    :root { --header-h: 66px; }

    .hero {
        background-position: center 20%;
    }

    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(31, 14, 8, 0.78) 0%,
            rgba(31, 14, 8, 0.30) 45%,
            rgba(31, 14, 8, 0.55) 100%
        );
    }

    .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cta-banner-actions { flex-direction: column; align-items: center; }

    .instrument-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .course-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .form-row-2col { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal-links { justify-content: center; }

    .page-hero { padding-block: 48px; }
    .course-highlight-content { padding: 32px 24px; }
}

/* ── Legal Pages ────────────────────────────────────────────────── */
.legal-box {
    max-width: 780px;
}

.legal-box h1 {
    margin-bottom: 12px;
}

.legal-box h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--sand);
}

.legal-box p,
.legal-box ul,
.legal-box li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--brown-mid);
}

.legal-box ul {
    padding-left: 1.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.legal-box a {
    color: var(--brown-dark);
    text-decoration: underline;
}

/* ── Interaktives Poster (Instrumente-Seite) ────────────────────── */
.poster-map {
    position: relative;
    max-width: 783px;
    margin: 32px auto 0;
}

.poster-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.poster-map svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-area {
    fill: transparent;
    cursor: pointer;
    transition: fill 0.18s ease;
}

.map-area:hover,
.map-area:focus {
    fill: rgba(212, 170, 75, 0.35);
    outline: none;
}
