/* SHK Wienen GmbH – Aussehen aller Seiten (31.10.2026, statt WordPress bei IONOS).
   Fassung 2 (31.10.2026, Marc: „dunkler, mehr schwarz und moderner“): schwarzer Grund, weiße Schrift, dunkle Kacheln mit
   runden Ecken, Startbild randlos ins Schwarz ausgeblendet, Symbole in den Logofarben (Blau, Rot, Gelb).
   Weiter ruhig: nur Inter, Gewichte 400/600, kein JavaScript, keine Cookies, nichts von Drittanbietern (siehe _headers). */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  color-scheme: dark;
  --schwarz: #000;
  --grund-2: #0b0b0c;    /* zweite Fläche für den Wechsel der Abschnitte */
  --kachel: #151517;
  --kachel-2: #1d1d20;
  --text: #f5f5f7;
  --grau: #a1a1a6;
  --grau-hell: #d2d2d7;
  --linie: rgba(255,255,255,.1);
  --blau: #3871c1;       /* Logo-Blau */
  --blau-hell: #7eaaf0;  /* Logo-Blau, aufgehellt für Schrift auf Schwarz */
  --rot: #ff3b30;        /* Logo-Rot, auf Schwarz etwas heller */
  --gelb: #fff200;       /* Logo-Gelb */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; background: var(--schwarz); }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
       color: var(--text); background: var(--schwarz); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blau-hell); text-decoration: none; font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--blau); color: #fff; }
.breite { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.schmal { max-width: 760px; margin: 0 auto; padding: 0 24px; }
section { padding: 130px 0; position: relative; }

/* Kopfleiste: schwarz, durchscheinend */
header { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.72);
         backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
         border-bottom: 1px solid rgba(255,255,255,.08); }
