/* Farbwelt: Tiefblau + Gold */
:root {
  --bg: #f8f7f4;
  --gray: #efece5;
  --tile: #ffffff;
  --text: #0f1b2d;
  --muted: #5b6474;
  --line: #dbd6ca;
  --link: #1e3a5f;
  --btn: #1e3a5f;
  --btn-hover: #2a4d7a;
  --btn-text: #ffffff;
  --gold: #8a6516;
  --dark-tile: #0f1b2d;
  --nav: rgba(248, 247, 244, .78);
  --grad-a: #1e3a5f; --grad-b: #3b6ea5; --grad-c: #b8892b;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --gray: #0f1828;
    --tile: #14203a;
    --text: #f3f1ec;
    --muted: #9aa5b8;
    --line: #26324a;
    --link: #e0b45a;
    --btn: #e0b45a;
    --btn-hover: #ebc576;
    --btn-text: #0b1220;
    --gold: #e0b45a;
    --dark-tile: #14203a;
    --nav: rgba(11, 18, 32, .78);
    --grad-a: #8fb3e0; --grad-b: #c9d6e8; --grad-c: #e0b45a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 52px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.47 var(--font); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.03em; line-height: 1.07; }
p { margin: 0; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* Nav: frosted glass */
.nav {
  position: sticky; top: 0; z-index: 10; height: 48px;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
}
.nav__inner {
  width: min(1080px, 100% - 32px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 600; font-size: 1.05rem; }
.nav nav { display: flex; gap: 32px; }
.nav nav a { font-size: .8rem; opacity: .8; transition: opacity .2s; }
.nav nav a:hover { opacity: 1; }

/* Links & buttons */
.links { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.more { color: var(--link); font-size: 1.05rem; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.btn {
  display: inline-block; background: var(--btn); color: var(--btn-text);
  padding: 10px 22px; border-radius: 980px; font-size: 1.05rem;
  transition: background .2s;
}
.btn:hover { background: var(--btn-hover); }
.btn--large { padding: 14px 30px; font-size: 1.15rem; }

/* Hero */
.hero { text-align: center; padding: 72px 16px 0; }
.hero__kicker { font-size: 1.3rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.5rem); }
.hero__sub { font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--muted); margin-top: 12px; line-height: 1.25; }
.hero__media { margin: 56px auto 0; width: min(1080px, 100%); }
.hero__media img, .hero__placeholder {
  width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 28px;
}
.hero__placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 30% 30%, #c9d6e8 0%, transparent 60%),
    radial-gradient(50% 70% at 75% 65%, #ecdcb4 0%, transparent 60%),
    radial-gradient(40% 60% at 55% 20%, #b9c7dc 0%, transparent 60%),
    linear-gradient(135deg, #f1efe9, #f6f1e6);
}
.hero__placeholder span { color: rgba(15, 27, 45, .45); font-weight: 500; }

/* Sections */
.section { padding: 110px 0; }
.section--gray { background: var(--gray); }
.section__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 40px; }
.section__title span { color: var(--muted); }
.big { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
.grad {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b) 50%, var(--grad-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Bento tiles */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  background: var(--tile); border-radius: 28px; text-align: center;
  padding: 52px 32px 0; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.tile:hover { transform: scale(1.012); box-shadow: 0 20px 50px -25px rgba(0,0,0,.25); }
.tile--wide { grid-column: 1 / -1; }
.tile--dark { background: var(--dark-tile); color: #f3f1ec; }
.tile--dark .tile__text { color: #a9b3c4; }
.tile--dark .tile__eyebrow, .tile--dark .more { color: #e0b45a; }
.tile__eyebrow { font-size: .85rem; font-weight: 600; color: var(--gold); margin-bottom: 8px; letter-spacing: .02em; }
.tile h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.tile--wide h3 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.tile__text { color: var(--muted); font-size: 1.15rem; margin-top: 10px; max-width: 30em; }
.tile .links { margin-top: 14px; }
.tile__visual, .tile__img {
  width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin-top: 36px;
  border-radius: 20px 20px 0 0; object-fit: cover;
}
.tile--wide .tile__visual { max-width: 860px; aspect-ratio: 16 / 7; }
.tile__visual--a { background: radial-gradient(70% 90% at 50% 100%, #3b6ea5, #1e3a5f 45%, #0b1220 80%); }
.tile__visual--b { background: linear-gradient(160deg, #f0d9a0, #c99a3c); }
.tile__visual--c { background: linear-gradient(160deg, #a9c0de, #3b6ea5); }
.tile__visual--d { background: linear-gradient(120deg, #ece8df, #d6cfbf 50%, #ece8df); }

/* About */
#ueber .narrow { text-align: center; }
.about__text { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); margin-top: 28px; line-height: 1.45; }
.stats {
  list-style: none; padding: 0; margin: 72px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
}
.stats li { padding: 8px 16px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: .95rem; }
.skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; }
.skills span { background: var(--gray); padding: 8px 16px; border-radius: 980px; font-size: .9rem; }

/* Contact */
#kontakt .links { margin-top: 32px; }
.mail { color: var(--muted); margin-top: 16px; font-size: .95rem; }
.socials { margin-top: 40px !important; }

/* Footer */
.footer { background: var(--gray); border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: .75rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a:hover { text-decoration: underline; color: var(--text); }
.sep { margin: 0 10px; color: var(--line); }

/* Mobile */
@media (max-width: 760px) {
  .nav nav { gap: 20px; }
  .hero { padding-top: 48px; }
  .hero__media img, .hero__placeholder { aspect-ratio: 4 / 5; border-radius: 22px; }
  .hero__media { padding: 0; }
  .section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 40px 22px 0; border-radius: 22px; }
  .tile__visual, .tile--wide .tile__visual { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 400px) {
  .nav nav a:not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}
