:root {
  --red: #e30613;
  --red-dark: #b8040f;
  --bg: #ffffff;
  --bg-alt: #f5f3f4;
  --card: #ffffff;
  --text: #1c1b1f;
  --muted: #605d62;
  --line: #e6e1e4;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(28, 27, 31, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131215;
    --bg-alt: #1b191d;
    --card: #232026;
    --text: #ece9ed;
    --muted: #a8a3ab;
    --line: #34303a;
    --shadow: 0 8px 30px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.7 var(--font);
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
@media (prefers-color-scheme: dark) { a { color: #ff6b74; } }

.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.brand img { border-radius: 9px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--red); color: #fff !important; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 18px rgba(227, 6, 19, .35);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: .92rem; box-shadow: none; }

/* Fliesstext (Impressum, Datenschutz, Abschnitte) */
.prose h1, .prose h2, .prose h3, .prose h4 { line-height: 1.2; letter-spacing: -.01em; margin: 1.8em 0 .5em; }
.prose > :first-child, .prose h1:first-child { margin-top: 0; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
article.prose { max-width: 760px; padding-block: 56px 80px; }
article.prose pre, article.prose code { font-size: .9rem; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--red) 22%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-block: 72px 56px; }
.hero-text h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.hero-text h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--red); font-weight: 700; margin: .2em 0 1em; }
.hero-text p { color: var(--muted); font-size: 1.1rem; }
.hero-text p.cta { margin-top: 1.6em; }
.hero-shots { position: relative; height: 560px; }
.shot { position: absolute; width: 250px; border-radius: 30px; border: 6px solid #111; box-shadow: var(--shadow); background: #fff; }
.shot-back { left: 4%; top: 40px; transform: rotate(-6deg); }
.shot-front { right: 4%; top: 0; transform: rotate(4deg); }

/* Features */
.band { background: var(--bg-alt); padding-block: 64px; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.features li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: transform .15s, box-shadow .15s;
}
.features li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features li strong { display: block; font-size: 1.2rem; margin-bottom: .35em; }
.features li strong::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--red); margin-bottom: 14px; }
.features > .wrap > p { font-size: 1.5rem; font-weight: 700; margin-bottom: 1em; }

/* Tablet-Screens */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 72px 24px; }
.showcase img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Abschlussaussage */
.statement { max-width: 760px; padding-block: 40px 72px; text-align: center; font-size: 1.25rem; line-height: 1.6; }

/* Ueber mich */
.about-grid { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: start; max-width: 900px; }
.avatar { border-radius: 36px; box-shadow: var(--shadow); }
.about-grid h3 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); font-size: .92rem; }
.site-footer .bar { padding-block: 26px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--red); }

/* Code-Bloecke (Agentic-Coding-Seite) */
pre { overflow-x: auto; }

/* Mobil */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 44px 24px; }
  .hero-shots { height: 440px; order: 2; }
  .shot { width: 190px; }
  .features ul, .showcase { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .avatar { width: 96px; height: 96px; border-radius: 24px; }
  .band { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
