/* ==========================================================================
   Bricks-Grundstile neutralisieren
   Bricks setzt in seiner Kaskadenebene „bricks" eigene Grundwerte (Schriftgröße 62,5 %, Rahmenfarbe,
   Überschriften …). Das Design baut auf den Browser-Standards auf, deshalb hier zurück auf diese
   („revert"). Ohne Gewicht (:where), die Regeln des Designs gehen vor.
   ========================================================================== */
:where(html) { font-size: 100%; line-height: normal; }
:where(body) { font-size: revert; line-height: revert; color: revert; font-family: revert; background-position: revert; transition: none; }
:where([class*=brxe-]) { max-width: revert; }
:where(*) { border-color: revert; }
:where(a) { color: revert; text-decoration: revert; cursor: revert; border-color: revert; }
:where(h1, h2, h3, h4, h5, h6) { margin: revert; font-size: revert; line-height: revert; }
:where(h1, h2, h3, h4, h5, h6) :where(a) { color: revert; }
:where(p) { margin-block: revert; }
:where(figure) { margin: revert; }
:where(img) { height: revert; max-width: revert; vertical-align: revert; outline: revert; }
:where(button) { border: revert; cursor: revert; outline: revert; padding: revert; }
:where(button, input, optgroup, select, textarea) { font-family: revert; font-size: revert; line-height: revert; margin: revert; text-align: revert; }
:where(hr) { border: revert; margin: revert; }
:where(label) { color: revert; display: revert; font-weight: revert; margin-bottom: revert; }
:where(select) { appearance: revert; background: revert; border-radius: revert; }
:where(svg:not([width])) { min-width: revert; }
:where(svg:not([height])) { min-height: revert; }
:where(:before, :after) { outline: revert; }
:where(ul, ol) { padding-inline-start: revert; margin: revert; }
:where(figcaption) { color: revert; font-size: revert; margin: revert; text-align: revert; }
:where(details) { display: revert; }

/* Konferenzraum Hamburg – Prototyp Startseite (Basis für Bricks) */

