/* navalo.at — Firmenseite und Kundenzugang.
 *
 * Eigenes Stylesheet, nicht portal.css. Das Portal ist ein Werkzeug und darf
 * nüchtern sein; diese Seite muss verkaufen. Zwei Aufgaben, zwei Handschriften
 * — und eine Änderung am Schaufenster soll dem Kunden nicht das Portal
 * verstellen.
 *
 * Ein fester Look, kein Tag- und Nachtmodus: Wer eine Firmenseite aufruft, will
 * sie so sehen, wie sie gedacht ist. Dunkle Bühne, helles Feld, dunkle Fußzeile.
 */

:root {
  --n-rot: #E11B22;
  --n-rot-hell: #F04248;      /* auf dunklem Grund, sonst verliert das Rot */
  --n-schwarz: #15171B;
  --n-schwarz-weich: #1D2026;
  --n-grund: #FFFFFF;
  --n-grund-still: #F7F6F4;
  --n-tinte: #15171B;
  --n-tinte-leise: #55585E;
  --n-tinte-still: #8A8D93;
  --n-linie: #E6E3DF;
  --n-linie-dunkel: #2C3037;

  --n-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --n-rund: 14px;
  --n-breit: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0; font-family: var(--n-sans); color: var(--n-tinte);
  background: var(--n-grund); -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

/* --- Marke --------------------------------------------------------------- */

/* Die ganze Marke haengt an einer einzigen Groesse: der Schriftgroesse des
   Wortes. Die Schildhoehe rechnet sich daraus, sonst laufen die beiden beim
   naechsten Aendern auseinander.
 *
 * Faktor 1.53: Das weisse N sitzt im Schild zwischen y=24 und y=76 einer
 * Zeichenflaeche von 112 - es fuellt also nur 46 % der Schildhoehe. Damit es
 * neben dem kleingeschriebenen "avalo" als Grossbuchstabe liest, muss der
 * Schild entsprechend groesser sein als die Schrift. Bei gleicher Hoehe wirkt
 * das N zu klein und das Wort rutscht optisch nach unten. */
.n-marke { display: inline-flex; align-items: center; gap: 0; line-height: 1; }
.n-marke svg { height: 1.53em; display: block; }

/* "avalo" schließt eng an das Schild-N an — der Schild IST der Anfangsbuchstabe.
   Ein Zwischenraum würde daraus zwei Zeichen machen statt einem Wort.
   Die Verschiebung nach oben gleicht aus, dass die Schildspitze unten
   weiterlaeuft, das N aber schon vorher endet. */
.n-wort {
  font-weight: 600; letter-spacing: -0.03em;
  margin-left: -0.13em; transform: translateY(-0.13em);
}

/* --- Kopfzeile ----------------------------------------------------------- */

.n-kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 28px;
  background: rgba(21, 23, 27, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
}
.n-kopf-marke { text-decoration: none; display: inline-flex; }
.n-kopf-weg { display: flex; gap: 22px; margin-left: auto; }
.n-kopf-weg a {
  text-decoration: none; font-size: 14px; color: rgba(255, 255, 255, .72);
  transition: color .15s;
}
.n-kopf-weg a:hover { color: #fff; }

/* --- Knöpfe -------------------------------------------------------------- */

.n-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 100px; text-decoration: none;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s;
  white-space: nowrap;
}
.n-knopf:active { transform: translateY(1px); }
.n-knopf-klein { padding: 8px 16px; font-size: 13.5px; }

.n-knopf-rot { background: var(--n-rot); color: #fff; }
.n-knopf-rot:hover { background: #C8161C; }

.n-knopf-geist {
  border-color: rgba(255, 255, 255, .28); color: #fff;
}
.n-knopf-geist:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.n-kopf .n-knopf-klein {
  background: var(--n-rot); color: #fff;
}
.n-kopf .n-knopf-klein:hover { background: #C8161C; }

/* --- Durchsage ----------------------------------------------------------- */

.n-durchsage {
  background: #FDF4F4; border-bottom: 1px solid #F3D9D9;
  padding: 12px 28px; font-size: 14.5px; text-align: center;
}
.n-durchsage p { margin: 0; }

/* --- Bühne --------------------------------------------------------------- */

.n-buehne {
  background: var(--n-schwarz); color: #fff;
  padding: clamp(72px, 11vw, 132px) 28px clamp(80px, 12vw, 140px);
  position: relative; overflow: hidden;
}
/* Ein einzelner roter Schein hinter der Überschrift. Mehr Schmuck bräuchte die
   Seite nicht — sie verkauft Nachweisbarkeit, nicht Buntheit. */
.n-buehne::before {
  content: ""; position: absolute; inset: -40% 30% 40% -20%;
  background: radial-gradient(closest-side, rgba(225, 27, 34, .30), transparent);
  pointer-events: none;
}
.n-buehne-innen { max-width: var(--n-breit); margin: 0 auto; position: relative; }

.n-oberzeile {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--n-rot-hell); font-weight: 600; margin-bottom: 20px;
}
.n-buehne h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 700; max-width: 15ch;
}
.n-vorspann {
  margin-top: 24px; font-size: clamp(16.5px, 2vw, 19.5px);
  color: rgba(255, 255, 255, .74); max-width: 56ch;
}
.n-buehne-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.n-buehne-fuss {
  margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .45);
  max-width: 50ch;
}

/* --- Abschnitte ---------------------------------------------------------- */

.n-abschnitt { padding: clamp(64px, 9vw, 104px) 28px; }
.n-abschnitt-still { background: var(--n-grund-still); }
.n-abschnitt-kopf { max-width: var(--n-breit); margin: 0 auto 48px; }

.n-marke-zeile {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--n-rot); font-weight: 600; margin-bottom: 14px;
}
.n-abschnitt h2 { font-size: clamp(27px, 4vw, 40px); font-weight: 700; }