header .breite { display: flex; align-items: center; height: 72px; }
header .logo img { height: 42px; width: auto; }
header nav { display: flex; gap: 32px; font-size: 14.5px; margin-left: auto; margin-right: 30px; }
header nav a { color: var(--grau-hell); font-weight: 400; transition: color .2s; }
header nav a:hover { color: #fff; }
header .logo + .tel-oben { margin-left: auto; }
.tel-oben { font-size: 14.5px; font-weight: 600; color: #000; background: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; transition: background .2s; }
.tel-oben::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("/telefon.svg") center / contain no-repeat; mask: url("/telefon.svg") center / contain no-repeat; }
.tel-oben:hover { background: var(--grau-hell); }
/* Erster Kontakt per E-Mail (Marc 31.10.2026: Anrufe erreichen uns auf der Baustelle und gehen unter) */
.tel-oben.mail::before { -webkit-mask-image: url("/mail.svg"); mask-image: url("/mail.svg"); width: 15px; height: 15px; }

/* Typografie */
.ueber { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--blau-hell); margin-bottom: 18px; }
/* Die drei schrägen Streifen aus dem Logo als kleines Zeichen vor jeder Überzeile */
.ueber::before { content: ""; width: 20px; height: 13px; flex: none; transform: skewX(-14deg);
  background: linear-gradient(90deg, var(--blau) 0 26%, transparent 26% 37%, #ed1c24 37% 63%, transparent 63% 74%, var(--gelb) 74%); }
h1, h2 { color: var(--text); font-weight: 600; letter-spacing: -0.035em; }
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; }
/* Große Überschriften mit leichtem Verlauf von Weiß nach Grau */
h1, h2 { background: linear-gradient(180deg, #fff 40%, #c7c7cc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; color: var(--text); }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--grau); font-weight: 400; }
.kopfzeile { max-width: 760px; }
.kopfzeile .lead { margin-top: 22px; }

/* Knöpfe: Weiß auf Schwarz, rund */
.knoepfe { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.knopf { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; font-size: 16px; font-weight: 600; padding: 15px 28px; border-radius: 999px; transition: background .2s, color .2s; }
.knopf:hover { background: var(--grau-hell); }
.knopf svg { width: 18px; height: 18px; }
.knopf.hell { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.knopf.hell:hover { background: rgba(255,255,255,.16); }

/* ---------- Start: Bild randlos rechts, nach links und unten ins Schwarz ausgeblendet ---------- */
.start { min-height: min(86vh, 820px); display: flex; align-items: center; padding: 90px 0 110px; overflow: hidden; }
.start-bild { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 45%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48%), linear-gradient(to top, transparent 0%, #000 30%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 48%), linear-gradient(to top, transparent 0%, #000 30%); mask-composite: intersect; }
.start .breite { position: relative; width: 100%; }
.start-text { max-width: 620px; }
.start .lead { margin-top: 28px; max-width: 540px; color: var(--grau-hell); }
.fakten { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 46px; font-size: 14px; color: var(--grau-hell); }
.fakten li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }

/* ---------- Leistungen: dunkle Kacheln, Symbol in Logofarbe ---------- */
.leistungen { background: var(--grund-2); }
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.karte { background: var(--kachel); border: 1px solid rgba(255,255,255,.06); border-radius: 22px; padding: 30px 26px 22px; transition: border-color .25s, transform .25s; }
.karte:hover { border-color: rgba(255,255,255,.16); transform: translateY(-3px); }
.karte .symbol { width: 50px; height: 50px; padding: 12px; border-radius: 14px; margin-bottom: 26px; color: var(--farbe); background: color-mix(in srgb, var(--farbe) 15%, transparent); }
.karte.blau { --farbe: #5a93e6; }
.karte.rot  { --farbe: var(--rot); }
.karte.gelb { --farbe: var(--gelb); }
.karte.hell { --farbe: #e5e5ea; }
.karte h3 { margin-bottom: 10px; }
.karte p { color: var(--grau); font-size: 16px; }
.karte ul { list-style: none; margin-top: 20px; }
.karte li { font-size: 15px; color: var(--grau-hell); padding: 10px 0; border-top: 1px solid var(--linie); }

/* ---------- 3D-Badplanung ---------- */
.badplanung .breite { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.badplanung img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.badplanung .lead { margin-top: 24px; }
.badplanung h2, .ueber-uns h2 { font-size: clamp(32px, 3.8vw, 50px); }
.punkte { list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.punkte li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 17px; color: var(--grau-hell); }
.punkte li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Projekte ---------- */
#projekte { background: var(--grund-2); }
/* Galerie: Spalten mit unterschiedlich hohen Bildern (wie das Archiv der Reiners-Seite), ohne Unterschriften */
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 60px; }
.galerie > div { display: flex; flex-direction: column; gap: 12px; }
.galerie img { display: block; width: 100%; height: auto; border-radius: 12px; filter: brightness(.92); transition: filter .4s ease; }
.galerie img:hover { filter: brightness(1.04); }
figcaption { font-size: 14.5px; color: var(--grau); margin-top: 12px; }

/* ---------- Arbeitsweise ---------- */
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.wert { background: var(--kachel); border: 1px solid rgba(255,255,255,.06); border-radius: 22px; padding: 30px 28px 32px; }
.wert .nr { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blau-hell); background: rgba(56,113,193,.16); padding: 5px 11px; border-radius: 999px; margin-bottom: 22px; }
.wert h3 { margin-bottom: 10px; }
.wert p { color: var(--grau); font-size: 16px; }

/* ---------- Über uns ---------- */
.ueber-uns { background: var(--grund-2); }
.ueber-uns .breite { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.ueber-uns .text p:not(.ueber) { color: var(--grau); font-size: 18px; margin-top: 20px; max-width: 600px; }
.unterschrift { display: flex; align-items: center; gap: 22px; margin-top: 38px; padding: 18px 22px; background: var(--kachel); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; max-width: 420px; }
.unterschrift img { width: 84px; height: 84px; border-radius: 50%; background: #fff; }  /* Siegel als runder Aufkleber (Innenfläche weiß) */
.unterschrift b { display: block; font-size: 18px; font-weight: 600; }
.unterschrift span { color: var(--grau); font-size: 15px; }

/* ---------- Partner: Logos in Originalfarben auf hellen Kacheln ---------- */
.partner { padding: 90px 0; text-align: center; }
/* Laufband: zwei gleiche Sätze hintereinander, die Spur wandert um genau einen Satz (−50 %) und beginnt von vorn */
.laufband { overflow: hidden; margin-top: 30px; --f: 1; --kachel: 230px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.spur { display: flex; width: max-content; animation: laufen 89s linear infinite; }
.laufband:hover .spur { animation-play-state: paused; }
@keyframes laufen { to { transform: translateX(-50%); } }
.spur span { flex: none; display: flex; align-items: center; justify-content: center; width: var(--kachel); height: 104px; margin-right: 16px; padding: 0 22px; background: #fff; border-radius: 18px; }
.spur img { height: calc(var(--h) * var(--f)); width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Kontakt: Schwarz mit leichtem blauem Schein ---------- */
.kontakt { background: radial-gradient(900px 480px at 88% 0%, rgba(56,113,193,.28), transparent 65%), var(--schwarz); border-top: 1px solid rgba(255,255,255,.08); }
.kontakt .lead { margin-top: 22px; max-width: 620px; }
.telefon { display: inline-block; margin-top: 40px; font-size: clamp(40px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.telefon:hover { color: var(--grau-hell); }
.mail-gross { font-size: clamp(28px, 5vw, 64px); overflow-wrap: anywhere; }
.kontakt .knoepfe { margin-top: 30px; }
.wege { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.weg { display: block; background: var(--kachel); border: 1px solid rgba(255,255,255,.07); border-radius: 22px; padding: 26px 26px 28px; color: #fff; transition: border-color .25s; }
.weg span { display: block; font-size: 13px; color: var(--grau); font-weight: 600; margin-bottom: 10px; }
.weg b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.weg small { display: block; margin-top: 6px; font-size: 15px; color: var(--grau); font-weight: 400; }
a.weg:hover { border-color: rgba(255,255,255,.22); }
/* Kontakt speichern: am Computer der QR-Code zur Visitenkarten-Seite, am Handy der Knopf (wie MT KI und Reiners) */
.speichern .knopf { margin-top: 4px; }
.qr { display: none; align-items: center; gap: 18px; margin: 0; }
.qr img { width: 104px; height: 104px; background: #fff; padding: 8px; border-radius: 12px; }
.qr figcaption { color: var(--grau); font-size: 14.5px; max-width: 200px; margin: 0; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .speichern .knopf { display: none; }
  .qr { display: flex; }
}

/* Rechtliches (Impressum, Datenschutz, 404) */
.recht { padding: 80px 0 120px; }
.recht h1 { font-size: clamp(40px, 5.6vw, 60px); margin-bottom: 30px; }
.recht h2 { font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; font-weight: 600; background: none; -webkit-text-fill-color: currentColor; color: var(--text); }
.recht p, .recht li { font-size: 16px; color: var(--grau-hell); margin-bottom: 10px; }
.recht strong { color: #fff; }
.recht ul { padding-left: 22px; }
.stand { margin-top: 30px; color: var(--grau) !important; }

/* Fußzeile */
footer { background: var(--schwarz); border-top: 1px solid rgba(255,255,255,.08); padding: 40px 0 44px; font-size: 14px; color: var(--grau); }
footer .breite { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
footer .fuss-logo { height: 32px; width: auto; }
footer nav { display: flex; gap: 22px; }
footer nav a { color: var(--grau-hell); font-weight: 400; }
footer nav a:hover { color: #fff; }

/* ---------- Bewegung (Marc 31.10.2026: „noch ein bisschen Bewegung wie bei Reiners mit dem Logo“) ----------
   Das Logo im Startbereich baut sich einmal auf: die drei Streifen wischen nacheinander herein, die SHK-Kontur zeichnet
   sich nach, WIENEN kommt Buchstabe für Buchstabe, zuletzt die Unterzeile. Nur „from“-Zustände, damit ohne Animation
   (Bewegung reduzieren) sofort das fertige Logo steht. */
.logo-start { display: block; width: clamp(220px, 24vw, 310px); height: auto; margin-bottom: 40px; overflow: visible; }
.logo-start .lz-s { animation: lz-wisch .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.15s + var(--i) * .14s); }
@keyframes lz-wisch { from { clip-path: inset(0 0 100% 0); opacity: .4; } }
.logo-start .lz-shk { stroke-dasharray: 1; animation: lz-zeichnen 1.3s ease-in-out both; animation-delay: calc(.55s + var(--i) * .12s); }
@keyframes lz-zeichnen { from { stroke-dashoffset: 1; } }
.logo-start .lz-b { transform-box: fill-box; animation: lz-buchstabe .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(1.05s + var(--i) * .07s); }
@keyframes lz-buchstabe { from { opacity: 0; transform: translateY(40%); } }
.logo-start .lz-zeile { animation: lz-einblenden .8s ease both; animation-delay: 1.75s; }
@keyframes lz-einblenden { from { opacity: 0; } }
/* Der Rest des Startbereichs folgt dem Logo */
.start-text > :not(.logo-start) { animation: lz-hoch .8s cubic-bezier(.2,.7,.2,1) both; }
.start-text > h1 { animation-delay: .5s; }
.start-text > .lead { animation-delay: .7s; }
.start-text > .knoepfe { animation-delay: .85s; }
.start-text > .fakten { animation-delay: 1s; }
@keyframes lz-hoch { from { opacity: 0; transform: translateY(24px); } }
/* Startbild zoomt langsam auf seine Größe */
.start-bild { animation: lz-zoom 9s cubic-bezier(.15,.6,.2,1) both; transform-origin: 70% 40%; }
@keyframes lz-zoom { from { transform: scale(1.1); opacity: 0; } 15% { opacity: 1; } }
/* Auf der Startseite erscheint das Logo oben in der Leiste erst beim Scrollen (das große steht ja im Startbereich) */
@supports (animation-timeline: scroll()) {
 @media (min-width: 961px) {  /* am Handy bleibt es stehen, dort steht das große Logo erst unter dem Bild */
  .startseite header .logo { animation: lz-kopf linear both; animation-timeline: scroll(root); animation-range: 120px 320px; }
  @keyframes lz-kopf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
 }
}

/* Einblenden beim Scrollen (nur wo der Browser es kann, sonst sofort sichtbar) */
@supports (animation-timeline: view()) {
  .auftauchen { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
  @keyframes auftauchen { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* Handy und Tablet */
@media (max-width: 960px) {
  header nav { display: none; }
  header .breite { height: 62px; }
  header .logo img { height: 36px; }
  header .tel-oben { margin-left: auto; }
  section { padding: 90px 0; }
  /* Start: Bild oben über die volle Breite, unten ins Schwarz ausgeblendet, Text darunter */
  .start { display: block; min-height: 0; padding: 0 0 80px; }
  .start-bild { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3.1;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 42%); mask-image: linear-gradient(to top, transparent 0%, #000 42%); -webkit-mask-composite: source-over; mask-composite: add; }
  .start .breite { margin-top: -84px; }
  .logo-start { width: 200px; margin-bottom: 30px; }
  .badplanung .breite, .ueber-uns .breite { grid-template-columns: 1fr; gap: 44px; }
  .badplanung img { aspect-ratio: 4 / 3; }
  .karten { grid-template-columns: 1fr 1fr; }
  .werte { grid-template-columns: 1fr; }
  .wege { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
  .laufband { --f: .85; --kachel: 196px; }
  .spur span { height: 96px; margin-right: 12px; padding: 0 16px; }
}
@media (max-width: 720px) {
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .galerie > div { gap: 8px; }
  .galerie img { border-radius: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .breite { padding: 0 20px; }
  header .tel-oben { font-size: 0; gap: 0; padding: 10px; }  /* am Handy nur das Telefonzeichen im weißen Kreis */
  header .tel-oben::before { width: 18px; height: 18px; }
  .karten { grid-template-columns: 1fr; }
  .knopf { width: 100%; justify-content: center; }
  .laufband { --f: .8; --kachel: 168px; }
  .spur span { height: 84px; margin-right: 10px; padding: 0 14px; border-radius: 14px; }
  .spur { animation-duration: 69s; }
  .unterschrift img { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* ohne Bewegung: Logos stehen umbrochen und mittig, der zweite Satz entfällt */
  .laufband { -webkit-mask-image: none; mask-image: none; }
  .spur { width: auto; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 20px; }
  .spur span { margin-right: 0; }
  .spur span[aria-hidden] { display: none; }
}

/* Visitenkarten-Seite /kontakt (Ziel des QR-Codes) */
body.visitenkarte { background: radial-gradient(700px 420px at 50% 0%, rgba(56,113,193,.26), transparent 70%), var(--schwarz); min-height: 100vh; }
.vk { max-width: 420px; margin: 0 auto; padding: 56px 24px 40px; text-align: center; }
.vk-logo { width: 210px; margin: 0 auto 32px; }
.vk h1 { font-size: 24px; letter-spacing: -0.02em; }
.vk-ort { color: var(--grau); font-size: 16px; margin-top: 6px; }
.aktionen { display: grid; gap: 10px; margin-top: 34px; }
.aktionen a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 16px; background: var(--kachel);
  color: var(--text); font-size: 17px; font-weight: 600; border: 1px solid rgba(255,255,255,.08); }
.aktionen a.haupt { background: #fff; color: #000; border-color: #fff; }
.aktionen svg { width: 20px; height: 20px; }
.vk-fuss { margin-top: 34px; font-size: 13px; color: var(--grau); }
.vk-fuss a { font-weight: 400; color: var(--grau); }
