/* Platzhalter-Seite axentislabs.de. Tokens und Schrift: Design-System Kern; Hero: Ref. 11 „Hero Vertical 3-Zonen“;
   Rechtsseiten: Lesemaß der Website V3 (.recht). Schriften liegen bei der Seite (keine Fremdanfragen). */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); }

:root {
  --bg: #09101f;
  --text: #edf3ff;
  --muted: #b8c6e9;
  --accent: #7ea9ff;
  --accent-2: #89e0c1;
  --border: rgba(156, 176, 228, 0.2);
  --bg-rgb: 9, 16, 31;
  --accent-rgb: 126, 169, 255;
  --accent-2-rgb: 137, 224, 193;
  --font-heading: 'JetBrains Mono', ui-monospace, monospace;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.8; min-height: 100svh; display: flex; flex-direction: column; }
/* Canvas als Hausgrund (Ref. 11): eine feste Ebene hinter allem */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background-image:
    radial-gradient(rgba(120, 150, 190, 0.22) 1.3px, transparent 1.4px),
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--bg-rgb), 0) 50%, rgba(var(--accent-2-rgb), 0.11) 100%);
  background-size: 26px 26px, auto;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.verlauf {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.sprung { position: absolute; left: -9999px; top: 0; }
.sprung:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--bg); padding: 0.5rem 1rem; border-radius: 8px; }

/* ---------- Startseite: Bild, Logo, Name, Satz, Kontakt ---------- */
@keyframes einblenden { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.start {
  position: relative; isolation: isolate; flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 1.5rem; overflow: hidden; text-align: center;
}
.start-bild {
  position: absolute; inset: 0; z-index: -2;
  background: url('/img/einstieg-alpen.webp') center top / cover no-repeat;
  filter: brightness(1.3);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%);
}
.start-schleier {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(9, 16, 31, 0.7) 0%, rgba(9, 16, 31, 0.3) 40%, rgba(9, 16, 31, 0.3) 70%, rgba(9, 16, 31, 0.6) 90%, var(--bg) 100%);
  /* läuft unten in den Canvas aus: keine Kante zur Fußzeile (wie Einstieg V3) */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%);
}
@media (width < 769px) { .start-bild { background-image: url('/img/einstieg-alpen-schmal.webp'); } }

/* Drittel-Layout: Logo (0.7) · Name (1) · Satz und coming soon (1) */
.start-logo, .start-titel, .start-unten { width: 100%; max-width: 1400px; display: flex; justify-content: center; }
.start-logo { flex: 0.7; align-items: flex-end; padding-top: 2.5rem; padding-bottom: 1rem; animation: einblenden 0.7s ease both; }
.start-titel { flex: 1; align-items: center; animation: einblenden 0.7s ease 0.1s both; }
.start-unten { flex: 1; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.75rem; padding-bottom: 2rem; animation: einblenden 0.7s ease 0.2s both; }
.start-logo axentis-logo-3d { display: block; width: clamp(140px, 16vw, 210px); }
.start h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.01em; text-shadow: none; }
.start .satz { margin: 0; max-width: 34ch; color: var(--text); font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.6; text-wrap: balance; font-weight: 600; }
/* „coming soon . . .“ wie auf dem früheren Platzhalter: Überschriftenschrift, Akzent, weiter Zeichenabstand, langsames Pulsieren.
   Deckkraft 0,7 bis 1: auch am schwächsten Punkt über 3 : 1 (große Schrift, gemessen in test/browser-probe.mjs) */
@keyframes pulsieren { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
/* tiefer gesetzt, an den Platz der früheren Kontaktzeile (Kontakt steht im Impressum) */
.start .bald { margin: 4.5rem 0 0; font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: 0.1em; color: var(--accent); animation: pulsieren 3s ease-in-out infinite; }

/* ---------- Fußzeile mit Rechtslinks (jede Seite) ---------- */
.fuss { padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); text-align: center; }
.fuss nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.75rem; }
.fuss a { color: var(--muted); text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; min-height: 44px; }
.fuss a:hover, .fuss a[aria-current='page'] { color: var(--accent); }

/* ---------- Kopf der Unterseiten ---------- */
.kopf { padding: 1rem 1.5rem; max-width: 1400px; width: 100%; margin: 0 auto; }
.marke { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.marke img { width: 36px; height: 36px; }

/* ---------- Rechtsseiten (Lesemaß der Website V3) ---------- */
.recht { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.recht h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
@media (max-width: 400px) { .recht h1 { font-size: clamp(1.3rem, 6.1vw, 1.8rem); } }
.recht section { margin-top: 2.25rem; }
.recht h2 { font-size: 1.25rem; margin: 2.25rem 0 0.75rem; color: var(--text); }
.recht section > h2:first-child { margin-top: 0; }
.recht h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.recht p { max-width: 55ch; color: var(--muted); margin: 0 0 0.75rem; text-wrap: pretty; overflow-wrap: break-word; }
.recht strong { color: var(--text); font-weight: 600; }
/* Firmenname unter dem Namen im Impressum: Schriftzug wie im Kopf (Verlauf, Überschriftenschrift) */
.recht .marke-text { font-family: var(--font-heading); font-weight: 700; }
.recht a { overflow-wrap: anywhere; }
.recht ul { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.recht li { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.75rem; max-width: calc(55ch + 1.45em); overflow-wrap: break-word; }
/* Aufzählung: flache Spitze im Haus-Verlauf (Ref. 17), an der ersten Zeile ausgerichtet */
.recht li::before {
  content: ''; flex: none; width: 0.8em; height: 0.8em;
  margin-block-start: calc((1lh - 0.8em) / 2);
  background: linear-gradient(135deg, #12c7a0, #2a63ff);
  clip-path: polygon(41% 9%, 82% 50%, 41% 91%, 25.7% 75.7%, 51.35% 50%, 25.7% 24.3%);
}
.recht li > div { min-width: 0; color: var(--muted); text-wrap: pretty; }
.recht li > div > p { margin-top: 0.5rem; }
.recht-inhalt ol { list-style: none; margin: 0 0 0.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; }
.recht-inhalt li { display: block; margin: 0; max-width: none; }
.recht-inhalt li::before { content: none; }
.recht-inhalt a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.recht-inhalt a:hover, .recht-inhalt a:focus-visible { text-decoration: underline; }
.recht-stand { color: var(--muted); }
@media (pointer: coarse) {
  .recht a[href^='mailto:'], .recht :is(p, li) a[href^='http'], .recht :is(p, li) a[href^='/'] { padding-block: 11px; }
}
html { scroll-padding-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .start-logo, .start-titel, .start-unten, .start .bald { animation: none; }
  html { scroll-behavior: auto; }
}
