/* Seminarraum Oldenburg – modernisiert (25.11.2026), Aufbau wie der neue Staude-Look.
   Farbklima aus dem Raum: Anthrazit der alten Seite als Fläche, das warme Orange der Raumwand als Akzent.
   Ruhige Flächen und Licht statt Rahmen und Kleinteiligkeit. Kontraste geprüft auf WCAG 2.2 AA. */
:root {
  --anthrazit: #2f302c;      /* Überschriften, Fußfläche – 13,3:1 auf Weiß */
  --grau: #4e4f4a;           /* Grau der alten Seite */
  --orange: #a64b12;         /* Akzent, Links, Knöpfe – 5,8:1 auf Weiß */
  --orange-licht: #fbefe5;
  --orange-hauch: #fdf8f3;
  --text: #262723;
  --text-leise: #5d5e58;     /* 6,6:1 auf Weiß */
  --grund: #fbfaf8;
  --linie: #e4e1db;
  --rund: 14px;
  --schatten: 0 1px 2px rgba(47, 48, 44, .06), 0 8px 24px rgba(47, 48, 44, .08);
  --breite: 1080px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --zier: Candara, Calibri, "Segoe UI", Optima, Arial, sans-serif;   /* Schrift der alten Wortmarke */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body { margin: 0; font: 400 17px/1.65 var(--schrift); color: var(--text); background: var(--grund); }
img { max-width: 100%; height: auto; }
a { color: var(--orange); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--anthrazit); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.rahmen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--anthrazit); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 10px; }
.sprunglink:focus { top: 0; color: #fff; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; min-height: 84px; }
/* Wortmarke wie die alte Schriftgrafik „Professioneller / Seminarraum“ */
.wortmarke { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--anthrazit); font-family: var(--zier); line-height: 1; }
.wortmarke-klein { font-size: 15px; color: var(--text-leise); }
.wortmarke-gross { font-size: 30px; letter-spacing: .01em; }
.wortmarke:hover .wortmarke-gross { color: var(--orange); }

.hauptnavigation { margin-left: auto; }
.hauptnavigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.hauptnavigation a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--anthrazit); text-decoration: none; }
.hauptnavigation a:hover { background: var(--orange-licht); color: var(--anthrazit); }
.hauptnavigation a.aktiv, .hauptnavigation a[aria-current="page"] { background: var(--anthrazit); color: #fff; }

/* ---------- Einstieg (Startseite) ---------- */
.einstieg {
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(214, 120, 40, .20), transparent 70%),
    radial-gradient(40rem 22rem at 0% 110%, rgba(78, 79, 74, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--orange-hauch) 100%);
  border-bottom: 1px solid var(--linie);
}
.einstieg-innen { padding-top: 64px; padding-bottom: 64px; }
.einstieg-ort { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.einstieg h1 { margin: 0; max-width: 18ch; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.einstieg h1::after { display: none; }
.einstieg-text { max-width: 46ch; margin: 18px 0 28px; font-size: clamp(18px, 2vw, 21px); color: var(--text-leise); }

.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; line-height: 1.2; }
.knopf-voll { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(166, 75, 18, .25); }
.knopf-voll:hover { background: var(--anthrazit); color: #fff; }
.knopf-rand { background: #fff; color: var(--anthrazit); border: 1px solid var(--linie); }
.knopf-rand:hover { border-color: var(--orange); color: var(--anthrazit); }

/* ---------- Inhalt ---------- */
.hauptspalte { display: block; padding-top: 48px; padding-bottom: 72px; }
.hauptspalte:focus { outline: none; }
h1, h2, h3 { color: var(--anthrazit); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin: 0 0 .6em; }
h1::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--orange); }
h2 { font-size: clamp(23px, 2.6vw, 28px); font-weight: 650; margin: 1.6em 0 .5em; }
h3 { font-size: 20px; font-weight: 650; margin: 1.4em 0 .4em; }
.hauptspalte > .frame:first-child h1, .hauptspalte > .frame:first-child h2 { margin-top: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }

.frame { margin-bottom: 2em; }
.frame-type-text, .frame-type-form_formframework, .frame-type-header { max-width: 720px; }
.frame-space-before-small { margin-top: 24px; }
.frame-space-before-medium { margin-top: 40px; }

.frame-type-text ul, .ce-bodytext ul { list-style: none; padding: 0; margin: .4em 0 1.2em; }
.frame-type-text ul li, .ce-bodytext ul li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.frame-type-text ul li::before, .ce-bodytext ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--orange-licht);
}