@font-face { font-family: "Urbanist"; src: url("../fonts/Urbanist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("../fonts/Urbanist-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("../fonts/Urbanist-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --kh-pink: #ff2950;
  --kh-pink-dark: #e01a40;
  --kh-navy: #07324d;
  --kh-text: #303334;
  --kh-muted: #5b6366;
  --kh-tint: #f2f8fc;
  --kh-sky: #def2ff;
  --kh-line: #e3e8eb;
  --kh-white: #fff;
  --kh-radius: 25px;
  --kh-radius-sm: 15px;
  --kh-shadow: 0 3px 25px rgba(48, 51, 52, .1);
  --kh-shadow-btn: 0 10px 15px -3px rgba(0, 0, 0, .11);
  --kh-wrap: 1340px;
  --kh-gutter: clamp(16px, 3.5vw, 50px);
  --kh-sec: clamp(56px, 7vw, 100px);
  --kh-header: 110px;
  --kh-logo: 200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Urbanist", system-ui, sans-serif;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  color: var(--kh-text);
  background: var(--kh-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 800; color: var(--kh-text); margin: 0 0 .55em; line-height: 1.18; text-wrap: balance; }
h2 { font-size: clamp(28px, 2.8vw, 40px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
figure { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--kh-navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--kh-pink); outline-offset: 3px; }

.kh-wrap { max-width: calc(var(--kh-wrap) + 2 * var(--kh-gutter)); margin: 0 auto; padding: 0 var(--kh-gutter); }

/* ---------- Header ---------- */
/* Header fest über dem Inhalt: Schrumpfen verschiebt keinen Inhalt (kein Layout-Sprung) */
body { padding-top: var(--kh-header); }
.kh-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kh-header.is-scrolled { border-color: var(--kh-line); box-shadow: 0 4px 20px rgba(7, 50, 77, .06); }
.kh-header__in, .kh-logo img { transition: height .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1); }
@media (min-width: 901px) {
  .kh-header.is-scrolled .kh-header__in { height: 76px; }
  .kh-header.is-scrolled .kh-logo img { width: 160px; }
}
.kh-header__in { display: flex; align-items: center; justify-content: space-between; height: var(--kh-header); gap: 24px; }
.kh-logo { flex: 0 0 auto; }
.kh-logo img { width: var(--kh-logo); height: auto; }
.kh-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); flex: 1 1 auto; justify-content: center; }
.kh-nav__tel { margin-left: auto; }
.kh-nav__wa { display: none; }
@media (min-width: 1101px) {
  .kh-nav { display: contents; }
  .kh-nav__links { display: flex; gap: clamp(14px, 2.2vw, 34px); flex: 1 1 auto; justify-content: center; }
}
.kh-nav a { text-decoration: none; font-size: 17px; white-space: nowrap; font-weight: 400; color: var(--kh-navy); padding: 6px 0; position: relative; }
.kh-nav a[aria-current="page"] { font-weight: 700; }
.kh-nav a:not(.kh-nav__tel)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--kh-pink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.kh-nav a:not(.kh-nav__tel):hover::after, .kh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.kh-nav__tel { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: 0 0 auto; background: var(--kh-navy); color: #fff !important; font-weight: 700 !important; padding: 9px 20px !important; border-radius: 40px; transition: background .2s; }
.kh-nav__tel:hover { background: #0b4669; }
.kh-nav__tel svg { width: 16px; height: 16px; fill: currentColor; }
.kh-burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.kh-burger span { display: block; height: 3px; background: var(--kh-navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.kh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.kh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1101px) and (max-width: 1260px) { .kh-nav__links { gap: 18px !important; } .kh-nav a { font-size: 16px; } .kh-nav__tel { padding: 9px 16px !important; } }

/* ---------- Buttons ---------- */
.kh-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.kh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--kh-pink); color: #fff; text-decoration: none; font-weight: 800; font-size: clamp(17px, 1.3vw, 20px); padding: 12px 30px; border-radius: 40px; border: 3px solid var(--kh-pink); box-shadow: var(--kh-shadow-btn); transition: background .2s, border-color .2s, transform .2s; }
.kh-btn:hover { background: var(--kh-pink-dark); border-color: var(--kh-pink-dark); transform: translateY(-2px); }
.kh-btn--light { background: #fff; color: var(--kh-pink); border-color: #fff; }
.kh-btn--light:hover { background: #fff; border-color: #fff; color: var(--kh-pink-dark); }
.kh-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Hero (nah am Original) ---------- */
.kh-hero {
  position: relative;
  min-height: calc(100vh - var(--kh-header));
  min-height: calc(100svh - var(--kh-header));
  display: flex; justify-content: center; align-items: flex-start;
  text-align: center;
  background: url("../img/foyer-mit-personen-2-1400.webp") center top / cover no-repeat;
  padding: clamp(48px, 7vw, 96px) var(--kh-gutter) 0;
}
.kh-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.85) 30%, rgba(255,255,255,.81) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 100%);
}
.kh-hero__content { position: relative; max-width: 980px; }
.kh-hero h1 { font-size: clamp(34px, 4vw, 57.6px); line-height: 1.17; margin-bottom: .45em; }
.kh-hero__sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 760px; margin: 0 auto 1.6em; }

/* Einlaufen von unten – reines CSS, kein JavaScript.
   Endzustand ist sichtbar; falls die Animation nicht läuft, steht der Text trotzdem da. */
@keyframes kh-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.kh-rise { animation: kh-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.kh-rise--2 { animation-delay: .15s; }
.kh-rise--3 { animation-delay: .3s; }

/* Hero-Buttons: „Mehr erfahren“ wo der Header die Telefonnummer zeigt, sonst Telefon */
.kh-only-compact { display: none; }
@media (max-width: 1100px) { .kh-only-wide { display: none; } .kh-only-compact { display: inline-flex; } }
.kh-btn--more svg { width: 18px; height: 18px; transition: transform .25s; }
.kh-btn--more:hover svg { transform: translateY(3px); }

/* ---------- Sektionen ---------- */
/* Unterseiten: Seitenkopf statt Vollbild-Hero */
.kh-pagehead { padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.kh-pagehead__in { max-width: calc(1080px + 2 * var(--kh-gutter)); }
.kh-pagehead h1 { font-size: clamp(34px, 4vw, 57.6px); line-height: 1.17; margin-bottom: .5em; }
.kh-pagehead__text { max-width: 980px; margin: 0 auto 1.4em; }
.kh-pagehead + .kh-sec { padding-top: 0; }
.kh-split__cta { margin: 1.6em 0 0; }
.kh-split__note { margin: 1.4em 0 0; }
.kh-cta__text { color: rgba(255, 255, 255, .92); max-width: 760px; margin: -.2em auto 1.6em; text-shadow: 0 1px 12px rgba(7, 50, 77, .4); }

/* Fehlerseite */
.kh-pagehead--404 { padding: clamp(80px, 12vw, 160px) 0; }
.kh-btn--outline { border-color: var(--kh-line); box-shadow: none; }

/* Rechtstexte (Impressum, Datenschutz): einspaltig mit Bild */
.kh-pagehead--legal { padding-bottom: clamp(24px, 3vw, 40px); }
.kh-pagehead--legal h1 { margin-bottom: 0; }
.kh-photo--wide { margin-bottom: clamp(40px, 5vw, 72px); }
.kh-photo.kh-photo--wide img { aspect-ratio: 21 / 8; }
.kh-photo--wide img.kh-img--people { object-position: 50% 78%; }
.kh-legal__text { max-width: 760px; margin: 0 auto; }
.kh-legal__text h2 { font-size: clamp(20px, 1.6vw, 24px); color: var(--kh-navy); margin: 1.6em 0 .5em; hyphens: manual; }
.kh-legal__text > p:first-child strong { font-size: 1.1em; color: var(--kh-navy); }
.kh-legal a { color: var(--kh-navy); text-decoration-color: var(--kh-pink); text-underline-offset: 3px; }
.kh-legal a:hover { color: var(--kh-pink); }
.kh-legal__text h2 { scroll-margin-top: calc(var(--kh-header) + 24px); }
.kh-legal__text h3 { font-size: clamp(18px, 1.35vw, 20px); color: var(--kh-text); margin: 1.5em 0 .4em; hyphens: manual; }
.kh-legal__text h4 { font-size: 17px; font-weight: 700; color: var(--kh-navy); margin: 1.2em 0 .3em; }
.kh-legal__text ul { padding-left: 1.2em; margin: 0 0 1em; }
.kh-legal__text li { margin-bottom: .5em; }
.kh-legal__text li::marker { color: var(--kh-pink); }
.kh-legal__text a { overflow-wrap: anywhere; }
.kh-toc { margin: 0 0 clamp(32px, 4vw, 48px); padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px); border-radius: var(--kh-radius-sm); background: var(--kh-tint); }
.kh-toc .kh-eyebrow { margin-bottom: 10px; }
.kh-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kh-toc a { font-weight: 700; text-decoration: none; }
.kh-toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .kh-photo.kh-photo--wide img { aspect-ratio: 4 / 3; } }

/* Kontaktseite */
.kh-contact__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.kh-form { background: #fff; border: 1px solid var(--kh-line); border-radius: var(--kh-radius); box-shadow: var(--kh-shadow); padding: clamp(24px, 3.4vw, 48px); }
.kh-form__hint { font-size: 14px; color: var(--kh-muted); margin: 0 0 18px; }
.kh-form__h { font-size: clamp(19px, 1.5vw, 22px); color: var(--kh-navy); margin: 34px 0 16px; padding-top: 26px; border-top: 1px solid var(--kh-line); }
.kh-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.kh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kh-field--full { grid-column: 1 / -1; }
.kh-field label, .kh-field legend { font-size: 15px; font-weight: 700; color: var(--kh-text); padding: 0; }
.kh-field legend { margin-bottom: 8px; }
.kh-req { color: var(--kh-pink); }
.kh-form input[type=text], .kh-form input[type=email], .kh-form input[type=tel], .kh-form input[type=date], .kh-form select, .kh-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--kh-text); background: #fff; border: 1px solid #cfd8de; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.kh-form textarea { resize: vertical; min-height: 130px; }
.kh-form input:focus, .kh-form select:focus, .kh-form textarea:focus { outline: none; border-color: var(--kh-navy); box-shadow: 0 0 0 3px rgba(7, 50, 77, .12); }
.kh-dt { display: grid; grid-template-columns: 1fr 92px 92px; gap: 8px; }
.kh-checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.kh-check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 400; cursor: pointer; line-height: 1.4; }
.kh-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--kh-pink); flex: 0 0 auto; }
.kh-check--consent { margin-top: 26px; font-size: 14px; color: var(--kh-muted); }
.kh-check--consent a { color: var(--kh-navy); }
.kh-form__submit { margin: 26px 0 0; }
.kh-contact__aside { position: sticky; top: calc(var(--kh-header) + 24px); display: grid; gap: 12px; }
.kh-cbox { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--kh-radius-sm); background: var(--kh-tint); border: 1px solid var(--kh-line); text-decoration: none; color: var(--kh-text); transition: border-color .2s, transform .2s; }
a.kh-cbox:hover { border-color: #b9cbd6; transform: translateY(-1px); }
.kh-cbox__ico { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--kh-navy); display: grid; place-items: center; }
.kh-cbox__ico svg { width: 20px; height: 20px; fill: #fff; }
.kh-cbox__label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kh-pink); }
.kh-cbox__value { display: block; font-weight: 700; color: var(--kh-navy); overflow-wrap: anywhere; line-height: 1.35; }
.kh-map { display: block; margin-top: 6px; border-radius: var(--kh-radius-sm); overflow: hidden; text-decoration: none; box-shadow: var(--kh-shadow); }
.kh-map__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.kh-map__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.kh-map:hover .kh-map__img img { transform: scale(1.04); }
.kh-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--kh-navy); color: #fff; font-weight: 700; }
.kh-map__bar svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .kh-contact__grid { grid-template-columns: 1fr; } .kh-contact__aside { position: static; } }
@media (max-width: 600px) { .kh-form__grid, .kh-checks-grid { grid-template-columns: 1fr; } .kh-dt { grid-template-columns: 1fr 1fr; } .kh-dt input { grid-column: 1 / -1; } }

