/* ══════════════════════════════════════════════════════════════════════
   ANFRAGE-KONFIGURATOR — für dunkle Sektionen (Schlossgrün)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Sektion für neue Seiten (Tagungen, Feiern) ── */
.ak-sektion { background: var(--forest); padding: 72px 22px; scroll-margin-top: 70px; }
.ak-sektion-wrap { max-width: 1240px; margin: 0 auto; display: grid; gap: 44px; }
.ak-sektion-links h2 { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(28px,3vw,46px); font-style: italic; font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 22px; }
.ak-sektion-links p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.62); margin-bottom: 28px; }
.ak-punkt { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,.7); }
.ak-punkt::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.ak-sektion-tel { margin-top: 30px; font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.ak-sektion-tel a { color: #fff; border-bottom: 1px solid rgba(176,141,76,.6); padding-bottom: 2px; }
@media (min-width: 768px) { .ak-sektion { padding: 96px 48px; } }
@media (min-width: 1100px) {
  .ak-sektion { padding: 110px 80px; }
  .ak-sektion-wrap { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 80px; align-items: start; }
  .ak-sektion-links { position: sticky; top: 120px; }
}

/* ── Grundgerüst ── */
.ak { --ak-line: rgba(237,232,204,.16); --ak-text: rgba(237,232,204,.72); color: #fff; font-family: 'Libre Baskerville', Georgia, serif; scroll-margin-top: 90px; min-width: 0; }
.ak .ak-form { display: block; }
.ak fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ak-panel { outline: none; animation: akRein .45s var(--ease2, ease) both; }
@keyframes akRein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ak-panel, .ak-karte, .ak-summe { animation: none !important; transition: none !important; } }

/* ── Fortschritt ── */
.ak-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 34px; padding: 0; counter-reset: none; }
.ak-steps li { flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(237,232,204,.38); }
.ak-steps li::before { content: ''; height: 2px; background: var(--ak-line); transition: background .4s; }
.ak-steps li.is-done::before, .ak-steps li.is-current::before { background: var(--gold); }
.ak-steps li.is-current { color: #fff; }
.ak-steps li.is-done { color: rgba(237,232,204,.65); }
.ak-steps-n { display: none; }
.ak-steps-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .ak-steps li:not(.is-current) .ak-steps-t { visibility: hidden; } }

/* ── Fragen ── */
.ak-kopf { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.ak-feld + .ak-feld { margin-top: 34px; }
.ak-frage { display: block; font-size: clamp(19px, 2vw, 24px); font-style: italic; line-height: 1.35; color: #fff; margin-bottom: 16px; padding: 0; }
.ak-optional { font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(237,232,204,.4); margin-left: 6px; vertical-align: middle; }

/* ── Karten ── */
.ak-karten { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .ak-karten { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ak-karten--eins { grid-template-columns: 1fr !important; }
.ak-karten--klein { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 560px) { .ak-karten--klein { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.ak-karte {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  min-height: 64px; padding: 18px 48px 18px 20px; cursor: pointer;
  border: 1px solid var(--ak-line); background: rgba(255,255,255,.035);
  transition: border-color .25s, background .25s, transform .25s var(--ease2, ease), box-shadow .25s;
}
.ak-karte:hover { border-color: rgba(176,141,76,.55); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.ak-karte input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ak-karte:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.ak-karte.is-on { border-color: var(--gold); background: rgba(176,141,76,.14); box-shadow: inset 0 0 0 1px var(--gold); }
.ak-karte-titel { font-size: 16px; line-height: 1.35; color: #fff; }
.ak-karte-text { font-size: 13px; line-height: 1.65; color: var(--ak-text); }
.ak-karte-preis { margin-top: 4px; font-size: 15px; color: var(--gold); letter-spacing: .02em; }
.ak-karte-haken {
  position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(237,232,204,.35); display: grid; place-items: center; color: transparent;
  transition: background .25s, border-color .25s, color .25s;
}
.ak-karte-haken svg { width: 14px; height: 14px; }
.ak-karte.is-on .ak-karte-haken { background: var(--gold); border-color: var(--gold); color: #fff; }
.ak-karten--klein .ak-karte { min-height: 54px; padding: 15px 40px 15px 16px; justify-content: center; }
.ak-karten--klein .ak-karte-haken { top: 50%; margin-top: -11px; right: 12px; }

/* Mehrfach-Auswahl als Chips */
.ak-karten--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ak-karten--chips .ak-karte { min-height: 46px; padding: 12px 18px 12px 46px; border-radius: 999px; justify-content: center; }
.ak-karten--chips .ak-karte:hover { transform: none; }
.ak-karten--chips .ak-karte-titel { font-size: 14px; }
.ak-karten--chips .ak-karte-haken { left: 14px; right: auto; top: 50%; margin-top: -10px; width: 20px; height: 20px; }

/* Anlass-Auswahl größer */
.ak-karten--anlass .ak-karte { min-height: 104px; padding: 24px 52px 22px 24px; }
.ak-karten--anlass .ak-karte-titel { font-size: 19px; font-style: italic; }

/* ── Eingaben ── */
.ak-raster { display: grid; grid-template-columns: 1fr; gap: 18px 16px; }
@media (min-width: 560px) { .ak-raster { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ak-eingabe { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ak-eingabe + .ak-eingabe, .ak-raster + .ak-eingabe { margin-top: 0; }
.ak-raster + .ak-eingabe { margin-top: 18px; }
.ak-eingabe label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(237,232,204,.6); }
.ak-eingabe input, .ak-eingabe textarea {
  width: 100%; min-height: 50px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 0;
  color: #fff; font-family: inherit; font-size: 16px; padding: 13px 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .25s, background .25s; color-scheme: dark;
}
.ak-eingabe textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.ak-eingabe input::placeholder, .ak-eingabe textarea::placeholder { color: rgba(255,255,255,.3); }
.ak-eingabe input:focus, .ak-eingabe textarea:focus { border-color: var(--gold); background: rgba(255,255,255,.09); }
.ak-hinweis { font-size: 11px; color: rgba(237,232,204,.4); }
.ak-flexibel { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--ak-text); }
.ak-flexibel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ak-box { width: 22px; height: 22px; border: 1px solid rgba(237,232,204,.4); display: grid; place-items: center; color: transparent; flex-shrink: 0; transition: background .2s, border-color .2s; }
.ak-box svg { width: 14px; height: 14px; }
.ak-flexibel input:checked + .ak-box { background: var(--gold); border-color: var(--gold); color: #fff; }
.ak-flexibel input:focus-visible + .ak-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.ak-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Übersicht ── */
.ak-uebersicht { margin-top: 28px; padding: 22px 22px 8px; border: 1px solid var(--ak-line); background: rgba(0,0,0,.12); }
.ak-uebersicht-t { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ak-uebersicht dl { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: 0 16px; font-size: 13px; line-height: 1.55; }
.ak-uebersicht dt, .ak-uebersicht dd { padding: 9px 0; border-top: 1px solid rgba(237,232,204,.1); }
.ak-uebersicht dt { color: rgba(237,232,204,.55); }
.ak-uebersicht dd { color: #fff; }
.ak-recht { margin-top: 18px; font-size: 12px; line-height: 1.7; color: rgba(237,232,204,.5); }
.ak-recht a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ── Navigation ── */
.ak-fehler { min-height: 20px; margin-top: 18px; font-size: 14px; line-height: 1.6; color: #f3c98b; }
.ak-fehler a { color: #fff; text-decoration: underline; }
.ak-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; }
.ak-weiter, .ak-zurueck { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; font-family: inherit; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.ak-weiter { padding: 0 30px; background: var(--gold); color: #fff; border: 0; flex: 1; max-width: 300px; margin-left: auto; }
.ak-weiter:hover { background: #9a7a3e; transform: translateY(-2px); }
.ak-weiter:disabled { opacity: .6; cursor: wait; transform: none; }
.ak-zurueck { padding: 0 6px; color: rgba(237,232,204,.65); background: none; border: 0; }
.ak-zurueck:hover { color: #fff; }
.ak-weiter svg, .ak-zurueck svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s; }
.ak-weiter:hover svg { transform: translateX(3px); }
.ak-zurueck:hover svg { transform: translateX(-3px); }

/* ── Live-Summe ── */
.ak-summe { display: none; margin-top: 26px; padding: 18px 20px; border-top: 1px solid var(--gold); background: rgba(0,0,0,.16); gap: 6px 20px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.ak-summe.is-on { display: flex; }
.ak-summe-anlass { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(237,232,204,.6); }
.ak-summe-rechts { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; margin-left: auto; }
.ak-summe-wert { font-size: 28px; color: #fff; font-style: italic; line-height: 1.1; }
.ak-summe-detail { font-size: 12px; color: rgba(237,232,204,.55); }

/* ── Danke ── */
.ak-danke { padding: 44px 6px; text-align: center; outline: none; animation: akRein .5s var(--ease2, ease) both; }
.ak-danke-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #fff; margin-bottom: 24px; }
.ak-danke-icon svg { width: 30px; height: 30px; }
.ak-danke-t { font-size: clamp(24px,2.6vw,32px); font-style: italic; margin-bottom: 14px; }
.ak-danke p { font-size: 15px; line-height: 1.8; color: rgba(237,232,204,.8); max-width: 460px; margin: 0 auto 10px; }
.ak-danke strong { color: #fff; font-weight: 400; font-style: italic; }
.ak-danke-tel a { color: #fff; border-bottom: 1px solid var(--gold); }

/* ── Ohne JavaScript ── */
.ak-ohnejs { font-size: 15px; line-height: 1.8; color: rgba(237,232,204,.8); }
.ak-ohnejs a { color: #fff; text-decoration: underline; }

/* Altersgruppen-Hinweis (Babys 0–3, Kinder 4–12, ab 12 Erwachsene) */
.ak-alter { grid-column: 1 / -1; margin: -4px 0 0; font-size: 13px; line-height: 1.65; color: rgba(237,232,204,.6); }
