/* NanoPURE Markenportal. Farben aus dem Konzept Anwendertreffen 2026: Navy für Vertrauen,
   Petrol für Medizin und Klarheit, viel helle Fläche, weiche Kanten. Keine harten Linien,
   das Markenelement (die sich auflösenden Punkte) gliedert die Seite. */

@font-face { font-family: "Plex Serif"; src: url("/assets/schrift/ibm-plex-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url("/assets/schrift/ibm-plex-serif-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url("/assets/schrift/ibm-plex-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/assets/schrift/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --navy: #13284A;
  --navy-tief: #0D1C34;
  --petrol: #1F6F6F;
  --petrol-dunkel: #185A5A;
  --mint: #8FD1C8;
  --blassmint: #DDEFEC;
  --nebel: #F6F7F4;
  --papier: #FDFDFB;
  --schiefer: #4A5568;
  --linie: #DCE2E8;
  --stahl: #7A8AA6;
  --warn: #A5321F;
  --serif: "Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --spalte: 1200px;
  --radius: 16px;
  --schatten: 0 1px 2px rgba(19,40,74,.04), 0 10px 30px rgba(19,40,74,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--nebel); color: var(--navy);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.005em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.22rem; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .3em; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: .86em; background: #fff; border: 1px solid var(--linie); padding: .1em .4em; border-radius: 6px; color: var(--navy); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }

.augenbraue { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin: 0 0 .9em; }

/* Kopf: Glas über der Seite */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246,247,244,.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(19,40,74,.10);
}
.kopf .innen { max-width: var(--spalte); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.kopf .wortmarke { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.kopf .wortmarke img { height: 30px; width: auto; display: block; }
.kopf .wortmarke small { font-size: .78rem; color: var(--schiefer); border-left: 1px solid var(--linie); padding-left: 10px; line-height: 1.3; }
.kopf nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.kopf nav a { color: var(--schiefer); text-decoration: none; font-size: .9rem; font-weight: 500; }
.kopf nav a:hover { color: var(--petrol); }
.kopf .konzepte { display: flex; border: 1px solid rgba(19,40,74,.18); border-radius: 999px; padding: 3px; gap: 2px; background: rgba(255,255,255,.5); }
.kopf .konzepte a { font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--schiefer); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.kopf .konzepte a[aria-current="page"] { background: var(--navy); color: #fff; }
.kopf .konzepte a:hover:not([aria-current]) { color: var(--navy); }
.kopf .sprache { font-size: .82rem; color: var(--stahl); text-decoration: none; margin-left: 8px; white-space: nowrap; }

/* Aufmacher: hell und ruhig, das Zeichen als Bühne */
.hero { position: relative; overflow: hidden; padding: 72px 24px 56px; }
.hero .innen { max-width: var(--spalte); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: 1.18rem; color: var(--schiefer); max-width: 56ch; }
.hero .stand { font-size: .86rem; color: var(--stahl); margin-top: 26px; }
.hero .stand span { display: inline-block; background: var(--blassmint); color: var(--petrol-dunkel); border-radius: 999px; padding: 2px 10px; font-weight: 600; margin-right: 8px; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.hero .buehne { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.hero .buehne svg { width: 100%; height: 100%; display: block; }
.hero .buehne .punkt { transform-origin: center; transform-box: fill-box; }
@keyframes aufloesen {
  0% { opacity: 0; transform: scale(.4); }
  60% { opacity: var(--deck, 1); transform: scale(1.06); }
  100% { opacity: var(--deck, 1); transform: scale(1); }
}
@keyframes bogen { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
@keyframes atmen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.hero .buehne .bogen { stroke-dasharray: 220; stroke-dashoffset: 0; }
.hero .buehne.lebt .bogen { animation: bogen 1.1s cubic-bezier(.4,0,.2,1) both; }
.hero .buehne.lebt .punkt { opacity: 0; animation: aufloesen .7s cubic-bezier(.3,.9,.4,1.1) both; animation-delay: calc(.8s + var(--i) * .13s); }
@media (prefers-reduced-motion: reduce) {
  .hero .buehne.lebt .bogen, .hero .buehne.lebt .punkt { animation: none; opacity: var(--deck, 1); }
}

/* Die Auflösungslinie: Punkte, die nach rechts verschwinden. Ersetzt jede harte Trennlinie. */
.aufloesung { height: 10px; margin: 0; border: 0;
  background-image: radial-gradient(circle, var(--petrol) 2.2px, transparent 2.6px);
  background-size: 16px 10px; background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 45%, transparent 85%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 45%, transparent 85%);
  max-width: 360px; }

/* Raster */
main { max-width: var(--spalte); margin: 0 auto; padding: 0 24px 96px; display: grid; grid-template-columns: 236px 1fr; gap: 56px; align-items: start; }
.inhalt { position: sticky; top: 92px; padding: 44px 0; font-size: .9rem; max-height: calc(100vh - 92px); overflow: auto; }
.inhalt strong { display: block; color: var(--petrol); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 20px 0 6px; font-weight: 600; }
.inhalt strong:first-child { margin-top: 0; }
.inhalt a { display: block; padding: 3px 0 3px 12px; color: var(--schiefer); text-decoration: none; border-left: 2px solid transparent; margin-left: -12px; }
.inhalt a:hover { color: var(--navy); border-left-color: var(--mint); }
.text { padding: 44px 0; min-width: 0; }
section { padding-top: 24px; margin-bottom: 56px; }
section > .aufloesung { margin-bottom: 22px; }
section > h2 { margin-bottom: .6em; }

/* Bausteine */
.kasten { background: var(--blassmint); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; color: var(--navy); }
.kasten p:last-child { margin-bottom: 0; }
.kasten.hinweis { background: #fff; border: 1px solid var(--linie); }
.kasten.warnung { background: #FBF1EE; }
.kasten.warnung strong { color: var(--warn); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 22px 0; }
.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--schatten); }
.karte h3 { margin-bottom: .35em; font-size: 1.1rem; }
.karte p { font-size: .94rem; color: var(--schiefer); margin-bottom: 0; }
.karte .augenbraue { margin-bottom: .5em; }

.probe { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 36px 28px; margin: 20px 0; text-align: center; }
.probe.dunkel { background: var(--navy); border-color: var(--navy); position: relative; overflow: hidden; }
.probe.dunkel::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(260px, 26%); background: url("/assets/logo/nanopure-muster-mint.svg") right top / 320px repeat-y; opacity: .7; pointer-events: none; }
.probe.dunkel > * { position: relative; }
.probe.mint { background: var(--blassmint); border-color: var(--blassmint); }
.probe img { max-width: 100%; height: auto; }
.probe figcaption { margin-top: 16px; font-size: .86rem; color: var(--schiefer); }
.probe.dunkel figcaption { color: rgba(255,255,255,.72); }
.probe.gross img { width: min(100%, 540px); }
.probe.klein img { width: 200px; }
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zweier .probe { margin: 0; }

table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: .93rem; background: var(--papier); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--nebel); }

.farbe { display: flex; align-items: center; gap: 10px; }
.farbe span { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--linie); flex: none; }

/* Farbfelder */
.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 22px 0; }
.feld { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--papier); box-shadow: var(--schatten); }
.feld .ton { height: 96px; }
.feld .werte { padding: 12px 14px; font-size: .84rem; color: var(--schiefer); line-height: 1.5; }
.feld .werte b { display: block; color: var(--navy); font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.feld .werte code { font-size: .8rem; }

/* Tonwerte der Punkte */
.tonwerte { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.tonwerte span { width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); display: inline-block; }
.tonwerte small { color: var(--schiefer); font-size: .8rem; }

ul.regeln { list-style: none; padding: 0; margin: 18px 0; }
ul.regeln li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--linie); }
ul.regeln li:last-child { border-bottom: 0; }
ul.regeln li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(-45deg); }
ul.regeln.nein li::before { transform: none; border: 0; background: var(--warn); width: 11px; height: 2px; top: 21px; border-radius: 2px; }
ul.regeln.punkte li::before { transform: none; border: 0; background: var(--petrol); width: 9px; height: 9px; border-radius: 50%; top: 18px; opacity: .8; }

