/* =========================================================
   butter.fly event boutique – Stylesheet
   Marke: Noto Sans, Logo-Orange #FE8D4C, Kleinschreibung.
   Palette "glut & beton" – abgeleitet aus den Fotos der Location:
   warmes Schwarz (Abend), Kalk/Beton (Wände), Eiche (Tische), Glut (Lampenlicht).
   ========================================================= */

:root {
  /* dunkel – abends */
  --night: #14110e;        /* warmes Schwarz statt reinem Schwarz */
  --espresso: #1d1915;     /* Flächen */
  --espresso-2: #27211b;
  --line: #352e26;
  --linen: #f3ede3;        /* Text auf dunkel */
  --muted: #a99f92;

  /* hell – tagsüber */
  --kalk: #eee8de;         /* Betonwand im Tageslicht */
  --kalk-2: #e5ddd0;
  --ink: #1b1713;
  --ink-muted: #6b6258;

  /* Akzente */
  --orange: #ff8737;       /* Logo-Orange (aus der Logodatei) – einzige Signalfarbe */
  --orange-deep: #b9581f;  /* Orange auf hellem Grund (Kontrast) */
  --eiche: #a8743f;        /* Holz – sparsam für Details */

  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[id] { scroll-margin-top: 80px; } /* Sprungziele nicht unter der fixen Kopfzeile verstecken */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--linen);
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; }
.accent { color: var(--orange); }
.nw { white-space: nowrap; } /* Markenname nicht mitten in "coffee & cocktails." umbrechen */
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--light { background: var(--kalk); color: var(--ink); }
.section--light .muted, .section--light .lead { color: var(--ink-muted); }
.section--light .accent { color: var(--orange-deep); }
.section--surface { background: var(--espresso); }

/* Markenstimme: klein, ruhig */
.eyebrow { display: inline-block; font-size: .9rem; font-weight: 500; color: var(--orange); margin-bottom: 1.1rem; letter-spacing: .01em; }
.section--light .eyebrow { color: var(--orange-deep); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 600px; font-weight: 300; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--night); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px;
  font: 500 .98rem/1 var(--font); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--orange); color: var(--night); }
