/* ==========================================================
   KzT – Komm zu Tom | Grundstyles
   Farben aus der Visitenkarte: Blau, Rot, Gelb, Sand
   ========================================================== */
:root {
  --blue: #2A6DB0;
  --blue-dark: #163E6B;
  --blue-deep: #0E2742;
  --red: #E8352A;
  --yellow: #F7EA3A;
  --sand: #F3EADB;
  --sand-dark: #E6D7BE;
  --ink: #142235;
  --muted: #5B6676;
  --white: #fff;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 39, 66, .10);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--yellow); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hl {
  color: var(--blue);
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  background: var(--red); color: var(--white);
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--red);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 53, 42, .3); }
.btn--ghost { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--ghost:hover { background: var(--blue-dark); color: var(--white); box-shadow: none; }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
.btn--yellow:hover { box-shadow: 0 8px 20px rgba(247, 234, 58, .35); }
.btn--small { padding: .5rem 1.1rem; font-size: .9rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 34, 53, .06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: .95rem; }
.brand strong { color: var(--blue); font-weight: 800; }
.brand, .nav .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .brand span { font-size: .85rem; }
  .nav .btn--small { padding: .45rem .85rem; font-size: .8rem; }
}
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(42, 109, 176, .12), transparent 45%),
    var(--sand);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__glow {
  position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 234, 58, .55), transparent 65%);
  filter: blur(20px);
}
.hero__logo {
  position: relative; width: min(360px, 80%);
  filter: drop-shadow(0 25px 40px rgba(14, 39, 66, .25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--alt { background: var(--sand); }
.note { margin-top: 2rem; font-size: .85rem; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.card {
  background: var(--white);
  border: 1px solid rgba(20, 34, 53, .08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(42, 109, 176, .1);
  margin-bottom: 1.1rem;
}
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card--link { display: block; text-decoration: none; border-color: rgba(42, 109, 176, .35); }
.card__more { display: inline-block; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--red); }

/* ---------- Über mich ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .7); font-weight: 500;
  box-shadow: var(--shadow);
}
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-size: .75rem; display: grid; place-items: center;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 11px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 62%, var(--sand-dark) 62%);
  border-radius: 3px;
}
.timeline__item { position: relative; padding-top: 2.4rem; }
.timeline__dot {
  position: absolute; top: 0; left: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--sand-dark);
}
.timeline__item.is-done .timeline__dot { background: var(--blue); border-color: var(--blue); }
.timeline__item.is-current .timeline__dot {
  background: var(--yellow); border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(247, 234, 58, .45);
}
.timeline__item p { color: var(--muted); font-size: .95rem; }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep)); color: var(--white); }
.contact .lead { color: rgba(255, 255, 255, .75); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact__list li {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 1rem 1.25rem;
  overflow-wrap: anywhere;
}
.contact__list span {
  display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: .2rem;
}
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal { background: var(--sand); padding: clamp(3rem, 7vw, 5rem) 0; }
.legal__inner {
  max-width: 760px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.1rem; font-weight: 600; color: var(--blue-dark); margin-bottom: .4rem; }
.legal section { padding: 1.25rem 0; border-top: 1px solid rgba(20, 34, 53, .08); }
.legal p { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.legal a { color: var(--blue); }
.legal .todo {
  background: rgba(247, 234, 58, .25);
  border-left: 4px solid var(--yellow);
  padding: .75rem 1rem; border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.legal .todo-inline { background: rgba(247, 234, 58, .45); padding: 0 .3em; border-radius: 4px; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, .6); font-size: .9rem; padding: 1.5rem 0; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .split, .contact__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__logo { width: 200px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .split__media { max-width: 360px; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: .5rem 20px 1.2rem;
    box-shadow: 0 12px 20px rgba(14, 39, 66, .08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem 0; }
  .nav__links .btn { justify-content: center; margin-top: .5rem; }
  .cards, .timeline { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
