/* Montserrat (SIL OFL 1.1), selbst gehostet – keine Anfragen an Google Fonts. latin-ext (u. a. Polnisch) lädt nur bei Bedarf. Lizenz: /static/fonts/OFL-LICENSE.txt */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/montserrat-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/montserrat-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/montserrat-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/montserrat-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Fliegel-Palette laut fliegel-textilservice.de (custom.css) + Logo-Rot */
:root {
  --navy: #222669;     /* Fliegel Dark Blue */
  --cyan: #00A3FF;     /* Fliegel Cyan – Akzent, auf Weiß nur für Flächen/große Elemente */
  --light: #DEF3FF;    /* Fliegel Light Blue */
  --grey: #636363;     /* Fliegel Grey – Fließtext */
  --line: #D0D0D0;     /* Fliegel Light Gray */
  --red: #E72736;      /* Logo-Rot, sparsam */
  --white: #FFFFFF;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
/* Lange Komposita („Treibhausgasemissionen“, „Nachhaltigkeitsprofil“) trennen statt aus der Box ragen lassen */
h1, h2, h3, .kpi__label, .kpi__unit, .card, .matrix td, .flow li, .bar__label, .mail h2, .mail h3 { -webkit-hyphens: auto; hyphens: auto; }
p { color: var(--grey); }
a { color: var(--navy); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
h1, h2, h3 { font-weight: 600; color: inherit; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile mit Logo */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.topbar__logo img { height: 54px; width: auto; display: block; }
@media (max-width: 360px) { .topbar__logo img { height: 42px; } }
.topbar__proto { font-size: 12px; font-weight: 500; color: var(--navy); background: var(--light); border-radius: 30px; padding: 6px 12px; text-align: right; }
@media (max-width: 560px) { .topbar__proto span { display: none; } }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 300px; height: 300px; background: url('/static/img/feder.png') center / contain no-repeat; opacity: .14; pointer-events: none; }
.hero--small { padding: 52px 0 60px; }
.hero h1 { font-size: clamp(36px, 8vw, 62px); line-height: 1.08; margin: 10px 0 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero--small h1 { font-size: clamp(30px, 6vw, 46px); }
.hero .eyebrow { color: var(--cyan); }
.hero .eyebrow::before { background: var(--cyan); }
.lead { font-size: 18px; max-width: 34em; color: var(--light); margin: 0 0 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--navy); margin: 0; }
.eyebrow::before { content: ''; width: 24px; height: 3px; border-radius: 2px; background: var(--cyan); flex: none; }

/* Buttons wie auf fliegel-textilservice.de: Pille, 2px Rahmen */
.btn { display: inline-block; font: 500 16px/1 var(--font); text-decoration: none; padding: 12px 32px; border-radius: 30px; border: 2px solid var(--cyan); background: var(--cyan); color: var(--white); }
.btn:hover { background: transparent; color: var(--cyan); }

/* Abschnitte */
.sec { padding: 64px 0; }
.sec h2 { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.2; margin: 10px 0 16px; }
.sec--mint { background: var(--light); }
.sec--navy { background: var(--navy); color: var(--white); }
.sec--navy p { color: var(--light); }
.sec--navy .eyebrow { color: var(--cyan); }
.note { font-size: 14px; color: var(--grey); margin-top: 20px; }
.sec--navy .note { color: #b8c6f0; }

/* Weg der Wäsche */
.steps { list-style: none; padding: 0; margin: 24px 0 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--light); }
.steps li { position: relative; margin-bottom: 10px; }
.steps details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.steps details[open] { border-color: var(--cyan); }
.steps summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 0; font-weight: 600; font-size: 17px; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary::after { content: '+'; margin-left: auto; color: var(--cyan); font-size: 24px; font-weight: 500; }
.steps details[open] summary::after { content: '–'; }
.steps .num { flex: none; width: 40px; height: 40px; margin-left: -1px; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--cyan); display: grid; place-items: center; font-size: 15px; }
.steps details p { margin: 0; padding: 0 18px 16px 54px; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--white); border-radius: 16px; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--cyan); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; }
.card--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); border-top-color: var(--cyan); }
.card--dark p { color: var(--light); }
.card--dark a { color: var(--white); }
.tag { display: inline-block; margin-top: 12px !important; font-size: 11px; font-weight: 600; color: var(--navy) !important; background: var(--light); border-radius: 30px; padding: 3px 10px; text-transform: uppercase; letter-spacing: .08em; }