/* Ticket-Übersicht: großes Foto (mit Parallax) und dunkelblauer Verlauf von links, Text direkt darauf */
.kh-tickets { position: relative; isolation: isolate; border-radius: var(--kh-radius); overflow: hidden; min-height: clamp(440px, 42vw, 620px); display: flex; align-items: center; padding: clamp(28px, 4vw, 64px); }
.kh-tickets .kh-tickets__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.kh-photo.kh-tickets .kh-tickets__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.kh-tickets::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 50, 77, .92) 0%, rgba(7, 50, 77, .82) 32%, rgba(7, 50, 77, .35) 58%, rgba(7, 50, 77, 0) 78%); }
.kh-tickets__card { width: min(420px, 100%); color: #fff; }
.kh-tickets__title { color: #fff; font-size: clamp(24px, 2.2vw, 32px); margin-bottom: .8em; }
.kh-tickets__list { list-style: none; margin: 0; padding: 0; }
.kh-tickets__list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 32px; position: relative; border-top: 1px solid rgba(255, 255, 255, .18); }
.kh-tickets__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.kh-tickets__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--kh-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.kh-tickets__name { font-weight: 800; font-size: 19px; }
.kh-tickets__note { font-size: 16px; color: rgba(255, 255, 255, .78); }
/* Ticket-Liste ab Tablet: Hinweis direkt hinter dem Namen in einer Zeile (auf dem Handy darunter) */
@media (min-width: 601px) { .kh-tickets__list li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; } }
.kh-tickets__cta { margin: 28px 0 0; }
/* Bild-Banner (Seminarraum): wie Tickets, Text links, niedriger */
.kh-banner { min-height: clamp(360px, 34vw, 520px); }
/* Banner mit wenig Text: Verlauf läuft weniger weit ins Bild (Coworking behält den längeren Verlauf) */
.kh-banner::after { background: linear-gradient(90deg, rgba(7, 50, 77, .9) 0%, rgba(7, 50, 77, .7) 20%, rgba(7, 50, 77, .25) 38%, rgba(7, 50, 77, 0) 52%); }
/* Bogen-Fotos: Ausschnitt nach oben (mehr Himmel, untere Kante mit Schatten abgeschnitten) */
.kh-photo img.kh-img--sky, .kh-photo.kh-tickets .kh-tickets__media img.kh-img--sky { object-position: 50% 0%; }
/* Bildausschnitt nach rechts (Coachingraum: beide Personen im schmalen Handy-Ausschnitt) */
.kh-photo img.kh-img--right, .kh-photo.kh-tickets .kh-tickets__media img.kh-img--right { object-position: 90% 50%; }
.kh-banner .kh-tickets__title { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: .5em; }
.kh-banner .kh-tickets__cta { margin-top: 0; }
/* Ticket-Box und Banner der Unterseiten, Tablet: Bild oben, Inhalt darunter auf Blau (wie auf dem Handy) */
@media (min-width: 601px) and (max-width: 900px) {
  .kh-tickets { display: block; min-height: 0; padding: 0; background: var(--kh-navy); }
  .kh-tickets .kh-tickets__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .kh-tickets::after { inset: 0 0 auto 0; height: calc((100vw - 2 * var(--kh-gutter)) * .625); background: linear-gradient(180deg, rgba(7, 50, 77, 0) 55%, var(--kh-navy) 100%); }
  .kh-tickets .kh-tickets__card { width: 100%; padding: 8px 32px 32px; }
}
/* Ticket-Box und Banner der Unterseiten, Desktop: höheres Bild ohne Verlauf, Inhalt in einer Box unten links (wie auf der alten Seite) */
@media (min-width: 901px) {
  .kh-tickets { min-height: clamp(520px, 50vw, 740px); align-items: flex-end; }
  .kh-tickets::after { display: none; }
  .kh-tickets .kh-tickets__card { width: min(470px, 100%); padding: clamp(22px, 2.4vw, 32px); border-radius: 18px; background: rgba(7, 50, 77, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 40px rgba(7, 50, 77, .25); }
  .kh-tickets .kh-tickets__title { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: .6em; }
  .kh-tickets .kh-tickets__list li { padding-top: 10px; padding-bottom: 10px; }
  .kh-tickets .kh-tickets__list li::before { top: 14px; }
  .kh-tickets .kh-tickets__cta { margin-top: 20px; }
  /* Banner (nur Überschrift und Knopf): beides nebeneinander, flache Box */
  .kh-banner .kh-tickets__card { width: auto; display: flex; align-items: center; gap: 28px; padding: 18px 18px 18px 28px; }
  .kh-banner .kh-tickets__title { margin: 0; }
  .kh-banner .kh-tickets__cta { margin: 0; }
}
/* Bestuhlungsformen als 2-spaltiges Raster */
.kh-seating { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kh-seating li { padding: 16px 18px; border-radius: var(--kh-radius-sm); background: var(--kh-tint); border: 1px solid var(--kh-line); display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.kh-seating strong { color: var(--kh-navy); font-size: 1.05em; }
.kh-seating span { font-size: .9em; color: var(--kh-muted); }
@media (max-width: 420px) { .kh-seating { grid-template-columns: 1fr; } }
.kh-pagehead__text:last-child { margin-bottom: 0; }

.kh-sec { padding: var(--kh-sec) 0; }
/* Sprungziele (z. B. Scroll-Hinweis): unter dem festen Header noch Weißraum lassen */
.kh-sec[id] { scroll-margin-top: 40px; }
.kh-sec:not(.kh-sec--tint) + .kh-sec:not(.kh-sec--tint) { padding-top: 0; } /* gleicher Abstand zwischen weißen Abschnitten */
.kh-sec--tint { background: var(--kh-tint); }

.kh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.kh-split--rev .kh-photo { order: -1; }
.kh-bistro { margin-top: var(--kh-sec); }
.kh-h2 { font-size: clamp(28px, 2.8vw, 40px); }
.kh-eyebrow { display: inline-block; margin: 0 0 14px; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kh-pink); }
.kh-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* Fotos mit Banderole */
.kh-photo { position: relative; }
.kh-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--kh-radius); }
.kh-tag { position: absolute; right: 7%; bottom: 7%; background: #fff; color: var(--kh-text); font-weight: 700; font-size: clamp(15px, 1.15vw, 18px); padding: 10px 20px; border-radius: 40px; box-shadow: var(--kh-shadow); transform: rotate(-3deg); }
.kh-tag--left { right: auto; left: 7%; }

/* Häkchen-Listen */
.kh-checks { list-style: none; margin: 1.2em 0 0; padding: 0; }
.kh-checks li { position: relative; padding: 10px 0 10px 38px; line-height: 1.4; }
.kh-checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--kh-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.kh-checks--lined li { border-bottom: 1px solid var(--kh-line); }
.kh-checks--lined li:first-child { border-top: 1px solid var(--kh-line); }


/* Akkordeons */
.kh-acc details { border-bottom: 1px solid var(--kh-line); }
.kh-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--kh-navy); font-size: clamp(17px, 1.3vw, 20px); }
.kh-acc summary::-webkit-details-marker { display: none; }
.kh-acc summary::after { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--kh-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%2307324d' stroke-width='2.5' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.kh-acc details[open] > summary::after { transform: rotate(45deg); }
.kh-acc__body { padding: 0 44px 18px 0; color: var(--kh-text); }
.kh-acc__body p:last-child { margin-bottom: 0; }
.kh-acc--plain details:first-child { border-top: 1px solid var(--kh-line); }

.kh-acc--cards { display: grid; gap: 12px; }
.kh-acc--cards details { background: #fff; border: 1px solid var(--kh-line); border-radius: var(--kh-radius-sm); transition: box-shadow .2s, border-color .2s; }
.kh-acc--cards details:hover { border-color: #c9d6de; }
.kh-acc--cards details[open] { box-shadow: var(--kh-shadow); border-color: transparent; }
.kh-acc--cards summary { padding: 18px 22px; }
.kh-acc--cards .kh-acc__body { padding: 0 22px 20px; }

/* Kopfbereich */
.kh-head { text-align: center; max-width: 860px; margin: 0 auto clamp(32px, 4vw, 56px); }

/* Flip-Boxen */
.kh-flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.kh-flip { perspective: 1200px; border-radius: var(--kh-radius-sm); }
.kh-flip:focus-visible { outline-offset: 6px; }
.kh-flip__inner { position: relative; min-height: 280px; transition: transform .7s cubic-bezier(.3, .7, .2, 1); transform-style: preserve-3d; }
.kh-flip__front, .kh-flip__back { border-radius: var(--kh-radius-sm); padding: 32px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kh-flip__front { background: #fff; box-shadow: var(--kh-shadow); }
.kh-flip__front h3 { font-size: clamp(19px, 1.5vw, 22px); color: var(--kh-navy); margin: 18px 0 0; }
.kh-flip__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--kh-sky); display: grid; place-items: center; }
.kh-flip__icon img { width: 56px; height: 56px; }
.kh-flip__back { background: var(--kh-sky); color: var(--kh-navy); }
.kh-flip__back p { margin: 0; font-size: 18px; }

/* Desktop (Maus + ab 901 px Breite): Umdrehen bei Hover/Fokus */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .kh-flip__front, .kh-flip__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .kh-flip__back { transform: rotateY(180deg); }
  .kh-flip:hover .kh-flip__inner, .kh-flip:focus-within .kh-flip__inner { transform: rotateY(180deg); }
}
/* Handy, Tablet, Touch und schmale Fenster: Vorder- und Rückseite als eine Karte */
@media not ((hover: hover) and (pointer: fine) and (min-width: 901px)) {
  .kh-flip__inner { min-height: 0; background: #fff; border-radius: var(--kh-radius-sm); box-shadow: var(--kh-shadow); overflow: hidden; }
  .kh-flip__front { box-shadow: none; padding-bottom: 12px; }
  .kh-flip__back { background: none; padding-top: 0; color: var(--kh-text); }
  .kh-flip__back p { font-size: 17px; }
}

/* CTA-Banner */
.kh-cta { position: relative; overflow: hidden; border-radius: var(--kh-radius); padding: clamp(64px, 9vw, 120px) var(--kh-gutter); text-align: center; background: var(--kh-navy) center / cover no-repeat; isolation: isolate; }
.kh-cta--teaser { background-image: url("../img/konferenzraum-teaser-1400.webp"); }
.kh-cta--bogen { background-image: url("../img/berliner-bogen-1400.webp"); }
.kh-cta::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 62% 75% at 50% 50%, rgba(7, 50, 77, .66) 0%, rgba(7, 50, 77, .45) 55%, rgba(7, 50, 77, .16) 100%); }
.kh-cta h2 { text-shadow: 0 2px 18px rgba(7, 50, 77, .35); }
.kh-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 52px); margin-bottom: .7em; }

