
/* atu.css */
:root {

  --t-held:      clamp(34px, 4.2vw, 58px);
  --t-abschnitt: clamp(28px, 3.1vw, 44px);
  --t-vorspann:  clamp(18px, 1.45vw, 21px);
  --t-text:      clamp(16px, 1.1vw, 17px);
  --t-klein:     15px;
  --t-mini:      13px;
  --t-zahl:      clamp(38px, 3.6vw, 52px);

  --z-held:      1.06;
  --z-abschnitt: 1.14;
  --z-vorspann:  1.5;
  --z-text:      1.65;

  --f-dunkel:  #0a1722;
  --f-navy:    #183650;
  --f-hell:    #34ccff;
  --f-text:    #434e57;
  --f-leise:   #68747d;
  --f-akzent:  #0e6f9e;

  --weich: cubic-bezier(.22, .61, .36, 1);

  --a-band:   clamp(64px, 6.5vw, 112px);
  --a-rand:   clamp(20px, 5.2vw, 96px);
  --a-gross:  40px;
  --a-mittel: 24px;
  --a-klein:  12px;

  --breite-text: 66ch;

  --form-breite: 600px;

  --r-gross: 24px;
  --r-mittel: 16px;
  --r-voll: 999px;
}

main {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--f-text);
  font-size: var(--t-text);
  line-height: var(--z-text);
  background: #fff;
}

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

main h1, main h2, main h3, main p { margin: 0; }

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

main a { text-decoration: none; }

main a:focus-visible,
main button:focus-visible {
  outline: 3px solid var(--f-akzent);
  outline-offset: 3px;
  border-radius: var(--r-voll);
}

.mitte {
  width: 100%;
  max-width: calc(1440px + 2 * var(--a-rand));
  margin-inline: auto;
  padding-inline: var(--a-rand);
}

.dienste, .partner, .gebiet, .wandel, .stimmen, .hand, .aus, .neues, .hotlines
  { padding-block: 90px; }
.siegel, .referenzen { padding-block: 0 90px; }

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--a-klein) 16px;
  align-items: center;
}

.wahl-knopf, .wahl-eintrag, .reiter { appearance: none; font-family: inherit; }

.knopf {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: var(--r-voll);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.knopf svg {
  width: 0;
  height: 16px;
  flex: 0 0 auto;
  margin-left: 0;
  opacity: 0;
  transition: width .22s ease, margin-left .22s ease, opacity .18s ease;
}
.knopf:hover svg { width: 16px; margin-left: 8px; opacity: 1; }

.knopf-voll {
  background: var(--f-hell);
  color: #fff;
}
.knopf-voll:hover {
  background: #fff;
  color: var(--f-dunkel);
}

.knopf-rand {
  background: rgba(10, 23, 34, .38);
  color: #fff;
  border: 2px solid var(--f-hell);
  padding: 13px 20px;
  backdrop-filter: blur(4px);
}
.knopf-rand:hover {
  background: rgba(10, 23, 34, .72);
  border-color: #fff;
  color: #fff;
}

.buehne {
  position: relative;
  isolation: isolate;
  background: var(--f-dunkel);

  border-radius: 52px 52px 0 0;
}
@media (max-width: 1100px) {
  .buehne { border-radius: 30px 30px 0 0; }
}

@media (min-width: 1201px) {
  .buehne { border-radius: 0; }
}

.buehne-bilder {
  position: absolute;
  inset: 0;

  border-radius: inherit;
  z-index: -2;
  display: grid;
  overflow: hidden;
}
.buehne-bilder .bild {
  grid-area: 1 / 1;

  position: relative;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;

  transform: scale(1.05);
  transition: opacity .5s ease,
              transform 0s linear .5s,
              visibility 0s linear .5s;
}
.buehne-bilder .bild.ist-da {
  opacity: 1;
  visibility: visible;
  transform: scale(1);

  transition: opacity .9s ease,
              transform 7s cubic-bezier(.17, .55, .25, 1),
              visibility 0s;
}

.buehne-bilder .bild .folie-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: 50% 0%;
}

.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 87% 6%,  rgba(52, 204, 255, .17), transparent 66%),
    radial-gradient(48% 54% at 2% 96%,  rgba(14, 111, 158, .34), transparent 72%),
    linear-gradient(100deg,
      rgba(10, 23, 34, .45) 0%,
      rgba(10, 23, 34, .34) 34%,
      rgba(10, 23, 34, .22) 64%,
      rgba(10, 23, 34, .12) 88%,
      rgba(10, 23, 34, .06) 100%),
    linear-gradient(to top,
      rgba(10, 23, 34, .42) 0%,
      rgba(10, 23, 34, 0) 22%),
    linear-gradient(rgba(0, 0, 0, .60), rgba(0, 0, 0, .60));
}

.buehne-inhalt { padding-block: 166px 124px; }

@media (max-height: 800px) {
  .buehne-inhalt { padding-block: 154px 112px; }
}

.anfrage { align-self: center; }

.buehne-raster {
  display: grid;
  grid-template-columns: var(--form-breite) minmax(0, 1fr);
  gap: clamp(40px, 4.5vw, 72px);
  align-items: center;
}

.buehne-texte { display: grid; min-width: 0; }

.folie-text, .folie-text h2, .folie-text p { min-width: 0; overflow-wrap: break-word; }
.folie-text h2 { hyphens: auto; }

