/* Stil „Glas hell“ nach firma/STIL.md */
@font-face { font-family: "Clash Grotesk"; font-weight: 600; font-display: swap; src: url(/schriften/ClashGrotesk-Semibold.woff) format("woff"); }
@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap; src: url(/schriften/GeneralSans-Regular.woff) format("woff"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap; src: url(/schriften/GeneralSans-Semibold.woff) format("woff"); }

:root {
  --sand: #F0EDE4; --petrol: #004741; --akzent: #1E9E88; --leucht: #4FD6BE;
  --text: #141414; --leise: #5f5c54;
  --kopf: "Clash Grotesk", -apple-system, system-ui, sans-serif;
  --fliess: "General Sans", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { font-family: var(--fliess); color: var(--text); min-height: 100dvh; -webkit-font-smoothing: antialiased; }
.grund {
  background:
    radial-gradient(90% 55% at 95% -5%, rgba(79,214,190,.55) 0%, rgba(79,214,190,0) 55%),
    radial-gradient(110% 70% at 75% 5%, rgba(30,158,136,.22) 0%, rgba(30,158,136,0) 65%),
    radial-gradient(100% 65% at -10% 108%, rgba(79,214,190,.40) 0%, rgba(79,214,190,0) 55%),
    radial-gradient(90% 60% at 20% 100%, rgba(0,71,65,.14) 0%, rgba(0,71,65,0) 65%),
    var(--sand);
  background-attachment: fixed;
}
h1, h2, .zahl b, .betrag, .preis { font-family: var(--kopf); font-weight: 600; color: var(--petrol); letter-spacing: -.01em; hyphens: manual; -webkit-hyphens: manual; }
.leise { color: var(--leise); }
.klein { font-size: 13px; }
.akzent { color: var(--akzent); }
.ueber { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }

.glas {
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); border-radius: 28px;
  backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0,71,65,.10);
}
.liste { list-style: none; }
.liste > * { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; }
.liste > * + * { border-top: 1px solid rgba(0,71,65,.10); }
.liste > * > span:first-child { flex: none; white-space: nowrap; }
.liste i { font-style: normal; color: var(--leise); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.punkt { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 10px; vertical-align: 2px;
         background: var(--akzent); box-shadow: 0 0 10px rgba(79,214,190,.9); }
.punkt.ruhe { background: rgba(0,71,65,.25); box-shadow: none; }
.punkt.alarm { background: #c2410c; box-shadow: 0 0 10px rgba(194,65,12,.6); }

.knopf { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; border: 0; border-radius: 30px;
         background: var(--petrol); color: #fff; font: 600 17px var(--fliess); cursor: pointer;
         box-shadow: 0 12px 36px rgba(0,71,65,.28); transition: transform .3s var(--ease), opacity .3s; }
.knopf:active { transform: scale(.98); }
.knopf[disabled] { opacity: .45; cursor: default; }
.leise-knopf { background: none; border: 0; color: var(--leise); font: 400 15px var(--fliess); padding: 14px; cursor: pointer; width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--leucht); outline-offset: 3px; }

/* ---------- App (Master) ---------- */
.app { overflow-wrap: anywhere; hyphens: auto; max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column;
       padding: max(28px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
.seite { display: none; flex: 1; flex-direction: column; animation: auf .5s var(--ease); }
.seite.an { display: flex; }
@keyframes auf { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gruss { color: var(--leise); font-size: 17px; margin-top: 24px; }
.haupt { font-size: clamp(36px, 11vw, 46px); line-height: 1.05; margin-top: 12px; }
.haupt button { all: unset; cursor: pointer; }
.zahlen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 20px; margin: auto 0 28px; padding-top: 48px; }
.zahl { flex: 1 1 0; min-width: 92px; }
.zahl:last-child { flex-grow: 0; }
.zahl b { display: block; font-size: 24px; white-space: nowrap; }
.zahl span { display: block; font-size: 13px; color: var(--leise); line-height: 1.35; margin-top: 4px; }
.mitarbeiter { padding: 4px 20px; font-size: 14px; }
.mitarbeiter i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abschnitt { margin-top: 40px; }
.abschnitt h2 { font-size: 22px; margin-bottom: 12px; }
.projekte, .entwuerfe { padding: 4px 20px; font-size: 14px; }
.vorfuehr { margin-top: 40px; }
.weiter-reihe { display: flex; justify-content: space-between; margin-top: 12px; }
.weiter-reihe .leise-knopf { width: auto; padding: 14px 4px; }
.bericht { margin-top: 32px; padding: 4px 20px; font-size: 16px; }
.bericht li > span.bericht-zeile { white-space: normal; flex: 1; line-height: 1.45; hyphens: manual; -webkit-hyphens: manual; }
.angebotstext { margin-top: 32px; padding: 20px; }
.angebotstext h2 { font-size: 22px; line-height: 1.2; margin: 8px 0 10px; }
.angebotstext p { font-size: 15px; line-height: 1.5; }
.angebotstext p + p { margin-top: 8px; }
a.leise-knopf { display: block; text-align: center; text-decoration: none; }
#s-vorgaenge .abschnitt:first-of-type { margin-top: 28px; }
.tippbar { cursor: pointer; }

.oben-luft { margin-top: 24px; }
.zurueck { all: unset; cursor: pointer; color: var(--leise); font-size: 15px; padding: 8px 0; }
.firma { font-size: 30px; margin-top: 10px; line-height: 1.15; }
.betrag { font-size: clamp(28px, 15vw, 64px); margin-top: 40px; line-height: 1; }
.vergleich { color: var(--leise); margin-top: 10px; font-size: 15px; }
.warnung { color: #9a3412; margin-top: 10px; font-size: 15px; }
.details { margin-top: 32px; padding: 4px 20px; font-size: 15px; }
.unten { margin-top: auto; padding-top: 32px; }
.face { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 6px; position: relative; }
.face::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 4px; border-bottom: 2px solid currentColor; border-radius: 0 0 6px 6px; }
.vorbereitung { white-space: pre-line; font-size: 14px; color: var(--leise); margin-top: 20px; padding: 16px 20px; }
.meldung { margin-top: 16px; font-size: 15px; color: var(--akzent); min-height: 1.4em; }
.anmelden { margin: auto 0; text-align: left; }
.anmelden h1 { font-size: 40px; line-height: 1.05; margin: 12px 0 32px; }
.anmelden input { width: 100%; font: 400 17px var(--fliess); padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(0,71,65,.18); background: rgba(255,255,255,.7); margin-bottom: 14px; }

/* ---------- Angebotsseite (Kunde) ---------- */
.kunde-seite { display: flex; }
.angebot { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 72px 56px; min-height: 100dvh; align-items: end; }
.angebot-links { display: flex; flex-direction: column; min-height: 100%; }
.marke { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.angebot h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.04; margin-top: auto; padding-top: 80px; max-width: 13ch; }
.angebot-links .leise { font-size: 19px; line-height: 1.5; margin-top: 22px; max-width: 440px; }
.angebot-links .leise p + p { margin-top: 10px; }
.angebot-rechts { padding: 48px; border-radius: 36px; }
.preis { font-size: 52px; line-height: 1; }
.preis small { font: 400 17px var(--fliess); color: var(--leise); margin-left: 8px; letter-spacing: 0; }
.angebot-rechts .liste { margin: 28px 0 32px; font-size: 16px; }
.annahme label { display: block; font-size: 14px; color: var(--leise); margin-bottom: 8px; }
.annahme input { width: 100%; font: 400 17px var(--fliess); padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(0,71,65,.18); background: rgba(255,255,255,.75); margin-bottom: 16px; }
.annahme .klein { margin-top: 14px; line-height: 1.5; }
.kunde-seite { flex-direction: column; }
.anbieter { text-align: center; padding: 0 20px 24px; }
.bestaetigt { font: 600 20px var(--kopf); color: var(--petrol); line-height: 1.3; }
/* ---------- Anfrage (Interessent) ---------- */
.anfrage { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1180px; margin: 0 auto; padding: 72px 56px; min-height: 100dvh; align-items: center; width: 100%; }
.anfrage-links h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; margin-top: 64px; }
.anfrage-links .leise { font-size: 19px; line-height: 1.5; margin-top: 22px; max-width: 440px; }
.anfrage-rechts { padding: 40px; border-radius: 36px; }
.annahme textarea { width: 100%; font: 400 17px var(--fliess); padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(0,71,65,.18); background: rgba(255,255,255,.75); margin-bottom: 16px; resize: vertical; }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fehler { color: #9a3412; margin-top: 10px; min-height: 1.2em; }
.danke .leise { margin-top: 14px; line-height: 1.5; }
.danke .klein { margin-top: 18px; }

/* ---------- Projekt (Kunde) ---------- */
.projekt { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 72px 28px 40px; display: flex; flex-direction: column; }
.projekt-ueber { margin-top: 72px; }
.projekt h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.04; margin-top: 14px; }
.phasen { list-style: none; display: flex; gap: 6px; margin: 48px 0 40px; }
.phasen li { flex: 1; font-size: 13px; color: var(--leise); min-width: 0; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
.phasen li span { display: block; height: 4px; border-radius: 2px; background: rgba(0,71,65,.14); margin-bottom: 10px; }
.phasen li.erledigt span { background: var(--akzent); }
.phasen li.jetzt { color: var(--petrol); font-weight: 600; }
.phasen li.jetzt span { background: linear-gradient(90deg, var(--akzent), var(--leucht)); box-shadow: 0 0 12px rgba(79,214,190,.8); }
.projekt-karte { padding: 22px 26px; margin-top: 16px; }
.projekt-karte .liste { margin-top: 6px; font-size: 16px; }
.projekt-karte .liste > li { flex-wrap: wrap; gap: 4px 16px; }
.projekt-karte .liste > li > span:first-child { white-space: normal; flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.projekt-karte .liste i { overflow-wrap: break-word; text-align: left; }
.phasen-luft { height: 40px; }
.projekt-termin { font: 600 26px var(--kopf); color: var(--petrol); margin-top: 8px; }
.projekt-kontakt { margin-top: 40px; font-size: 15px; }

@media (max-width: 820px) {
  .anfrage { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; align-items: start; }
  .anfrage-links h1 { margin-top: 40px; }
  .anfrage-rechts { padding: 26px; }
  .projekt { padding: 40px 20px 32px; }
  .projekt-ueber { margin-top: 40px; }
  .phasen li { font-size: 11px; }
}
@media (max-width: 360px) {
  .phasen { flex-direction: column; gap: 10px; }
  .phasen li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
  .phasen li span { width: 28px; flex: none; margin: 0; }
  .angebot { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .angebot h1 { padding-top: 48px; }
  .angebot-rechts { padding: 28px; }
}
