/* Das Netz der Höfe — Handy zuerst, am Rechner dieselbe Bedienung.
   Farbwelt der Ratsrunde (tool/odoo/module/weber/farbwelten.json): Nacht #123a42 · Türkis #339baa · Himmel #7fcbd6;
   die Glut des leeren Stuhls ist das „offen“ der Ratsrunde (#d9735c). Schriften: Fraunces + Space Grotesk,
   eigene Dateien aus website_ratsrunde (keine fremde Ladung). Tippflächen ≥ 44 px, Knöpfe 48 px. */

@view-transition { navigation: auto; }

.nz {
  --nz-nacht: #0d2b31;
  --nz-ink: #123a42;
  --nz-flaeche: rgba(245, 250, 250, .055);
  --nz-flaeche-2: rgba(245, 250, 250, .1);
  --nz-linie: rgba(245, 250, 250, .14);
  --nz-tuerkis: #339baa;
  --nz-himmel: #7fcbd6;
  --nz-papier: #f5fafa;
  --nz-leise: #a9c8cd;
  --nz-glut: #d9735c;
  --nz-disp: 'Fraunces', Georgia, serif;
  --nz-lauf: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --nz-leiste: 64px;
  --nz-unten: env(safe-area-inset-bottom, 0px);

  min-height: 100svh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(51, 155, 170, .18), transparent 60%),
    linear-gradient(180deg, var(--nz-ink) 0%, var(--nz-nacht) 100%);
  color: var(--nz-papier);
  font-family: var(--nz-lauf);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--nz-leiste) + var(--nz-unten) + 8px);
  -webkit-tap-highlight-color: transparent;
}
.nz a { color: var(--nz-himmel); }
.nz a:focus-visible, .nz button:focus-visible, .nz input:focus-visible, .nz textarea:focus-visible, .nz select:focus-visible {
  outline: 2px solid var(--nz-himmel); outline-offset: 2px;
}
.nz h1, .nz h2, .nz h3 { font-family: var(--nz-disp); font-weight: 480; color: var(--nz-papier); letter-spacing: -.01em; }
.nz h1 { font-size: clamp(2.2rem, 8.5vw, 4.4rem); line-height: 1.02; margin: .2rem 0 .6rem; }
.nz h2 { font-size: clamp(1.45rem, 4.4vw, 2rem); line-height: 1.15; margin: 0 0 .8rem; }
.nz p { margin: 0 0 .7rem; }
.nz-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }
.nz-i { width: 24px; height: 24px; flex: none; }
.nz-leise { color: var(--nz-leise); font-size: .88rem; }
.nz-kicker {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nz-himmel); margin: 0 0 .3rem;
}

/* ── Kopf und Fächer ─────────────────────────────────────────── */
.nz-kopf {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: env(safe-area-inset-top, 0px) 16px 0;
  background: rgba(13, 43, 49, .78);
  border-bottom: 1px solid var(--nz-linie);
  view-transition-name: nz-kopf;
}
/* Der Weichzeichner sitzt an einer eigenen Schicht: am Kopf selbst finge er die feste Fächerleiste ein
   (backdrop-filter macht ein Element zum Bezug für position: fixed — gemessen am iPhone, 23.10.2026). */
