/* Basis: Mockup-Stile (Schriften lokal eingebunden, keine Google-Fonts-Anfrage) */
@font-face { font-family: 'Fraunces'; font-weight: 500; font-style: normal; font-display: swap; src: url('/static/fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('/static/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 700; font-style: normal; font-display: swap; src: url('/static/fonts/fraunces-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/static/fonts/work-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/static/fonts/work-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/static/fonts/work-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/static/fonts/work-sans-latin-700-normal.woff2') format('woff2'); }
  :root {
    --stone: #f2ede4;
    --stone-deep: #e8e0d2;
    --ink: #2b2926;
    --ink-soft: #55514a;
    --teal: #2f6e68;
    --teal-deep: #234f4b;
    --teal-glow: rgba(47, 110, 104, 0.28);
    --clay: #bd6a4d;
    --clay-deep: #9c5238;
    --clay-glow: rgba(189, 106, 77, 0.3);
    --line: #d8cfbf;
    --white: #fffdf9;
    --charcoal: #211f1c;
    --charcoal-soft: #cfc9bd;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Work Sans', sans-serif;
    background: var(--stone);
    color: var(--ink);
    line-height: 1.5;
    padding-bottom: 110px;
  }
  h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); }
  .wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
  button { font-family: inherit; cursor: pointer; }
  button.tier-card, button.addon-card {
    padding: 0; width: 100%; display: block; text-align: left; appearance: none;
  }
  button.tier-card, button.addon-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
  :focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

  /* Mockup-Hinweisleiste */
  .mock-banner {
    background: var(--charcoal); color: var(--charcoal-soft);
    text-align: center; font-size: 12.5px; padding: 7px 16px;
  }
  .mock-banner strong { color: var(--white); }

  /* Login */
  .login-screen { min-height: 82vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .login-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: 20px 20px 10px 10px;
    padding: 38px 32px; max-width: 380px; width: 100%; text-align: center;
    box-shadow: 0 10px 30px rgba(43,41,38,0.07);
  }
  .login-mark { width: 50px; height: 50px; margin: 0 auto 18px; font-size: 21px; }
  .login-title { font-size: 21px; margin-bottom: 3px; }
  .login-sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 28px; }
  #login-form .field { text-align: left; margin-bottom: 4px; }
  .passwort-feld { position: relative; }
  .passwort-feld input { width: 100%; padding-right: 42px; }
  .passwort-toggle {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: none; border: none; padding: 7px; color: var(--ink-soft); display: flex;
  }
  .passwort-toggle svg { width: 18px; height: 18px; }
  .login-fehler {
    display: none; background: rgba(189,106,77,0.12); border: 1px solid var(--clay);
    color: var(--clay-deep); font-size: 12.5px; border-radius: 8px; padding: 9px 11px;
    margin: 12px 0; text-align: left;
  }
  .login-fehler.zeigen { display: block; }
  .login-submit { width: 100%; text-align: center; margin-top: 14px; }
  .passwort-vergessen-link {
    background: none; border: none; color: var(--teal-deep); font-size: 12.5px;
    text-decoration: underline; margin-top: 16px; padding: 4px;
  }
  .login-reset-erfolg {
    display: none; background: rgba(47,110,104,0.1); border: 1px solid var(--teal);
    color: var(--teal-deep); font-size: 12.5px; border-radius: 8px; padding: 9px 11px;
    margin-top: 12px; text-align: left;
  }
  .login-reset-erfolg.zeigen { display: block; }
  .login-hint { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }

  /* Kopfbereich */
  header.topbar {
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand-mark {
    width: 38px; height: 38px; border-radius: 11px 11px 6px 6px;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-family: 'Fraunces', serif; font-weight: 700; font-size: 17px;
  }
  .brand-text { font-size: 15px; font-weight: 600; line-height: 1.25; }
  .brand-text span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
  .intern-chip {
    font-size: 12.5px; font-weight: 500; color: var(--teal-deep);
    background: #e4ede9; padding: 6px 12px; border-radius: 999px;
  }

  /* Schrittanzeige */
  .stepper {
    display: flex; gap: 28px; padding: 22px 0 4px;
  }
  .step-marker { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
  .step-marker .num {
    width: 24px; height: 24px; border-radius: 50%;
    border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; color: var(--ink-soft);
  }
  .step-marker.done .num { background: var(--teal); border-color: var(--teal); color: var(--white); }
  .step-marker.current { color: var(--ink); }
  .step-marker.current .num { border-color: var(--teal); color: var(--teal); font-weight: 700; }

  /* Schritte */
  main { padding: 30px 0 20px; }
  .step { display: none; }
  .step.active { display: block; animation: settle .25s ease; }
  @media (prefers-reduced-motion: reduce) { .step.active { animation: none; } }
  @keyframes settle { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

  .step h2 { font-size: 23px; margin-bottom: 6px; }
  .step .step-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; max-width: 520px; }

  /* Foto-Platzhalter */
  .photo {
    position: relative; border-radius: 14px 14px 6px 6px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,253,249,0.85);
    background-color: #e6e0d2;
    isolation: isolate; clip-path: inset(0 round 14px 14px 6px 6px);
    -webkit-transform: translateZ(0); transform: translateZ(0);
  }
  .photo svg { width: 34%; height: 34%; opacity: 0.8; }
  /* Echte Fotos: komplettes Bild sichtbar (contain), dahinter dasselbe Foto unscharf als Füllung */
  .photo::before, .photo::after {
    content: ''; position: absolute; inset: 0;
    background-image: var(--bg, none);
  }
  .photo::before {
    inset: -28px; background-size: cover; background-position: center;
    filter: blur(20px) saturate(1.08) brightness(0.84);
    -webkit-transform: translateZ(0); transform: translateZ(0); will-change: transform;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
  }
  .photo::after {
    background-size: contain; background-position: center; background-repeat: no-repeat;
  }
  .photo-tag, .photo .check { z-index: 2; }
  .photo-tag {
    position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 500;
    background: rgba(33,31,28,0.55); color: #f2ede4; padding: 3px 8px; border-radius: 999px;
    letter-spacing: 0.01em;
  }
  .ph-einfach { background: linear-gradient(150deg, #cfc6b4, #a89d86); }
  .ph-normal { background: linear-gradient(150deg, var(--teal), var(--teal-deep)); }
  .ph-luxus { background: linear-gradient(150deg, var(--clay), var(--clay-deep)); }
  .ph-addon { background: linear-gradient(150deg, #b8b0a0, #8f8674); }

  /* Kategorie-Kacheln */
  .tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .tier-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: 18px 18px 8px 8px;
    overflow: hidden; text-align: left; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .tier-card, .addon-card { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .tier-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(43,41,38,0.08); }
  .tier-card .photo { height: 210px; }
  .tier-card .body { padding: 16px 16px 18px; }
  .tier-card .tier-name { font-size: 17px; margin-bottom: 3px; }
  .tier-card .tier-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
  input.maskiert { -webkit-text-security: disc; text-security: disc; }
  .tier-card .tier-price { font-size: 13.5px; font-weight: 600; color: var(--ink); }
  .tier-card .tier-price .tag { font-weight: 400; color: var(--ink-soft); font-size: 11.5px; display: block; margin-top: 1px; }

  .tier-card.selected { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); transform: translateY(-2px); }
  .tier-card[data-tier="luxus"].selected { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-glow); }

  /* Extra-Kacheln */
  .addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .addon-card {
    background: var(--white); border: 1.5px solid var(--line); border-radius: 14px 14px 6px 6px;
    overflow: hidden; text-align: left; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .addon-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(43,41,38,0.07); }
  .addon-card .photo { height: 128px; }
  .addon-card .body { padding: 11px 12px 13px; }
  .addon-card .addon-name { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
  .addon-card .addon-price { font-size: 12px; color: var(--ink-soft); }
  .addon-card.selected { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
  .addon-card .check {
    position: absolute; top: 8px; left: 8px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(255,253,249,0.9); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .15s ease;
  }
  .addon-card.selected .check { opacity: 1; }
  .addon-card .check svg { width: 12px; height: 12px; opacity: 1; }

  .nische-card .body { display: flex; align-items: center; justify-content: space-between; }
  .stepper-mini { display: flex; align-items: center; gap: 8px; }
  .stepper-mini button {
    width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--white); font-size: 14px; line-height: 1; color: var(--ink);
  }
  .stepper-mini span { font-size: 13px; font-weight: 600; min-width: 14px; text-align: center; }

  /* Kontaktschritt (Platzhalter) */
  .abschluss-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
  .kontakt-box {
    background: var(--white); border: 1.5px solid var(--line); border-radius: 16px 16px 8px 8px;
    padding: 24px;
  }
  .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
  .field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
  .field-row .field { margin-bottom: 0; }
  .field label { font-size: 13px; color: var(--ink-soft); }
  .field label .req { color: var(--clay); }
  .field label .opt-l { font-weight: 400; color: var(--ink-soft); opacity: .75; }
  .field select, .field input {
    background: var(--stone); border: 1px solid var(--line); color: var(--ink);
    border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit;
    width: 100%; min-width: 0; box-sizing: border-box;
  }
  .field select:focus-visible, .field input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }

  .rechnung-details { margin-bottom: 14px; }
  .rechnung-details summary {
    font-size: 13px; color: var(--ink-soft); cursor: pointer; list-style: none;
    display: flex; align-items: center; gap: 6px; user-select: none;
  }
  .rechnung-details summary::-webkit-details-marker { display: none; }
  .rechnung-details summary::before { content: '+'; font-size: 14px; color: var(--teal); font-weight: 600; }
  .rechnung-details[open] summary::before { content: '–'; }
  .rechnung-details summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

  .preis-box {
    background: var(--charcoal); color: var(--white); border-radius: 16px 16px 8px 8px;
    padding: 24px;
  }
  .preis-label { font-size: 13px; color: var(--charcoal-soft); margin-bottom: 10px; }
  .preis-zeile { font-size: 15px; font-weight: 500; margin-bottom: 8px; line-height: 1.4; }
  .preis-wert { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; margin-bottom: 12px; }
  .preis-hinweis { font-size: 12.5px; color: var(--charcoal-soft); }

  @media (max-width: 720px) {
    .abschluss-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
  }

  /* Fuß-Leiste / Werkbank-Tresen */
  .summary-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--charcoal); color: var(--white);
    border-top: 1px solid #3a3630;
  }
  .summary-inner {
    max-width: 980px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
  }
  .summary-left { font-size: 13.5px; color: var(--charcoal-soft); min-width: 0; }
  .summary-left .sel-line { color: var(--white); font-weight: 500; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .summary-price { font-size: 12px; }
  .summary-price b { color: var(--white); font-size: 14px; font-weight: 600; }
  .summary-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .btn-back {
    background: transparent; border: 1px solid #4a463f; color: var(--charcoal-soft);
    padding: 11px 16px; border-radius: 9px; font-size: 14px; font-weight: 500;
  }
  .btn-back:disabled { opacity: 0.35; cursor: default; }
  .btn-next {
    background: var(--clay); color: var(--white); border: none;
    padding: 11px 22px; border-radius: 9px; font-weight: 600; font-size: 14.5px;
  }
  .btn-next:hover { background: var(--clay-deep); }

  @media (max-width: 820px) {
    .addon-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 680px) {
    .tier-grid { grid-template-columns: 1fr; }
    .stepper { gap: 16px; overflow-x: auto; }
    .summary-inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .summary-actions { justify-content: space-between; }
  }

/* ===== Ergänzungen für die echte App ===== */
body { padding-bottom: 120px; }
input.maskiert { -webkit-text-security: none; }
.hidden { display: none !important; }

/* Fortschritt statt langer Schrittleiste */
.progress { padding: 20px 0 2px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }
.progress-top b { color: var(--ink); font-weight: 600; }
.progress-bar { height: 6px; border-radius: 999px; background: var(--stone-deep); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .25s ease; }

.topbar-inner .topbar-right { display: flex; gap: 8px; align-items: center; }
.link-btn { background: none; border: none; color: var(--ink-soft); font-size: 12.5px; text-decoration: underline; padding: 6px 4px; }

/* Optionskarten (Auswahl je Abschnitt) */
.opt-list { display: grid; gap: 10px; max-width: 720px; }
.opt {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1.5px solid var(--line);
  border-radius: 14px 14px 6px 6px; padding: 14px 16px; cursor: pointer; text-align: left; user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.opt:hover { box-shadow: 0 4px 12px rgba(43,41,38,0.06); }
.opt.selected { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.opt .indic { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line); background: var(--stone); display: flex; align-items: center; justify-content: center; }
.opt .indic.radio { border-radius: 50%; }
.opt .indic.check { border-radius: 6px; }
.opt.selected .indic { background: var(--teal); border-color: var(--teal); }
.opt .indic svg { width: 13px; height: 13px; opacity: 0; }
.opt.selected .indic svg { opacity: 1; }
.opt .opt-main { flex: 1; min-width: 0; }
.opt .opt-name { font-size: 15px; font-weight: 600; }
.opt .opt-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 1px; }
.opt .opt-menge { flex: none; display: none; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); }
.opt.selected .opt-menge { display: flex; }
.opt .opt-menge input { width: 86px; text-align: right; background: var(--stone); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 15px; font-family: inherit; color: var(--ink); }
.opt .opt-menge input.fehler { border-color: var(--clay); background: rgba(189,106,77,0.1); }
.opt .stepper-mini button { width: 30px; height: 30px; font-size: 18px; }
.opt-hinweis { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; max-width: 720px; }
.sec-photo { height: 150px; max-width: 720px; margin-bottom: 16px; }

/* Raum und Flächen */
.raum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.raum-box { max-width: 560px; }
.raum-box + .raum-box { margin-top: 18px; }
.raum-box h3 { font-size: 15px; margin-bottom: 12px; }
.raum-box .note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.field input.fehler { border-color: var(--clay); background: rgba(189,106,77,0.1); }
.field .unit { font-weight: 400; color: var(--ink-soft); }

/* Fliesen je Bereich */
.panel { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px 16px 8px 8px; padding: 18px; margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.panel-head h3 { font-size: 17px; }
.panel .tier-card .photo { height: 120px; }
.panel .tier-card .body { padding: 12px 14px 14px; }
.panel .tier-card .tier-desc { margin-bottom: 4px; }
.panel .fmt { font-size: 12px; color: var(--ink-soft); }
.panel.aus .tier-grid { opacity: .45; pointer-events: none; }
.switch-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--teal); }

