/* Music Factory – öffentliche Website
   Ruhig, viel Weissraum, warme Neutraltöne mit Kupfer-Akzent. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #f6f5f2;
  --bg-alt: #efede8;
  --surface: #ffffff;
  --ink: #161514;
  --ink-2: #3b3936;
  --muted: #6e6a63;
  --line: rgba(22, 21, 20, 0.09);
  --accent: #b85a2b;
  --accent-hover: #9e4a20;
  --accent-soft: rgba(184, 90, 43, 0.1);
  --on-accent: #ffffff;
  --dark: #141312;
  --dark-ink: #f3f1ec;
  --dark-muted: #a29d94;
  --logo-ink: var(--bg);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --bg-alt: #181716;
    --surface: #1d1c1a;
    --ink: #f2f0eb;
    --ink-2: #d6d2ca;
    --muted: #9c978e;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #e0864f;
    --accent-hover: #ec9a66;
    --accent-soft: rgba(224, 134, 79, 0.14);
    --on-accent: #1a0f08;
    --dark: #0b0b0a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.lead p { margin: 0; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
mark.todo { background: rgba(255, 196, 0, .28); color: inherit; padding: 0 .25em; border-radius: 4px; font-style: italic; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { margin: .35em 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.45em; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: var(--bg); font: 600 .95rem/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--dark-ink); color: var(--dark); }
.btn-small { padding: .6em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; color: var(--ink); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 550; color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--accent); border-radius: 2px; margin-top: 3px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: 64px; padding: 20px 24px 28px; display: grid; gap: 4px;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.menu-panel a:not(.btn) { padding: 12px 0; font-size: 1.3rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 16px; }
@media (max-width: 820px) {
  .nav, .nav-cta { display: none; }
  .menu { display: block; }
}

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding-top: 8px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); --ink: var(--dark-ink); --muted: var(--dark-muted); --logo-ink: var(--dark); }
.section-dark .eyebrow { color: #e0864f; }
.muted-inv { color: var(--dark-muted); margin-top: -.4em; }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
.section-head.row { display: flex; align-items: end; justify-content: space-between; max-width: none; gap: 20px; }
.section-head.row h2 { margin: 0; }
.page-head { padding: clamp(64px, 10vw, 128px) 0 clamp(36px, 5vw, 56px); }
.page-head.center { text-align: center; }
.page-head.center .lead { margin-inline: auto; }
.page-head.center .wave { margin: 0 auto 28px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: .98; margin-bottom: .35em; }
.hero .lead { margin-bottom: 2rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { aspect-ratio: 1 / 1; border-radius: 32px; background: var(--dark); display: grid; place-items: center; overflow: hidden; position: relative; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 10%, rgba(224,134,79,.22), transparent 60%); pointer-events: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; }
}

/* Wellenform */
.wave { display: flex; align-items: center; gap: 4px; height: 46%; width: 78%; }
.wave i {
  flex: 1; border-radius: 4px; height: calc(var(--h) * 100%);
  background: linear-gradient(180deg, #f0a46f, #b85a2b);
  transform-origin: center; animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.62); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } html { scroll-behavior: auto; } }
.wave-sm { height: 64px; width: 220px; gap: 3px; }
.wave-sm i { border-radius: 2px; }
.wave-studio, .wave-portrait { height: 40%; width: 70%; }

/* Säulen */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pillar .num { font: 400 2.2rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 18px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Karten */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); overflow: hidden; display: block;
}
a.card { transition: transform .25s ease, box-shadow .25s ease; }
a.card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(0,0,0,.1); }
.pill { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: #161514; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.pill-dark { background: rgba(20,19,18,.85); color: #fff; }
.studio-media, .product-media { position: relative; background: var(--dark); display: grid; place-items: center; overflow: hidden; }
.studio-media { aspect-ratio: 16 / 10; }
.product-media { aspect-ratio: 4 / 3; background: var(--bg-alt); }
.studio-media img, .product-media img { width: 100%; height: 100%; object-fit: cover; }
.studio-body, .product-body { padding: 24px 26px 28px; }
.studio-body h3 { font-size: 1.4rem; margin-bottom: .15em; }
.product-body h3 { margin-bottom: .35em; }
.product-body .eyebrow { font-size: .7rem; margin-bottom: .5rem; color: var(--muted); }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: .6em; }
.price { font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.price.big { font-size: 1.5rem; margin: .2em 0 1em; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--dark); }
.placeholder.big { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.placeholder .wave-sm { width: 55%; }

/* Über-Teaser */
.about-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-teaser p { color: var(--dark-ink); opacity: .86; max-width: 52ch; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #1f1d1b; display: grid; place-items: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .about-teaser { grid-template-columns: 1fr; } .portrait { aspect-ratio: 16 / 11; } }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.service { background: var(--bg); padding: 28px 24px; }
.section-alt .service { background: var(--bg-alt); }
.service p { color: var(--muted); margin: 0 0 .4em; font-size: .95rem; }

/* Referenzen */
.refs { list-style: none; padding: 0; margin: 0 0 28px; columns: 3 260px; column-gap: 40px; }
.refs li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 550; }

/* CTA */
.cta-box { text-align: center; padding: clamp(48px, 7vw, 88px) 24px; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); }
.cta-box .lead { margin: 0 auto 1.8rem; }

