/* EventRechner — "Fest" design: deep plum + champagne gold, confetti dots. Distinct from all previous sites. */
:root {
  --plum: #3a1c3a; --plum-deep: #241224; --gold: #d4a94e; --gold-pale: #f7ecd2;
  --cream: #faf6ee; --paper: #fffdf8; --ink: #38243a; --mut: #7a5f72;
  --line: #e8dcc2; --radius: 12px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --shadow: 0 4px 18px rgba(58,28,58,.1); --shadow-lift: 0 16px 38px rgba(58,28,58,.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; color: var(--plum); }
h1, h2 { font-family: var(--serif); }
.confettidiv { height: 18px; background-image: radial-gradient(circle 5px at 12px 9px, var(--gold) 98%, transparent), radial-gradient(circle 4px at 42px 9px, #b76e79 98%, transparent), radial-gradient(circle 5px at 72px 9px, var(--plum) 40%, transparent); background-size: 90px 18px; opacity: .5; }
header.site { background: var(--paper); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--gold); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0; }
.brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 800; color: var(--plum); text-decoration: none; display: inline-flex; align-items: center; }
.brand .pop { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold), #a87c2e 75%); margin-right: 10px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(212,169,78,.4); }
.brand .pop svg { width: 20px; height: 20px; fill: #fff; }
.brand em { font-style: normal; color: #a87c2e; }
nav.main a { color: var(--plum); text-decoration: none; margin-left: 20px; font-size: .93rem; font-weight: 700; }
nav.main a:hover { color: #a87c2e; }
.hero { position: relative; padding: 96px 0 90px; background: url('../images/hero.webp') center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(36,18,36,.9), rgba(36,18,36,.5)); }
.hero .container { position: relative; z-index: 1; }
.hero .fest { display: inline-block; background: rgba(212,169,78,.16); border: 1px solid rgba(212,169,78,.6); color: #f3dfa8; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 660px; margin-bottom: 16px; }
.hero h1 .go { color: var(--gold); }
.hero p.lead { color: #eadfc4; font-size: 1.12rem; max-width: 620px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-fest { display: inline-block; background: linear-gradient(135deg, var(--gold), #a87c2e); color: #3a2403; text-decoration: none; padding: 15px 36px; border-radius: 999px; font-weight: 800; box-shadow: 0 10px 26px rgba(212,169,78,.4); transition: transform .15s; }
.btn-fest:hover { transform: translateY(-3px); }
.btn-sekt { display: inline-block; border: 2px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; padding: 13px 34px; border-radius: 999px; font-weight: 700; }
.btn-sekt:hover { background: rgba(255,255,255,.1); }
section.block { padding: 66px 0; }
.sec-pre { color: #a87c2e; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sec-title { font-size: 2.2rem; margin: 8px 0 12px; }
.sec-sub { color: var(--mut); max-width: 700px; margin-bottom: 36px; font-size: 1.02rem; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.tcard { background: var(--paper); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.tcard .ph { height: 132px; background-size: cover; background-position: center; border-bottom: 3px solid var(--gold); }
.tcard .tx { padding: 20px 24px 24px; flex: 1; }
.tcard .no { font-family: var(--mono); font-size: .72rem; color: #a87c2e; letter-spacing: .06em; }
.tcard .tx h3 { font-family: var(--serif); font-size: 1.25rem; margin: 6px 0 8px; }
.tcard .tx p { font-size: .92rem; color: var(--mut); margin-bottom: 12px; }
.tcard .go { font-weight: 800; color: var(--plum); font-size: .9rem; }
.tcard .go span { color: #a87c2e; }
.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-lift); display: block; }
.split h3 { font-size: 1.7rem; margin-bottom: 12px; }
.split p { color: var(--mut); margin-bottom: 12px; }
.split .more { font-weight: 800; color: #a87c2e; text-decoration: none; border-bottom: 3px solid var(--gold); }
table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: .93rem; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
table.ref th { background: var(--plum); color: var(--gold); padding: 12px 14px; text-align: left; font-size: .84rem; }
table.ref td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.ref tr:last-child td { border-bottom: none; }
table.ref tr:nth-child(even) td { background: #f6efdd; }
.crumbs { font-size: .85rem; color: var(--mut); margin: 22px 0 8px; }
.crumbs a { color: #a87c2e; text-decoration: none; font-weight: 700; }
.pagehead { max-width: 780px; }
.pagehead h1 { font-size: 2.4rem; margin-bottom: 10px; }
.pagehead h1 .go { color: #a87c2e; }
.pagehead p { color: var(--mut); }
.pagehead .pimg { margin: 24px 0 0; max-width: 640px; }
.pagehead .pimg img { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.calc { background: var(--paper); border-radius: 16px; padding: 36px; margin: 30px 0; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 720px; }
.calc .ctag { display: inline-block; background: var(--gold-pale); color: #8a5f1a; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; border: 1px solid var(--gold); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .94rem; }
.field input, .field select { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; font-size: 1rem; font-family: var(--mono); background: #fdfaf1; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field input.invalid { border-color: #c0392b; background: #fdf2f0; }
.field .hint { font-size: .83rem; color: var(--mut); margin-top: 5px; }
.field .error { font-size: .83rem; color: #c0392b; margin-top: 5px; display: none; font-weight: 600; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
button.calc-btn { background: linear-gradient(135deg, var(--gold), #a87c2e); color: #3a2403; border: none; padding: 15px 30px; border-radius: 999px; font-size: 1.02rem; font-weight: 800; cursor: pointer; flex: 1; box-shadow: 0 8px 22px rgba(212,169,78,.35); transition: transform .15s; }
button.calc-btn:hover { transform: translateY(-2px); }
button.reset-btn { background: transparent; color: var(--mut); border: 2px solid var(--line); padding: 15px 26px; border-radius: 999px; cursor: pointer; font-weight: 700; }
button.reset-btn:hover { border-color: var(--mut); }
.result { display: none; margin-top: 26px; background: linear-gradient(135deg, var(--plum), #4e2750); border-radius: 14px; padding: 28px; color: #fff; border: 2px solid var(--gold); }
.result.show { display: block; animation: festIn .35s ease; }
.result .big { font-family: var(--mono); font-size: 2rem; font-weight: 700; color: var(--gold); }
.result .rrow { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .95rem; font-family: var(--mono); }
.result .rrow:last-child { border-bottom: none; }
.result .rrow span:first-child { color: #e6cfa0; }
.result .note { font-size: .85rem; color: #e6cfa0; margin-top: 10px; }
article.prose { margin: 36px 0; max-width: 800px; }
article.prose h1 { font-size: 1.6rem; margin: 34px 0 12px; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 12px; }
article.prose h3 { font-size: 1.16rem; margin: 24px 0 8px; }
article.prose p, article.prose li { margin-bottom: 10px; color: #4e3649; }
article.prose ul, article.prose ol { padding-left: 22px; }
.warnbox { background: var(--gold-pale); border: 2px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #6b4a12; }
.warnbox strong { text-transform: uppercase; letter-spacing: .04em; }
.tipbox { background: #f3ecf3; border: 2px solid var(--plum); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #4a2b4a; }
.example { background: var(--paper); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; box-shadow: var(--shadow); border-left: 6px solid var(--gold); font-size: .93rem; }
.faq details { background: var(--paper); border-radius: var(--radius); margin-bottom: 10px; padding: 16px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; font-family: var(--serif); }
.faq p { margin-top: 8px; color: var(--mut); font-size: .94rem; }
.cta-band { background: linear-gradient(120deg, var(--plum-deep), var(--plum)); border-radius: 16px; padding: 54px 36px; text-align: center; color: #eadfc4; margin: 60px 0; border: 2px solid var(--gold); }
.cta-band h2 { color: #fff; font-size: 2.1rem; margin-bottom: 10px; }
.cta-band h2 .go { color: var(--gold); }
.cta-band p { margin-bottom: 26px; }
footer.site { background: var(--plum-deep); color: #c9aebf; padding: 54px 0 28px; margin-top: 64px; font-size: .9rem; border-top: 3px solid var(--gold); }
footer.site .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h4 { color: var(--gold); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
footer.site a { color: #eadfc4; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--gold); }
footer.site .brand { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; color: #a07f95; font-size: .82rem; font-family: var(--mono); }
@keyframes festIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .hero { padding: 64px 0; } .hero h1 { font-size: 2rem; }
  .split { grid-template-columns: 1fr; gap: 26px; } .split.flip > div:first-child { order: 0; }
  .calc { padding: 26px 22px; } .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; }
}
