/* =====================================================================
   Wüthrich Finanzen – gemeinsame Gestaltung für Website und Kundenportal
   Layout: ruhige Bänder in Rosé-Grau und Weiss, Inhalte in runden Boxen,
           Weinrot nur für Handlungen, Schrittzahlen und Hervorhebungen.
   Farben und Schriften hier ändern -> wirkt auf alle Seiten.
   ===================================================================== */

@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Farben */
  --wein: #7A2E3B;          /* Primär: Buttons, Akzente */
  --wein-dunkel: #5A1F2A;   /* Hover */
  --wein-hell: #F7E6E9;     /* Text auf Weinrot */
  --rose: #F3ECEC;          /* Flächen, Bänder */
  --rose-tief: #E8DCDD;     /* Rahmen auf Rosé */
  --linie: #E3D9D9;         /* Rahmen auf Weiss */
  --taupe: #8E8487;         /* nur Linien und Symbole */
  --mauve: #5F5659;         /* Text 2 */
  --ebenholz: #2E2729;      /* Text, Fusszeile */
  --weiss: #FFFFFF;
  --ok: #2E6B3F;            /* Status: erledigt */
  --warn: #8A5A00;          /* Status: offen */
  --fehler: #A12A2A;        /* Fehlermeldungen */

  /* Schriften */
  --f-titel: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-text: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Formen */
  --r-box: 18px;
  --r-band: 26px;
  --r-pill: 999px;
  --breite: 1120px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--ebenholz);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--f-titel); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ebenholz); }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--wein); text-underline-offset: 3px; }
a:hover { color: var(--wein-dunkel); }
:focus-visible { outline: 3px solid var(--wein); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--wein); }
.lead { font-size: 1.15rem; color: var(--mauve); max-width: 60ch; }
.klein { font-size: 0.9rem; color: var(--mauve); }

/* ---------- Raster ---------- */
.band { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.band--rose { background: var(--rose); }
.innen {
  max-width: var(--breite);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.kopf-abschnitt { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0 1.4rem;
  border-radius: var(--r-pill); border: 1.5px solid var(--wein);
  font: 700 0.98rem/1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--voll { background: var(--wein); color: var(--weiss); }
.btn--voll:hover { background: var(--wein-dunkel); border-color: var(--wein-dunkel); color: var(--weiss); }
.btn--rand { background: var(--weiss); color: var(--wein); }
.btn--rand:hover { background: var(--wein-hell); color: var(--wein-dunkel); }
.btn--hell { background: var(--weiss); color: var(--wein); border-color: var(--weiss); }
.btn--hell:hover { background: var(--wein-hell); color: var(--wein-dunkel); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--weiss); }
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
/* Logo: Originalfarben des Logos (#681C1C), Dateien aus tools/logos.mjs */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; }
@media (min-width: 1100px) { .logo img { height: 52px; } }
@media (max-width: 359px) { .logo img { height: 32px; } }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ebenholz); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--wein); }
.nav .btn { color: var(--weiss); }
.menu-knopf { display: none; }

/* Untermenü bei «Leistungen»: öffnet beim Darüberfahren, per Pfeil-Knopf und mit der Tastatur */
.nav-gruppe { position: relative; display: flex; align-items: center; gap: .1rem; }
.nav-pfeil { display: grid; place-items: center; width: 24px; height: 32px; padding: 0; background: none; border: 0; color: var(--ebenholz); cursor: pointer; }
.nav-pfeil svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-gruppe.offen .nav-pfeil svg { transform: rotate(180deg); }
.nav-unter { position: absolute; top: calc(100% + 8px); left: -.9rem; z-index: 30; display: none; width: 23rem; list-style: none; margin: 0; padding: .5rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-box); box-shadow: 0 14px 32px rgba(46, 39, 41, .12); }
.nav-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* Brücke, damit die Maus nicht «abreisst» */
.nav .nav-unter a { display: block; padding: .65rem .85rem; border-radius: 12px; }
.nav .nav-unter a:hover { background: var(--rose); color: var(--wein); }
.nav .nav-unter a[aria-current="page"] { background: var(--rose); text-decoration: none; }
.nav-unter-titel { display: block; font-weight: 700; }
.nav-unter-text { display: block; margin-top: .15rem; font-size: .85rem; font-weight: 400; line-height: 1.4; color: var(--mauve); }
.nav-gruppe.offen .nav-unter { display: block; }
@media (min-width: 961px) and (hover: hover) { .nav-gruppe:hover .nav-unter { display: block; } }