/* Studio-Detail */
.studio-hero { aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); display: grid; place-items: center; margin-bottom: 56px; }
.studio-hero .wave { height: 40%; width: 60%; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.two-col.about { grid-template-columns: 0.8fr 1.2fr; }
@media (max-width: 860px) { .two-col, .two-col.about { grid-template-columns: 1fr; } }
.prose { font-size: 1.06rem; color: var(--ink-2); max-width: 64ch; }
.aside { padding: 28px; position: sticky; top: 88px; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Gear */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 36px; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.filters label { display: grid; gap: 6px; font-size: .8rem; font-weight: 650; color: var(--muted); flex: 1 1 160px; }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.brands { margin-top: 80px; }
.brands ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brands li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.back { display: inline-block; margin-bottom: 28px; text-decoration: none; color: var(--muted); font-weight: 600; }
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--bg-alt); }
.gallery img.main, .gallery .placeholder { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.product-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.facts { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.facts span { color: var(--muted); font-weight: 500; }

/* Formulare */
.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; margin-top: 12px; }
.form h3 { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 7px; font-size: .88rem; font-weight: 650; color: var(--ink-2); }
input, select, textarea {
  font: inherit; font-size: 1rem; font-weight: 450; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: rgba(200, 50, 30, .08); border: 1px solid rgba(200, 50, 30, .25); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.contact-info h3 { margin-top: 0; }
.big-links li { font-size: 1.25rem; font-weight: 600; margin-bottom: .5em; }
.big-links a { text-decoration: none; }
.addr { margin-top: 28px; }
.addr p { color: var(--muted); }

/* Fusszeile */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr .8fr; gap: 32px; }
.footer h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.footer a { text-decoration: none; font-size: .95rem; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Wellenform-Höhen (generiert) */
.wave i:nth-child(1){--h:0.160;animation-delay:0.00s}
.wave i:nth-child(2){--h:0.197;animation-delay:-0.11s}
.wave i:nth-child(3){--h:0.205;animation-delay:-0.22s}
.wave i:nth-child(4){--h:0.198;animation-delay:-0.33s}
.wave i:nth-child(5){--h:0.324;animation-delay:-0.44s}
.wave i:nth-child(6){--h:0.403;animation-delay:-0.55s}
.wave i:nth-child(7){--h:0.274;animation-delay:-0.66s}
.wave i:nth-child(8){--h:0.303;animation-delay:-0.77s}
.wave i:nth-child(9){--h:0.547;animation-delay:-0.88s}
.wave i:nth-child(10){--h:0.494;animation-delay:-0.99s}
.wave i:nth-child(11){--h:0.272;animation-delay:-1.10s}
.wave i:nth-child(12){--h:0.402;animation-delay:-1.21s}
.wave i:nth-child(13){--h:0.558;animation-delay:0.00s}
.wave i:nth-child(14){--h:0.362;animation-delay:-0.11s}
.wave i:nth-child(15){--h:0.230;animation-delay:-0.22s}
.wave i:nth-child(16){--h:0.308;animation-delay:-0.33s}
.wave i:nth-child(17){--h:0.252;animation-delay:-0.44s}
.wave i:nth-child(18){--h:0.165;animation-delay:-0.55s}
.wave i:nth-child(19){--h:0.205;animation-delay:-0.66s}
.wave i:nth-child(20){--h:0.388;animation-delay:-0.77s}
.wave i:nth-child(21){--h:0.461;animation-delay:-0.88s}
.wave i:nth-child(22){--h:0.291;animation-delay:-0.99s}
.wave i:nth-child(23){--h:0.455;animation-delay:-1.10s}
.wave i:nth-child(24){--h:0.824;animation-delay:-1.21s}
.wave i:nth-child(25){--h:0.629;animation-delay:0.00s}
.wave i:nth-child(26){--h:0.350;animation-delay:-0.11s}
.wave i:nth-child(27){--h:0.733;animation-delay:-0.22s}
.wave i:nth-child(28){--h:0.964;animation-delay:-0.33s}
.wave i:nth-child(29){--h:0.520;animation-delay:-0.44s}
.wave i:nth-child(30){--h:0.397;animation-delay:-0.55s}
.wave i:nth-child(31){--h:0.784;animation-delay:-0.66s}
.wave i:nth-child(32){--h:0.715;animation-delay:-0.77s}
.wave i:nth-child(33){--h:0.327;animation-delay:-0.88s}
.wave i:nth-child(34){--h:0.369;animation-delay:-0.99s}
.wave i:nth-child(35){--h:0.510;animation-delay:-1.10s}
.wave i:nth-child(36){--h:0.336;animation-delay:-1.21s}
.wave i:nth-child(37){--h:0.197;animation-delay:0.00s}
.wave i:nth-child(38){--h:0.200;animation-delay:-0.11s}
.wave i:nth-child(39){--h:0.179;animation-delay:-0.22s}
.wave i:nth-child(40){--h:0.203;animation-delay:-0.33s}
.wave i:nth-child(41){--h:0.199;animation-delay:-0.44s}
.wave i:nth-child(42){--h:0.305;animation-delay:-0.55s}
.wave i:nth-child(43){--h:0.334;animation-delay:-0.66s}
.wave i:nth-child(44){--h:0.224;animation-delay:-0.77s}
.wave i:nth-child(45){--h:0.231;animation-delay:-0.88s}
.wave i:nth-child(46){--h:0.299;animation-delay:-0.99s}
.wave i:nth-child(47){--h:0.237;animation-delay:-1.10s}
.wave i:nth-child(48){--h:0.173;animation-delay:-1.21s}