/* Vorspann unter einer Abschnittsueberschrift. Traegt den Satz, der frueher
   in der Buehne stand - die gehoert jetzt dem Unternehmen. */
.n-abschnitt-vorspann {
  margin-top: 18px; font-size: 17px; color: var(--n-tinte-leise); max-width: 62ch;
}

/* --- Das Unternehmen ----------------------------------------------------- */

/* Das volle Wappen bekommt hier seinen Platz: eine ganze Seitenbreite, heller
   Grund, Navalo als Absender. Genau der Fall, fuer den es gedacht ist - in der
   Kopfzeile waere es bei 24 Pixeln ein grauer Fleck, dort bleibt die
   Schildmarke. */
.n-firma {
  max-width: var(--n-breit); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 54px; align-items: center;
}
.n-firma-wappen { text-align: center; }
.n-firma-wappen img { width: 100%; max-width: 380px; height: auto; }

.n-firma-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.n-firma-satz {
  margin-top: 16px; font-size: 17px; color: var(--n-tinte-leise); max-width: 52ch;
}

.n-eckdaten { margin: 32px 0 0; }
/* Spaltenbreite nach dem laengsten Begriff bemessen: UNTERNEHMENSGEGENSTAND
   ist ein einziges Wort ohne Trennstelle und lief bei 160 px in den Text
   hinein. Dazu overflow-wrap als Netz - kommt spaeter ein noch laengerer
   Begriff dazu, bricht er um, statt sich zu ueberlagern. */
.n-eckdaten > div {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px;
  padding: 16px 0; border-top: 1px solid var(--n-linie);
}
.n-eckdaten dt {
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--n-tinte-still); font-weight: 600; padding-top: 2px;
  overflow-wrap: anywhere; line-height: 1.35;
}
.n-eckdaten dd { margin: 0; font-size: 15px; color: var(--n-tinte-leise); }

@media (max-width: 860px) {
  .n-firma { grid-template-columns: 1fr; gap: 34px; }
  .n-firma-wappen img { max-width: 260px; }
  .n-eckdaten > div { grid-template-columns: 1fr; gap: 6px; }
}

/* --- Produktkarten ------------------------------------------------------- */

.n-karten {
  max-width: var(--n-breit); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.n-karte {
  background: var(--n-grund); border: 1px solid var(--n-linie);
  border-radius: var(--n-rund); padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .16s, box-shadow .16s;
}
/* Die rote Kante oben nimmt das Schild auf, ohne es zu wiederholen. */
.n-karte::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--n-rot);
}
.n-karte:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(21, 23, 27, .09);
}
.n-karte h3 { font-size: 26px; font-weight: 700; }
.n-karte-satz { color: var(--n-tinte-leise); margin-top: 6px; font-size: 15.5px; }

.n-liste { list-style: none; padding: 0; margin: 26px 0 0; flex: 1; }
.n-liste li {
  position: relative; padding-left: 26px; margin-bottom: 14px;
  font-size: 15px; color: var(--n-tinte-leise);
}
.n-liste li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--n-rot); opacity: .85;
}

.n-preis {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--n-linie);
  font-size: 15px; color: var(--n-tinte-leise);
}
.n-preis strong { font-size: 22px; color: var(--n-tinte); font-weight: 700; }
.n-preis-still { color: var(--n-tinte-still); }

/* --- Punkteraster -------------------------------------------------------- */

.n-raster {
  max-width: var(--n-breit); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px 40px;
}
.n-punkt h4 {
  font-size: 17px; font-weight: 600; margin-bottom: 9px;
  padding-left: 16px; position: relative;
}
.n-punkt h4::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px;
  background: var(--n-rot); border-radius: 2px;
}
.n-punkt p { font-size: 15px; color: var(--n-tinte-leise); padding-left: 16px; }