@media (max-width: 960px) {
  .menu-knopf {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem;
    background: var(--rose); color: var(--ebenholz); border: 0; border-radius: var(--r-pill);
    font: 500 .95rem var(--f-text); cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    padding: .5rem max(20px, env(safe-area-inset-right, 0px)) 1.2rem max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.offen { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--linie); }
  .nav .btn { margin-top: 1rem; border-bottom: 1.5px solid var(--wein); flex-shrink: 0; }
  .nav { max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav > * { flex-shrink: 0; }
  /* Auf dem Handy stehen die Unterpunkte immer eingerückt darunter */
  .nav-gruppe { display: block; }
  .nav-gruppe > a { display: block; }
  .nav-pfeil { display: none; }
  .nav-unter { display: block; position: static; width: auto; max-width: none; padding: 0 0 0 1.1rem; border: 0; border-radius: 0; box-shadow: none; }
  .nav-unter::before { display: none; }
  .nav .nav-unter a { padding: .7rem 0; border-radius: 0; font-weight: 400; background: none; }
  .nav-unter-titel { font-weight: 400; }
  .nav-unter-text { display: none; }
  .nav .nav-unter a[aria-current="page"] { color: var(--wein); text-decoration: underline; text-underline-offset: 6px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--rose); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero .innen { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-text { display: grid; gap: 1.3rem; min-width: 0; }
.hero-text .lead { color: var(--mauve); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.blick { background: var(--weiss); border-radius: var(--r-box); padding: 1.6rem 1.7rem; display: grid; gap: 1.1rem; min-width: 0; }
.blick h2 { font-size: 1.5rem; }
.blick dl { margin: 0; display: grid; gap: .9rem; }
.blick dl div { display: grid; gap: .15rem; padding-top: .9rem; border-top: 1px solid var(--linie); }
.blick dt { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve); }
.blick dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .hero .innen { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Boxen ---------- */
.raster { display: grid; gap: 1.1rem; }
.raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .raster--3 { grid-template-columns: minmax(0, 1fr); } }
.raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .raster--4 { grid-template-columns: minmax(0, 1fr); } }
.raster--4 .box { grid-template-rows: auto auto 1fr auto; align-content: stretch; padding: 1.4rem; }
.raster--4 .box h3 { font-size: 1.25rem; }
#leistungen + .band { padding-top: 0; }
@media (max-width: 680px) { .raster--2 { grid-template-columns: minmax(0, 1fr); } }

.box { border: 1px solid var(--linie); border-radius: var(--r-box); padding: 1.6rem 1.7rem; display: grid; gap: .7rem; align-content: start; background: var(--weiss); min-width: 0; }
.box--rose { background: var(--rose); border-color: var(--rose); }
.band--rose .box { border-color: var(--rose-tief); }
.box-symbol { width: 44px; height: 44px; border-radius: 12px; background: var(--rose); display: grid; place-items: center; color: var(--wein); }
.band--rose .box-symbol { background: var(--rose); }
.box-symbol svg { width: 24px; height: 24px; }
.box p { color: var(--mauve); }
.punkte { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; }
.punkte li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.punkte li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wein); transform: translateY(-1px); }