/* Kennzahlen */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.kpi { background: var(--white); border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.kpi--pending { background: repeating-linear-gradient(-45deg, var(--white), var(--white) 10px, #f4fbff 10px, #f4fbff 20px); }
.kpi__label { margin: 0; font-weight: 600; font-size: 14px; color: var(--navy); }
.kpi__value { margin: 8px 0 0; font-size: 32px; font-weight: 700; line-height: 1; color: var(--navy); }
.kpi--pending .kpi__value { color: var(--line); }
.kpi__unit { margin: 4px 0 0; font-size: 13px; }
.kpi__delta { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--navy); }
.kpi__src { margin: 8px 0 0; font-size: 12px; }

/* Tabellen */
.table-scroll { overflow-x: auto; margin-top: 20px; }
.matrix { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; min-width: 640px; font-size: 15px; }
.matrix th { background: var(--navy); color: var(--white); text-align: left; font-weight: 600; padding: 12px 14px; }
.matrix td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--grey); }
.matrix td strong { color: var(--navy); font-weight: 600; }
.matrix td:first-child { min-width: 190px; }
.pill { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 30px; background: var(--light); color: var(--navy); white-space: nowrap; }
.pill--ok { background: var(--cyan); color: var(--white); font-weight: 600; }
.muted { font-size: 13px; color: var(--grey); }

.flow { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.flow b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.flow b::before { content: counter(f) ' · '; color: var(--cyan); }
.flow span { font-size: 14px; color: var(--grey); }

/* Footer */
.foot { background: var(--white); border-top: 4px solid var(--cyan); color: var(--grey); padding: 40px 0; font-size: 14px; }
.foot p { max-width: 40em; }
.foot__logo { height: 54px; width: auto; display: block; margin-bottom: 8px; }

/* Bettkarte (druckbar, A6) */
body.print { background: #eef1f5; }
.print-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; background: var(--navy); color: var(--white); font-size: 14px; }
.print-bar code { color: var(--cyan); word-break: break-all; }
.print-bar button { font: 500 14px var(--font); background: var(--cyan); color: var(--white); border: 2px solid var(--cyan); border-radius: 30px; padding: 10px 24px; cursor: pointer; }
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 32px 16px; }
.bedcard { width: 105mm; min-height: 148mm; max-width: 100%; background: var(--white); padding: 10mm 10mm 8mm; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 10px 40px rgba(34,38,105,.18); border-top: 4mm solid var(--navy); position: relative; }
.bedcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2mm; background: var(--cyan); }
.bedcard__logo { width: 46mm; height: auto; }
.bedcard h1 { font-size: 26px; line-height: 1.1; margin: 7mm 0 3mm; color: var(--navy); }
.bedcard h1 em { font-style: normal; color: var(--cyan); }
.bedcard__lead { margin: 0; font-size: 12px; }
.bedcard__qr { width: 36mm; height: 36mm; margin: 7mm 0 4mm; padding: 2mm; border: 2px solid var(--cyan); border-radius: 4mm; box-sizing: content-box; }
.bedcard__qr svg { width: 100%; height: 100%; display: block; }
.bedcard__cta { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--navy); }
.bedcard__foot { margin-top: auto; padding-top: 5mm; font-size: 9px; }
@page { size: A6 portrait; margin: 0; }
@media print {
  .no-print { display: none; }
  body.print { background: none; }
  .sheet { padding: 0; }
  .bedcard { box-shadow: none; width: 105mm; height: 148mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Siegel / Labels */
.cards--labels { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.label { display: flex; flex-direction: column; }
.label__img { height: 76px; display: flex; align-items: center; margin-bottom: 14px; }
.label__img img { max-height: 76px; max-width: 100%; width: auto; height: auto; display: block; }
.label p { font-size: 15px; }
.card .label__check { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--navy); }

/* Nachricht nach dem Aufenthalt */
.tweak { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 640px; margin: 0 0 20px; padding: 12px 16px; background: var(--light); border-radius: 14px; font-size: 14px; color: var(--navy); }
.tweak__title { font-weight: 600; }
.tweak label { display: flex; align-items: center; gap: 8px; }
.tweak input { width: 4.2em; font: 500 14px var(--font); color: var(--navy); padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.tweak button { font: 500 14px var(--font); background: var(--navy); color: var(--white); border: 0; border-radius: 30px; padding: 8px 18px; cursor: pointer; }
.mail { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: 16px; padding: 28px; max-width: 640px; box-shadow: 0 8px 30px rgba(34,38,105,.08); }
.mail__meta { font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.mail__meta p { margin: 0 0 4px; }
.mail__meta span { display: inline-block; min-width: 4.5em; color: var(--grey); }
.mail__meta strong { color: var(--navy); font-weight: 600; }
.mail__brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--light); }
.mail__brand img { height: 40px; width: auto; }
.mail__brand span { font-size: 13px; font-weight: 600; color: var(--cyan); }
.mail__h { font-size: 24px; margin: 22px 0 12px; }
.mail h3 { font-size: 16px; margin: 26px 0 8px; }
.mail__intro { margin-bottom: 0; }
.mail__kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 12px; }
.mail__kpis .kpi { background: var(--light); border-color: var(--light); }
.mail__compare { font-size: 14px; color: var(--navy); }
.mini { list-style: none; counter-reset: m; padding: 0; margin: 0; }
.mini li { counter-increment: m; position: relative; padding: 0 0 12px 38px; color: var(--grey); }
.mini li::before { content: counter(m); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.mini li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--light); }
.mail__cta { margin: 26px 0; }
.mail__foot { font-size: 12px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; }
.mail__foot p { margin: 0 0 8px; }
.fake-link { color: var(--navy); text-decoration: underline; }

