/* ThermoStone „Glut“ – Contao-5.7-Theme. Quelle: design/mockups/glut (geprüfte Mockups) + Contao-Anpassungen am Ende. */

/* ThermoStone – Richtung B „Glut“: gemeinsame Basis für alle Unterseiten.
 * Tokens, Navigation (Desktop + mobiles Menü), Seitenkopf, Unternavigation,
 * Fließtext, Buttons, Formulare, CTA-Band, Footer, Reveal-Animationen. */

:root {
  --coal: #141211;
  --coal-2: #1d1a19;
  --coal-3: #2a2624;
  --line: #3a3431;
  --stone: #8b8583;       /* Logo-Grau */
  --ash: #c9c2bd;
  --paper: #f3eee9;
  --ember-1: #f18700;     /* Logo-Verlauf oben */
  --ember-2: #cd1719;     /* Logo-Verlauf unten */
  --ember: linear-gradient(90deg, var(--ember-1), var(--ember-2));
  --font: "Archivo", system-ui, sans-serif;
  --wrap: min(1280px, 100% - 80px);
  --gutter: max(40px, (100vw - 1280px) / 2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { background: var(--coal); color: var(--ash); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-family: var(--font); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: var(--paper); }
.hot { background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ember-1); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--coal); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember-1); outline-offset: 3px; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.js .fx-word { display: inline-block; opacity: 0; transform: translateY(.4em); transition: opacity .5s ease calc(var(--i) * 60ms), transform .5s ease calc(var(--i) * 60ms); }
.is-visible .fx-word { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.solid, .menu-open .site-header { background: rgba(20,18,17,.94); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { background: var(--paper); padding: 8px 14px; border-radius: 3px; display: inline-block; }
.logo img { height: 40px; width: auto; }
.mainnav ul { list-style: none; display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 600; color: var(--paper); }
.mainnav li { position: relative; }
.mainnav a { padding: 30px 0; }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--ember-1); }
.mainnav .sub { position: absolute; top: 100%; left: -16px; min-width: 190px; background: var(--coal-2); border: 1px solid var(--line); padding: 8px 0; opacity: 0; pointer-events: none; transition: .2s; }
.mainnav li:hover .sub, .mainnav li:focus-within .sub { opacity: 1; pointer-events: auto; }
.mainnav .sub a { display: block; padding: 8px 16px; font-weight: 400; }
.lang { display: flex; gap: 4px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.lang a { padding: 3px 9px; border-radius: 999px; }
.lang a[aria-current] { background: var(--paper); color: var(--coal); }
.cta { background: var(--ember); color: #fff; padding: 11px 20px; border-radius: 999px; }
.mainnav .cta { padding: 11px 20px; }
.mainnav .cta:hover, .mainnav .cta[aria-current] { color: #fff; filter: brightness(1.08); }
.burger { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); color: var(--paper); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font); cursor: pointer; }
.burger .bars { width: 18px; height: 12px; position: relative; }
.burger .bars::before, .burger .bars::after, .burger .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: .25s; }
.burger .bars::before { top: 0; } .burger .bars i { top: 5px; } .burger .bars::after { top: 10px; }
.menu-open .burger .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .burger .bars::after { top: 5px; transform: rotate(-45deg); }
.menu-open .burger .bars i { opacity: 0; }

/* Mobiles Menü (Overlay) */
.mobilemenu { position: fixed; inset: 0; z-index: 35; background: var(--coal); padding: 108px 16px 32px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.menu-open .mobilemenu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.mobilemenu::before { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: radial-gradient(70% 80% at 50% 110%, rgba(241,135,0,.28), rgba(205,23,25,.12) 45%, transparent 70%); pointer-events: none; }
.mobilemenu ul { list-style: none; position: relative; }
.mobilemenu > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobilemenu .row { display: flex; align-items: center; justify-content: space-between; }
.mobilemenu .row > a { display: block; padding: 16px 0; font-stretch: 112%; font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--paper); }
.mobilemenu .row > a[aria-current] { color: var(--ember-1); }
.mobilemenu .toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--paper); font-size: 20px; cursor: pointer; transition: transform .25s; }
.mobilemenu .toggle[aria-expanded="true"] { transform: rotate(45deg); border-color: var(--ember-1); color: var(--ember-1); }
.mobilemenu .subitems { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.mobilemenu .subitems > ul { overflow: hidden; }
.mobilemenu .subitems.open { grid-template-rows: 1fr; }
.mobilemenu .subitems a { display: block; padding: 8px 0 8px 16px; color: var(--ash); font-size: 17px; border-left: 2px solid var(--line); }
.mobilemenu .subitems li:last-child a { margin-bottom: 16px; }
.mobilemenu .subitems a[aria-current] { color: var(--ember-1); border-color: var(--ember-1); }
.mobilemenu .meta { position: relative; margin-top: auto; padding-top: 32px; display: grid; gap: 14px; font-size: 16px; }
.mobilemenu .meta .lang { justify-self: start; }
.mobilemenu .meta > a:not(.cta) { color: var(--paper); }
.mobilemenu .meta .cta { justify-self: stretch; text-align: center; padding: 15px; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; gap: 10px; align-items: center; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; font-family: var(--font); }
.btn-hot { background: var(--ember); color: #fff; }
.btn-hot:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid rgba(243,238,233,.35); color: var(--paper); background: none; }
.btn-ghost:hover { border-color: var(--paper); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.pagehead { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.pagehead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,17,.92) 0%, rgba(20,18,17,.55) 50%, rgba(20,18,17,.2) 80%), linear-gradient(0deg, var(--coal) 0%, transparent 40%); }
.pagehead .wrap { position: relative; z-index: 1; padding: 150px 0 56px; }
.pagehead h1 { font-size: clamp(44px, min(6.4vw, 10vh), 96px); line-height: .92; margin: 16px 0 18px; max-width: 14ch; }
.pagehead p.sub { font-size: 19px; max-width: 48ch; }
.pagehead.compact { min-height: 0; }
.pagehead.compact .wrap { padding-top: 160px; padding-bottom: 40px; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--stone); flex-wrap: wrap; }
.crumbs a:hover { color: var(--paper); }
.crumbs span[aria-current] { color: var(--paper); }