.hinweis { margin-top: 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; padding: 1.1rem 1.4rem; border-radius: var(--r-box); background: var(--rose); color: var(--ebenholz); font-size: .97rem; }
.hinweis svg { width: 22px; height: 22px; color: var(--wein); margin-top: 2px; }

/* ---------- Region ---------- */
.region { margin-top: 2.4rem; background: var(--weiss); border-radius: var(--r-box); padding: 1.5rem 1.7rem 1.3rem; display: grid; gap: 1.1rem; }
.region-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; }
.region-kopf strong { font-family: var(--f-titel); font-weight: 400; font-size: 1.3rem; }
.strecke { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.strecke::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--rose-tief); }
.strecke li { position: relative; display: grid; justify-items: center; gap: .5rem; text-align: center; font-size: .95rem; font-weight: 500; }
.strecke li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--taupe); }
.strecke li.sitz::before { background: var(--wein); border-color: var(--wein); }
.strecke small { display: block; font-weight: 400; color: var(--mauve); font-size: .8rem; }

/* ---------- Schritte ---------- */
.schritt { background: var(--rose); border-radius: var(--r-box); padding: 1.6rem 1.7rem; display: grid; gap: .55rem; align-content: start; }
.schritt-zahl { font-family: var(--f-titel); font-size: 2.6rem; line-height: 1; color: var(--wein); }
.schritt h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.1rem; }
.schritt p { color: var(--mauve); }

/* ---------- Über mich ---------- */
.ich { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .ich { grid-template-columns: minmax(0, 1fr); } .portrait { width: min(280px, 100%); } }
.ich-bild { display: grid; gap: 1.2rem; }
.portrait {
  /* Platzhalter: durch <img src="assets/marija.jpg" alt="Marija Wüthrich"> ersetzen */
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-band);
  background: var(--rose-tief); display: grid; place-items: center;
  color: var(--mauve); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
}
.fakten { margin: 0; display: grid; gap: .1rem; background: var(--weiss); border-radius: var(--r-box); padding: .4rem 1.3rem; }
.fakten div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.fakten div:last-child { border-bottom: 0; }
.fakten dt { color: var(--mauve); }
.fakten dd { margin: 0; font-weight: 500; }
.ich-text { display: grid; gap: 1.2rem; min-width: 0; }
.ich-text p { max-width: 62ch; }
.gruss { font-weight: 500; color: var(--wein); font-size: 1.05rem; }
.werte { display: flex; flex-wrap: wrap; gap: .5rem; }
.werte span { background: var(--weiss); border: 1px solid var(--rose-tief); border-radius: var(--r-pill); padding: .35rem .95rem; font-size: .92rem; font-weight: 500; }
.credo { margin: .6rem 0 0; padding: 0; border: 0; }
.credo p { font-family: var(--f-titel); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.2; color: var(--wein); max-width: 24ch; }
.credo footer { margin-top: .5rem; font-size: .9rem; color: var(--mauve); }

