@font-face { font-family: "Silkscreen"; src: url("assets/fonts/silkscreen-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("assets/fonts/silkscreen-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Aboreto"; src: url("assets/fonts/aboreto-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotu"; src: url("assets/fonts/gotu-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Farben: nur hier. Dunkel (Navy wie die alte Seite) ist Standard, Hell über Gerät oder data-theme. */
:root {
  --bg: #0a192f;
  --bg-2: #061222;
  --panel: #112240;
  --line: #233a5e;
  --text: #e6f1ff;
  --muted: #94a3c4;
  --accent: #4bb3fd;
  --accent-2: #a46bf5;
  --accent-ink: #061222;
  --star: #f5a623;
  --shade: rgba(6, 18, 34, .78);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, .35);
  --shadow-px: 6px 6px 0 #000;
  --backdrop: rgba(6, 18, 34, .95);

  --font-pixel: "Silkscreen", ui-monospace, monospace;
  --font-title: "Aboreto", Georgia, serif;
  --font-body: "Gotu", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f9fc; --bg-2: #e9eef6; --panel: #ffffff; --line: #c9d5e6;
    --text: #0a192f; --muted: #52607a; --accent: #1f7fd1; --accent-2: #7a3fd6; --accent-ink: #ffffff;
    --shade: rgba(10, 25, 47, .62); --shadow-soft: 0 18px 50px rgba(10, 25, 47, .14);
    --shadow-px: 6px 6px 0 #0a192f; --backdrop: rgba(247, 249, 252, .97);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f7f9fc; --bg-2: #e9eef6; --panel: #ffffff; --line: #c9d5e6;
  --text: #0a192f; --muted: #52607a; --accent: #1f7fd1; --accent-2: #7a3fd6; --accent-ink: #ffffff;
  --shade: rgba(10, 25, 47, .62); --shadow-soft: 0 18px 50px rgba(10, 25, 47, .14);
  --shadow-px: 6px 6px 0 #0a192f; --backdrop: rgba(247, 249, 252, .97);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

/* Pixel Art nie weichzeichnen */
.px { image-rendering: pixelated; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
.page-pixel h1, .page-pixel h2, .page-pixel h3 { font-family: var(--font-pixel); font-weight: 700; }

.shell { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.text-center { text-align: center; }
.text-center .reviews, .text-center .facts, .text-center .gallery { text-align: left; }
.text-center .lead { max-width: 720px; margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .shell { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { font-family: var(--font-title); font-size: 1.25rem; color: var(--text); text-decoration: none; margin-right: auto; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.language-switch { font-size: .85rem; color: var(--muted); }
.language-switch a { color: var(--muted); text-decoration: none; }
.language-switch a.active { color: var(--text); font-weight: 700; }
@media (max-width: 760px) {
  .site-header .shell { flex-wrap: wrap; gap: 6px 16px; padding-block: 12px; }
  .site-nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; }
}

section { padding-block: clamp(56px, 8vw, 104px); }
.alt { background: var(--bg-2); }
.eyebrow { color: var(--accent); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
/* Silkscreen fett nur für große Überschriften, klein ist sie normal besser lesbar */
.page-pixel .eyebrow { font-family: var(--font-pixel); text-transform: none; letter-spacing: .02em; }
.page-pixel .eyebrow, .page-pixel .fact h3, .page-pixel .button { font-weight: 400; }
.lead { color: var(--muted); font-size: 1.1rem; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  border: 2px solid var(--accent);
  padding: 10px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
  transition: transform .12s, background .12s;
}
.button:hover { transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--text); border-color: var(--line); }
.page-pixel .button { border-radius: 0; font-family: var(--font-pixel); box-shadow: var(--shadow-px); border-color: #000; }
.page-pixel .button:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 #000; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.buttons.center { justify-content: center; }

/* Startseite: Hero + Weiche */
.hero { padding-bottom: 32px; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: .2em; }
.hero .tagline { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--muted); margin: 0; }

.chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; }
@media (max-width: 900px) { .chooser { grid-template-columns: 1fr; } }
.choice {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(320px, 34vw, 480px);
  overflow: hidden; border-radius: 20px;
  color: #fff; text-decoration: none; text-align: left;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.choice img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform .5s ease;
}
.choice::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--shade) 20%, transparent 70%); }
.choice:hover img { transform: scale(1.05); }
.choice img.pos-top { object-position: center top; }
.choice-body { padding: 28px; }
.choice h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 .2em; color: #fff; }
.choice p { margin: 0 0 14px; opacity: .9; }
.choice .go { font-weight: 700; }
.choice-pixel h2 { font-family: var(--font-pixel); font-weight: 700; }

/* Leistungs-Kacheln */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.fact h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .3em; color: var(--accent); }
.fact p { margin: 0; color: var(--muted); }
.page-pixel .fact { border-radius: 0; border-width: 2px; }
.page-pixel .fact h3 { font-family: var(--font-pixel); }

/* Bereichsnavigation (Illustration) */
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.jump a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--text); }
.jump a:hover { border-color: var(--accent); color: var(--accent); }