/* --- Tarife -------------------------------------------------------------- */

/* Drei Tarife sind drei Tarife - fest gesetzt statt automatisch umbrechen.
   Sonst stehen bei mittlerer Fensterbreite zwei oben und einer allein
   darunter, und der Vergleich, um den es geht, ist hin. */
.n-tarife {
  max-width: var(--n-breit); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 780px) { .n-tarife { grid-template-columns: 1fr; } }
.n-tarif {
  border: 1px solid var(--n-linie); border-radius: var(--n-rund);
  padding: 28px 26px; text-align: center;
}
/* Der mittlere Tarif ist der, den die meisten brauchen — bis 50 Leute deckt
   den typischen Betrieb ab. Er darf das auch zeigen. */
.n-tarif-hervor { border-color: var(--n-rot); border-width: 2px; }
.n-tarif-name {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--n-tinte-still); font-weight: 600;
}
.n-tarif-preis {
  font-size: 42px; font-weight: 700; margin: 10px 0 4px;
  letter-spacing: -0.03em;
}
.n-tarif-preis span {
  font-size: 15px; font-weight: 500; color: var(--n-tinte-still);
  letter-spacing: 0;
}
.n-tarif-satz { font-size: 14.5px; color: var(--n-tinte-leise); }

.n-hinweis {
  max-width: 70ch; margin: 26px auto 0; text-align: center;
  font-size: 14px; color: var(--n-tinte-still);
}

/* Ein Block je Produkt. Die Ueberschrift traegt die Abrechnungsart mit -
   "monatlich" gegen "jaehrlich" ist der Unterschied, der sonst verwechselt
   wird: 150 Euro neben 79 Euro liest sich als teurer, obwohl es ein Zwoelftel
   davon ist. */
.n-tarifblock { max-width: var(--n-breit); margin: 0 auto 46px; }
.n-tarifblock:last-of-type { margin-bottom: 0; }
.n-tarifblock-kopf {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--n-linie);
}
.n-tarifblock-kopf h3 { font-size: 21px; font-weight: 700; }
.n-tarifblock-kopf p { font-size: 14.5px; color: var(--n-tinte-still); }
.n-tarifblock-fuss {
  margin-top: 18px; font-size: 14.5px; color: var(--n-tinte-leise);
  max-width: 76ch;
}
.n-tarifblock-fuss strong { color: var(--n-tinte); font-weight: 600; }

/* --- Aufruf -------------------------------------------------------------- */

.n-ruf {
  max-width: var(--n-breit); margin: 64px auto 0;
  background: var(--n-schwarz); color: #fff;
  border-radius: var(--n-rund); padding: clamp(38px, 6vw, 58px) 34px;
  text-align: center;
}
.n-ruf h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.n-ruf p {
  margin: 14px auto 28px; color: rgba(255, 255, 255, .70);
  max-width: 50ch; font-size: 16px;
}

/* --- Fußzeile ------------------------------------------------------------ */