.buehne-texte .folie-text {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .3s;
}
.buehne-texte .folie-text.ist-da {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.buehne-texte .folie-text > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s ease, transform 0s linear .22s;
}

.buehne-texte .folie-text.ist-da > * {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--weich) var(--stufe, 0s),
              transform .75s var(--weich) var(--stufe, 0s);
}
.buehne-texte .folie-text.ist-da > h2          { --stufe: .20s; }
.buehne-texte .folie-text.ist-da > p           { --stufe: .30s; }
.buehne-texte .folie-text.ist-da > .knopfreihe { --stufe: .40s; }

.folie-text { color: #fff; }
.folie-text h2 {
  font-size: var(--t-held);
  line-height: var(--z-held);
  font-weight: 700;
  letter-spacing: -.022em;
  max-width: 18ch;
  margin-bottom: var(--a-mittel);
  text-wrap: balance;
}
.folie-text p {
  font-size: var(--t-vorspann);
  line-height: var(--z-vorspann);
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
  max-width: 50ch;
  margin-bottom: var(--a-gross);
}

@media (prefers-reduced-motion: reduce) {
  .buehne-bilder .bild,
  .buehne-texte .folie-text,
  .buehne-texte .folie-text > *,
  .buehne-texte .folie-text.ist-da > * { transition: none; }
  .buehne-bilder .bild,
  .buehne-bilder .bild.ist-da { transform: none; }
  .buehne-texte .folie-text > * { transform: none; }
}

.anfrage [hidden] { display: none !important; }

.anfrage {
  pointer-events: auto;
  width: var(--form-breite);
  max-width: 100%;
  background: #fff;
  border-radius: var(--r-gross);
  padding: 18px 20px 15px;
  box-shadow: 0 30px 70px rgba(10, 23, 34, .34);
  color: var(--f-text);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

@media (min-width: 1200px) {
.anfrage-zusage { margin-top: auto; }
}

.anfrage-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.anfrage-kopf h2 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--f-dunkel);
  letter-spacing: -.01em;
}

.anfrage-schritt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.anfrage-schritt .anfrage-balken {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #e3e9ee;
  overflow: hidden;
}
.anfrage-schritt .anfrage-balken i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 999px;
  background: var(--f-hell);
  transition: width .3s ease;
}
.anfrage-schritt .anfrage-zahl { font-size: 12px; color: var(--f-leise); }
.anfrage-schritt .anfrage-zahl b { color: var(--f-dunkel); font-weight: 700; }