/* Galerie */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px; list-style: none; padding: 0; margin: 32px 0 0;
}
.gallery button {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 4 / 3; padding: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; cursor: zoom-in;
  transition: transform .2s, border-color .2s;
}
.gallery button:hover { transform: translateY(-3px); border-color: var(--accent); }
.gallery-square button { aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img[data-kind="pixel"] { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.page-pixel .gallery button { border-radius: 0; border-width: 2px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: var(--backdrop); color: var(--text); }
.lightbox::backdrop { background: transparent; }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 60px 64px 20px; }
.lightbox-stage { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox-caption { text-align: center; color: var(--muted); padding-top: 10px; }
.lightbox-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line); cursor: pointer; font-size: 1.4rem; line-height: 1;
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 10px; top: calc(50% - 23px); }
.lightbox-next { right: 10px; top: calc(50% - 23px); }
@media (max-width: 600px) { .lightbox-inner { padding: 60px 8px 16px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; } }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: center; }
.about img { border-radius: 20px; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 320px; } }
.skills { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.skills strong { color: var(--accent); }

/* Bewertungen */
.stars { color: var(--star); letter-spacing: .12em; }

/* Vertrauens-Chip unter Überschriften */
.trust {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 6px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--text);
  text-decoration: none; font-size: .9rem;
}
.trust:hover { border-color: var(--star); }
.page-pixel .trust { border-radius: 0; border-width: 2px; }

/* Großes Zitat zwischen Abschnitten */
.quote-band {
  text-align: center;
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  border-block: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px);
}
.quote-band .stars { font-size: 1.3rem; }
.quote-band blockquote {
  margin: 14px auto 12px; max-width: 900px;
  font-family: var(--font-title); font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.25;
}
.quote-source { color: var(--muted); margin: 0; }

/* Karten */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.reviews-masonry { display: block; columns: 2 340px; column-gap: 20px; }
.reviews-masonry .review { break-inside: avoid; margin-bottom: 20px; }
.reviews-single { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
.review {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 26px 22px; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.review::before {
  content: "“"; position: absolute; top: -8px; right: 18px;
  font-family: var(--font-title); font-size: 6rem; line-height: 1;
  color: var(--accent); opacity: .18; pointer-events: none;
}
.review blockquote { margin: 0; color: var(--muted); }
.review blockquote p { margin: 0 0 .6em; }
.review blockquote p:last-child { margin-bottom: 0; }
.review-highlight { color: var(--text); font-family: var(--font-title); font-size: 1.35rem; line-height: 1.3; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.review figcaption span { color: var(--muted); }
.review-inline { margin-top: 28px; max-width: 820px; }
.reviews-more { text-align: center; margin: 24px 0 0; }
.page-pixel .review { border-radius: 0; border-width: 2px; }
.page-pixel .review-highlight { font-family: var(--font-pixel); font-size: 1.1rem; }

/* Kontakt-Block */
.collab { text-align: center; }
.collab p { max-width: 680px; margin-inline: auto; }
.collab em { color: var(--accent); font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; color: var(--muted); font-size: .9rem; }
.site-footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-footer a { color: var(--muted); }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; cursor: pointer; font-size: .8rem; }

/* Rechtstexte */
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