.n-fuss {
  background: var(--n-schwarz-weich); color: rgba(255, 255, 255, .62);
  padding: 66px 28px 26px; font-size: 14.5px;
}
.n-fuss-innen {
  max-width: var(--n-breit); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.n-fuss-block h3 {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .40); font-weight: 600; margin-bottom: 14px;
}
.n-fuss-block p { margin-bottom: 14px; }
.n-fuss .n-marke { color: #fff; }
.n-fuss-satz { margin-top: 16px; }
.n-fuss a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.n-fuss a:hover { color: #fff; text-decoration: underline; }
.n-fuss-zeile {
  max-width: var(--n-breit); margin: 48px auto 0;
  padding-top: 22px; border-top: 1px solid var(--n-linie-dunkel);
  font-size: 13px; color: rgba(255, 255, 255, .38);
}

/* --- Anmeldung und Kundenbereich ----------------------------------------- */

.n-mitte {
  min-height: 74vh; display: flex; align-items: center; justify-content: center;
  padding: 56px 24px; background: var(--n-grund-still);
}
.n-formular {
  width: 100%; max-width: 420px; background: var(--n-grund);
  border: 1px solid var(--n-linie); border-radius: var(--n-rund);
  padding: 38px 34px;
}
.n-formular h1 { font-size: 25px; font-weight: 700; }
.n-formular > p { color: var(--n-tinte-leise); margin-top: 8px; font-size: 15px; }

.n-feld { display: block; margin-top: 22px; }
.n-feld > span {
  display: block; font-size: 13px; color: var(--n-tinte-leise);
  margin-bottom: 7px; font-weight: 500;
}
.n-feld input {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--n-linie); border-radius: 10px; background: #fff;
  color: var(--n-tinte);
}
.n-feld input:focus {
  outline: 2px solid var(--n-rot); outline-offset: -1px; border-color: transparent;
}
.n-formular .n-knopf { width: 100%; margin-top: 26px; }

.n-fehler {
  margin-top: 20px; padding: 12px 14px; border-radius: 10px;
  background: #FDF1F1; border: 1px solid #F3D9D9; color: #96181D;
  font-size: 14.5px;
}
.n-klein { margin-top: 22px; font-size: 13.5px; color: var(--n-tinte-still); }

/* --- Kundenbereich ------------------------------------------------------- */

.n-bereich { max-width: var(--n-breit); margin: 0 auto; padding: 48px 28px 80px; }
.n-bereich-kopf {
  display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.n-bereich-kopf h1 { font-size: 30px; font-weight: 700; }
.n-bereich-kopf p { color: var(--n-tinte-leise); margin-top: 6px; }
.n-bereich-kopf .n-abmelden {
  margin-left: auto; font-size: 14px; color: var(--n-tinte-still);
  text-decoration: none;
}
.n-bereich-kopf .n-abmelden:hover { color: var(--n-tinte); }

.n-betrieb {
  border: 1px solid var(--n-linie); border-radius: var(--n-rund);
  padding: 26px 26px 22px; margin-bottom: 18px;
}
.n-betrieb-kopf {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--n-linie);
}
.n-betrieb-kopf h2 { font-size: 21px; font-weight: 700; }
.n-betrieb-kopf .n-adresse { color: var(--n-tinte-still); font-size: 14px; }

.n-schild {
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; padding: 3px 10px; border-radius: 100px;
  border: 1px solid var(--n-linie);
  color: var(--n-tinte-leise);
}
.n-schild.n-schild-warnung {
  border-color: #E9C98A; background: #FDF6E8; color: #7A4E06;
}
.n-schild.n-schild-ernst {
  border-color: #F0C4C4; background: #FDF1F1; color: #96181D;
}

.n-module { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.n-modul {
  flex: 1 1 240px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--n-linie); border-radius: 12px;
  padding: 16px 18px; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.n-modul:hover { border-color: var(--n-rot); background: #FDF7F7; }
.n-modul-name { font-weight: 600; font-size: 16px; }
.n-modul-satz { font-size: 13.5px; color: var(--n-tinte-still); }
.n-modul-pfeil { margin-left: auto; color: var(--n-tinte-still); font-size: 18px; }

.n-nicht-gebucht {
  flex: 1 1 240px; border: 1px dashed var(--n-linie); border-radius: 12px;
  padding: 16px 18px; color: var(--n-tinte-still); font-size: 14px;
}

@media (max-width: 640px) {
  .n-kopf { padding: 12px 18px; gap: 14px; }
  .n-kopf-weg { display: none; }
  .n-abschnitt, .n-buehne { padding-left: 20px; padding-right: 20px; }
  .n-bereich { padding-left: 20px; padding-right: 20px; }
}

/* --- Textblatt: Impressum und Rechtliches -------------------------------- */

/* Schmaler als der Rest der Seite. Rechtstexte werden gelesen, nicht
   ueberflogen - bei voller Breite verliert man in jeder Zeile den Anschluss. */
.n-blatt { max-width: 760px; margin: 0 auto; }
.n-blatt h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
.n-blatt h2 {
  font-size: 22px; font-weight: 700; margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--n-linie);
}
.n-blatt-vorspann { margin-top: 14px; color: var(--n-tinte-leise); }
.n-blatt p { margin-top: 16px; color: var(--n-tinte-leise); font-size: 15.5px; }
.n-blatt strong { color: var(--n-tinte); font-weight: 600; }
.n-blatt a { color: var(--n-rot); }
.n-blatt .n-eckdaten { margin-top: 34px; }

.n-hinweis-kasten {
  border: 1px solid #E9C98A; background: #FDF6E8; color: #6B4405;
  border-radius: 12px; padding: 14px 16px; font-size: 15px;
}

.n-still { color: var(--n-tinte-still); font-size: 14px; }

/* --- Kontaktformular ----------------------------------------------------- */

.n-formular-breit { max-width: 620px; }
.n-feldpaar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 560px) { .n-feldpaar { grid-template-columns: 1fr; } }

.n-feld textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--n-linie); border-radius: 10px; background: #fff;
  color: var(--n-tinte); resize: vertical; line-height: 1.5;
}
.n-feld textarea:focus {
  outline: 2px solid var(--n-rot); outline-offset: -1px; border-color: transparent;
}

/* Das Lockfeld muss fuer Menschen unsichtbar sein, aber im Quelltext stehen.
   Nicht display:none - manche Werbeprogramme pruefen genau darauf und lassen
   solche Felder dann aus. */
.n-lockfeld {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.n-mitte-text { text-align: center; }
.n-mitte-text p { margin: 14px 0 26px; color: var(--n-tinte-leise); }