.btn--primary:hover { background: #ff9d5a; }
.btn--ghost { border-color: rgba(243,237,227,.35); color: var(--linen); background: transparent; }
.btn--ghost:hover { border-color: var(--linen); }
.section--light .btn--ghost { border-color: rgba(27,23,19,.3); color: var(--ink); }
.section--light .btn--primary { background: var(--ink); color: var(--kalk); }
.section--light .btn--primary:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.link-arrow { color: var(--orange); font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.section--light .link-arrow { color: var(--orange-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,17,14,.8);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(243,237,227,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: .7em; text-decoration: none; white-space: nowrap; }
.logo img { height: 26px; width: auto; }
.logo .logo__sub { padding-left: .7em; border-left: 1px solid var(--line); line-height: 1.2; }
.logo__mark { font-weight: 600; font-size: 1.45rem; color: var(--orange); letter-spacing: -0.03em; }
.logo__sub { font-size: .9rem; font-weight: 300; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .98rem; font-weight: 300; color: #e2dbd0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav .btn { padding: .65em 1.3em; color: var(--night); font-weight: 500; }
.nav .btn[aria-current="page"], .nav .btn:hover { color: var(--night); }
.nav .lang { font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .3em .75em; letter-spacing: .04em; }
@media (max-width: 860px) { .nav .lang { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; font-size: 1.1rem; } }
.nav .btn:hover { color: var(--night); }
.nav-toggle { display: none; background: none; border: 0; color: var(--linen); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 420px) { .logo__sub { display: none; } }

/* ---------- Bilder ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--espresso); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.15) 0%, rgba(20,17,14,.45) 50%, var(--night) 100%), linear-gradient(90deg, rgba(20,17,14,.7) 0%, transparent 65%); }
.hero__content { position: relative; padding-bottom: clamp(56px, 9vw, 110px); padding-top: 140px; }
.hero h1 { max-width: 14ch; }
.hero .lead { color: #d9d1c5; }

/* Fallback-Platzhalter */
.ph { width: 100%; height: 100%; min-height: 220px; background: linear-gradient(135deg, var(--espresso-2), var(--night)); }

/* ---------- Fakten (inline, ruhig) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.fact__num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; color: var(--linen); line-height: 1; letter-spacing: -0.03em; }
.fact__label { margin-top: 8px; font-size: .9rem; color: var(--muted); font-weight: 300; }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* ---------- Journey-Split ---------- */
.journeys { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.journey { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 600px; border-radius: var(--radius); overflow: hidden; text-decoration: none; isolation: isolate; }
.journey img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.journey::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(20,17,14,.6) 55%, rgba(20,17,14,.95) 100%); }
.journey:hover img { transform: scale(1.04); }
.journey__body { padding: clamp(26px, 4vw, 44px); }
.journey__num { font-size: .9rem; color: var(--orange); }
.journey h3 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 500; margin: .3em 0 .35em; letter-spacing: -0.03em; }
.journey p { color: #d6cec2; max-width: 40ch; font-weight: 300; }
@media (max-width: 820px) { .journeys { grid-template-columns: 1fr; } .journey { min-height: 480px; } }

/* ---------- USP ---------- */
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 56px; }
.usp__item { border-top: 1px solid currentColor; border-color: rgba(27,23,19,.18); padding-top: 22px; }
.usp__item h3 { font-weight: 500; }
.usp__item p { color: var(--ink-muted); margin: 0; }
.section:not(.section--light) .usp__item { border-color: var(--line); }
.section:not(.section--light) .usp__item p { color: var(--muted); }
@media (max-width: 820px) { .usp { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 290px 290px; gap: 14px; margin-top: 48px; }
.gallery .media:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 200px 200px; }
  .gallery .media:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---------- Karten-Slider ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.rail-head h2 { margin: 0; }
.rail-controls { display: flex; gap: 8px; flex-shrink: 0; }
.rail-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(27,23,19,.2); background: transparent; color: inherit; cursor: pointer; font-size: 1.1rem; transition: background .2s; }
.rail-btn:hover { background: rgba(27,23,19,.06); }
.section:not(.section--light) .rail-btn { border-color: var(--line); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: var(--gutter);
  padding: 4px var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: #faf7f2; color: var(--ink); border-radius: var(--radius); padding: 28px; min-height: 320px; display: flex; flex-direction: column; }
.card__tag { font-size: .85rem; color: var(--orange-deep); }
.card h3 { margin: .5em 0 .4em; font-weight: 500; }
.card p { color: var(--ink-muted); font-size: .95rem; font-weight: 300; }
.card__meta { margin-top: auto; padding-top: 16px; font-size: .88rem; color: var(--ink-muted); border-top: 1px solid var(--kalk-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__meta a { color: var(--orange-deep); text-decoration: none; font-weight: 500; }

/* ---------- Split-Feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split .media { aspect-ratio: 4/5; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .split .media { aspect-ratio: 4/3; } }

.list-clean { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0; }
.list-clean li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.list-clean li strong { font-weight: 500; display: block; }
.section--light .list-clean li { border-color: var(--kalk-2); }

/* ---------- Kapazitäten ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cap__num { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.cap__title { margin-top: 10px; color: var(--orange); }
.cap p { margin: 10px 0 0; font-weight: 300; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; list-style: none; padding: 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; color: var(--orange); font-size: .95rem; margin-bottom: 8px; }
.steps h3 { font-weight: 500; }
.steps p { font-weight: 300; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.section--light .faq details { border-color: var(--kalk-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--orange); transition: transform .25s; }
.section--light .faq summary::after { color: var(--orange-deep); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); font-weight: 300; }
.section--light .faq details p { color: var(--ink-muted); }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(40px, 7vw, 88px); isolation: isolate; text-align: center; background: var(--espresso); border: 1px solid var(--line); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band:has(img)::before { content: ""; position: absolute; inset: 0; background: rgba(20,17,14,.72); z-index: -1; }
.cta-band .lead { margin: 0 auto; color: #d9d1c5; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Formular ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-aside { position: sticky; top: 100px; }
@media (max-width: 900px) { .form-aside { position: static; } }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-weight: 300; }
.contact-lines a { text-decoration: none; color: var(--orange); }

.form { background: var(--espresso); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 30px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { text-align: center; padding: 12px 10px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .98rem; color: var(--muted); transition: background .25s, color .25s; }
.segmented input:checked + label { background: var(--orange); color: var(--night); }
.segmented input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }

fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-size: 1.15rem; font-weight: 500; margin-bottom: 14px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.grid-2 .field, .grid-3 .field { margin-bottom: 0; }
.field label, .field .label { font-size: .88rem; font-weight: 500; color: #ddd5c9; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--linen);
  background: var(--night); border: 1px solid #3d352c; border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s; color-scheme: dark;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input[type="checkbox"] { width: auto; padding: 0; }
/* Datumsfeld: einheitliches Format (TT.MM.JJJJ / MM/DD/YYYY), Kalender über Symbol */
.date-wrap { position: relative; }
.date-wrap input[type="text"] { padding-right: 48px; font-variant-numeric: tabular-nums; }
.date-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.date-btn:hover, .date-btn:focus-visible { color: var(--orange); background: rgba(255,135,55,.1); }
.date-btn svg { width: 20px; height: 20px; }
.field .date-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.field input:disabled { opacity: .45; }
.hint { font-size: .82rem; color: var(--muted); font-weight: 300; }
.hint:empty { display: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,135,55,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b5b; }
.field .error { color: #ff8a7d; font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips label > span { display: inline-block; padding: 9px 16px; border: 1px solid #3d352c; border-radius: 999px; font-size: .92rem; font-weight: 400; cursor: pointer; transition: all .2s; user-select: none; }
.chips input:checked + span { background: rgba(255,135,55,.12); border-color: var(--orange); color: var(--orange); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9rem; color: var(--muted); align-items: start; font-weight: 300; }
.consent input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; }
.only-b2b, .only-b2c { display: contents; }
.form[data-journey="b2c"] .only-b2b, .form[data-journey="b2b"] .only-b2c { display: none; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form.is-sent > *:not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: var(--night); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; font-weight: 300; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .95rem; color: var(--muted); font-weight: 300; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .95rem; font-weight: 500; color: var(--linen); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .journey img { transition: none; }
}

.mt-2 { margin-top: 2rem; } .center { text-align: center; } .mx-auto { margin-left: auto; margin-right: auto; }
