/* Gemeinsames Aussehen für alle Seiten von bluntec.ch.
   Änderst du hier etwas, gilt es überall. */

:root {
  --tief: #05070d;
  --wabe: #0d1119;
  --leuchten: #2aa8ff;
  --leuchten-hell: #bfe6ff;
  --schrift: #ffffff;
  --schrift-leise: #8fa3bd;
  --rahmen: rgba(42, 168, 255, 0.22);
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--tief);
  color: var(--schrift);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.inhalt {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 16px;
}

a { color: var(--leuchten-hell); }

/* Kopfzeile */
header {
  border-bottom: 1px solid var(--rahmen);
  padding-block: 18px;
}

header .inhalt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--leuchten-hell);
  text-shadow: 0 0 10px var(--leuchten);
}

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--schrift-leise);
}

nav a:hover { color: var(--schrift); }

/* Überschriften */
h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-block: 44px 10px;
  text-wrap: balance;
}

h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-block: 38px 10px;
  color: var(--leuchten-hell);
}

h3 { margin-block: 0 8px; font-size: 1.05rem; }

p { max-width: 65ch; }

.untertitel {
  color: var(--schrift-leise);
  font-size: 1.15rem;
  margin-top: 0;
}

/* Kacheln */
.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-block: 28px 44px;
}

.kachel {
  display: block;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  background: var(--wabe);
  text-decoration: none;
  color: var(--schrift);
  transition: border-color 0.18s, transform 0.18s;
}

a.kachel:hover {
  border-color: var(--leuchten);
  transform: translateY(-3px);
}

.kachel p {
  margin: 0;
  color: var(--schrift-leise);
  font-size: 0.95rem;
}

.preis {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--leuchten-hell);
}

.bald {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border: 1px solid var(--rahmen);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--schrift-leise);
}

/* Bildergalerie für Referenzen */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-block: 20px 40px;
}

.galerie img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rahmen);
  border-radius: 8px;
}

.hinweis {
  color: var(--schrift-leise);
  font-size: 0.9rem;
  font-style: italic;
}

/* Knopf */
.knopf {
  display: inline-block;
  padding: 12px 26px;
  background: var(--leuchten);
  color: #04121f;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.knopf[aria-disabled="true"] {
  background: transparent;
  border: 1px solid var(--rahmen);
  color: var(--schrift-leise);
  cursor: default;
}

/* Fusszeile */
footer {
  border-top: 1px solid var(--rahmen);
  margin-top: 70px;
  padding-block: 26px;
  color: var(--schrift-leise);
  font-size: 0.85rem;
}

/* Startseite */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(340px, 56vh, 620px);
  border-radius: 0;
  overflow: hidden;
  margin-block: 0 40px;
  background: var(--tief);
  display: grid;
  place-items: center;
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.wortmarke {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--leuchten-hell);
  text-shadow:
    0 0 6px #fff,
    0 0 18px var(--leuchten),
    0 0 44px var(--leuchten),
    0 0 90px rgba(42, 168, 255, 0.6);
  padding-inline: 12px;
}

.ton {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(42, 168, 255, 0.45);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.72);
  color: var(--leuchten-hell);
  font: 500 0.82rem/1 var(--text);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.ton:hover { border-color: var(--leuchten); }
.ton:focus-visible { outline: 2px solid var(--leuchten-hell); outline-offset: 2px; }
.ton svg { width: 15px; height: 15px; fill: currentColor; }

@media (max-width: 600px) {
  nav a { margin-left: 14px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .kachel { transition: none; }
}

html, body { overflow-x: clip; }