/* ---------- Portal-Band ---------- */
.portal-band { background: var(--wein); color: var(--weiss); border-radius: var(--r-band); padding: clamp(1.8rem, 1rem + 3vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (max-width: 820px) { .portal-band { grid-template-columns: minmax(0, 1fr); } }
.portal-band h2 { color: var(--weiss); }
.portal-band p { color: var(--wein-hell); }
.portal-band .text { display: grid; gap: 1rem; }
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--weiss); }
.haken li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .6rem; }
.haken svg { width: 18px; height: 18px; margin-top: 4px; }
.mini-portal { background: var(--weiss); color: var(--ebenholz); border-radius: var(--r-box); padding: 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; min-width: 0; }
.mini-drop { border: 1.5px dashed var(--taupe); border-radius: 14px; padding: 1.1rem; text-align: center; font-size: .92rem; color: var(--mauve); }
.mini-zeile { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding-top: .6rem; border-top: 1px solid var(--linie); }
.mini-zeile span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--erledigt { color: var(--ok); }
.status--bearbeitung { color: var(--warn); }
.status--neu { color: var(--mauve); }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 1rem; }
.feld { display: grid; gap: .35rem; min-width: 0; }
.feld label, .feld .label { font-size: .9rem; font-weight: 500; color: var(--mauve); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem;
  border: 1.5px solid var(--rose-tief); border-radius: 14px;
  background: var(--weiss); color: var(--ebenholz);
  font: 400 1rem/1.4 var(--f-text);
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--wein); box-shadow: 0 0 0 3px var(--wein-hell); }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--fehler); }
.zustimmung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .92rem; color: var(--mauve); }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--wein); }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: 14px; padding: .9rem 1.1rem; font-size: .95rem; }
.meldung--ok { background: #E8F2EA; color: var(--ok); }
.meldung--fehler { background: #F8E6E6; color: var(--fehler); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: minmax(0, 1fr); } }
.kontakt .zeile2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .kontakt .zeile2 { grid-template-columns: minmax(0, 1fr); } }
.direkt { background: var(--rose); border-radius: var(--r-box); padding: 1.6rem 1.7rem; display: grid; gap: 1rem; }
.direkt h3 { font-size: 1.35rem; }
.direkt dl { margin: 0; display: grid; gap: .8rem; }
.direkt dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve); }
.direkt dd { margin: .1rem 0 0; font-weight: 500; overflow-wrap: anywhere; }
.direkt dd a { color: var(--ebenholz); }

/* ---------- Fusszeile ---------- */
.fuss { background: var(--ebenholz); color: #E8E0E0; padding-block: 2.2rem; font-size: .92rem; }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.fuss a { color: #E8E0E0; }
.fuss a:hover { color: var(--weiss); }
.fuss nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite { max-width: 46rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; hyphens: auto; overflow-wrap: break-word; }
.textseite > * { min-width: 0; }
/* Fristentabelle: auf schmalen Bildschirmen untereinander */
@media (max-width: 600px) {
  .textseite .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .textseite .tabelle, .textseite .tabelle tbody, .textseite .tabelle tr, .textseite .tabelle td { display: block; }
  .textseite .tabelle tr { padding: .7rem 0; border-bottom: 1px solid var(--linie); }
  .textseite .tabelle td { padding: .1rem 0; border: 0; }
  .textseite .tabelle td:first-child { font-weight: 700; }
}
.textseite h1 { margin-bottom: .4rem; }
.textseite h2 { font-size: 1.5rem; margin-top: 1.4rem; }
.textseite ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.entwurf { background: #FBF3E3; color: var(--warn); border-radius: 14px; padding: .8rem 1.1rem; font-size: .92rem; font-weight: 500; }

/* ---------- Kundenportal ---------- */
.portal-kopf .titel { font-family: var(--f-titel); font-size: 1.3rem; }
.portal-main { background: var(--rose); min-height: calc(100vh - 72px); padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.anmelde-karte { max-width: 440px; margin-inline: auto; background: var(--weiss); border-radius: var(--r-band); padding: clamp(1.6rem, 1rem + 3vw, 2.6rem); display: grid; gap: 1.2rem; }
.anmelde-karte h1 { font-size: 2rem; }
.link-knopf { background: none; border: 0; padding: 0; color: var(--wein); font: 500 .95rem var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; min-height: 32px; }
.sicher { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--mauve); }
.sicher svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.qr-huelle { display: flex; justify-content: center; margin: 1rem 0; }
.qr-huelle canvas { width: 224px; height: 224px; image-rendering: pixelated; border: 1px solid var(--linie); border-radius: 12px; }
.schluessel { display: inline-block; margin-top: .25rem; padding: .35rem .6rem; background: var(--rose); border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .08em; color: var(--ebenholz); word-break: break-all; }
.otp-eingabe { font-size: 1.5rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

.dash { display: grid; gap: 1.5rem; }
.dash-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; }
.dash-kopf h1 { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem); }
.karte { background: var(--weiss); border-radius: var(--r-band); padding: clamp(1.3rem, 1rem + 2vw, 2rem); display: grid; gap: 1.2rem; min-width: 0; }
.karte h2 { font-size: 1.6rem; }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: .5rem; text-align: center;
  border: 2px dashed var(--taupe); border-radius: var(--r-box); padding: 2.2rem 1.2rem;
  background: var(--weiss); cursor: pointer; transition: background-color .15s, border-color .15s;
}
.dropzone:hover, .dropzone.drueber { background: var(--rose); border-color: var(--wein); }
.dropzone svg { width: 36px; height: 36px; color: var(--wein); }
.dropzone strong { font-size: 1.05rem; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--wein); outline-offset: 3px; }
.auswahl { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.auswahl li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .8rem; align-items: center; padding: .65rem .9rem; border-radius: 12px; background: var(--rose); font-size: .95rem; }
.auswahl .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auswahl .groesse { color: var(--mauve); font-size: .85rem; font-variant-numeric: tabular-nums; }
.entfernen { background: none; border: 0; min-width: 36px; min-height: 36px; border-radius: 50%; color: var(--mauve); cursor: pointer; display: grid; place-items: center; }
.entfernen:hover { background: var(--rose-tief); color: var(--ebenholz); }
.entfernen svg { width: 18px; height: 18px; }
.upload-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; }
@media (max-width: 620px) { .upload-zeile { grid-template-columns: minmax(0, 1fr); } }
.upload-zeile .feld--breit { grid-column: 1 / -1; }
@media (max-width: 700px) { .portal-kopf .logo img { height: 44px; } }
@media (max-width: 420px) { .portal-kopf .titel { font-size: 1.1rem; } }

