/* KOCAK Raumbuchung – Stylesheet
   Gestaltungsidee: Der Pfeil aus dem KOCAK-K führt durch die Seite.
   Er rahmt das Hero-Bild, schneidet die Raumkarten an, läuft im Laufband
   und zeigt in allen Buttons nach vorn. Farben und Typo wie kocak-gruppe.de. */

:root {
    --red: #CC1215;
    --red-dark: #93130A;
    --ink: #141414;
    --body: #5A5A5A;
    --text: #3A3A3A;
    --line: #E4E4E4;
    --field: #BDBDBD;
    --grey: #F7F7F7;
    --dark: #0A0A0A;
    --dark-2: #151515;
    --dark-line: #2E2E2E;
    --on-dark: #CFCFCF;
    --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --ease-out: cubic-bezier(.2, .75, .2, 1);
    --ease-in-out: cubic-bezier(.7, 0, .2, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap {
    max-width: 1200px; margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip-link { position: absolute; left: -9999px; top: 8px; background: #FFFFFF; color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Pfeil-Chevron ---------- */
.btn-chev { width: 13px; height: 13px; fill: currentColor; flex: none; transition: transform .35s var(--ease-out); }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px;
    background: var(--red); color: #FFFFFF; border: 1px solid var(--red);
    font: 700 15px/1 var(--font); text-transform: uppercase; letter-spacing: 0.06em;
    text-decoration: none; cursor: pointer; transition: color .35s, border-color .35s;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--red-dark);
    clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%);
    transition: clip-path .5s var(--ease-in-out);
}
.btn:hover { color: #FFFFFF; }
.btn:hover::before { clip-path: polygon(0 0, 100% 0, calc(100% + 18px) 50%, 100% 100%, 0 100%); }
.btn:hover .btn-chev { transform: translateX(5px); }

.btn--small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn--large { min-height: 58px; padding: 0 40px; }
.btn--outline { background: transparent; border-color: #FFFFFF; }
.btn--outline::before { background: #FFFFFF; }
.btn--outline:hover { color: var(--ink); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark::before { background: var(--ink); }
.btn--outline-dark:hover { color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.btn--white::before { background: var(--ink); }
.btn--white:hover { color: #FFFFFF; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: var(--dark); border-bottom: 1px solid #222222;
    transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo-link { display: flex; }
.logo-link img { width: 120px; height: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.main-nav a:not(.btn) { position: relative; color: var(--on-dark); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.main-nav a:not(.btn):hover { color: #FFFFFF; }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: #FFFFFF; font-weight: 600; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Kicker / Section-Heads ---------- */
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.kicker--light { color: var(--on-dark); }
.accent-line { display: block; width: 72px; height: 4px; background: var(--red); }

.section { padding-block: 72px; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); color: #FFFFFF; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.02; }
.section-head p { font-size: 17px; color: var(--body); }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head--split p { max-width: 400px; font-size: 16px; }

/* ---------- Icons ---------- */
.icon { width: 44px; height: 44px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon :is(path, circle, rect) { stroke-dasharray: 1; stroke-dashoffset: 0; }
.icon .ic-accent { stroke: var(--red); }
.icon .ic-dot, .icon .ic-dot circle { fill: var(--red); stroke: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #FFFFFF; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-chevron { position: absolute; top: -10%; right: 50%; height: 120%; width: auto; aspect-ratio: 55.69 / 56.44; fill: var(--dark-2); }

.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-top: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-title { font-size: clamp(30px, 8.4vw, 58px); line-height: .96; letter-spacing: -0.025em; display: flex; flex-direction: column; }
.hero-title .line { display: block; overflow: hidden; padding-block: .14em .06em; margin-block: -.14em -.06em; }
.hero-title .line > span { display: inline-block; white-space: nowrap; animation: lineUp 1s var(--ease-out) var(--d, 0s) both; }
.hero-title em { font-style: normal; color: inherit; }
.hero .lead { max-width: 520px; font-size: 18px; color: #D6D6D6; }
.hero .btn-row { margin-top: 6px; }
.hero-in { animation: fadeUp .9s var(--ease-out) var(--d, 0s) both; }

.hero-media { position: relative; flex: 1 1 460px; min-width: 0; padding-bottom: 28px; }
.hero-mask {
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
    animation: maskIn 1.3s var(--ease-in-out) .2s both;
}
.hero-mask > * { animation: settle 2s var(--ease-out) .2s both; }
.hero-img { width: 100%; height: clamp(280px, 38vw, 520px); object-fit: cover; }
.hero-tag {
    position: absolute; right: 20px; bottom: 0;
    display: flex; align-items: center; gap: 14px;
    background: #FFFFFF; color: var(--ink); padding: 14px 20px 14px 16px;
    font-size: 14px; line-height: 1.35; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hero-tag strong { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.pulse { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--red); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); animation: pulse 2s ease-out infinite; }

.hero-facts { position: relative; margin: 48px 0 0; padding-block: 26px 34px; border-top: 1px solid var(--dark-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hero-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.hero-facts dd { margin: 4px 0 0; font-size: 16px; }

/* ---------- Laufband ---------- */
.marquee { position: relative; overflow: hidden; background: var(--red); color: #FFFFFF; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-group span { font-size: clamp(22px, 3vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; line-height: 1; }
.marquee-group span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px #FFFFFF; }
.marquee-chev { width: 20px; height: 20px; fill: #FFFFFF; flex: none; opacity: .9; }

/* ---------- Platzhalter für fehlende Bilder ---------- */
.img-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: #DCDCDC; color: var(--body); font-size: 14px; font-weight: 600; text-align: center; padding: 16px;
}
.img-placeholder .icon { width: 40px; height: 40px; }
.hero .img-placeholder { background: #262626; color: #A8A8A8; }

/* ---------- Anlässe ---------- */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.occasions li {
    position: relative; overflow: hidden; isolation: isolate;
    border: 1px solid var(--line); padding: 30px 26px 34px;
    display: flex; flex-direction: column; gap: 12px;
    transition: color .45s, border-color .45s;
}
.occasions li::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
    clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%);
    transition: clip-path .6s var(--ease-in-out);
}
.occasions li:hover { color: #FFFFFF; border-color: var(--ink); }
.occasions li:hover::before { clip-path: polygon(0 0, 100% 0, calc(100% + 40px) 50%, 100% 100%, 0 100%); }
.occasions li:hover p { color: var(--on-dark); }
.occasions h3 { font-size: 18px; letter-spacing: 0.01em; }
.occasions p { color: var(--body); transition: color .45s; }

/* ---------- Räume ---------- */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.room-card { background: #FFFFFF; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 20, 20, .12); }
.room-media { position: relative; overflow: hidden; }
.room-img { width: 100%; height: 250px; object-fit: cover; transition: transform 1s var(--ease-out); }
.room-card:hover .room-img { transform: scale(1.06); }
.room-cut { position: absolute; z-index: 2; right: -1px; bottom: -1px; width: 66px; height: 66px; background: #FFFFFF; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.badge { position: absolute; z-index: 2; left: 16px; top: 16px; background: var(--red); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; }
.room-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.room-body h3 { font-size: 24px; }
.room-lage { color: var(--body); font-size: 15px; margin-top: -6px; }
.room-meta { list-style: none; margin: 0; padding-block: 14px; padding-inline: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.room-ideal { font-size: 15px; color: var(--text); }
.room-body .btn { margin-top: auto; min-height: 48px; font-size: 14px; }

/* ---------- Ausstattung ---------- */
.features-layout { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.features-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.features-intro h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.02; }
.features-intro p { font-size: 17px; color: var(--body); }
.features { flex: 999 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.features li { display: flex; align-items: center; gap: 16px; padding: 20px 8px; border-bottom: 1px solid var(--line); font-weight: 600; transition: padding-left .4s var(--ease-out); }
.features li:hover { padding-left: 16px; }
.features .icon { width: 36px; height: 36px; }

/* ---------- Ablauf ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 28px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #2A2A2A; }
.steps::after { background: var(--red); transform-origin: left; }
.steps li { padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-no { font-size: clamp(56px, 6vw, 84px); font-weight: 800; line-height: .9; color: var(--red); -webkit-text-stroke: 1.5px var(--red); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--on-dark); }

/* ---------- Anfrage ---------- */
.request-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.request-form { flex: 999 1 600px; min-width: 0; background: #FFFFFF; padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; }
.request-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.request-form legend { padding: 0; margin-bottom: 18px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--red); }

.field input, .field select, .field textarea {
    width: 100%; min-width: 0; font: 400 16px/1.4 var(--font); color: var(--ink);
    border: 1px solid var(--field); border-radius: 0; background: #FFFFFF; -webkit-appearance: none; appearance: none;
    transition: border-color .25s, box-shadow .25s;
}
.field input, .field select { height: 50px; padding: 0 14px; }
.field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.field textarea { padding: 14px; resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8A8A8A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.error-text { font-size: 14px; color: var(--red); }
.form-error { background: #FBEAEA; border: 1px solid var(--red); color: #7A0B0D; padding: 14px 16px; font-size: 15px; }

.checks { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--red); }
.check--consent { align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.5; min-height: 0; }
.check--consent input { margin-top: 1px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { font-size: 13px; color: var(--body); }

.contact-card { position: relative; overflow: hidden; flex: 1 1 300px; min-width: 0; background: var(--dark); color: #FFFFFF; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-card::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 180px; height: 182px; background: var(--dark-2); clip-path: polygon(0 0, 52.65% 0, 100% 50%, 52.65% 100%, 0 100%, 46.47% 49.56%); z-index: 0; }
.contact-card > * { position: relative; z-index: 1; }
.contact-person { display: flex; align-items: center; gap: 16px; }
.contact-person strong { display: block; font-size: 18px; }
.contact-person span { font-size: 14px; color: var(--on-dark); }
.contact-photo { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.contact-photo--empty { background: #2A2A2A; }
.contact-card p { font-size: 15px; color: var(--on-dark); }
.contact-lines { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--dark-line); padding-top: 20px; }
.contact-lines a { color: #FFFFFF; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; }
.contact-phone { font-size: 17px; font-weight: 700; }
.contact-lines span { font-size: 15px; color: var(--on-dark); }

/* ---------- Akademie-Band ---------- */
.akademie-band { position: relative; overflow: hidden; background: var(--red); color: #FFFFFF; }
.akademie-chevrons { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); display: flex; gap: 0; pointer-events: none; }
.ak-chev { width: clamp(90px, 14vw, 200px); height: clamp(90px, 14vw, 200px); fill: rgba(255, 255, 255, .09); margin-left: -4%; animation: chevRun 2.4s var(--ease-in-out) infinite; }
.ak-chev:nth-child(2) { animation-delay: .2s; }
.ak-chev:nth-child(3) { animation-delay: .4s; }
.akademie-inner { position: relative; padding-block: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.akademie-inner > div { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.akademie-band .kicker--light { color: #FFD9D9; }
.akademie-band h2 { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.08; }
.akademie-band p { font-size: 17px; }

/* ---------- Bestätigung ---------- */
.confirmation { background: var(--grey); padding-block: 80px 96px; }
.confirmation-inner { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.confirmation-mark { width: 72px; height: 72px; background: var(--red); display: flex; align-items: center; justify-content: center; animation: pop .6s var(--ease-out) both; }
.confirmation-mark svg { width: 44px; height: 44px; fill: none; stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.confirmation-mark path { stroke-dasharray: 40; animation: check .6s var(--ease-out) .35s both; }
.confirmation h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.confirmation p { font-size: 18px; color: var(--text); }
.confirmation-contact a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-inner { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--on-dark); }
.footer-links a:hover { color: #FFFFFF; }

/* ---------- Scroll-Animationen (nur mit JavaScript) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s ease var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal] .icon :is(path, circle, rect) { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-in-out) calc(var(--d, 0s) + .3s); }
.js [data-reveal].is-visible .icon :is(path, circle, rect) { stroke-dashoffset: 0; }

.js .steps[data-reveal] { opacity: 1; transform: none; }
.js .steps::after { transform: scaleX(0); transition: transform 1.6s var(--ease-in-out) .1s; }
.js .steps.is-visible::after { transform: scaleX(1); }
.js .steps li { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d), transform .9s var(--ease-out) var(--d); }
.js .steps.is-visible li { opacity: 1; transform: none; }
.js .steps .step-no { color: transparent; -webkit-text-stroke-color: #4A4A4A; transition: color .6s ease calc(var(--d) + .3s), -webkit-text-stroke-color .6s ease calc(var(--d) + .3s); }
.js .steps.is-visible .step-no { color: var(--red); -webkit-text-stroke-color: var(--red); }

/* ---------- Keyframes ---------- */
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes maskIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 86% 50%); } to { clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes chevRun { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(14px); opacity: 1; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes check { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* ---------- Ab Tablet ---------- */
@media (min-width: 760px) {
    .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
    .section { padding-block: 112px; }
    .section-head { margin-bottom: 52px; }
    .hero-inner { padding-top: 88px; }
    .hero-title { font-size: clamp(36px, 4.4vw, 58px); }
    .hero-facts { margin-top: 64px; }
    .hero .lead { font-size: 19px; }
    .hero-tag { right: auto; left: -28px; bottom: 0; }
    .request-form { padding: 40px; }
    .contact-card { padding: 36px; }
    .logo-link img { width: 150px; }
    .header-inner { padding-top: 14px; padding-bottom: 14px; }
    .occasions li { padding: 34px 28px 38px; }
    .room-body { padding: 28px; }
    .akademie-inner { padding-block: 76px; }
}

/* ---------- Weniger Bewegung, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .marquee-track { animation: none; }
    .js [data-reveal], .js .steps li { opacity: 1; transform: none; }
    .js [data-reveal] .icon :is(path, circle, rect) { stroke-dashoffset: 0; }
    .js .steps::after { transform: scaleX(1); }
    .js .steps .step-no { color: var(--red); -webkit-text-stroke-color: var(--red); }
}

/* ---------- Raumgruppen ---------- */
.room-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.room-group-head h3 { font-size: clamp(20px, 2vw, 26px); }
.room-group-head p { color: var(--body); font-size: 15px; max-width: 520px; }
.room-group-head--meeting { margin-top: 72px; }
.room-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.room-nr, .meeting-info { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--body); font-variant-numeric: tabular-nums; }
.room-meta strong { font-size: 22px; font-weight: 800; margin-right: 4px; }

/* ---------- Meetingräume ---------- */
.meetings { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.meeting-card {
    position: relative; display: flex; flex-direction: column; background: #FFFFFF; color: var(--ink); text-decoration: none;
    border-top: 4px solid var(--room, var(--ink));
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.meeting-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 20, 20, .1); }
.meeting-media { display: block; overflow: hidden; }
.meeting-img { width: 100%; height: 170px; object-fit: cover; transition: transform .9s var(--ease-out); }
.meeting-card .img-placeholder { height: 170px; }
.meeting-card:hover .meeting-img { transform: scale(1.06); }
.meeting-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.meeting-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.meeting-name { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.meeting-cap { flex: none; font-size: 13px; color: var(--body); white-space: nowrap; }
.meeting-cap strong { font-size: 20px; font-weight: 800; color: var(--ink); }
.meeting-ideal { font-size: 14px; color: var(--text); }
.meeting-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.meeting-card:hover .btn-chev { transform: translateX(5px); }

/* ---------- Ausstattung & Details (aufklappbar) ---------- */
.room-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-details summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.room-details summary::-webkit-details-marker { display: none; }
.room-details summary:hover { color: var(--red); }
.room-details .plus { position: relative; width: 14px; height: 14px; flex: none; }
.room-details .plus::before, .room-details .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .35s var(--ease-out); }
.room-details .plus::after { transform: rotate(90deg); }
.room-details[open] .plus::after { transform: rotate(0deg); }
.room-details dl { margin: 0; padding-bottom: 14px; display: flex; flex-direction: column; gap: 10px; animation: fadeUp .45s var(--ease-out) both; }
.room-details dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.45; }
.room-details dt { font-weight: 700; color: var(--ink); }
.room-details dd { margin: 0; color: var(--text); }
.meeting-name { margin: 0; font-size: 17px; }
.meeting-ideal { margin: 0; }
.meeting-card .room-details { margin-top: 6px; }
.meeting-cta { text-decoration: none; }
.meeting-cta:hover { color: var(--red-dark); }
.meeting-cta:hover .btn-chev { transform: translateX(5px); }
/* Aufgeklappte Karten ziehen die Nachbarn nicht mit in die Länge */
.rooms, .meetings { align-items: start; }