/* Vorschau nicht freigegebener Werte */
.draftbar { background: var(--red); color: var(--white); font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; }
.kpi--draft { border: 2px dashed var(--red); }
.kpi__flag { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pill--draft { background: #fde8ea; color: #a3121f; }
.notiz { display: inline-block; margin-top: 6px; font-size: 13px; color: #a3121f; }
.sec--draft { background: #fff7f8; border-top: 3px dashed var(--red); border-bottom: 3px dashed var(--red); }
.sub { font-size: 18px; margin: 32px 0 12px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(140px, 260px) 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.bar__label { color: var(--navy); font-weight: 500; }
.bar__track { height: 14px; background: var(--light); border-radius: 7px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--navy); border-radius: 7px; }
.bar__val { color: var(--grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr auto; } .bar__track { grid-column: 1 / -1; grid-row: 2; } }
.list { padding-left: 20px; color: var(--grey); }
.list li { margin-bottom: 8px; }
.src { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--grey); }

/* Sprachwechsel */
.topbar__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; background: var(--light); border-radius: 30px; padding: 3px; }
.lang__item { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 30px; color: var(--navy); text-decoration: none; line-height: 1; }
a.lang__item:hover { background: var(--white); color: var(--navy); }
.lang__item.is-active { background: var(--navy); color: var(--white); }
@media (max-width: 560px) { .topbar__proto { display: none; } }
.print-bar__actions { display: flex; align-items: center; gap: 12px; }
.print-bar .lang { background: rgba(255,255,255,.12); }
.print-bar .lang__item { color: var(--white); }
.print-bar a.lang__item:hover { background: rgba(255,255,255,.2); color: var(--white); }
.print-bar .lang__item.is-active { background: var(--cyan); }

/* Animation „Der Weg Ihrer Wäsche“ (public/weg-animation.js) – direkt unter dem Hero */
.sec--anim { padding: 48px 0 16px; scroll-margin-top: 72px; }
.wa__stage { margin: 0; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.wa__stage svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 460; }
.wa__count { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 30px; font-variant-numeric: tabular-nums; }
.wa__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--light); }
.wa__progress span { display: block; height: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(0); }
.wa__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.wa__now { min-width: 0; }
.wa__station { margin: 4px 0 0; font-size: 20px; font-weight: 600; color: var(--navy); }
.wa__ctrl { display: flex; gap: 8px; }
.wa__text { margin: 10px 0 0; max-width: 40em; min-height: 4.5em; }
.wa__btn { font: 500 15px/1 var(--font); border-radius: 30px; border: 2px solid var(--cyan); background: transparent; color: var(--navy); padding: 10px 16px; cursor: pointer; }
.wa__btn--main { background: var(--navy); border-color: var(--navy); color: var(--white); min-width: 118px; }
.wa__btn:hover { border-color: var(--navy); }
.wa__btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wa-mach { fill: var(--white); stroke: var(--navy); stroke-width: 4; }
.wa-soft { fill: var(--light); }
.wa-inkf { fill: var(--navy); }
.wa-acc { fill: var(--cyan); }
.wa-ln { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wa-lnacc { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; }
.wa-glass { fill: #EEF8FF; stroke: var(--navy); stroke-width: 5; }
.wa-ground { fill: #EEF7FD; }
.wa-belt { fill: var(--navy); }
.wa-lbl { font: 600 17px var(--font); fill: var(--navy); }
.wa-lbl-big { font: 700 22px var(--font); fill: var(--navy); }
.wa-linen { fill: var(--white); stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.wa-wet { fill: #BFE6FF; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.wa-sack { fill: #CBD0DA; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.wa-dirt { fill: #9A8B6E; }
.wa-film { fill: var(--cyan); fill-opacity: .16; stroke: var(--cyan); stroke-width: 3; }
@media print { .sec--anim { display: none; } }

/* Impressum */
.legal { max-width: 720px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 12px; }