.wahl { position: relative; }
.wahl-label { display: block; font-size: 12px; font-weight: 500; color: #6a757e; margin-bottom: 4px; }

.wahl-knopf {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  background: #fff;
  font: 600 14px/1.3 inherit;
  color: var(--f-dunkel);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wahl-knopf:hover { border-color: var(--f-akzent); background: #f6fbfd; }

@keyframes wahl-puls {
  0%   { box-shadow: 0 0 0 0 rgba(52, 204, 255, .5); }
  60%  { box-shadow: 0 0 0 8px rgba(52, 204, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 204, 255, 0); }
}
.wahl-knopf.pulst {
  border-color: var(--f-hell);
  animation: wahl-puls 2.2s ease-out infinite;
}

@keyframes wahl-puls-pfeil {
  0%, 100% { transform: translateY(0); }
  60%      { transform: translateY(2px); }
}
.wahl-knopf.pulst .wahl-pfeil { animation: wahl-puls-pfeil 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .wahl-knopf.pulst,
  .wahl-knopf.pulst .wahl-pfeil { animation: none; }
}
.wahl.offen .wahl-knopf,
.wahl-knopf:focus-visible {
  outline: 0;
  border-color: var(--f-akzent);
  box-shadow: 0 0 0 3px rgba(14, 111, 158, .14);
}
.wahl-sym { display: flex; flex: 0 0 22px; }
.wahl-sym svg { width: 22px; height: 22px; color: var(--f-akzent); }
.wahl-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wahl-pfeil { width: 17px; height: 17px; flex: 0 0 17px; color: #8d99a3; transition: transform .2s ease; }
.wahl.offen .wahl-pfeil { transform: rotate(180deg); }

.wahl-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 14px;
  box-shadow: 0 22px 46px rgba(10, 23, 34, .22);
  overflow: hidden;
}

.wahl-suche { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eef2f5; }
.wahl-suche svg { width: 16px; height: 16px; flex: 0 0 16px; color: #8d99a3; }
.wahl-feld { flex: 1 1 auto; border: 0; outline: 0; font: 400 14px/1.3 inherit; color: var(--f-dunkel); background: transparent; }
.wahl-feld::placeholder { color: #9aa6af; }

.wahl-liste { max-height: 290px; overflow-y: auto; padding: 6px; }
.wahl-gruppe {
  margin: 8px 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9aa6af;
}
.wahl-eintrag {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: 500 13.5px/1.3 inherit;
  color: #4f5a63;
  cursor: pointer;
  text-align: left;
}
.wahl-eintrag svg { width: 19px; height: 19px; flex: 0 0 19px; color: #8d99a3; }
.wahl-eintrag:hover,
.wahl-eintrag:focus-visible { outline: 0; background: #eef6fa; color: var(--f-dunkel); }
.wahl-eintrag:hover svg,
.wahl-eintrag:focus-visible svg { color: var(--f-akzent); }
.wahl-eintrag[aria-selected="true"] { background: var(--f-hell); color: var(--f-dunkel); font-weight: 600; }
.wahl-eintrag[aria-selected="true"] svg { color: var(--f-dunkel); }

.wahl-leer { padding: 14px 12px 16px; font-size: 13px; color: #8d99a3; }

.saetze { transition: min-height .25s ease; }

.anfrage.laedt .saetze { opacity: .45; }

.anfrage .saetze { transition: min-height .34s var(--weich), opacity .15s ease; }
@media (prefers-reduced-motion: reduce) {
  .anfrage .saetze { transition: opacity .15s ease; }
}
@media (prefers-reduced-motion: reduce) { .saetze { transition: none; } }
.satz { height: 100%; }
.feldsatz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
.f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.f label { transition: color .18s ease; }
.f:hover > label { color: #4f5a63; }
.f-breit { grid-column: 1 / -1; }

.f label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #6a757e;
}
.f input,
.f select,
.f textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  background: #fff;
  font: 400 14px/1.3 inherit;
  color: var(--f-dunkel);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.f select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a757e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 13px 13px;
}

.f select:-moz-focusring { color: transparent; text-shadow: 0 0 0 var(--f-dunkel); }

.f input:hover:not(:focus):not(:disabled),
.f select:hover:not(:focus):not(:disabled),
.f textarea:hover:not(:focus) {
  border-color: #b4c2cd;

  background-color: #fcfdfe;
}

.datum { position: relative; display: block; }
.datum .datum-feld { padding-right: 36px; }
.datum-knopf {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8d99a3;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.datum-knopf svg { width: 17px; height: 17px; }
.datum-knopf:hover { color: var(--f-akzent); background: #f1f7fb; }
.datum:has(.datum-feld:focus) .datum-knopf { color: var(--f-akzent); }

.kalender {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 262px;
  padding: 10px;
  background: #fff;
  border: 1px solid #dde3e8;
  border-radius: 14px;
  box-shadow: 0 22px 46px rgba(10, 23, 34, .22);
}
.kalender-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 6px;
}
.kalender-monat {
  font-size: 13px;
  font-weight: 600;
  color: var(--f-dunkel);
}
.kalender-pfeil {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: var(--r-voll);
  background: transparent;
  color: #6a757e;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.kalender-pfeil svg { width: 16px; height: 16px; }
.kalender-pfeil:hover { background: #f1f7fb; color: var(--f-akzent); }

.kalender-pfeil:disabled { color: #d7dee4; cursor: default; background: transparent; }
.kalender-pfeil:focus-visible { outline: 2px solid var(--f-akzent); outline-offset: 1px; }

.kalender-wochentage,
.kalender-tage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.kalender-wochentage {
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9aa6af;
  text-align: center;
}
.kalender-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--r-voll);
  background: transparent;
  font: 400 13px/1 inherit;
  color: var(--f-dunkel);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.kalender-tag:hover { background: #f1f7fb; color: var(--f-akzent); }

.kalender-tag.fremd { color: #aab5bd; }

.kalender-tag:disabled { color: #ccd5dc; cursor: default; background: transparent; }

.kalender-tag.heute { box-shadow: inset 0 0 0 1.5px var(--f-hell); font-weight: 600; }
.kalender-tag.gewaehlt,
.kalender-tag.gewaehlt:hover {
  background: var(--f-akzent);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}
.kalender-tag:focus-visible { outline: 2px solid var(--f-akzent); outline-offset: 1px; }

.ablage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border: 1.5px dashed #c3ced7;
  border-radius: 12px;
  background: #f7f9fa;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.ablage:hover,
.ablage.ueber { border-color: var(--f-akzent); background: #f1f7fb; }
.ablage.ueber { border-style: solid; }

.ablage input[type="file"] {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}

.ablage-titel {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #6a757e;
}
.ablage-bild { width: 30px; height: 30px; color: var(--f-akzent); }

.ablage-liste:empty { display: none; }

.ablage-text {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #4f5a63;
  white-space: normal;
  overflow: visible;
}
.ablage-knopf {
  padding: 7px 13px;
  border-radius: 8px;
  background: #e7edf1;
  font: 600 12px/1 inherit;
  color: var(--f-dunkel);
  white-space: nowrap;
}
.ablage:hover .ablage-knopf { background: #dbe4ea; }

.ablage-kamera { display: none; }
@media (hover: none) and (pointer: coarse) {
  .ablage-kamera {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    grid-column: 1 / -1;
    padding: 10px 14px;
    border: 1px solid var(--f-hell);
    border-radius: var(--r-voll);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--f-akzent);
    cursor: pointer;
  }
  .ablage-kamera svg { width: 19px; height: 19px; flex: 0 0 19px; }
  .ablage-kamera input { position: absolute; width: 1px; height: 1px; opacity: 0; }
}

.nur-finger { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .nur-maus { display: none; }
  .nur-finger { display: inline; }
}

.ablage-aufnahme { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ablage-aufnahme .ablage-kamera { flex: 1 1 150px; margin-top: 0; }
.merkmale {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hotline { padding: 0 32px; }
.hotline + .hotline { border-left: 1px solid rgba(255, 255, 255, .16); }

@media (max-width: 1180px) {
  .dienst-gitter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dienst-gitter, .stimmen-gitter, .neues-gitter, .hotline-reihe,
  .merkmale, .kurzform-felder { grid-template-columns: minmax(0, 1fr); }
}

.probe {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 14px 12px;
  background: rgba(10, 23, 34, .93);
  color: #e7eef3;
  font: 400 12.5px/1.4 Inter, system-ui, sans-serif;
  backdrop-filter: blur(6px);
}

.probe-griff {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #cfe0ea;
  font: 400 15px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.probe-griff:hover { background: rgba(52,204,255,.18); border-color: var(--f-hell); color: #fff; }
.probe.probe-zu {
  left: auto;
  right: 12px;
  bottom: 12px;
  padding: 0;
  border-radius: 999px;
  background: rgba(10, 23, 34, .82);
}
.probe.probe-zu > :not(.probe-griff) { display: none; }
.probe.probe-zu .probe-griff {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 7px 15px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.probe-ort { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.probe-ort.gut { color: #6fd39b; }
.probe-ort.warnung { color: #f0b254; }
.probe-knoepfe { display: flex; flex-wrap: wrap; gap: 7px; }
.probe-knopf {
  padding: 6px 12px;
  border: 1px solid rgba(231, 238, 243, .28);
  border-radius: 999px;
  background: transparent;
  color: #e7eef3;
  font: 600 12px/1.2 inherit;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.probe-knopf:hover:not(:disabled) { background: rgba(52, 204, 255, .16); border-color: var(--f-hell); }
.probe-knopf:disabled { opacity: .45; cursor: default; }
.probe-tempo { display: flex; align-items: center; gap: 8px; margin: 9px 2px 0; color: #8ba3b4; }
.probe-tempo select {
  padding: 4px 8px;
  border: 1px solid rgba(231, 238, 243, .28);
  border-radius: 7px;
  background: rgba(231, 238, 243, .08);
  color: #e7eef3;
  font: 400 12px/1.2 inherit;
}
.probe-stand { margin: 8px 2px 0; color: #b6c6d2; }

body[data-entwurf] { padding-bottom: 104px; }

@media (max-width: 600px) {
  [data-entwurf] .ablage-kamera {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    grid-column: 1 / -1;
    padding: 10px 14px;
    border: 1px solid var(--f-hell);
    border-radius: var(--r-voll);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--f-akzent);
    cursor: pointer;
  }
  [data-entwurf] .ablage-kamera svg { width: 19px; height: 19px; flex: 0 0 19px; }
  [data-entwurf] .ablage-kamera input { position: absolute; width: 1px; height: 1px; opacity: 0; }
}

.ablage-liste { margin: 7px 2px 0; font-size: 11.5px; line-height: 1.4; color: #8d99a2; }
.ablage-liste.voll { color: var(--f-akzent); font-weight: 600; }

.bild-vorschau.wartet { background: #eef2f5; }

.bild-vorschau.wartet .kachel-stand {
  background: repeating-linear-gradient(135deg,
    rgba(141, 153, 163, .10) 0 6px, rgba(141, 153, 163, 0) 6px 12px);
}

.kachel-stand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(10, 23, 34, .55);
  z-index: 2;
  pointer-events: none;
}
.bild-vorschau.arbeit,
.bild-vorschau.sendet { background: var(--f-akzent); }

.bild-vorschau.arbeit .kachel-stand,
.bild-vorschau.sendet .kachel-stand { background: rgba(10, 23, 34, .62); }

.kachel-haken {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #19a974;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  z-index: 3;
}
.bild-vorschau.fort .kachel-haken { display: flex; }

.bilder-liste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.bild-vorschau { overflow: visible; }
.kachel-stand,
.bild-vorschau::before { border-radius: inherit; }

.bilder-liste:empty { display: none; }
.bild-vorschau {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #eef2f5;

  cursor: pointer;
}

.bild-vorschau::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 23, 34, .12);
  pointer-events: none;
  z-index: 4;
}
.bild-vorschau.fort::before   { box-shadow: inset 0 0 0 2px #19a974; }
.bild-vorschau.fehler::before { box-shadow: inset 0 0 0 2px #c0453c; }

.bilder-liste .bild-vorschau img,
.bilder-liste .bild-vorschau video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
  opacity: 0;
  transition: opacity .25s ease;
}

.bild-vorschau.fertig img,
.bild-vorschau.fertig video { opacity: 1; }
.bild-weg {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #f0d3cf;
  border-radius: 50%;
  background: #fdf1ef;
  color: #c47b72;
  cursor: pointer;

  z-index: 5;
  box-shadow: 0 1px 3px rgba(10, 23, 34, .18);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bild-weg svg { width: 13px; height: 13px; display: block; }
.bild-weg:hover,
.bild-weg:active,
.bild-weg:focus-visible { background: #c0453c; border-color: #c0453c; color: #fff; }

.bild-dauer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  padding: 10px 5px 3px;
  background: linear-gradient(to top, rgba(10, 23, 34, .72), rgba(10, 23, 34, 0));
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
}

.bild-vorschau.fertig::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 19px;
  margin: -9.5px 0 0 -9.5px;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round'%3E%3Ccircle cx='10.6' cy='10.6' r='6.1'/%3E%3Cpath d='M15.1 15.1 20 20'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 2.5px rgba(10, 23, 34, .6));
  opacity: .95;

  z-index: 3;
  pointer-events: none;
}
.bild-vorschau.fertig.ist-video::after {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 6.6 18 12l-8.8 5.4z' fill='white' stroke='white' stroke-width='3.4' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.bild-vorschau.fertig::after,
.kachel-stand {
  transition: transform .18s ease, opacity .18s ease,
              background-color .18s ease;
}
@media (hover: hover) {
  .bild-vorschau.fertig:hover::after { transform: scale(1.22); opacity: 1; }
  .bild-vorschau.fertig:hover .kachel-stand { background: rgba(10, 23, 34, .2); }
}

.bild-vorschau.fertig:focus-visible::after { transform: scale(1.22); opacity: 1; }
.bild-vorschau.fertig:focus-visible .kachel-stand { background: rgba(10, 23, 34, .2); }

@media (prefers-reduced-motion: reduce) {
  .bild-vorschau.fertig::after,
  .kachel-stand { transition: none; }
  .bild-vorschau.fertig:hover::after,
  .bild-vorschau.fertig:focus-visible::after { transform: none; }
}

.bild-vorschau.arbeit::after,
.bild-vorschau.sendet::after,
.bild-vorschau.fehler::after,
.bild-vorschau.ohne-bild::after { display: none; }

.fortschritt { margin-top: 10px; }

.bilder-liste.beim-senden { margin: 6px 0 2px; }
.fortschritt-balken {
  height: 5px;
  border-radius: 3px;
  background: #e4ebf0;
  overflow: hidden;
}
.fortschritt-balken i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--f-akzent), var(--f-hell));
  transition: width .2s ease;
}
.fortschritt-text {
  margin: 5px 2px 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: #68747d;
}

.fortschritt { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.fortschritt[hidden] { display: none; }
.fortschritt-balken { grid-column: 1 / -1; }
.fortschritt-abbruch {
  align-self: start;
  margin: 3px 2px 0 0;
  padding: 2px 11px;
  border: 1px solid #f1dcd8;
  border-radius: 999px;
  background: #fdf5f4;
  color: #a2807a;

  font-family: inherit;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.fortschritt-abbruch::before { content: "\00d7"; margin-right: 5px; }

.fortschritt-abbruch:hover,
.fortschritt-abbruch:active,
.fortschritt-abbruch:focus-visible {
  border-color: #e0a79e;
  background: #fbe8e5;
  color: #b23b2e;
}
.fortschritt-abbruch[hidden] { display: none; }

.fortschritt.fertig .fortschritt-balken i { background: #19a974; }
.fortschritt.fertig .fortschritt-text { color: #19783f; font-weight: 600; }

.bild-vorschau.fehler { background: #fdf0ee; }
.bild-vorschau.fehler .kachel-stand { background: rgba(176, 58, 46, .72); }
.bild-vorschau.fehler .kachel-stand::after { content: "!"; }
.fortschritt.schiefgegangen .fortschritt-balken i { background: #c0453c; }
.fortschritt.schiefgegangen .fortschritt-text { color: #a8382f; font-weight: 600; }

.bild-vorschau.ohne-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7edf1;
}
.bild-endung {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #7d8a94;
}
.f label.haken {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #4f5a63;
  cursor: pointer;
  white-space: normal;
  overflow: visible;
}
.haken input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--f-akzent);
}

.f textarea { resize: none; }

.f textarea { min-height: 64px; }

@media (max-width: 1199px) {
  .feldsatz:has(.f-upload) textarea { min-height: 104px; }

  .f label { white-space: normal; overflow: visible; }
}

@media (max-width: 600px) {
  .ablage { grid-template-columns: auto 1fr; gap: 10px; }
  .ablage-knopf { grid-column: 1 / -1; padding: 9px 13px; text-align: center; }
}

.f input:not([type="radio"]):not([type="checkbox"]):focus,
.f select:focus,
.f textarea:focus {
  outline: 0;
  border-color: var(--f-akzent);
  box-shadow: 0 0 0 3px rgba(14, 111, 158, .14);
}

.kaestchen-eins input:focus { outline: 0; }
.kaestchen-eins input:focus-visible {
  outline: 2px solid var(--f-akzent);
  outline-offset: 2px;
}

.f-mehrfach { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-mehrfach legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #6a757e;
}
.kaestchen { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }

.pillen { display: flex; flex-wrap: wrap; gap: 9px; }
.pille {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid #dde3e8;
  border-radius: var(--r-voll);
  background: #fff;
  font-size: 12.5px;
  line-height: 1.2;
  color: #4f5a63;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.pille:hover { border-color: var(--f-akzent); background: #f6fbfd; }

.pille input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.pille:has(input:checked) {
  background: var(--f-hell);
  border-color: var(--f-hell);
  color: #fff;
  font-weight: 600;
}
.pille:has(input:focus-visible) {
  outline: 2px solid var(--f-akzent);
  outline-offset: 2px;
}

.hakengitter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px 4px;
}
.gitter-haken {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.25;
  color: #4f5a63;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.gitter-haken:hover { background: #f4f9fc; }
.gitter-haken > span:last-child { min-width: 0; }

.gitter-haken input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.gitter-kasten {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid #c9d4dc;
  border-radius: 5px;
  background: #fff;
  color: #fff;
  transition: background-color .15s ease, border-color .15s ease;
}
.gitter-kasten svg {
  width: 9px;
  height: 9px;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .15s ease, transform .15s ease;
}
.gitter-haken:has(input:checked) { background: #eef7fc; color: var(--f-dunkel); }
.gitter-haken:has(input:checked) .gitter-kasten {
  background: var(--f-akzent);
  border-color: var(--f-akzent);
}
.gitter-haken:has(input:checked) .gitter-kasten svg { opacity: 1; transform: none; }
.gitter-haken:has(input:focus-visible) { outline: 2px solid var(--f-akzent); outline-offset: 1px; }

@media (max-width: 560px) {
  .hakengitter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kaestchen-drei { grid-template-columns: repeat(3, 1fr); }

.feldsatz:has(.f-upload) { gap: 20px 10px; }
.feldsatz:has(.f-upload) .f-mehrfach legend { margin-bottom: 9px; }
.kaestchen-eins {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.3;
  color: #4f5a63;
  cursor: pointer;
  min-width: 0;
}

.kaestchen-eins input[type="checkbox"],
.kaestchen-eins input[type="radio"] {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--f-akzent);
}
.kaestchen-eins span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.anfrage-zusage {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5d6a74;
}
.anfrage-zusage svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; color: #19a974; }

/* Der Rollbalken im Nachrichtenfeld sass in den runden Ecken und
   machte sie wieder eckig: seine Bahn ist hell und stoesst stumpf
   an die Kante. Schmal, ohne Bahn und mit Abstand zum Rand - dann
   bleibt die Rundung stehen. */
.f textarea {
  scrollbar-width: thin;
  scrollbar-color: #c3cdd6 transparent;
}
.f textarea::-webkit-scrollbar { width: 11px; }
.f textarea::-webkit-scrollbar-track { background: transparent; }
.f textarea::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: var(--r-voll);
  background-color: #c3cdd6;
  background-clip: content-box;
}
.f textarea::-webkit-scrollbar-thumb:hover { background-color: #a8b5c0; }

/* --- Die Abschlussnachricht -------------------------------------
   Ist die Anfrage durch, bleibt vom Formular nichts stehen. Vorher
   wechselte nur die Knopfschrift auf "Anfrage ist raus" - daneben
   liessen sich weiter Felder aendern, Dateien loeschen und Schritte
   zurueckgehen, und nichts davon kam noch bei uns an. */
.anfrage.ist-fertig > *:not(.anfrage-fertig) { display: none; }

.anfrage-fertig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 6px 0 2px;
  text-align: center;
}
.anfrage-fertig:focus { outline: 0; }

.fertig-haken {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #e8f7f0;
  color: #19a974;
  box-shadow: 0 0 0 8px rgba(25, 169, 116, .08);
}
.fertig-haken svg { width: 30px; height: 30px; }

.fertig-titel {
  margin: 2px 0 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--f-dunkel);
}
.fertig-text {
  margin: 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--f-text);
}
.fertig-rand {
  margin: 0;
  max-width: 44ch;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--f-leise);
}

.fertig-wege {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}
.fertig-weg {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid #dde3e8;
  border-radius: 14px;
  background: #f7fafc;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, background-color .18s ease;
}
.fertig-weg:hover,
.fertig-weg:focus-visible { border-color: var(--f-akzent); background: #fff; }
.fertig-zeichen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e4f1f8;
  color: var(--f-akzent);
}
.fertig-zeichen svg { width: 17px; height: 17px; }
.fertig-wort { display: flex; flex-direction: column; min-width: 0; }
.fertig-wort b {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--f-leise);
}
.fertig-wort span {
  font-size: 14px;
  font-weight: 600;
  color: var(--f-dunkel);
  overflow-wrap: anywhere;
}
.fertig-weg:hover .fertig-wort span,
.fertig-weg:focus-visible .fertig-wort span { color: var(--f-akzent); }

@media (max-width: 520px) {
  .fertig-wege { grid-template-columns: minmax(0, 1fr); }
}

.anfrage-fuss { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.anfrage-fuss .knopf { flex: 1 1 auto; justify-content: center; }
.anfrage-fuss .zurueck { flex: 0 0 auto; }

/* Der Knopftext bleibt in einer Zeile. Beim Absenden wechselt die
   Beschriftung - aus "Weiter" wird "Noch einmal versuchen" -, und
   drei Woerter in einem Knopf, der nur die halbe Zeile breit ist,
   brachen vorher auf drei Zeilen um. Aus dem Knopf wurde dadurch
   ein hoher Klotz, und weil er voll gerundet ist, daneben ein
   Kreis. */
.anfrage-fuss .knopf { white-space: nowrap; }

.anfrage .knopf-rand {
  background: #fff;
  color: var(--f-dunkel);
  border-color: #c9d2d9;
  backdrop-filter: none;
}
.anfrage .knopf-rand:hover { background: #f2f5f7; border-color: var(--f-dunkel); }

.anfrage .knopf-voll:hover { background: var(--f-akzent); color: #fff; }

.anfrage-liste {
  display: flex;

  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  color: #93a0a9;
  counter-reset: schritt;
}
.anfrage-liste li { counter-increment: schritt; }
.anfrage-liste li::before { content: counter(schritt) ". "; }
.anfrage-liste li.an { color: var(--f-dunkel); font-weight: 700; }

/* Die Meldung steht im selben Flexkasten wie die Knoepfe - das
   Skript haengt sie hinter den Weiter-Knopf. Darum nimmt sie hier
   die ganze Zeile und stellt sich ueber die Knoepfe, statt ihnen
   die Breite wegzunehmen. */
.anfrage-sagt {
  flex: 1 0 100%;
  order: -1;
  margin: 0 2px;
  color: #a8382f;
  font-size: 13.5px;
  line-height: 1.5;
}
.anfrage-sagt[hidden] { display: none; }

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

.buehne-reiter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: var(--a-klein);
  width: 100%;

  max-width: calc(1440px + 2 * 15px);
  margin-inline: auto;
  padding-inline: 15px;

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.buehne-reiter::-webkit-scrollbar { display: none; }
.buehne-reiter.zieht { cursor: grabbing; user-select: none; scroll-behavior: auto; }

.reiter {

  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;

  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-voll);
  background: rgba(10, 23, 34, .40);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .60);
  font-family: inherit;
  font-size: var(--t-klein);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.reiter i {
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
  transition: color .25s ease;
}
.reiter span {

  white-space: nowrap;
}

.reiter:hover {
  background: rgba(10, 23, 34, .66);
  border-color: rgba(255, 255, 255, .38);
  color: rgba(255, 255, 255, .90);
}

.reiter.ist-da {
  background: rgba(10, 23, 34, .50);
  border-color: rgba(255, 255, 255, .52);
  color: rgba(255, 255, 255, .93);
}

.reiter.ist-da i { color: rgba(255, 255, 255, .93); }

.reiter:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.reiter::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, .50);
  transform: scaleX(0);
  transform-origin: left center;
}
.buehne.laeuft .reiter.ist-da::after {
  animation: fortschritt 5s linear forwards;
}
@keyframes fortschritt {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reiter::after { display: none; }
}

.zahl {
  flex: 0 1 calc((100% - (var(--spalten, 4) - 1) * var(--a-klein)) / var(--spalten, 4));
  text-align: center;
  padding: clamp(24px, 2.6vw, 36px) 16px;
  border-radius: var(--r-mittel);
  background: rgba(255, 255, 255, .05);
  transition: background-color .3s ease, transform .3s ease;
}
.zahl:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-3px);
}

@media (max-width: 1240px) {
  .reiter {
    padding: 13px 12px;
    gap: 8px;
    font-size: 14px;
  }
  .reiter i { font-size: 24px; }
}

@media (max-width: 1100px) {
  .zahl { flex-basis: calc((100% - var(--a-klein)) / 2); }
}

@media (max-width: 700px) {

  .buehne-reiter::after {
    content: "";
    flex: 0 0 1px;

    margin-inline-start: calc(-1px - var(--a-klein));
    padding-inline-end: 15px;
  }
  .reiter {
    padding: 12px 20px;
  }
}

@media (max-width: 1199px) {
  .buehne-raster {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  /* Bis das Skript den Kasten nach unten haengt, steht er im
     Quelltext noch in der Buehne - und war dort einen Wimpernschlag
     lang zu sehen, bevor er wegsprang. Hier bleibt er verborgen,
     unten erscheint er wieder; die Regel greift ja nur, solange er
     in der Buehne steckt. Ohne Javascript bliebe er aus: das
     Formular braucht es ohnehin fuer jeden einzelnen Schritt. */
  .buehne .anfrage { display: none; }

  /* Seit das Formular unter die Buehne wandert, traegt der Folientext
     den Abstand allein. Mit den alten Werten klebte die Ueberschrift
     unmittelbar unter der Kopfzeile. */
  .buehne-inhalt { padding-block: 152px 136px; }
  .anfrage { width: 100%; max-width: 560px; margin-inline: auto; }
  .folie-text { text-align: center; }
  .folie-text h2, .folie-text p { max-width: 100%; margin-inline: auto; }
  .knopfreihe { justify-content: center; }
}

@media (max-width: 600px) {

  .kaestchen { grid-template-columns: 1fr; }

  .feldsatz { grid-template-columns: minmax(0, 1fr); }
  .buehne-inhalt { padding-block: 136px 120px; }
  .anfrage-kopf h2 { font-size: 18px; }
  .zahl { flex-basis: 100%; }

  .knopfreihe .knopf { width: 100%; }
}

.schritt-kopf span { color: var(--f-akzent); }
.schritt-kopf {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e8edf1;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--f-dunkel);
}

.f.notiz {
  margin-top: 6px;
  padding-top: 13px;
  border-top: 1px solid #e8edf1;
}
.f.notiz textarea { background: #f8fafb; }
.f.notiz textarea:hover:not(:focus) { background: #f3f7f9; }
.f.notiz textarea:focus { background: #fff; }

.f-zeile {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 3px 0 12px;
}
.zeile-frage {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #6a757e;
  margin-right: 2px;
}

.f-zeile .kaestchen-eins {
  font-size: 13px;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border: 1px solid #dde3e8;
  border-radius: var(--r-voll);
  background: #fff;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.f-zeile .kaestchen-eins:hover { border-color: #b4c2cd; background: #f8fbfd; }
.f-zeile .kaestchen-eins:has(input:checked) {
  border-color: var(--f-akzent);
  background: #eaf4fa;
  color: var(--f-dunkel);
  font-weight: 600;
}

.anfrage .knopf-voll:disabled,
.anfrage .knopf-voll:disabled:hover {
  background: #dbe9f1;
  color: #4f6775;
  cursor: not-allowed;
}

.zeile-hinweis {
  display: none;
  font-size: 11.5px;
  line-height: 1.3;
  color: #c0453c;
}
.f-zeile.fehlt .zeile-hinweis { display: inline; }
.f-zeile.fehlt .kaestchen-eins {
  border-color: #e3a19c;
  background: #fdf5f4;
  color: #a33d35;
}
.f-zeile.fehlt .kaestchen-eins:hover {
  border-color: #c0453c;
  background: #fcefed;
}
.f-zeile.fehlt input[type="radio"] { accent-color: #c0453c; }

/* Eine Pflichtangabe, die noch leer ist. Am Feld genuegt die Farbe,
   gesagt wird es in einer Zeile unter den Knoepfen. */
.f.fehlt > label { color: #c0453c; }
.f.fehlt input:not([type="radio"]):not([type="checkbox"]),
.f.fehlt select,
.f.fehlt textarea {
  border-color: #e3a19c;
  background-color: #fdf5f4;
}
.f.fehlt input:not([type="radio"]):not([type="checkbox"]):hover:not(:focus):not(:disabled),
.f.fehlt select:hover:not(:focus):not(:disabled),
.f.fehlt textarea:hover:not(:focus) {
  border-color: #c0453c;
  background-color: #fcefed;
}
.f.fehlt input:not([type="radio"]):not([type="checkbox"]):focus,
.f.fehlt select:focus,
.f.fehlt textarea:focus {
  border-color: #c0453c;
  box-shadow: 0 0 0 3px rgba(192, 69, 60, .14);
}


.zeile-wahl { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }

@media (max-width: 600px) {
  .zeile-frage {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}

.f-zeile .kaestchen-eins input:focus-visible { outline: 0; }
.f-zeile .kaestchen-eins:has(input:focus-visible) {
  outline: 2px solid var(--f-akzent);
  outline-offset: 2px;
}

.kaestchen-eins input[type="radio"] { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; }

@media (max-width: 1320px) {

  .topbar-hotline-item > span:nth-child(2) { display: none; }
}

figure.wp-block-image:has(> img[src*="group-atu"]) {
  position: relative;
  overflow: visible;
}

figure.wp-block-image:has(> img[src*="Group-1751"]) {
  left: max(0px, calc((100% - 696px) / 2)) !important;

  margin: 0 !important;
  width: clamp(120px, calc(min(100%, 696px) * .38), 266px) !important;
  transform: translateX(-11.28%);
}
figure.wp-block-image:has(> img[src*="Group-1751"]) img {
  width: 100%;
  height: auto;
}

.atu-siegel {

  position: absolute !important;
  top: auto !important;
  bottom: 6% !important;
}

.schau {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 64px;
  background: rgba(6, 16, 24, .88);
}
.schau[hidden] { display: none; }
body.schau-offen { overflow: hidden; }
.schau-buehne {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.schau-buehne img,
.schau-buehne video {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: 10px;
  background: #0a1722;
  display: block;
}
.schau-fuss {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}
.schau button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background-color .15s ease;
}
.schau button:hover { background: rgba(255, 255, 255, .24); }
.schau-zu {
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
}
.schau-vor,
.schau-nach {
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  font-size: 30px;
  line-height: 1;
}
.schau-vor { left: 14px; }
.schau-nach { right: 14px; }
.schau-vor[hidden],
.schau-nach[hidden] { display: none; }

@media (max-width: 560px) {
  .schau { padding: 52px 10px 96px; }
  .schau-vor, .schau-nach { top: auto; bottom: 16px; margin: 0; }
  .schau-vor { left: calc(50% - 56px); }
  .schau-nach { right: calc(50% - 56px); }
  .schau-fuss { bottom: 70px; }
}

.post-comments { display: none; }

/* --- Das Formular unter der Buehne --------------------------------
   Ab dem Umbruch auf eine Spalte (1199px) wandert der Formularkasten
   per Skript aus der Buehne hierher, siehe anfrage-platz.js. Oberhalb
   bleibt diese Huelle leer und unsichtbar. */
.anfrage-unten:empty { display: none; }

.anfrage-unten {
  padding-block: clamp(36px, 6vw, 64px) 0;
}

.anfrage-unten .anfrage {
  width: min(100%, var(--form-breite));
  margin-inline: auto;

  /* In der Buehne hebt der Schlagschatten den Kasten vom Foto ab.
     Hier unten steht er auf Weiss - dort wirkt derselbe Schatten
     schwer und schmutzig. Eine feine Linie genuegt, um die Kante
     zu zeigen. */
  box-shadow: none;
  border: 1px solid rgba(10, 23, 34, .12);
}


/* siegel.css */
figure.wp-block-image:has(> img[src*="Group-1751"]) {
  container-type: inline-size;
}

figure.wp-block-image img[src*="Group-1751"] {
  display: none !important;
}

.atu-sg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  box-sizing: border-box;
  padding: 7.6% 9.8% 8.3%;

  border-radius: 6.8cqw;
  border-bottom-left-radius: 0;
  background: linear-gradient(158deg, #1b3a56 0%, #12293d 52%, #0c1e2e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 26px 44px -26px rgba(4, 12, 20, .9);
}
.atu-sg * { box-sizing: border-box; }

.atu-sg::after {
  content: "";
  position: absolute;
  inset: 2.7cqw;
  border: 1px solid rgba(255, 255, 255, .13);

  border-radius: 4.1cqw;
  border-bottom-left-radius: 0;
  pointer-events: none;
}

.atu-sg-koerper { display: block; width: 100%; }
.atu-sg-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
.atu-sg-text {
  display: block;
  margin-top: -8.4%;
  text-align: right;
  white-space: nowrap;
  font-size: 4.4cqw;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .8);
}

.atu-sg-zipfel {
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 100%;
  margin-top: -6px;
  width: 11.31%;
  aspect-ratio: 29 / 33;
  background: #091826;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 6px);
}

figure.wp-block-image.atu-siegel { bottom: 10.5% !important; }