.nz-kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nz .nz-marke {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--nz-disp); font-size: 1.08rem; font-weight: 560; color: var(--nz-papier); text-decoration: none;
}
.nz-marke img { border-radius: 10px; }
.nz-faecher {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 6px var(--nz-unten);
  background: rgba(13, 43, 49, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--nz-linie);
  view-transition-name: nz-faecher;
}
.nz .nz-faecher a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--nz-leiste);
  font-size: .74rem; font-weight: 500; letter-spacing: .02em;
  color: var(--nz-leise); text-decoration: none;
  transition: color .2s ease;
}
.nz .nz-faecher a[aria-current="page"] { color: var(--nz-himmel); }
.nz .nz-faecher a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--nz-himmel);
}
@media (min-width: 900px) {
  .nz { padding-bottom: 0; }
  .nz-kopf { padding-left: max(24px, calc((100vw - 1120px) / 2)); padding-right: max(24px, calc((100vw - 1120px) / 2)); }
  .nz-faecher {
    position: static; display: flex; gap: 4px; padding: 0; background: none; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nz .nz-faecher a { flex-direction: row; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .92rem; }
  .nz .nz-faecher a[aria-current="page"] { background: var(--nz-flaeche-2); }
  .nz .nz-faecher a[aria-current="page"]::before { display: none; }
  .nz .nz-faecher a:hover { color: var(--nz-papier); }
}

.nz .nz-haupt { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
/* Odoos Frontend färbt `#wrapwrap > main` mit dem Grund der Website — hier trägt der Verlauf der Seite. */
#wrapwrap .nz #inhalt { background: transparent; }
@media (min-width: 900px) { .nz-haupt { padding: 0 24px; } }

/* ── Der Gruß und das Rund ───────────────────────────────────── */
.nz-held {
  display: grid; gap: 22px; align-content: center;
  min-height: calc(100svh - 58px - var(--nz-leiste) - var(--nz-unten));
  padding: 20px 0 28px;
}
.nz-rund { width: min(54vw, 240px); margin: 0 auto; }
.nz-rund svg { display: block; width: 100%; height: auto; overflow: visible; }
.nz-bahn { fill: none; stroke: var(--nz-linie); stroke-width: 1.5; stroke-dasharray: 2 7; }
.nz-glut { fill: url(#nz-glut-verlauf); transform-origin: 160px 160px; animation: nz-atmen 6s ease-in-out infinite alternate; }
.nz-stuehle-rund { transform-origin: 160px 160px; animation: nz-drehen 140s linear infinite; }
.nz-sitz { fill: var(--nz-tuerkis); opacity: .8; }
.nz-sitz-leer { fill: rgba(217, 115, 92, .12); stroke: var(--nz-glut); stroke-width: 2.5; filter: drop-shadow(0 0 7px rgba(217, 115, 92, .9)); animation: nz-gluehen 3.2s ease-in-out infinite alternate; }
@keyframes nz-drehen { to { transform: rotate(360deg); } }
@keyframes nz-atmen { from { transform: scale(.92); opacity: .7; } to { transform: scale(1.06); opacity: 1; } }
@keyframes nz-gluehen { from { stroke-opacity: .55; } to { stroke-opacity: 1; } }
.nz-held-text { text-align: center; }
.nz-keim { font-size: .8em; }
.nz-satz { font-family: var(--nz-disp); font-size: clamp(1.15rem, 3.6vw, 1.5rem); line-height: 1.3; color: var(--nz-papier); }
.nz-gruss { color: var(--nz-leise); max-width: 36rem; margin: 0 auto; text-align: center; }
.nz-tueren { display: grid; gap: 10px; }
.nz-held-text .nz-satz { margin-bottom: 0; }
.nz .nz-tuer {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 68px; padding: 14px 18px; border-radius: 20px;
  background: var(--nz-flaeche); border: 1px solid var(--nz-linie);
  color: var(--nz-papier); text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.nz-tuer b { font-family: var(--nz-disp); font-size: 1.2rem; font-weight: 520; }
.nz-tuer span { font-size: .88rem; color: var(--nz-leise); }
.nz .nz-tuer-haupt { background: var(--nz-himmel); border-color: var(--nz-himmel); color: var(--nz-ink); }
.nz .nz-tuer-haupt span { color: rgba(18, 58, 66, .8); }
.nz .nz-tuer:hover { transform: translateY(-2px); }
@media (min-width: 640px) { .nz-tueren { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .nz-held { grid-template-columns: 1.1fr .9fr; grid-template-areas: "text rund" "tueren rund" "gruss rund"; min-height: 78vh; column-gap: 48px; }
  .nz-gruss { grid-area: gruss; text-align: left; }
  .nz-held-text { grid-area: text; text-align: left; align-self: end; }
  .nz-gruss { margin-left: 0; }
  .nz-tueren { grid-area: tueren; align-self: start; }
  .nz-rund { grid-area: rund; width: 100%; max-width: 440px; }
}

/* ── Blöcke, Karten ──────────────────────────────────────────── */
.nz-block { margin: 44px 0; }
.nz-block-erst { margin-top: 26px; }
.nz-block-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nz-block-kopf a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nz-vorspann { color: var(--nz-leise); max-width: 40rem; }
.nz-leer {
  display: grid; justify-items: start; gap: 12px;
  padding: 20px; border-radius: 20px; border: 1px dashed var(--nz-linie); color: var(--nz-leise);
}
.nz-leer p { margin: 0; }

.nz-hoefe { display: grid; gap: 12px; }
@media (min-width: 640px) { .nz-hoefe { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nz-hoefe { grid-template-columns: repeat(3, 1fr); } }
.nz .nz-hof {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 20px; background: var(--nz-flaeche); border: 1px solid var(--nz-linie);
  color: var(--nz-papier); text-decoration: none; transition: transform .2s ease, background .2s ease;
}
.nz .nz-hof:hover { transform: translateY(-2px); background: var(--nz-flaeche-2); }
.nz-hof-bild {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 16px; overflow: hidden;
  background: var(--nz-flaeche-2);
}
.nz-hof-bild img { width: 100%; height: 100%; object-fit: cover; }
.nz-hof-zeichen { font-size: 2.3rem; line-height: 1; }
.nz-hof-text { display: grid; gap: 2px; min-width: 0; }
.nz-hof-text > b { font-family: var(--nz-disp); font-size: 1.15rem; font-weight: 520; }
.nz-hof-text small { color: var(--nz-leise); }
.nz-hof-gesucht { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; color: var(--nz-leise); }
.nz-hof-stuehle { font-size: .82rem; color: var(--nz-glut); }

.nz-stuehle { display: grid; gap: 12px; }
@media (min-width: 720px) { .nz-stuehle { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .nz-stuehle { grid-template-columns: repeat(3, 1fr); } }
.nz-stuhl {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 16px 14px 18px; border-radius: 20px;
  background: var(--nz-flaeche); border: 1px solid var(--nz-linie); border-left: 3px solid var(--nz-glut);
}
.nz-stuhl[data-richtung="bringt"] { border-left-color: var(--nz-himmel); }
.nz-stuhl-zu { opacity: .55; }
.nz-stuhl-kopf { display: flex; align-items: center; gap: 10px; }
.nz-stuhl-kopf .nz-kicker { margin: 0; }
.nz-stuhl-zeichen { font-size: 1.4rem; line-height: 1; }
.nz-stuhl-satz { font-family: var(--nz-disp); font-size: 1.12rem; line-height: 1.35; margin: 0; }
.nz-stuhl-wo { color: var(--nz-leise); font-size: .86rem; margin: 0; }
.nz-stuhl-wo a { text-decoration: none; }
.nz-stuhl-tun { margin-top: auto; padding-top: 8px; }
.nz-marke-klein { display: inline-flex; align-items: center; min-height: 44px; font-size: .86rem; color: var(--nz-himmel); }

/* ── Knöpfe ──────────────────────────────────────────────────── */
.nz .nz-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--nz-himmel);
  background: var(--nz-himmel); color: var(--nz-ink);
  font: 600 .98rem/1.2 var(--nz-lauf); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.nz .nz-knopf:hover { filter: brightness(1.06); }
.nz .nz-knopf:active { transform: scale(.98); }
.nz .nz-knopf-leise { background: transparent; color: var(--nz-papier); border-color: var(--nz-linie); }
.nz .nz-knopf-gross { width: 100%; min-height: 54px; font-size: 1.05rem; }
.nz-knoepfe { display: grid; gap: 10px; }
@media (min-width: 560px) { .nz-knoepfe { grid-template-columns: 2fr 1fr; } }

/* ── So geht es ──────────────────────────────────────────────── */
.nz-schritte ol { list-style: none; counter-reset: s; display: grid; gap: 14px; padding: 0; margin: 0; }
.nz-schritte li { counter-increment: s; position: relative; padding: 4px 0 4px 54px; color: var(--nz-leise); }
.nz-schritte li b { color: var(--nz-papier); }
.nz-schritte li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--nz-tuerkis); color: var(--nz-himmel); font-family: var(--nz-disp); font-size: 1.15rem;
}
@media (min-width: 900px) { .nz-schritte ol { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ── Filter, Wahl ────────────────────────────────────────────── */
.nz-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.nz .nz-filter a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--nz-linie); color: var(--nz-papier); text-decoration: none; font-size: .92rem;
}
.nz .nz-filter a[aria-current="true"] { background: var(--nz-himmel); border-color: var(--nz-himmel); color: var(--nz-ink); }
.nz-filter-richtung { margin-bottom: 22px; }

.nz-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.nz .nz-wahl a, .nz-wahl label {
  position: relative;
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px;
  border-radius: 16px; border: 1px solid var(--nz-linie); color: var(--nz-papier); text-decoration: none;
  font-weight: 500; cursor: pointer;
}
.nz .nz-wahl a[aria-current="true"], .nz-wahl label:has(input:checked) {
  background: var(--nz-himmel); border-color: var(--nz-himmel); color: var(--nz-ink);
}
.nz-feldsatz { border: 0; padding: 0; margin: 0; min-width: 0; }
.nz-feldsatz legend { font-size: .9rem; color: var(--nz-leise); margin: 0 0 6px; padding: 0; }
.nz-feldsatz .nz-wahl { margin: 0; }
.nz-feldsatz input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nz-arten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nz-arten label {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 8px;
  border-radius: 14px; border: 1px solid var(--nz-linie); font-size: .92rem; cursor: pointer; text-align: center;
}
.nz-arten label:has(input:checked) { background: var(--nz-flaeche-2); border-color: var(--nz-himmel); color: var(--nz-himmel); }
.nz-wahl label:has(input:focus-visible), .nz-arten label:has(input:focus-visible) { outline: 2px solid var(--nz-himmel); outline-offset: 2px; }
@media (max-width: 380px) { .nz-arten { grid-template-columns: repeat(2, 1fr); } }

/* ── Formulare ───────────────────────────────────────────────── */
.nz-formular { max-width: 680px; }
.nz-felder { display: grid; gap: 14px; }
.nz-felder > label, .nz-zwei > label { display: grid; gap: 6px; font-size: .9rem; color: var(--nz-leise); }
.nz-felder input[type="text"], .nz-felder input[type="email"], .nz-felder input[type="url"],
.nz-felder input[type="date"], .nz-felder input[type="file"], .nz-felder textarea, .nz-felder select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--nz-linie); background: rgba(0, 0, 0, .2); color: var(--nz-papier);
  font: 16px/1.4 var(--nz-lauf);
}
.nz-felder textarea { min-height: 96px; resize: vertical; }
.nz-felder input:focus, .nz-felder textarea:focus, .nz-felder select:focus { border-color: var(--nz-himmel); }
.nz-felder ::placeholder { color: rgba(169, 200, 205, .6); }
.nz-zwei { display: grid; gap: 14px; }
@media (min-width: 560px) { .nz-zwei { grid-template-columns: 1fr 1fr; } }
.nz-felder .nz-ja { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; color: var(--nz-papier); font-size: .95rem; }
.nz-ja input { width: 24px; height: 24px; margin-top: 1px; accent-color: var(--nz-himmel); }
.nz-zaehler { justify-self: end; font-size: .76rem; color: var(--nz-leise); }
.nz-topf { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nz-meldung {
  display: grid; gap: 4px; padding: 14px 16px; margin: 0 0 16px; border-radius: 16px;
  background: rgba(217, 115, 92, .14); border: 1px solid rgba(217, 115, 92, .5);
}
.nz-meldung-gut { background: rgba(127, 203, 214, .12); border-color: rgba(127, 203, 214, .5); }

/* ── Ich ─────────────────────────────────────────────────────── */
.nz-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nz .nz-weg {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 84px; padding: 14px 16px; border-radius: 20px;
  background: var(--nz-flaeche); border: 1px solid var(--nz-linie); color: var(--nz-papier); text-decoration: none;
}
.nz-weg .nz-i { width: 26px; height: 26px; color: var(--nz-himmel); }
.nz-zahl {
  position: absolute; top: 12px; right: 12px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
  background: var(--nz-glut); color: var(--nz-ink); font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
@media (min-width: 720px) { .nz-wege { grid-template-columns: repeat(4, 1fr); } }

/* ── Steckbrief ──────────────────────────────────────────────── */
.nz-steckbrief { margin: 22px 0 0; display: grid; gap: 18px; }
.nz-steckbrief-bild {
  display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(217, 115, 92, .18), var(--nz-flaeche) 70%);
}
.nz-steckbrief-bild img { width: 100%; height: 100%; object-fit: cover; }
.nz-steckbrief-bild .nz-hof-zeichen { font-size: 4.5rem; }
.nz-steckbrief-kopf { display: grid; gap: 8px; justify-items: start; }
.nz-steckbrief section { padding: 16px 18px; border-radius: 20px; background: var(--nz-flaeche); border: 1px solid var(--nz-linie); }
.nz-steckbrief section h2 { font-family: var(--nz-lauf); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nz-himmel); margin: 0 0 6px; }
.nz-steckbrief section p { white-space: pre-line; margin: 0; }
@media (min-width: 900px) {
  .nz-steckbrief { grid-template-columns: 1fr 1fr; }
  .nz-steckbrief-bild, .nz-steckbrief-kopf { grid-column: 1 / -1; }
  .nz-steckbrief-bild { aspect-ratio: 21 / 8; }
}

/* ── Fuß ─────────────────────────────────────────────────────── */
.nz-fuss {
  max-width: 1120px; margin: 56px auto 0; padding: 22px 16px 26px;
  border-top: 1px solid var(--nz-linie); color: var(--nz-leise); font-size: .88rem;
}
.nz-fuss p { margin: 0 0 6px; }
.nz-fuss-wege { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -8px; }
.nz .nz-fuss-wege a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }

/* ── Zugabe: Einblenden (nur mit JS und Beobachter, alles im ersten Blick sofort) ── */
.nz-anim .nz-auf { opacity: 0; transform: translateY(14px); }
/* nur auf der Startseite (netz.js); innen steht alles sofort, wie in einer App */
.nz-anim .nz-auf.nz-da { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

@media (max-width: 430px) {
  .nz-kicker { letter-spacing: .08em; }
  .nz .nz-tuer { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nz *, .nz *::before { animation: none !important; transition: none !important; }
  .nz-anim .nz-auf { opacity: 1; transform: none; }
}

/* Die Gesprächsseite: die Fläche von haus_intern liegt im Vollbild darüber. */
.nz-chat { padding-bottom: 0; }