.tabelle-huelle { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th { text-align: left; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve); padding: .6rem .8rem; border-bottom: 1.5px solid var(--rose-tief); }
.tabelle td { padding: .85rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle td.datum { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--mauve); }
.tabelle .datei { font-weight: 500; overflow-wrap: anywhere; }
.tabelle .bem { display: block; font-size: .85rem; color: var(--mauve); font-weight: 400; }
.beispiel { font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve); background: var(--rose); border-radius: var(--r-pill); padding: .15rem .55rem; margin-left: .4rem; }
.leer { color: var(--mauve); padding: 1rem 0; }
.demo-hinweis { background: #FBF3E3; color: var(--warn); font-size: .88rem; font-weight: 500; text-align: center; padding: .55rem 1rem; }

/* ---------- Mehrseitige Website: Seitenkopf, Brotkrumen, Links in Boxen ---------- */
.seitenkopf { background: var(--rose); padding-block: clamp(2rem, 1.2rem + 3vw, 4rem); }
.seitenkopf .innen { display: grid; gap: 1.3rem; }
.seitenkopf .kopf-abschnitt { margin-bottom: 0; max-width: 52rem; }
.seitenkopf .knoepfe { margin-top: .6rem; }
.brosamen ol { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--mauve); }
.brosamen li + li::before { content: "/"; margin-right: .5rem; color: var(--taupe); }
.brosamen a { color: var(--mauve); }
.brosamen a:hover { color: var(--wein); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.box--link h3 a { color: inherit; text-decoration: none; }
.box--link h3 a:hover { color: var(--wein); }
.box--link { position: relative; }
.box--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-box); }
.box--link:hover { border-color: var(--wein); }
.box--link .mehr { position: relative; font-weight: 700; font-size: .95rem; color: var(--wein); text-underline-offset: 3px; margin-top: .3rem; }
.nav a[aria-current="page"]:not(.btn) { color: var(--wein); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.portal-band--einzeln { grid-template-columns: minmax(0, 1fr); }
.fuss nav + nav { margin-left: 0; }