/* Datenschutz und Unterschrift */
.ds-box { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px 16px 8px 8px; padding: 20px 22px; margin-top: 18px; max-width: 860px; }
.ds-text { max-height: 150px; overflow: auto; font-size: 12.5px; color: var(--ink-soft); background: var(--stone); border-radius: 8px; padding: 10px 12px; margin: 8px 0 12px; }
.ds-text p + p { margin-top: 6px; }
.sig-wrap { position: relative; border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; touch-action: none; }
.sig-wrap canvas { display: block; width: 100%; height: 150px; touch-action: none; }
.sig-hint { position: absolute; left: 14px; top: 12px; font-size: 12.5px; color: #b0a999; pointer-events: none; }
.sig-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-top: 12px; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }

/* Abschluss */
.lv-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px 16px 8px 8px; padding: 18px 22px; }
.lv-card h3 { font-size: 15px; margin-bottom: 8px; }
.lv-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--stone-deep); }
.lv-row:last-child { border: none; }
.lv-row .m { color: var(--ink-soft); white-space: nowrap; }
.lv-gruppe { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); padding-top: 12px; }
.preis-zeilen { font-size: 13px; color: var(--charcoal-soft); margin-bottom: 14px; }
.preis-zeilen div { display: flex; justify-content: space-between; }
.zahlplan { font-size: 12.5px; color: var(--charcoal-soft); border-top: 1px solid #3a3630; padding-top: 10px; }
.zahlplan div { display: flex; justify-content: space-between; padding: 2px 0; }
.regler-link { margin-top: 16px; background: none; border: none; color: #7d776b; font-size: 12px; padding: 4px 0; text-decoration: underline; }
.regler-panel { margin-top: 14px; background: #2d2a26; border: 1px solid #4a463f; border-radius: 10px; padding: 14px; }
.regler-panel .rz { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--charcoal-soft); margin-bottom: 6px; }
.regler-panel .rz b { color: var(--white); }
.regler-panel input[type=range] { width: 100%; accent-color: var(--clay); height: 34px; }
.regler-panel .rbtns { display: flex; gap: 8px; margin-top: 8px; }
.regler-panel button { background: transparent; border: 1px solid #4a463f; color: var(--charcoal-soft); padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.fehlerbox { background: rgba(189,106,77,0.12); border: 1px solid var(--clay); color: var(--clay-deep); font-size: 13.5px; border-radius: 10px; padding: 10px 12px; margin-top: 14px; max-width: 860px; }

/* Fertig-Ansicht */
.fertig { max-width: 560px; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px 18px 8px 8px; padding: 30px; text-align: center; margin: 24px auto; }
.fertig .nr { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; margin: 8px 0 4px; color: var(--teal-deep); }
.fertig .btn-next { display: inline-block; text-decoration: none; margin: 10px 6px 0; }
.fertig .btn-sec { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 11px 18px; border-radius: 9px; font-size: 14.5px; font-weight: 600; margin: 10px 6px 0; }
.warn { color: var(--clay-deep); }

/* Dialog */
.modal-back { position: fixed; inset: 0; background: rgba(33,31,28,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal { background: var(--white); border-radius: 16px; padding: 24px; max-width: 420px; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal h3 { font-size: 18px; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.modal .mbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.modal .mbtns .btn-back { color: var(--ink-soft); border-color: var(--line); }

@media (max-width: 720px) {
  .raum-grid { grid-template-columns: 1fr; }
  .opt { flex-wrap: wrap; }
  .opt .opt-menge { width: 100%; justify-content: flex-end; }
}

/* Angebotsübersicht */
.ang-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.ang-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 12px; }
.ang-tools input[type=search] { flex: 1; min-width: 200px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px; font-size: 15px; font-family: inherit; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-family: inherit;
  color: var(--ink-soft); cursor: pointer; }
.chip.aktiv { background: var(--teal); border-color: var(--teal); color: var(--white); }
.ang-liste { display: grid; gap: 10px; max-width: 900px; }
.ang-row { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px 14px 8px 8px; overflow: hidden; }
.ang-row.offen { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.ang-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; width: 100%; background: none; border: none;
  text-align: left; font-family: inherit; color: var(--ink); }
.ang-head .links { flex: 1; min-width: 0; }
.ang-nr { font-weight: 600; font-size: 15px; }
.ang-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ang-preis { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; white-space: nowrap; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--stone-deep); color: var(--ink-soft); margin-left: 6px; }
.badge.gut { background: rgba(47,110,104,0.14); color: var(--teal); }
.badge.warn { background: rgba(189,106,77,0.16); color: var(--clay-deep); }
.ang-detail { border-top: 1px solid var(--line); padding: 14px 16px 16px; font-size: 14px; }
.ang-detail h4 { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 6px; }
.ang-detail h4:first-child { margin-top: 0; }
.ang-detail a { color: var(--teal); }
.ang-lv { font-size: 13.5px; display: grid; gap: 3px; }
.ang-lv div { display: flex; justify-content: space-between; gap: 12px; }
.ang-lv .m { color: var(--ink-soft); white-space: nowrap; }
.ang-aktionen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ang-aktionen button, .ang-aktionen a { background: var(--stone); border: 1.5px solid var(--line); color: var(--ink); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-family: inherit; cursor: pointer; text-decoration: none; }
.ang-aktionen .gut { background: var(--teal); border-color: var(--teal); color: var(--white); }
.ang-aktionen .gefahr { color: var(--clay-deep); border-color: var(--clay); }
.ang-leer { color: var(--ink-soft); padding: 24px 4px; }

/* Bilder verwalten */
.bil-gruppe { font-size: 15px; margin: 22px 0 10px; }
.bil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; max-width: 900px; }
.bil-karte { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; min-width: 0; }
.bil-bild { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--stone-deep) center / cover no-repeat; }
.bil-name { font-weight: 600; font-size: 14px; margin-top: 8px; }
.bil-herkunft { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.bil-akt { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.bil-akt button { background: var(--stone); border: 1.5px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-family: inherit; cursor: pointer; }
.bil-vorschau { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--stone) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 13px; margin-bottom: 10px; }
.bil-quelle { margin: 12px 0 4px; font-size: 14px; }
.bil-q-titel { font-weight: 600; }
.bil-quelle select { width: 100%; margin-top: 6px; padding: 10px; font-size: 14px; font-family: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--stone); }
.foto-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Anbieterkennzeichnung und Rechtsseiten */
.login-foot { font-size: 12px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }
.login-foot a, .login-hint a { color: var(--ink-soft); }
.rechtsseite { background: var(--stone); }
.rechtstext { max-width: 720px; margin: 0 auto; padding: 32px 20px 60px; font-size: 15px; line-height: 1.55; }
.rechtstext h1 { font-size: 26px; margin-bottom: 12px; }
.rechtstext h2 { font-size: 18px; margin: 22px 0 6px; }
.rechtstext h3 { font-size: 14px; margin: 16px 0 4px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.rechtstext p { margin: 8px 0; }
.rechtstext a { color: var(--teal); }
.entwurf { background: rgba(189,106,77,0.16); color: var(--clay-deep); padding: 8px 12px; border-radius: 8px; font-size: 13px; }

.demo-banner { background: #b3261e; color: #fff; text-align: center; font-weight: 700; font-size: 13px; padding: 4px 8px; position: sticky; top: 0; z-index: 100; }