/* Text-Zeilen (Überschrift links, Text rechts) */
.kh-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--kh-line); }
.kh-row:first-child { border-top: 0; padding-top: 0; }
.kh-row__head { position: sticky; top: calc(var(--kh-header) + 24px); align-self: start; margin: 0; }
.kh-row__body p:last-child { margin-bottom: 0; }

/* FAQ */
.kh-faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.kh-faq__head { position: sticky; top: calc(var(--kh-header) + 24px); }

/* Footer */
.kh-footer { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 140% at 85% 0%, #0d4466 0%, var(--kh-navy) 55%, #052538 100%); color: rgba(255, 255, 255, .78); font-size: 16px; padding: clamp(64px, 7vw, 96px) 0; }
.kh-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.kh-footer a:hover { color: #ffd1da; }
.kh-footer__arch { position: absolute; right: -12%; bottom: -6px; width: min(980px, 68vw); height: auto; color: #8db4c5; opacity: .09; z-index: -1; pointer-events: none; }
@media (max-width: 900px) { .kh-footer__arch { width: 130vw; right: -45vw; opacity: .07; } }
/* Handy: Bogen größer (rechts angeschnitten) und etwas deutlicher */
@media (max-width: 600px) { .kh-footer__arch { width: 175vw; right: -78vw; opacity: .13; } }
.kh-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.kh-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.kh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.kh-footer__legal { grid-column: 1; grid-row: 2; margin-top: -18px; display: flex; gap: 22px; font-size: 15px; }
.kh-footer__legal a { color: rgba(255, 255, 255, .7); }
.kh-footer__legal a:hover { color: #fff; }
.kh-footer__h { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.kh-footer ul { list-style: none; margin: 0; padding: 0; }
.kh-footer li { margin-bottom: 10px; }
.kh-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.kh-footer__links a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--kh-pink); border-right: 2px solid var(--kh-pink); transform: rotate(45deg); transition: transform .2s; }
.kh-footer__links a:hover::before { transform: translateX(3px) rotate(45deg); }
.kh-footer__ico { display: flex; gap: 10px; align-items: flex-start; }
.kh-footer__ico svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: var(--kh-pink); }

/* WhatsApp */
.kh-wa { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; height: 56px; min-width: 56px; padding: 0 14px; border-radius: 40px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(7, 50, 77, .18), 0 2px 6px rgba(7, 50, 77, .12); transition: transform .2s, box-shadow .2s, background .2s, padding .35s cubic-bezier(.2, .7, .2, 1); }
.kh-wa:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7, 50, 77, .22), 0 2px 6px rgba(7, 50, 77, .12); }
.kh-wa svg { width: 28px; height: 28px; fill: #fff; flex: 0 0 auto; }
.kh-wa__label { display: inline-block; max-width: 100px; margin-left: 10px; overflow: hidden; white-space: nowrap; transition: max-width .35s cubic-bezier(.2, .7, .2, 1), margin .35s cubic-bezier(.2, .7, .2, 1), opacity .25s; }
/* eingeklappt: nach dem ersten Scrollen (Desktop) bzw. immer (Handy) */
.kh-wa.is-compact { padding: 0 14px; }
.kh-wa.is-compact .kh-wa__label { max-width: 0; margin-left: 0; opacity: 0; }
@media (max-width: 900px) { .kh-wa .kh-wa__label { max-width: 0; margin-left: 0; opacity: 0; } }

/* ---------- Einblenden beim Scrollen ----------
   Ausgangszustand greift NUR, wenn main.js die Klasse .kh-anim auf <html> gesetzt hat.
   Ohne JavaScript (oder bei „Bewegung reduzieren“) ist alles sofort sichtbar. */
.kh-photo__frame { overflow: hidden; border-radius: var(--kh-radius); transform: translateZ(0); }
.kh-photo__frame img { border-radius: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
/* Zoom: Bild startet leicht vergrößert und gleitet ruhig auf 100 % zurück */
.kh-anim .kh-photo__frame { opacity: 0; transition: opacity .7s ease-out; }
.kh-anim .kh-photo__frame img { transform: scale(1.18); transition: transform 2s cubic-bezier(.16, 1, .3, 1); }
.kh-anim .kh-photo.is-in .kh-photo__frame { opacity: 1; }
.kh-anim .kh-photo.is-in .kh-photo__frame img { transform: none; }
.kh-anim .kh-tag { opacity: 0; transform: translateY(24px) rotate(-10deg) scale(.7); }
.kh-anim .kh-photo.is-in .kh-tag {
  opacity: 1; transform: rotate(-3deg);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .55s, opacity .3s ease-out .55s;
}
/* Parallax (Standard; Vergleich mit Zoom: ?fx=zoom): Foto gleitet im festen Rahmen langsamer als die Seite */
:root { --kh-ps: 1.3; }
@media (max-width: 900px) { :root { --kh-ps: 1.18; } }
.kh-parallax .kh-photo__frame img,
.kh-parallax.kh-anim .kh-photo__frame img,
.kh-parallax.kh-anim .kh-photo.is-in .kh-photo__frame img,
.kh-parallax .kh-photo.is-in:hover .kh-photo__frame img {
  transform: translate3d(0, var(--kh-py, 0px), 0) scale(var(--kh-ps, 1.3));
  transition: none;
  will-change: transform;
}

/* Kein Zoom beim Überfahren: die Fotos sind nicht klickbar (nur das Kartenbild auf der Kontaktseite reagiert) */

/* Kennzeichnung KI-bearbeiteter Bilder (AI Act, Art. 50) – dezent unten rechts */
.kh-photo__frame { position: relative; }
.kh-ai { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 40px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; white-space: nowrap; cursor: help; user-select: none; }
.kh-ai svg { width: 11px; height: 11px; fill: currentColor; opacity: .85; }
.kh-ai--hero { right: auto; left: var(--kh-gutter); bottom: 20px; }
.kh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .kh-ai { right: 10px; bottom: 10px; font-size: 11px; padding: 3px 8px 3px 7px; } .kh-ai--hero { left: var(--kh-gutter); right: auto; bottom: 16px; } .kh-tickets .kh-ai { top: 10px; bottom: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kh-burger { display: block; }
  .kh-nav { position: fixed; inset: var(--kh-header) 0 0 0; height: calc(100dvh - var(--kh-header)); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: #fff; padding: 8px var(--kh-gutter) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--kh-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .kh-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .kh-nav__links { display: flex; flex-direction: column; }
  .kh-nav a { padding: 14px 0; border-bottom: 1px solid var(--kh-line); font-size: 18px; }
  .kh-nav a::after { display: none; }
  /* Telefon (ca. 3/4) und WhatsApp (nur Symbol) nebeneinander */
  .kh-nav { flex-flow: row wrap; align-content: flex-start; }
  .kh-nav__links { flex: 1 1 100%; }
  .kh-nav__tel { flex: 1 1 0; min-width: 0; justify-content: center; margin: 24px 0 0; border: 0 !important; padding: 14px 20px !important; }
  .kh-nav a.kh-nav__wa { display: flex; flex: 0 0 calc(25% - 9px); align-items: center; justify-content: center; margin: 24px 0 0 12px; padding: 0; border: 0; border-radius: 40px; background: #25d366; color: #fff; font-size: 0; }
  .kh-nav__wa svg { width: 28px; height: 28px; fill: #fff; }
  html.kh-menu-open { overflow: hidden; }
  html.kh-menu-open .kh-wa { opacity: 0; visibility: hidden; }
}
@media (max-width: 900px) {
  :root { --kh-header: 76px; --kh-logo: 160px; }
  .kh-split, .kh-cols, .kh-row, .kh-faq { grid-template-columns: 1fr; }
  .kh-split--rev .kh-photo { order: 0; }
  .kh-split .kh-photo { order: 2; }
  .kh-row__head, .kh-faq__head { position: static; }
  .kh-flips { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .kh-footer__grid { grid-template-columns: 1fr 1fr; }
  .kh-footer__legal { grid-column: 1 / -1; grid-row: auto; margin-top: 4px; }
}
@media (max-width: 600px) {
  .kh-tickets { display: block; min-height: 0; padding: 0; background: var(--kh-navy); }
  .kh-tickets .kh-tickets__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .kh-tickets::after { inset: 0 0 auto 0; height: calc((100vw - 2 * var(--kh-gutter)) * .625); background: linear-gradient(180deg, rgba(7, 50, 77, 0) 55%, var(--kh-navy) 100%); }
  .kh-tickets__card { width: 100%; padding: 4px 24px 24px; }
  /* Startseite: Text oben auf Weiß, Foto darunter (Personen frei, nichts liegt darüber) */
  .kh-hero { --kh-hero-img: 84vw; min-height: 0; padding-top: 36px; padding-bottom: calc(var(--kh-hero-img) + 8px); background-color: #fff; background-size: auto var(--kh-hero-img); background-position: 80% bottom; }
  .kh-hero::before { background: linear-gradient(180deg, #fff 0, #fff calc(100% - var(--kh-hero-img)), rgba(255,255,255,0) calc(100% - var(--kh-hero-img) + 56px)); }
  .kh-hero h1 br { display: none; }
  .kh-btns .kh-btn { flex: 1 1 100%; }
  /* Startseite: Buttons nur so breit wie nötig, damit die Personen im Foto frei bleiben */
  .kh-hero .kh-btns { flex-direction: column; align-items: center; gap: 12px; }
  .kh-hero .kh-btns .kh-btn { flex: 0 0 auto; width: 220px; max-width: 100%; padding-left: 16px; padding-right: 16px; }
  /* Telefon steht im Menü und im Footer: im Hero nur „Jetzt buchen“, das Foto rückt nach oben */
  .kh-hero .kh-btns .kh-only-compact { display: none; }
  /* Unterseiten: Überschrift etwas kleiner und ohne festen Umbruch – eine Zeile weniger (Startseite bleibt groß) */
  .kh-pagehead h1 { font-size: 30px; }
  .kh-pagehead h1 br { display: none; }
  /* Unterseiten: Seitenkopf linksbündig (längerer Lesetext; der Rest der Seite ist auch linksbündig) */
  .kh-pagehead:not(.kh-pagehead--404) { text-align: left; }
  .kh-pagehead__text { margin-left: 0; margin-right: 0; }
  /* Abschluss-Box: Foto als Streifen oben, Text auf Blau darunter (wie die Ticket-Box) */
  .kh-cta { --kh-cta-img: calc((100vw - 2 * var(--kh-gutter)) * .6); padding: calc(var(--kh-cta-img) + 4px) 24px 36px; background-size: auto var(--kh-cta-img); background-position: center top; }
  .kh-cta::before { background: linear-gradient(180deg, rgba(7, 50, 77, 0) 0, rgba(7, 50, 77, 0) calc(var(--kh-cta-img) * .5), var(--kh-navy) var(--kh-cta-img)); }
  .kh-cta h2, .kh-cta__text { text-shadow: none; }
  .kh-tag { right: 5%; bottom: -14px; }
  .kh-tag--left { left: 5%; }
  .kh-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .kh-acc__body { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kh-rise { animation: none; }
  .kh-photo__frame img { transition: none; }
  .kh-flip__inner, .kh-btn, .kh-acc summary::after { transition: none; }
}

@media print { .kh-anim .kh-photo__frame, .kh-anim .kh-photo__frame img, .kh-anim .kh-tag { opacity: 1 !important; clip-path: none !important; transform: none !important; } }

/* Hintergruende fuer hohe Pixeldichte */
.kh-cta--bogen { background-image: image-set(url("../img/berliner-bogen-1400.webp") 1x, url("../img/berliner-bogen-2400.webp") 2x); }
.kh-hero { background-image: image-set(url("../img/foyer-mit-personen-2-1400.webp") 1x, url("../img/foyer-mit-personen-2-2400.webp") 2x); }
.kh-cta--teaser { background-image: image-set(url("../img/konferenzraum-teaser-1400.webp") 1x, url("../img/konferenzraum-teaser-2400.webp") 2x); }
@media (min-width: 1441px) { .kh-hero { background-image: url("../img/foyer-mit-personen-2-2400.webp"); } }


/* ==========================================================================
   Anpassungen für Bricks: Bausteine, die Bricks um den Inhalt legt
   ========================================================================== */
.brx-body { display: block; }
#brx-header { display: contents; }                     /* die Kopfzeile selbst ist fixiert */
#brx-content, #brx-footer { display: block; }
#brx-header > .brxe-shortcode, .brxe-shortcode:has(> .kh-header) { display: contents; }
:where(img.brxe-image) { border-radius: revert; }
.brxe-text > :first-child { margin-top: 0; }
/* Angemeldet: Kopfzeile und Handymenü unter der WordPress-Adminleiste (32 px, mobil 46 px) */
.admin-bar .kh-header { top: 32px; }
@media (max-width: 1100px) { .admin-bar .kh-nav { inset-block-start: calc(var(--kh-header) + 32px); height: calc(100dvh - var(--kh-header) - 32px); } }
@media (max-width: 782px) {
  .admin-bar .kh-header { top: 46px; }
  .admin-bar .kh-nav { inset-block-start: calc(var(--kh-header) + 46px); height: calc(100dvh - var(--kh-header) - 46px); }
}
@media (max-width: 600px) {
  .admin-bar .kh-header { top: 0; }
  .admin-bar .kh-nav { inset-block-start: var(--kh-header); height: calc(100dvh - var(--kh-header)); }
}

/* ==========================================================================
   Anfrageformular: Fluent Forms im Design des Prototyps (Karte .kh-form, Felder wie prototyp/kontakt.html).
   Fluent Forms lädt eigene Grundstile; die Regeln hier beginnen mit .kh-form--ff und gehen vor.
   ========================================================================== */
.kh-form--ff .fluentform { font-family: inherit; color: var(--kh-text); }
.kh-form--ff .frm-fluent-form { margin: 0; }
.kh-form--ff .ff-el-group { margin-bottom: 18px; }
.kh-form--ff .ff-t-container { gap: 22px; margin-bottom: 0; }
.kh-form--ff .ff-t-container .ff-t-cell { padding: 0 !important; }
.kh-form--ff .ff-el-input--label { margin-bottom: 6px; }
.kh-form--ff .fluentform .ff-el-input--label label { font-size: 15px; font-weight: 700; color: var(--kh-text); margin: 0; line-height: 1.4; }
.kh-form--ff .ff-el-is-required.asterisk-right label::after { content: " *"; color: var(--kh-pink); margin-left: 0; }
.kh-form--ff .fluentform .ff-el-form-control {
  width: 100%; font: inherit; font-size: 16px; color: var(--kh-text); background: #fff; border: 1px solid #cfd8de; border-radius: 10px;
  padding: 12px 14px; min-height: 48px; line-height: 1.4; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.kh-form--ff textarea.ff-el-form-control { min-height: 130px; resize: vertical; }
.kh-form--ff .ff-el-form-control:focus { outline: none; border-color: var(--kh-navy); box-shadow: 0 0 0 3px rgba(7, 50, 77, .12); }
.kh-form--ff select.ff-el-form-control { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2307324d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
/* Abschnitte (Details zur Veranstaltung …) */
.kh-form--ff .ff-el-section-break { margin: 34px 0 16px; padding-top: 26px; border-top: 1px solid var(--kh-line); }
.kh-form--ff .ff-el-section-break hr { display: none; }
.kh-form--ff .ff-el-section-title { font-size: clamp(19px, 1.5vw, 22px); font-weight: 800; color: var(--kh-navy); margin: 0; }
/* Häkchen */
.kh-form--ff .ff-el-form-check { margin-bottom: 8px; }
.kh-form--ff .fluentform .ff-el-form-check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 400; cursor: pointer; line-height: 1.4; }
.kh-form--ff .ff-el-form-check-input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--kh-pink); flex: 0 0 auto; }
.kh-form--ff .ff-el-group:has(.ff-el-form-check) .ff-el-input--content { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
/* Einwilligung */
.kh-form--ff .ff-el-tc { margin-top: 26px; }
.kh-form--ff .fluentform .ff-el-tc .ff-el-form-check-label { font-size: 14px; color: var(--kh-muted); }
.kh-form--ff .ff-el-tc a { color: var(--kh-navy); }
/* Absenden */
.kh-form--ff .ff_submit_btn_wrapper { margin-top: 26px; }
.kh-form--ff .fluentform .ff-btn-submit, .kh-form--ff .fluentform .ff-btn-submit.ff-btn-md, .kh-form--ff .fluentform .ff-btn-submit:hover {
  display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; font-size: clamp(17px, 1.3vw, 20px);
  padding: 12px 30px; border-radius: 40px; border: 3px solid var(--kh-pink) !important; background: var(--kh-pink) !important; color: #fff !important;
  box-shadow: var(--kh-shadow-btn); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; opacity: 1;
}
.kh-form--ff .fluentform .ff-btn-submit:hover { background: var(--kh-pink-dark) !important; border-color: var(--kh-pink-dark) !important; transform: translateY(-2px); }
/* Meldungen */
.kh-form--ff .ff-el-is-error .ff-el-form-control { border-color: #d63638; }
.kh-form--ff .error, .kh-form--ff .text-danger { font-size: 14px; color: #d63638; margin-top: 4px; }
.kh-form--ff .ff-message-success { border: 1px solid rgba(37, 211, 102, .35); background: rgba(37, 211, 102, .08); border-radius: var(--kh-radius-sm); padding: 20px 22px; box-shadow: none; color: var(--kh-text); }
.kh-form--ff .ff-message-success p { margin: 0; }
/* Datum: Kalender-Auswahl (flatpickr) in Markenfarben */
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--kh-navy); border-color: var(--kh-navy); }
@media (max-width: 600px) {
  .kh-form--ff .ff-t-container { flex-direction: column; gap: 0; }
  .kh-form--ff .ff-t-container .ff-t-cell { width: 100% !important; flex-basis: auto !important; }
  .kh-form--ff .ff-el-group:has(.ff-el-form-check) .ff-el-input--content { grid-template-columns: 1fr; }
  .kh-form--ff .ff-btn-submit { width: 100%; }
}