/* ---------- Unternavigation ---------- */
.subnav { position: sticky; top: 88px; z-index: 20; background: rgba(20,18,17,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ash); border: 1px solid transparent; }
.subnav a:hover { color: var(--paper); border-color: var(--line); }
.subnav a[aria-current] { color: var(--coal); background: var(--paper); }

/* ---------- Fließtext ---------- */
.prose p { margin-bottom: 20px; max-width: 68ch; }
.prose p.lead { font-size: 22px; line-height: 1.5; color: var(--paper); }
.prose h2 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; margin: 0 0 22px; letter-spacing: -.01em; }
.prose h3 { color: var(--paper); font-size: 22px; font-weight: 600; margin: 34px 0 12px; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { color: var(--ember-1); border-bottom: 1px solid rgba(241,135,0,.4); }
.section { padding: 110px 0; }
.section + .section { padding-top: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.split > * { min-width: 0; }
.prose { hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Seitenweiter-Teaser + CTA-Band ---------- */
.nextpage { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nextpage a { display: flex; flex-direction: column; gap: 8px; padding: 40px var(--gutter); transition: background .3s; }
.nextpage a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.nextpage a:hover { background: var(--coal-2); }
.nextpage .t { font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.nextpage .l { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.ctaband { position: relative; overflow: hidden; padding: 100px 0; background: radial-gradient(60% 120% at 80% 120%, rgba(241,135,0,.35), rgba(205,23,25,.15) 45%, transparent 70%), var(--coal-2); }
.ctaband .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.ctaband h2 { font-size: clamp(32px, 4vw, 60px); line-height: .95; max-width: 16ch; }
.ctaband .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Formulare ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--paper); }
.form .opt { font-weight: 400; color: var(--stone); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { font: inherit; font-size: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--coal-2); color: var(--paper); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ember-1); box-shadow: 0 0 0 3px rgba(241,135,0,.2); }
.form .full { grid-column: 1 / -1; }
.form textarea { min-height: 160px; resize: vertical; }
.form .check { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 400; align-items: flex-start; color: var(--ash); font-size: 15px; }
.form .check > span:not(.err) { flex: 1; }
.form .check .err { flex-basis: 100%; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ember-1); }
.form .check a { color: var(--ember-1); border-bottom: 1px solid rgba(241,135,0,.4); }
.form .err { display: none; color: #ff8a70; font-weight: 400; font-size: 13px; }
.form .invalid input, .form .invalid textarea { border-color: #ff6a4d; }
.form .invalid .err { display: block; }
.form .captcha { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 12px; }
.form .actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form .hint { font-size: 13px; color: var(--stone); }
.notice { border-radius: 4px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.notice.error { background: rgba(205,23,25,.14); border: 1px solid rgba(255,106,77,.5); color: #ffd2c7; }
.notice.success { background: rgba(241,135,0,.12); border: 1px solid rgba(241,135,0,.45); color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--coal); padding: 60px 0 30px; font-size: 15px; color: var(--stone); border-top: 1px solid var(--line); }
.site-footer .top { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.site-footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; }
.site-footer li { list-style: none; padding: 3px 0; }
.site-footer a:hover { color: var(--ember-1); }
.site-footer .bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; gap: 12px; flex-wrap: wrap; }
.site-footer .bottom nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .fx-word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mobilemenu, .mobilemenu .subitems, .burger .bars::before, .burger .bars::after { transition: none; }
}
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .mainnav ul { gap: 22px; }
}
@media (max-width: 900px) {
  :root { --wrap: calc(100% - 32px); --gutter: 16px; }
  .mainnav { display: none; }
  .burger { display: inline-flex; }
  .site-header .wrap { height: 72px; }
  .logo img { height: 34px; }
  .subnav { top: 72px; }
  .form, .nextpage, .site-footer .top { grid-template-columns: 1fr; }
  .nextpage a + a { border-left: 0; border-top: 1px solid var(--line); }
  .pagehead .wrap { padding: 120px 0 40px; }
  .section { padding: 72px 0; }
}


/* =================== Startseite =================== */
/* ---------- Hero ---------- */
  .hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
  .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,17,.92) 0%, rgba(20,18,17,.55) 45%, rgba(20,18,17,.1) 75%), linear-gradient(0deg, var(--coal) 0%, transparent 30%); }
  .hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 9vh, 90px); }
  .hero h1 { font-size: clamp(48px, min(8.6vw, 12.5vh), 132px); line-height: .9; margin: 18px 0 26px; max-width: 9ch; }
  .hero p.sub { font-size: clamp(17px, 2.4vh, 20px); max-width: 36ch; color: var(--ash); }
  .hero .row { display: flex; gap: 16px; margin-top: 36px; align-items: center; flex-wrap: wrap; }
  .btn { display: inline-flex; gap: 10px; align-items: center; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; }
  .btn-hot { background: var(--ember); color: #fff; }
  .btn-ghost { border: 1px solid rgba(243,238,233,.35); color: var(--paper); }
  .btn-ghost:hover { border-color: var(--paper); }
  .scrollhint { position: absolute; right: 40px; bottom: 90px; z-index: 1; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }

  /* ---------- Zahlen ---------- */
  .facts { padding: 120px 0 100px; }
  .facts .intro { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; }
  .facts h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
  .facts .intro p { margin-bottom: 18px; }
  .facts .intro p strong { color: var(--paper); font-weight: 600; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
  .stat { padding: 34px 28px 0 0; border-right: 1px solid var(--line); }
  .stat + .stat { padding-left: 28px; }
  .stat:last-child { border-right: 0; }
  .stat b { display: block; font-stretch: 112%; font-weight: 800; font-size: clamp(44px, 4.6vw, 72px); line-height: 1; color: var(--paper); }
  .stat b .u { font-size: .45em; margin-left: 4px; }
  .stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--stone); }


  /* ---------- Kennzahlen-Band ---------- */
  .numbers { position: relative; padding: 70px 0 90px; border-bottom: 1px solid var(--line); background: radial-gradient(70% 120% at 50% 120%, rgba(241,135,0,.16), transparent 60%), var(--coal); }
  .big-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin-top: 34px; }
  .bstat { padding: 0 clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
  .bstat:first-child { padding-left: 0; border-left: 0; }
  .bstat b { display: flex; align-items: baseline; font-stretch: 118%; font-weight: 800; font-size: clamp(64px, 7.4vw, 124px); line-height: .9; letter-spacing: -.03em; background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
  .bstat b .u { font-size: .38em; margin-left: 6px; letter-spacing: 0; }
  .bstat b .pre { font-size: .26em; font-stretch: 100%; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-right: 10px; align-self: flex-start; margin-top: .5em; }
  .bstat .l { display: block; margin-top: 18px; font-size: 16px; color: var(--ash); max-width: 22ch; min-width: 15ch; }
  .bstat:last-child { padding-right: 0; }

  /* ---------- Sticky-Szene: Vom Bruch zum Ofen ---------- */
  .journey { height: 420vh; position: relative; }
  .journey .pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 112px 0 0; }
  .journey .glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 110%, rgba(241,135,0,.55), rgba(205,23,25,.25) 45%, transparent 70%); opacity: calc(.15 + var(--p, 0) * .85); pointer-events: none; }
  .journey .head { position: relative; z-index: 2; flex: none; }
  .journey .head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
  .journey .head h2 { font-size: clamp(28px, min(3vw, 5vh), 44px); line-height: 1; }
  .journey .steps { display: flex; gap: 26px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
  .journey .steps span { transition: color .3s; }
  .journey .track { position: relative; flex: 1; min-height: 0; margin: clamp(20px, 4vh, 40px) 0 clamp(64px, 11vh, 110px); display: flex; gap: 4vw; padding-left: max(40px, (100vw - 1280px) / 2); transform: translateX(calc(min(var(--p, 0) * 1.2, 1) * -1 * (4 * 62vw + 3 * 4vw - 100vw + 2 * max(40px, (100vw - 1280px) / 2)))); will-change: transform; }
  .station { flex: none; width: 62vw; height: 100%; display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: stretch; }
  .station figure { position: relative; overflow: hidden; border-radius: 4px; min-height: 0; }
  .station figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .station .txt { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8px; min-height: 0; }
  .station .n { font-stretch: 125%; font-weight: 800; font-size: clamp(56px, 10vh, 96px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--stone); }
  .station h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: clamp(24px, 3.6vh, 30px); line-height: 1.05; margin: 18px 0 14px; }
  .station p { font-size: 16px; }
  .heat { position: absolute; left: max(40px, (100vw - 1280px) / 2); right: max(40px, (100vw - 1280px) / 2); bottom: clamp(28px, 5vh, 50px); height: 4px; background: var(--coal-3); border-radius: 4px; overflow: hidden; }
  .heat i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ember); }
  .heat-label { position: absolute; right: max(40px, (100vw - 1280px) / 2); bottom: calc(clamp(28px, 5vh, 50px) + 14px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }

  /* ---------- Leistungen ---------- */
  .services { padding: 130px 0 110px; background: var(--coal-2); }
  .services h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; margin: 16px 0 60px; max-width: 16ch; }
  .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
  .svc { background: var(--coal-2); padding: 40px 34px 44px; transition: background .3s; }
  .svc:hover { background: var(--coal-3); }
  .svc h3 { color: var(--paper); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; margin-bottom: 20px; display: flex; justify-content: space-between; }
  .svc h3 small { font-size: 13px; color: var(--ember-1); font-stretch: 100%; }
  .svc ul { list-style: none; }
  .svc li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
  .svc p { font-size: 18px; color: var(--paper); line-height: 1.5; }

  /* ---------- Wissen ---------- */
  .know { padding: 110px 0; }
  .know .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .kcard { position: relative; min-height: 460px; overflow: hidden; border-radius: 4px; display: flex; align-items: flex-end; }
  .kcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease, filter .6s; filter: grayscale(.4) brightness(.7); }
  .kcard:hover img { transform: scale(1.05); filter: grayscale(0) brightness(.75); }
  .kcard .in { position: relative; padding: 36px; }
  .kcard h3 { font-size: 36px; line-height: 1; margin: 12px 0 12px; }
  .kcard p { color: var(--ash); max-width: 44ch; }
  .kcard .tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
  .kcard .tags span { border: 1px solid rgba(243,238,233,.3); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--paper); }

  /* ---------- Feuer + Zitat ---------- */
  .fire { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
  .fire img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
  .fire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(20,18,17,.9) 68%); }
  .fire .wrap { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
  .fire .box { max-width: 520px; }
  .fire blockquote { font-size: 26px; line-height: 1.4; color: var(--paper); margin: 18px 0 30px; }
  .fire ul { list-style: none; }
  .fire li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
  .fire li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); }

  /* ---------- Kontakt ---------- */
  .home-contact { padding: 130px 0 110px; background: var(--paper); color: var(--coal); }
  .home-contact .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
  .home-contact .wrap > * { min-width: 0; }
  .home-contact h2 { font-size: clamp(34px, 5vw, 76px); overflow-wrap: anywhere; line-height: .92; color: var(--coal); }
  .home-contact dl { margin-top: 44px; display: grid; gap: 22px; }
  .home-contact dt { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
  .home-contact dd { font-size: 19px; }
  .home-contact dd a:hover { color: var(--ember-2); }
  input:focus, textarea:focus { outline: none; border-color: var(--ember-1); }


  /* ---------- Reduced motion: Szene wird zur Liste ---------- */
  @media (prefers-reduced-motion: reduce) {
    [data-reveal], .fx-word { opacity: 1; transform: none; transition: none; }
    .journey { height: auto; }
    .journey .pin { position: relative; height: auto; padding: 120px 0 80px; }
    .journey .track { flex-direction: column; transform: none; padding: 0 40px; gap: 60px; margin: 40px 0 0; }
    .station { width: 100%; height: 60vh; }
    .heat, .heat-label { display: none; }
  }

  @media (max-width: 1080px) {
    .facts .intro, .home-contact .wrap { grid-template-columns: 1fr; }
    .big-stats { grid-template-columns: 1fr 1fr; justify-content: stretch; row-gap: 44px; }
    .bstat:nth-child(3) { padding-left: 0; border-left: 0; }
    .stat:nth-child(2) { border-right: 0; }
    .row3 { grid-template-columns: 1fr; }
    .station { width: 80vw; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.2fr) auto; gap: 18px; }
    .journey .track { transform: translateX(calc(min(var(--p, 0) * 1.2, 1) * -1 * (4 * 80vw + 3 * 4vw - 100vw + 80px))); }
  }
  @media (max-width: 760px) {
    :root { --wrap: calc(100% - 32px); }
    .scrollhint { display: none; }
    .journey .steps { display: none; }
    .big-stats { grid-template-columns: 1fr; row-gap: 30px; }
    .bstat { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .bstat:first-child { border-top: 0; padding-top: 0; }
    .bstat b { font-size: 76px; }
    .station { width: 86vw; }
    .station .n { font-size: 64px; }
    .fire::after { background: rgba(20,18,17,.7); }
  }


/* =================== Unterseiten =================== */

/* ---------- brueche ---------- */
  .factlist { border-top: 1px solid var(--line); margin-top: 34px; }
  .factlist div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .factlist dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
  .factlist dd { color: var(--paper); }
  .wide { position: relative; height: 78vh; min-height: 480px; overflow: hidden; }
  .wide img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
  .wide figcaption { position: absolute; left: var(--gutter); bottom: 28px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: rgba(20,18,17,.7); padding: 8px 12px; }
  .mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
  .mosaic figure { overflow: hidden; border-radius: 4px; position: relative; }
  .mosaic figure:first-child { grid-row: span 2; }
  .mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
  .mosaic figure:hover img { transform: scale(1.04); }
  .pull { font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: clamp(28px, 3.4vw, 50px); line-height: 1.02; max-width: 22ch; }
  .pull::before { content: ""; display: block; width: 64px; height: 4px; background: var(--ember); margin-bottom: 28px; }
  @media (max-width: 900px) { .factlist div { grid-template-columns: 1fr; gap: 2px; } .mosaic { grid-template-rows: 220px 220px; } }

/* ---------- eig ---------- */
  .keys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .keys a { padding: 40px 32px 36px; border-left: 1px solid var(--line); transition: background .3s; display: block; }
  .keys a:first-child { border-left: 0; padding-left: 0; }
  .keys a:hover { background: var(--coal-2); }
  .keys b { display: block; font-stretch: 118%; font-weight: 800; font-size: clamp(48px, 5.4vw, 88px); line-height: .9; letter-spacing: -.03em; }
  .keys b small { font-size: .3em; margin-left: 6px; letter-spacing: 0; font-stretch: 100%; font-weight: 600; }
  .keys b.long { font-size: clamp(26.4px, 2.97vw, 48.4px); line-height: 1.636; letter-spacing: -.02em; }
  .keys b.long small { font-size: .42em; }
  .keys span { display: block; margin-top: 14px; color: var(--paper); font-weight: 600; }
  .keys em { display: block; font-style: normal; color: var(--stone); font-size: 14px; margin-top: 4px; }
  .data { padding: 110px 0 0; scroll-margin-top: 150px; }
  .data .split { align-items: start; }
  .chartcard { background: var(--coal-2); border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px 22px; position: sticky; top: 170px; }
  .chartcard header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
  .chartcard h3 { color: var(--paper); font-size: 17px; font-weight: 600; }
  .chartcard h3 small { display: block; color: var(--stone); font-weight: 400; font-size: 13px; }
  .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
  .seg button { background: none; border: 0; color: var(--ash); font: 600 13px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
  .seg button[aria-pressed="true"] { background: var(--paper); color: var(--coal); }
  .bars { display: grid; gap: 6px; }
  .bar { display: grid; grid-template-columns: 170px 1fr 56px; gap: 12px; align-items: center; font-size: 14px; }
  .bar .name { color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bar .track { height: 12px; background: var(--coal-3); border-radius: 2px; position: relative; overflow: hidden; }
  .bar .fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--stone); border-radius: 2px; transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .bar.cut .fill { background: repeating-linear-gradient(90deg, var(--stone) 0 88%, transparent 88% 91%, var(--stone) 91% 100%); }
  .bar .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--paper); }
  .bar.me .name, .bar.me .val { color: var(--paper); font-weight: 600; }
  .bar.me .fill { background: var(--ember); }
  .bar.me .track { box-shadow: 0 0 0 1px rgba(241,135,0,.45); }
  .chartcard .foot { margin-top: 16px; font-size: 12.5px; color: var(--stone); }
  table { width: 100%; border-collapse: collapse; font-size: 14px; }
  th, td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
  th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
  td:last-child, th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
  tr.me td { color: var(--paper); font-weight: 600; }
  tr.me td:first-child { box-shadow: inset 3px 0 0 var(--ember-1); padding-left: 10px; }
  [hidden] { display: none !important; }
  .conclusion { margin-top: 26px; padding: 22px 24px; border-left: 3px solid var(--ember-1); background: linear-gradient(90deg, rgba(241,135,0,.1), transparent); color: var(--paper); }
  @media (max-width: 1080px) { .chartcard { position: static; } }
  @media (max-width: 900px) { .keys { grid-template-columns: 1fr; } .keys a { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; } .keys a:first-child { border-top: 0; } .keys b.long { font-size: clamp(34px, 9vw, 48px); line-height: 1; } .bar { grid-template-columns: 112px 1fr 48px; font-size: 13px; } }