/* Schriftproben */
.schriftprobe { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 28px; margin: 18px 0; }
.schriftprobe .serif { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; line-height: 1.15; margin: 0 0 6px; }
.schriftprobe .sans { font-size: 1.05rem; margin: 0; color: var(--schiefer); }
.schriftprobe .klein { font-size: .8rem; color: var(--stahl); margin-top: 14px; }
.schriftprobe .alphabet { font-size: 1.2rem; letter-spacing: .02em; color: var(--navy); margin: 0; word-break: break-all; }
.hierarchie { display: grid; grid-template-columns: 160px 1fr; gap: 6px 18px; font-size: .9rem; margin: 18px 0; }
.hierarchie > div:nth-child(odd) { color: var(--stahl); padding-top: 4px; }
.hierarchie .h1 { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1.1; }
.hierarchie .h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.hierarchie .h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.hierarchie .lead { font-size: 1.15rem; color: var(--schiefer); }
.hierarchie .text { font-size: 1rem; padding: 0; }
.hierarchie .augenbraue { margin: 0; }
.hierarchie .bild { font-size: .82rem; color: var(--stahl); }

/* Claims */
.claim { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--schatten); }
.claim .wort { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 10px 0 6px; }
.claim .unter { color: var(--schiefer); margin: 0; font-size: .98rem; }
.claim.dunkel { background: var(--navy); border-color: var(--navy); color: #fff; background-image: url("/assets/logo/nanopure-muster-mint.svg"); background-size: 300px; background-position: right -60px top; background-repeat: no-repeat; }
.claim.dunkel .wort { color: #fff; }
.claim.dunkel .unter { color: rgba(255,255,255,.75); }
.claim.dunkel .augenbraue { color: var(--mint); }
.claim img { height: 28px; width: auto; display: block; }

/* Zeitleiste: hier trägt die Reihenfolge Bedeutung */
.zeit { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; counter-reset: schritt; }
.zeit li { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 18px 16px; position: relative; counter-increment: schritt; }
.zeit li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.zeit li.jetzt { border-color: var(--petrol); box-shadow: 0 0 0 3px var(--blassmint); }
.zeit li.jetzt::after { content: "Hier stehen wir"; position: absolute; top: 14px; right: 14px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); font-weight: 600; }
.zeit li b { display: block; margin-bottom: 4px; }
.zeit li span { font-size: .9rem; color: var(--schiefer); }

/* Markenarchitektur */
.architektur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.architektur > div { border-radius: var(--radius); padding: 20px; border: 1px solid var(--linie); background: var(--papier); }
.architektur > div.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.architektur > div.petrol { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.architektur .augenbraue { margin-bottom: .4em; }
.architektur .navy .augenbraue, .architektur .petrol .augenbraue { color: var(--mint); }
.architektur b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; display: block; margin-bottom: 4px; }
.architektur p { font-size: .9rem; margin: 0; opacity: .85; }

/* Ampel für Aussagen */
.ampel { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.ampel.gruen { background: #2E8B6E; }
.ampel.gelb { background: #D9A441; }
.ampel.rot { background: var(--warn); }

/* Downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 22px 0; }
.dl a { display: block; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--navy); font-weight: 600; box-shadow: var(--schatten); }
.dl a:hover { border-color: var(--petrol); background: #fff; }
.dl a small { display: block; color: var(--schiefer); font-weight: 400; margin-top: 4px; font-size: .88rem; }

/* Bildwelt */
.motive { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0; }
.motiv { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--papier); }
.motiv .bild { aspect-ratio: 4/3; background: linear-gradient(160deg, var(--blassmint), #fff 70%); position: relative; }
.motiv .bild::after { content: ""; position: absolute; inset: 0; background: url("/assets/logo/nanopure-muster.svg") right top / 300px repeat-y; opacity: .5; }
.motiv .bild.technik { background: linear-gradient(160deg, #fff, var(--nebel)); }
.motiv .bild.vertrauen { background: linear-gradient(160deg, #EEF3F2, #fff); }
.motiv .bild.alltag { background: linear-gradient(160deg, #E9EEF3, #fff); }
.motiv .text { padding: 14px 16px 16px; }
.motiv h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin-bottom: 4px; }
.motiv p { font-size: .88rem; color: var(--schiefer); margin: 0; }

/* Anwendungen: Roll-up-Skizzen */
.rollups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 22px 0; }
.rollup { aspect-ratio: 85/200; border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; box-shadow: var(--schatten); border: 1px solid var(--linie); position: relative; overflow: hidden; }
.rollup.hell { background: var(--papier); }
.rollup.dunkel { background: var(--navy); color: #fff; }
.rollup img { height: 22px; width: auto; align-self: flex-start; }
.rollup .ind { font-size: .72rem; margin-top: 24px; color: var(--schiefer); }
.rollup.dunkel .ind { color: var(--mint); }
.rollup .gross { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin: 6px 0 8px; }
.rollup .klein { font-size: .72rem; opacity: .8; line-height: 1.45; }
.rollup .fuss { margin-top: auto; font-size: .66rem; opacity: .7; border-top: 1px solid rgba(127,140,160,.3); padding-top: 10px; }
.rollup .muster { position: absolute; right: -20px; bottom: 0; width: 170px; height: 50%; background: url("/assets/logo/nanopure-muster.svg") right bottom / 240px repeat-y; opacity: .5; pointer-events: none; }
.rollup ul { padding-left: 16px; margin: 6px 0; font-size: .7rem; line-height: 1.5; }
.rollup .ergebnis { font-size: .72rem; font-weight: 600; color: var(--mint); margin-top: 4px; }

.lokal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }

footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 44px 24px; font-size: .9rem; }
footer .innen { max-width: var(--spalte); margin: 0 auto; display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer a { color: #fff; }
footer img { height: 26px; width: auto; display: block; opacity: .9; }

@media (max-width: 960px) {
  main { grid-template-columns: 1fr; gap: 0; }
  .inhalt { position: static; max-height: none; padding: 28px 0 0; }
  .hero .innen { grid-template-columns: 1fr; gap: 24px; }
  .hero .buehne { max-width: 280px; }
  .kopf nav:not(.konzepte) { display: none; }
  .architektur, .zweier, .lokal { grid-template-columns: 1fr; }
  .hierarchie { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 44px 16px 36px; }
  main, .kopf .innen, footer { padding-left: 16px; padding-right: 16px; }
  .kopf .wortmarke small { display: none; }
  .probe.dunkel::before { display: none; }
  .probe.klein img { width: 150px; }
  table { display: block; overflow-x: auto; }
}

@media print {
  .kopf, .inhalt, .hero .buehne, .kopf nav { display: none; }
  body { background: #fff; }
  main { display: block; }
  section, .karte, .kasten, .probe, .claim, .feld, tr, li { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  thead { display: table-header-group; }
  p, li { orphans: 3; widows: 3; }
}