/* Bilder */
.ce-gallery figure { margin: 0; }
.ce-gallery img { border-radius: var(--rund); box-shadow: var(--schatten); }
.ce-intext.ce-left .ce-gallery { margin-right: 20px; }
.ce-intext.ce-left .ce-gallery img { box-shadow: none; border-radius: 0; }   /* PDF-Symbol beim Flyer */

/* Bildergalerie: responsives Raster statt fester Spalten */
.frame-galerie .ce-gallery, .frame-galerie .ce-outer, .frame-galerie .ce-inner { float: none; right: auto; width: 100%; }
.frame-galerie { margin: 0 0 16px; }
.frame-galerie.frame-space-before-small { margin-top: 0; }
.frame-galerie .ce-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .frame-galerie .ce-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.frame-galerie .ce-column { float: none; width: auto; margin: 0; padding: 0; }
.frame-galerie figure.image { display: block; width: 100%; }
.frame-galerie .ce-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.frame-galerie a.lightbox { display: block; border-radius: var(--rund); overflow: hidden; }
.frame-galerie a.lightbox:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .frame-galerie a.lightbox:hover img { transform: none; } }

/* Lightbox (lightbox.js) */
.lightbox-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox-dialog::backdrop { background: rgba(30, 31, 28, .88); }
.lightbox-dialog figure { margin: 0; text-align: center; }
.lightbox-dialog img { display: block; max-width: 92vw; max-height: 86vh; width: auto; border-radius: var(--rund); }
.lightbox-dialog figcaption { color: #fff; padding-top: 8px; font-size: 15px; }
.lightbox-dialog button {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--anthrazit); font: 28px/48px var(--schrift); cursor: pointer;
}
.lightbox-dialog .lightbox-zurueck { left: 10px; }
.lightbox-dialog .lightbox-weiter { right: 10px; }
.lightbox-dialog .lightbox-schliessen { top: 12px; right: 10px; transform: none; }

/* Formular (EXT:form) */
.frame-type-form_formframework form { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 28px; box-shadow: var(--schatten); }
.frame-type-form_formframework h2 { margin-top: 0; font-size: 22px; }
.form-group, .form-element { margin-bottom: 16px; }
.form-label, .frame-type-form_formframework legend { display: block; margin-bottom: 4px; font-weight: 600; color: var(--anthrazit); }
.frame-type-form_formframework fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.form-control, .frame-type-form_formframework select, .frame-type-form_formframework textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: 16px/1.4 var(--schrift); color: var(--text);
  background: #fff; border: 1px solid #a9a6a0; border-radius: 10px;
}
.form-control:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form-check { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.form-check-input { width: 20px; height: 20px; accent-color: var(--orange); }
.required { color: var(--orange); }
.help-block, .invalid-feedback, .error { color: #b3261e; font-size: 15px; }
.has-error .form-control { border-color: #b3261e; }
.frame-type-form_formframework .btn, .frame-type-form_formframework button[type="submit"] {
  min-height: 48px; padding: 12px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 17px var(--schrift); color: #fff; background: var(--orange); box-shadow: 0 6px 16px rgba(166, 75, 18, .25);
}
.frame-type-form_formframework .btn:hover, .frame-type-form_formframework button[type="submit"]:hover { background: var(--anthrazit); }

/* ---------- Fuß ---------- */
.fuss { background: var(--anthrazit); color: #e9e7e2; font-size: 15px; }
.fuss a { color: #fff; }
.fuss a:hover { color: #f3b27a; }
.fuss-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.fuss h2 { color: #fff; font-size: 17px; margin: 0 0 10px; letter-spacing: 0; }
.fuss h2::after { display: none; }
.fuss p { margin: 0 0 .8em; }
.fuss-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; }
.fuss-leiste p { margin: 0; }
.fussnavigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .kopf-innen { min-height: 0; padding-top: 12px; padding-bottom: 10px; }
  .wortmarke-gross { font-size: 26px; }
  .hauptnavigation { margin-left: 0; width: 100%; }
  .fuss-spalten { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .rahmen { padding: 0 18px; }
  .einstieg-innen { padding-top: 40px; padding-bottom: 44px; }
  .knopfreihe .knopf { flex: 1 1 100%; }
  .hauptspalte { padding-top: 32px; padding-bottom: 48px; }
  .frame-type-form_formframework form { padding: 20px 16px; }
  .ce-intext.ce-left .ce-gallery { float: left; }
}