/* ---------- uns ---------- */
  .clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 50px; }
  .client { background: var(--coal); display: flex; flex-direction: column; }
  .client figure { aspect-ratio: 4 / 3; overflow: hidden; }
  .client img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.85); transition: transform 1.2s ease, filter .5s; }
  .client:hover img { transform: scale(1.05); filter: none; }
  .client .in { padding: 22px 22px 26px; }
  .client h3 { color: var(--paper); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1.1; margin-bottom: 10px; }
  .client p { font-size: 15px; }
  .drawing { margin-top: 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(90deg, rgba(241,135,0,.12), transparent 60%); flex-wrap: wrap; }
  .drawing p { color: var(--paper); font-size: 20px; max-width: 46ch; }
  .team { background: var(--paper); color: #3b3634; padding: 110px 0; }
  .team .display { color: #1d1a19; }
  .team .kicker { color: var(--ember-2); }
  .people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
  .person { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
  .person figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #ddd6cf; }
  .person img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
  .person:hover img { filter: none; }
  .person h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; color: #1d1a19; font-size: 26px; line-height: 1; }
  .person .role { color: var(--ember-2); font-weight: 600; font-size: 14px; margin: 8px 0 14px; }
  .person p { font-size: 15.5px; line-height: 1.6; }
  .person a.mail { display: inline-flex; margin-top: 16px; font-weight: 600; color: #1d1a19; border-bottom: 2px solid var(--ember-1); padding-bottom: 2px; }
  .person a.mail:hover { color: var(--ember-2); }
  .values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 50px; }
  .values li { list-style: none; padding: 26px 24px 0 0; color: var(--paper); font-weight: 600; font-size: 17px; }
  .values li + li { padding-left: 24px; border-left: 1px solid var(--line); }
  .values li::before { content: ""; display: block; width: 28px; height: 3px; background: var(--ember); margin-bottom: 16px; }
  @media (max-width: 1080px) { .clients { grid-template-columns: 1fr 1fr; } .people { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; row-gap: 20px; } .values li:nth-child(3) { padding-left: 0; border-left: 0; } }
  @media (max-width: 900px) { .clients, .values { grid-template-columns: 1fr; } .values li + li { padding-left: 0; border-left: 0; } .person { grid-template-columns: 1fr; } .person figure { max-width: 240px; } }

/* ---------- kontakt ---------- */
  .contactgrid { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: start; }
  .contact-cards { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
  .contact-card { background: var(--coal-2); padding: 24px 26px; }
  .contact-card dt { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
  .contact-card dd { color: var(--paper); font-size: 18px; }
  .contact-card dd a:hover { color: var(--ember-1); }
  .contact-card dd small { display: block; color: var(--stone); font-size: 14px; }
  .people-mini { margin-top: 26px; display: grid; gap: 14px; }
  .people-mini a { display: flex; align-items: center; gap: 14px; }
  .people-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; filter: grayscale(1); }
  .people-mini b { display: block; color: var(--paper); }
  .people-mini span { font-size: 14px; }
  .formcard { background: var(--coal-2); border: 1px solid var(--line); border-radius: 6px; padding: 38px 40px 40px; }
  .formcard h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin-bottom: 10px; }
  .formcard > p { margin-bottom: 26px; }
  .states { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; font-size: 13px; color: var(--stone); flex-wrap: wrap; }
  .states button { background: none; border: 1px dashed var(--line); color: var(--ash); font: 600 12px var(--font); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
  .states button[aria-pressed="true"] { border-style: solid; border-color: var(--ember-1); color: var(--ember-1); }
  .success { text-align: left; }
  .success .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; color: #fff; font-size: 26px; margin-bottom: 22px; }
  .success h2 { margin-bottom: 14px; }
  .map { margin-top: 70px; position: relative; min-height: 360px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; place-items: center; text-align: center; background:
      linear-gradient(0deg, rgba(20,18,17,.82), rgba(20,18,17,.82)),
      repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
      repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px); }
  .map .in { max-width: 520px; padding: 30px; display: grid; gap: 14px; justify-items: center; }
  .map .pin { width: 18px; height: 18px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 8px rgba(241,135,0,.18), 0 0 0 18px rgba(241,135,0,.08); }
  .map b { color: var(--paper); font-size: 20px; }
  .map p { font-size: 14px; }
  .map .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  @media (max-width: 1080px) { .contactgrid { grid-template-columns: 1fr; } }
  @media (max-width: 900px) { .formcard { padding: 26px 20px; } .form .captcha { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
  .legal { display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }
  .legalnav { position: sticky; top: 130px; display: grid; gap: 4px; }
  .legalnav a { padding: 10px 14px; border-left: 2px solid var(--line); color: var(--ash); font-weight: 600; font-size: 15px; }
  .legalnav a:hover { color: var(--paper); border-color: var(--stone); }
  .legalnav a[aria-current] { color: var(--paper); border-color: var(--ember-1); }
  .prose.legaltext { max-width: 72ch; }
  .prose.legaltext h2 { font-size: 22px; margin: 44px 0 12px; }
  .prose.legaltext h2:first-child { margin-top: 0; }
  .prose.legaltext dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 16px; margin-bottom: 20px; }
  .prose.legaltext dt { color: var(--stone); }
  .prose.legaltext dd { color: var(--paper); }
  @media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 30px; } .legalnav { position: static; grid-auto-flow: column; overflow-x: auto; } .legalnav a { border-left: 0; border-bottom: 2px solid var(--line); white-space: nowrap; } .legalnav a[aria-current] { border-color: var(--ember-1); } }


/* =================== Contao-Anpassungen =================== */

/* Hilfsklassen aus dem Contao-Markup */
.invisible { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header: Navigationsmodul + Sprache + CTA in einer Leiste */
.mainnav { display: flex; align-items: center; gap: 34px; }
.mainnav .mod_navigation { display: block; }
.mainnav .level_1 { list-style: none; display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 600; color: var(--paper); }
.mainnav .level_1 > li { position: relative; }
.mainnav .level_1 > li > a { padding: 30px 0; display: inline-block; }
.mainnav .level_1 > li > a.trail, .mainnav .level_1 > li > a[aria-current] { color: var(--ember-1); }
.mainnav .sub ul { display: block; list-style: none; }
.mainnav .sub a { display: block; padding: 8px 16px; font-weight: 400; }
.mainnav .sub a[aria-current] { color: var(--ember-1); }
.mainnav > .cta { font-size: 15px; font-weight: 600; }
.mainnav > .lang a[aria-disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 1080px) { .mainnav, .mainnav .level_1 { gap: 22px; } }
@media (max-width: 900px) { .mainnav { display: none; } }

/* Mobiles Menü: Navigationsmodul im Overlay */
.mobilemenu .mod_navigation { position: relative; }
.mobilemenu .level_1 { list-style: none; }
.mobilemenu .level_1 > li { border-bottom: 1px solid var(--line); }
.mobilemenu .subitems ul { list-style: none; }

/* Brotkrumen (Modul Navigationspfad) */
.crumbs .mod_breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--stone); }
.crumbs .mod_breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.crumbs .mod_breadcrumb a:hover { color: var(--paper); }
.crumbs .mod_breadcrumb li.active { color: var(--paper); }

/* Unternavigation (Modul mit Startebene 1, CSS-Klasse „subnav“) */
nav.subnav { display: block; }
nav.subnav.mod_navigation ul { list-style: none; }
nav.subnav a.trail { color: var(--paper); border-color: var(--line); }

/* Artikel: Standard-Elemente laufen im Inhaltsraster, Sonder-Komponenten (.bleed) volle Breite */
main .mod_article > :not(.bleed):not(script) { width: var(--wrap); margin-inline: auto; }
main .mod_article:first-child > .bleed:first-child + :not(.bleed) { margin-top: 90px; }
main .mod_article > .content-headline, main .mod_article > .content-text, main .mod_article > .content-list,
main .mod_article > .content-image, main .mod_article > .content-table, main .mod_article > .ce_form,
main .mod_article > .content-hyperlink, main .mod_article > .content-gallery { margin-bottom: 28px; }
main .mod_article > :not(.bleed):last-child { margin-bottom: 110px; }
main .mod_article + .mod_article > :not(.bleed):first-child { margin-top: 20px; }

/* Fließtext in Standard-Elementen */
.content-text, .content-list, .content-headline, .ce_form > h1, .ce_form > h2 { max-width: 820px; }
.content-text .rte p, .content-text > p { margin-bottom: 20px; }
.content-text .rte ul, .content-text .rte ol, .content-list ul, .content-list ol { margin: 0 0 20px 1.2em; }
.content-text .rte li, .content-list li { margin-bottom: 6px; }
.content-text .rte li::marker, .content-list li::marker { color: var(--ember-1); }
.content-text strong, .content-list strong { color: var(--paper); font-weight: 600; }
.content-text .rte a, .content-list a { color: var(--ember-1); border-bottom: 1px solid rgba(241,135,0,.4); }
main h1, main h2, main h3, main h4, main h5, main h6 { color: var(--paper); }
.content-headline, .content-text > h2, .content-text > h3, .content-list > h2, .content-table > h2 {
  font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05;
  font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 20px; hyphens: auto; -webkit-hyphens: auto;
}
.content-text > h3, .content-text > h4 { font-size: 22px; font-stretch: 100%; font-weight: 600; text-transform: none; }
main .mod_article > .content-headline:not(:first-child), main .mod_article > .content-text > h2 { margin-top: 30px; }
.content-text .media { display: grid; grid-template-columns: 1fr; gap: 24px; }
.content-text figure img, .content-image img, .content-gallery img { border-radius: 4px; }
.content-image figcaption, .content-text figcaption { font-size: 13px; color: var(--stone); margin-top: 8px; }
.content-image { max-width: 1040px; }
.content-gallery ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

/* Tabellen */
.content-table table { width: 100%; max-width: 820px; border-collapse: collapse; font-size: 15px; }
.content-table th, .content-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.content-table th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

/* Formulare (Formulargenerator) */
.ce_form form .formbody { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ce_form .widget { display: grid; gap: 6px; }
.ce_form .widget-textarea, .ce_form .widget-captcha, .ce_form .widget-checkbox, .ce_form .widget-submit, .ce_form .widget-explanation, .ce_form .formbody > p { grid-column: 1 / -1; }
.ce_form label, .ce_form legend { font-size: 13px; font-weight: 600; color: var(--paper); }
.ce_form span.mandatory { color: var(--ember-1); }
.ce_form input.text, .ce_form input.captcha, .ce_form textarea { font: inherit; font-size: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--coal-2); color: var(--paper); width: 100%; }
.ce_form input:focus, .ce_form textarea:focus { outline: none; border-color: var(--ember-1); box-shadow: 0 0 0 3px rgba(241,135,0,.2); }
.ce_form textarea { min-height: 160px; resize: vertical; }
.ce_form .widget-captcha { grid-template-columns: 1fr 110px; align-items: center; }
.ce_form .widget-captcha label { grid-column: 1 / -1; }
.ce_form .captcha_text { grid-row: 2; grid-column: 1; color: var(--ash); font-size: 15px; }
.ce_form .widget-captcha input.captcha { grid-row: 2; grid-column: 2; }
.ce_form fieldset { border: 0; }
.ce_form .checkbox_container span { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ash); }
.ce_form .checkbox_container input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ember-1); flex: none; }
.ce_form .checkbox_container a, .ce_form .formbody > p a { color: var(--ember-1); border-bottom: 1px solid rgba(241,135,0,.4); }
.ce_form .widget .error, .ce_form p.error { color: #ff8a70; font-size: 13px; }
.ce_form .widget.error input, .ce_form .widget.error textarea, .ce_form input.error, .ce_form textarea.error { border-color: #ff6a4d; }
.ce_form button.submit { display: inline-flex; gap: 10px; align-items: center; padding: 15px 26px; border-radius: 999px; font: 600 15px var(--font); border: 0; cursor: pointer; background: var(--ember); color: #fff; justify-self: start; }
.ce_form button.submit:hover { filter: brightness(1.08); }
.ce_form button.submit:disabled { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .ce_form form .formbody { grid-template-columns: 1fr; } }

/* Formular in der hellen Kontakt-Sektion der Startseite */
.home-contact .ce_form label, .home-contact .ce_form legend { color: var(--coal); }
.home-contact .ce_form input.text, .home-contact .ce_form input.captcha, .home-contact .ce_form textarea { background: #fff; color: var(--coal); border: 0; border-bottom: 2px solid #cfc7c1; border-radius: 0; }
.home-contact .ce_form .captcha_text, .home-contact .ce_form .checkbox_container span { color: #4a4543; }
.home-contact .ce_form { max-width: none; width: auto; }

/* Suche (Suchergebnis-Seite) */
.mod_search .formbody { display: flex; gap: 12px; max-width: 640px; }
.mod_search input[type=search] { flex: 1; font: inherit; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--coal-2); color: var(--paper); }
.mod_search button.submit { border: 0; border-radius: 999px; padding: 13px 22px; background: var(--ember); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.mod_search .search_default, .mod_search .header { margin-top: 26px; }
.mod_search h3 a { color: var(--paper); }
.mod_search .url { color: var(--stone); font-size: 13px; }

/* Komponenten-Zusätze für Contao-Templates */
.journey .track { counter-reset: station; }
.station { counter-increment: station; }
.station .n::before { content: counter(station, decimal-leading-zero); }
.station .txt p { font-size: 16px; }
.services .svc { position: relative; }
.services .svc .idx { position: absolute; right: 34px; top: 42px; font-size: 13px; color: var(--ember-1); }
.services .svc .content-text, .services .svc .content-list { max-width: none; width: auto; }
.services .svc h3, .services .svc .content-text > h3 { color: var(--paper); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; margin-bottom: 20px; padding-right: 40px; }
.services .svc ul { list-style: none; margin: 0; }
.services .svc li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; margin: 0; }
.services .svc li::marker { content: none; }
.services .svc p { font-size: 18px; color: var(--paper); line-height: 1.5; }
.fire .fire-text blockquote, .fire .fire-text > .rte > p:first-child { font-size: 26px; line-height: 1.4; color: var(--paper); margin: 18px 0 30px; }
.fire .fire-text ul { list-style: none; margin: 0; }
.fire .fire-text li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.fire .fire-text li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); }
.split-block { padding: 110px 0; }
.split-block + .split-block { padding-top: 0; }
.split-left > *, .split-right > * { width: auto !important; margin-inline: 0 !important; }
.split-right .content-text:first-child .rte > p:first-child { font-size: 22px; line-height: 1.5; color: var(--paper); }
.split-left .content-headline, .split-left .content-text > h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
.cardgrid { padding: 110px 0; }
.cardgrid .section-title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; margin-bottom: 50px; }
.cardgrid .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cardgrid .grid.n5 { grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .cardgrid .grid.n5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cardgrid .grid { grid-template-columns: 1fr !important; } }
.light-section { background: var(--paper); color: #3b3634; padding: 110px 0; }
.light-section h1, .light-section h2, .light-section h3, .light-section .content-headline, .light-section strong { color: #1d1a19; }
.light-section .kicker { color: var(--ember-2); }
.light-section .content-text .rte a { color: #1d1a19; border-bottom-color: var(--ember-1); }
.light-section.team .split-left, .light-section.team .split-right { display: grid; gap: 40px; }
.person .bio p { font-size: 15.5px; margin-bottom: 12px; }
.person .bio p:first-child em { font-style: normal; color: var(--ember-2); font-weight: 600; font-size: 14px; }
.person .bio a { color: #1d1a19; font-weight: 600; border-bottom: 2px solid var(--ember-1); }
.pull-wrap { padding: 20px 0 110px; }
.contact-cards { list-style: none; }
.hero .sub { font-size: clamp(17px, 2.4vh, 20px); max-width: 36ch; color: var(--ash); }
.chartcard > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.chartcard > header > * { margin: 0 !important; }
.chartcard > header .content-headline, .chartcard > header h2, .chartcard > header h3 { font-size: 17px !important; font-stretch: 100% !important; text-transform: none !important; font-weight: 600 !important; color: var(--paper); }
.chartcard table { max-width: none; }
.chartcard tr.me td { color: var(--paper); font-weight: 600; }
.chartcard tr.me td:first-child { box-shadow: inset 3px 0 0 var(--ember-1); padding-left: 10px; }
.chartcard td:last-child, .chartcard th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.split-right .chartcard, .split-left .chartcard { position: sticky; top: 170px; }
@media (max-width: 1080px) { .split-right .chartcard { position: static; } }

/* Bilder im Inhalt: nie verzerren */
main img { height: auto; }
.content-text .kicker { margin-bottom: 14px; }
.content-text h2.display, .content-text .display { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; margin-bottom: 20px; max-width: none; }
.content-text.drawing { width: var(--wrap); max-width: none; margin: 0 auto 110px; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(90deg, rgba(241,135,0,.12), transparent 60%); flex-wrap: wrap; }
.content-text.drawing .rte { display: contents; }
.content-text.drawing p { color: var(--paper); font-size: 20px; max-width: 46ch; margin: 0; }
.content-text.drawing p:last-child { max-width: none; }
.content-text a.btn { border: 0; color: #fff; }
.content-text a.btn-ghost { color: var(--paper); border: 1px solid rgba(243,238,233,.35); }
.formcard { background: var(--coal-2); border: 1px solid var(--line); border-radius: 6px; padding: 38px 40px 40px; }
.light-section.team.einspaltig .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.light-section.team.einspaltig .wrap > .content-text:first-child { grid-column: 1 / -1; }
@media (max-width: 1080px) { .light-section.team.einspaltig .wrap { grid-template-columns: 1fr; } }
.values-wrap .content-text { max-width: none; }
ul.values { margin: 50px 0 0 !important; }
ul.values li::marker { content: none; }
.home-contact { padding: 130px 0 110px; background: var(--paper); color: var(--coal); }
.light-section.home-contact .content-text h2 { font-size: clamp(34px, 5vw, 76px); line-height: .92; color: var(--coal); }
.light-section dl.contact-list { margin-top: 44px; display: grid; gap: 22px; }
.light-section dl.contact-list dt { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.light-section dl.contact-list dd { font-size: 19px; margin: 0; }
main > .mod_article:first-child > :first-child:not(.bleed) { margin-top: 150px; }
.site-footer .h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; font-weight: 600; }
.site-footer .claim { margin-top: 18px; max-width: 30ch; }
.ce_form textarea { height: 180px; }
.ce_form .checkbox_container label { font-weight: 400; font-size: 15px; color: var(--ash); }
.ce_form .checkbox_container legend { margin-bottom: 8px; }
.home-contact .ce_form .checkbox_container label { color: #4a4543; }
.formcard > h2 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin-bottom: 24px; }
.split-block.data .split-left .content-text > h2 { font-size: clamp(26px, 2.4vw, 36px); hyphens: manual; }
.content-text.values-wrap { max-width: none; margin-top: 90px !important; }
main .mod_article > .light-section + :not(.bleed) { margin-top: 90px; }
main .mod_article > .pagehead + :not(.bleed):not(.subnav), main .mod_article > nav.subnav + :not(.bleed) { margin-top: 90px; }
main .mod_article > nav.subnav { width: auto; }

/* Audit-Korrekturen (Kontrast, Zustände) */
.lang .soon { padding: 3px 9px; border-radius: 999px; color: var(--stone); cursor: help; }
.pagehead img.dim { opacity: .55; }
.pagehead picture, .hero picture, .kcard picture, .fire picture, .wide picture { display: contents; }
.light-section dl.contact-list dt, .light-section .factlist dt { color: #5f5957; }
.ce_form label, .ce_form legend { color: var(--paper); }
.ce_form label.mandatory { color: var(--paper); }
.ce_form span.mandatory { color: var(--ember-1); }
.home-contact .ce_form label, .home-contact .ce_form label.mandatory, .home-contact .ce_form legend { color: var(--coal); }
.home-contact .ce_form span.mandatory { color: var(--ember-2); }

.ce_form input.text, .ce_form textarea { color: var(--paper); }
.home-contact .ce_form input.text, .home-contact .ce_form textarea { color: var(--coal); }
.home-contact .ce_form .checkbox_container a, .light-section .content-text a:not(.btn) { color: #a3120f; border-bottom-color: #a3120f; }

/* Mobile-Audit: kein horizontales Scrollen, Tippflächen ≥ 24 px (WCAG 2.2) */
main { overflow-x: clip; }
.content-text, .content-list, .content-table, .ce_form { overflow-wrap: anywhere; }
@media (max-width: 760px) { .bstat b { flex-wrap: wrap; white-space: normal; row-gap: 4px; font-size: clamp(52px, 17vw, 76px) !important; } }
.site-footer .bottom nav a { display: inline-block; padding: 6px 0; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.ce_form .checkbox_container input { width: 24px; height: 24px; margin-top: 0; }
.ce_form .checkbox_container label { padding-top: 2px; }
@media (min-width: 761px) { .bstat b { font-size: clamp(48px, 5.2vw, 80px); } .bstat { padding-inline: clamp(16px, 2.4vw, 40px); } .bstat:first-child { padding-left: 0; } .bstat:last-child { padding-right: 0; } }

/* Tabellen und Zitate im Fließtext */
.content-text table { width: 100%; max-width: 520px; border-collapse: collapse; margin: 6px 0 24px; font-size: 15px; }
.content-text th, .content-text td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.content-text th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.content-text blockquote { margin: 10px 0 24px; padding: 22px 24px; border-left: 3px solid var(--ember-1); background: linear-gradient(90deg, rgba(241,135,0,.1), transparent); color: var(--paper); font-style: italic; }
.content-text blockquote p { margin-bottom: 10px; }
.content-text blockquote cite { font-style: normal; font-size: 14px; color: var(--stone); }
.content-text.property > h3 { font-size: 22px; font-stretch: 100%; font-weight: 600; text-transform: none; margin-top: 10px; }
