/* RaumakustikPlaner — "Studio": dark recording-studio, amber, sound-wave motifs. */
:root {
  --bg: #121215; --panel: #1b1b20; --card: #212127; --card2: #26262e;
  --amber: #f0a42e; --amber-deep: #c97f16; --amber-dim: rgba(240,164,46,.14);
  --text: #ece8df; --mut: #a9a49a; --line: #313138;
  --radius: 6px;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 8px 28px rgba(0,0,0,.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
/* equalizer divider */
.wave { display: flex; align-items: flex-end; gap: 5px; height: 34px; padding: 0 24px; max-width: 1080px; margin: 0 auto; }
.wave i { width: 5px; background: var(--amber); border-radius: 2px; opacity: .55; animation: eq 1.6s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: .3s; } .wave i:nth-child(3n) { animation-delay: .7s; }
.wave i:nth-child(1){height:40%} .wave i:nth-child(2){height:70%} .wave i:nth-child(3){height:100%}
.wave i:nth-child(4){height:55%} .wave i:nth-child(5){height:85%} .wave i:nth-child(6){height:35%}
.wave i:nth-child(7){height:75%} .wave i:nth-child(8){height:60%} .wave i:nth-child(9){height:95%}
.wave i:nth-child(10){height:45%} .wave i:nth-child(11){height:80%} .wave i:nth-child(12){height:50%}
@keyframes eq { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
header.site { background: rgba(18,18,21,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
header.site .topbar { font-family: var(--mono); font-size: .72rem; color: var(--mut); border-bottom: 1px solid var(--line); padding: 6px 0; letter-spacing: .04em; }
header.site .topbar .container { display: flex; justify-content: space-between; }
header.site .topbar .rec { color: var(--amber); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0; }
.brand { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; letter-spacing: .02em; }
.brand .vu { width: 40px; height: 30px; margin-right: 12px; display: inline-flex; align-items: flex-end; gap: 3px; }
.brand .vu i { width: 5px; background: var(--amber); border-radius: 1px; }
.brand .vu i:nth-child(1){height:40%} .brand .vu i:nth-child(2){height:75%}
.brand .vu i:nth-child(3){height:100%} .brand .vu i:nth-child(4){height:60%}
.brand em { font-style: normal; color: var(--amber); }
nav.main a { font-family: var(--mono); color: var(--mut); text-decoration: none; margin-left: 24px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
nav.main a:hover { color: var(--amber); }
/* hero: dark studio console */
.hero { position: relative; padding: 90px 0 80px; background: #0c0c0e url('../images/hero.webp') center/cover; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,12,14,.96) 20%, rgba(12,12,14,.72) 55%, rgba(12,12,14,.35)); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero .kicker { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber); padding: 8px 16px; border-radius: 3px; margin-bottom: 22px; background: var(--amber-dim); }
.hero h1 { font-size: 2.8rem; line-height: 1.12; font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
.hero h1 .go { color: var(--amber); }
.hero p.lead { color: var(--mut); font-size: 1.08rem; max-width: 560px; margin-bottom: 32px; }
.hero .meters { display: flex; gap: 14px; align-items: flex-end; height: 150px; }
.hero .meters i { width: 14px; background: linear-gradient(180deg, var(--amber), var(--amber-deep)); border-radius: 3px; animation: eq 1.4s ease-in-out infinite; opacity: .8; }
.hero .meters i:nth-child(2n){animation-delay:.2s} .hero .meters i:nth-child(3n){animation-delay:.5s} .hero .meters i:nth-child(4n){animation-delay:.8s}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-amber { display: inline-block; background: var(--amber); color: #191204; text-decoration: none; padding: 15px 34px; border-radius: var(--radius); font-weight: 800; font-family: var(--mono); font-size: .95rem; letter-spacing: .03em; box-shadow: 0 8px 24px rgba(240,164,46,.3); transition: transform .15s; }
.btn-amber:hover { transform: translateY(-3px); background: #f7b44c; }
.btn-ghost { display: inline-block; border: 1px solid var(--line); color: var(--text); text-decoration: none; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-family: var(--mono); font-size: .95rem; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
section.block { padding: 68px 0; }
.sec-pre { font-family: var(--mono); color: var(--amber); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sec-title { font-size: 2.1rem; margin: 10px 0 14px; font-weight: 800; letter-spacing: -.01em; }
.sec-sub { color: var(--mut); max-width: 720px; margin-bottom: 38px; font-size: 1.0rem; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform .16s, border-color .16s; display: flex; flex-direction: column; overflow: hidden; }
.tcard:hover { transform: translateY(-5px); border-color: var(--amber); }
.tcard .ph { height: 140px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.tcard .tx { padding: 20px 22px 22px; flex: 1; }
.tcard .no { font-family: var(--mono); font-size: .7rem; color: var(--amber); letter-spacing: .1em; }
.tcard .tx h3 { font-size: 1.18rem; margin: 8px 0 8px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tcard .tx h3 svg { width: 24px; height: 24px; stroke: var(--amber); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.tcard .tx p { font-size: .9rem; color: var(--mut); margin-bottom: 12px; }
.tcard .go { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--amber); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin: 50px 0; }
.split.flip > div:first-child { order: 2; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; border: 1px solid var(--line); }
.split h3 { font-size: 1.6rem; margin-bottom: 12px; font-weight: 800; }
.split p { color: var(--mut); margin-bottom: 12px; }
.split .more { font-family: var(--mono); font-weight: 700; color: var(--amber); text-decoration: none; font-size: .9rem; }
table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 26px; font-size: .9rem; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.ref th { background: #2c2c34; color: var(--amber); padding: 12px 14px; text-align: left; font-size: .82rem; font-family: var(--mono); letter-spacing: .04em; }
table.ref td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
table.ref tr:last-child td { border-bottom: none; }
table.ref tr:nth-child(even) td { background: var(--card2); }
.crumbs { font-family: var(--mono); font-size: .8rem; color: var(--mut); margin: 24px 0 8px; }
.crumbs a { color: var(--amber); text-decoration: none; font-weight: 700; }
.pagehead { max-width: 800px; }
.pagehead h1 { font-size: 2.3rem; margin-bottom: 10px; font-weight: 800; letter-spacing: -.01em; }
.pagehead h1 .go { color: var(--amber); }
.pagehead p { color: var(--mut); }
.pagehead .pimg { margin: 26px 0 0; max-width: 660px; }
.pagehead .pimg img { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
/* console-style calculator */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 36px; margin: 32px 0; max-width: 740px; box-shadow: var(--shadow); position: relative; }
.calc::before { content: "● ● ●"; position: absolute; top: 12px; left: 18px; color: #4a4a55; letter-spacing: 4px; font-size: .8rem; }
.calc .ctag { display: inline-block; background: var(--amber-dim); color: var(--amber); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 3px; margin: 18px 0 20px; border: 1px solid var(--amber); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .92rem; color: var(--text); }
.field input, .field select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 1rem; font-family: var(--mono); background: #0e0e11; color: var(--amber); }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); }
.field input.invalid { border-color: #e05656; }
.field .hint { font-size: .82rem; color: var(--mut); margin-top: 5px; }
.field .error { font-size: .82rem; color: #e05656; margin-top: 5px; display: none; font-weight: 600; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
button.calc-btn { background: var(--amber); color: #191204; border: none; padding: 15px 30px; border-radius: 4px; font-size: 1rem; font-weight: 800; font-family: var(--mono); cursor: pointer; flex: 1; transition: transform .15s; }
button.calc-btn:hover { transform: translateY(-2px); background: #f7b44c; }
button.reset-btn { background: transparent; color: var(--mut); border: 1px solid var(--line); padding: 15px 26px; border-radius: 4px; cursor: pointer; font-family: var(--mono); font-weight: 600; }
button.reset-btn:hover { border-color: var(--mut); color: var(--text); }
.result { display: none; margin-top: 26px; background: #0e0e11; border: 1px solid var(--amber); border-radius: 4px; padding: 26px; font-family: var(--mono); }
.result.show { display: block; animation: bootIn .3s ease; }
.result::before { content: "> ERGEBNIS"; display: block; color: var(--amber); font-size: .75rem; letter-spacing: .14em; margin-bottom: 12px; }
.result .big { font-size: 2rem; font-weight: 700; color: var(--amber); }
.result .rrow { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #2e2e36; font-size: .92rem; }
.result .rrow:last-child { border-bottom: none; }
.result .rrow span:first-child { color: var(--mut); }
.result .rrow strong { color: var(--text); }
.result .note { font-size: .82rem; color: var(--mut); margin-top: 10px; font-family: var(--sans); }
article.prose { margin: 38px 0; max-width: 820px; }
article.prose h2 { font-size: 1.55rem; margin: 34px 0 12px; font-weight: 800; }
article.prose h3 { font-size: 1.12rem; margin: 24px 0 8px; color: var(--amber); font-family: var(--mono); }
article.prose p, article.prose li { margin-bottom: 10px; color: #cfccc2; }
article.prose ul, article.prose ol { padding-left: 22px; }
article.prose a { color: var(--amber); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--amber-dim); }
.warnbox { background: rgba(224,86,86,.08); border: 1px solid #e05656; border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #e8b4b4; }
.warnbox strong { text-transform: uppercase; letter-spacing: .04em; color: #e05656; }
.tipbox { background: var(--amber-dim); border: 1px solid var(--amber); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #e8d9b8; }
.example { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 22px 0; font-size: .93rem; font-family: var(--mono); }
.example strong { color: var(--amber); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 16px 22px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--text); }
.faq p { margin-top: 8px; color: var(--mut); font-size: .94rem; }
.honest { background: #17171c; border: 1px dashed var(--amber); border-radius: var(--radius); padding: 26px 30px; margin: 50px 0; }
.honest h3 { font-family: var(--mono); color: var(--amber); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.honest p { color: var(--mut); font-size: .93rem; }
.cta-band { background: linear-gradient(120deg, #1c1c22, #23232b); border: 1px solid var(--amber); border-radius: 8px; padding: 54px 36px; text-align: center; margin: 60px 0; }
.cta-band h2 { font-size: 2rem; margin-bottom: 10px; font-weight: 800; }
.cta-band h2 .go { color: var(--amber); }
.cta-band p { color: var(--mut); margin-bottom: 26px; }
footer.site { background: #0c0c0e; border-top: 1px solid var(--line); padding: 50px 0 28px; margin-top: 64px; font-size: .88rem; }
footer.site .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h4 { color: var(--amber); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
footer.site a { color: var(--mut); text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--amber); }
footer.site .brand { color: var(--text); }
footer.site .bottom { border-top: 1px solid var(--line); padding-top: 20px; color: #6e6a61; font-size: .8rem; font-family: var(--mono); }
@keyframes bootIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.layout-preview { background: #0e0e11; border: 1px solid var(--line); border-radius: 4px; padding: 18px; margin: 20px 0; overflow-x: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; } .hero h1 { font-size: 2.1rem; }
  .hero .meters { display: none; }
  .split { grid-template-columns: 1fr; gap: 26px; } .split.flip > div:first-child { order: 0; }
  .calc { padding: 26px 20px; } .btn-row { flex-direction: column; }
  nav.main a { margin-left: 14px; } footer.site .fgrid { grid-template-columns: 1fr 1fr; }
  .pagehead h1 { font-size: 1.85rem; }
}
