/* =============================================================
   FARBEN & STIL – WARMES NAVYBLAU & CREME (APPLE-CLEAN)
   Hier kannst du die Grundfarben an einer einzigen Stelle anpassen.
   ============================================================= */
:root {
  /* Tiefes, ruhiges Navyblau als Grundfarbe */
  --navy-950: #0b1628;
  --navy-900: #0f1e36;
  --navy-850: #142744;
  --navy-800: #1b3256;

  /* Warme Creme- & Sandtöne für einladende Atmosphäre */
  --cream: #f6f1e9;
  --cream-soft: #efe6d8;
  --sand: #d8b98a;

  /* Textfarben */
  --text-light: #faf6f0;
  --text-muted: #b7c3d5;
  --text-dark: #102038;
  --text-dark-muted: #465770;
  --text-warm: #704f2b;
  --text-warm-muted: #56647a;

  /* Linien & Schatten */
  --border-light: rgba(246, 241, 233, 0.12);
  --border-strong: rgba(246, 241, 233, 0.22);
  --shadow-lg: 0 28px 70px -24px rgba(4, 10, 22, 0.65);
  --shadow-sm: 0 12px 32px -16px rgba(4, 10, 22, 0.45);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

/* =============================================================
   GRUNDEINSTELLUNGEN
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100vh;
  background-color: var(--navy-900);
  /* Subtiles warmes Umgebungslicht von oben für einladende Tiefe */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(216, 185, 138, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 22%, rgba(36, 68, 118, 0.45), transparent 65%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--text-light);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--text-dark);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 8px var(--navy-950);
}

/* =============================================================
   NAVIGATION OBEN
   ============================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(15, 30, 54, 0.72);
  border-bottom: 1px solid rgba(246, 241, 233, 0.08);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  color: var(--text-light);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 14px rgba(216, 185, 138, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-light);
}

/* =============================================================
   HERO-BEREICH
   ============================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: 76px 0 64px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(246, 241, 233, 0.06);
  border: 1px solid var(--border-light);
  color: var(--cream-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-light);
  margin-bottom: 22px;
}

.greeting {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sand);
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.7;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cta-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cream);
  color: var(--text-dark);
  border: 1px solid var(--cream);
  box-shadow: 0 10px 28px -12px rgba(246, 241, 233, 0.35);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 16px 34px -14px rgba(246, 241, 233, 0.45);
}

.btn-secondary {
  background: rgba(246, 241, 233, 0.06);
  color: var(--text-light);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(246, 241, 233, 0.12);
  border-color: rgba(246, 241, 233, 0.35);
}

.arrow {
  font-size: 0.9em;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.btn-secondary:hover .arrow {
  transform: translate(2px, -2px);
}

/* Hero-Foto */
.photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-850);
  border: 1px solid rgba(246, 241, 233, 0.16);
  box-shadow: var(--shadow-lg);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.photo-frame:hover img {
  transform: scale(1.025);
}

/* =============================================================
   BENTO-KARTEN (Über mich, Fokus, Stimmungsbild)
   ============================================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 16px 0 28px;
}

.card {
  border-radius: var(--radius-xl);
  padding: 40px 38px;
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.card h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin-bottom: 18px;
}

/* Warme Creme-Karte für einladenden Kontrast */
.card-warm {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-soft) 100%);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-warm .eyebrow {
  color: var(--text-warm);
}

.card-warm .card-text {
  color: var(--text-dark-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 32, 56, 0.12);
}

.facts dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-warm-muted);
  margin-bottom: 4px;
}

.facts dd {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Navy-Glaskarte (Fokus) */
.card-navy {
  background: linear-gradient(165deg, rgba(27, 50, 86, 0.65) 0%, rgba(18, 36, 64, 0.85) 100%);
  border: 1px solid var(--border-light);
}

.card-navy .eyebrow {
  color: var(--sand);
}

.focus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.focus-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
}

.focus-list li:first-child {
  border-top: none;
  padding-top: 6px;
}

.focus-list li:last-child {
  padding-bottom: 0;
}

.focus-list .num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.focus-list h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.focus-list p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.focus-list a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
}

.focus-list a:hover {
  color: var(--sand);
}

/* Breites Stimmungsbild */
.card-banner {
  grid-column: 1 / -1;
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-end;
}

.card-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 44px 42px;
  background: linear-gradient(
    90deg,
    rgba(11, 22, 40, 0.86) 0%,
    rgba(11, 22, 40, 0.56) 52%,
    rgba(11, 22, 40, 0.12) 100%
  );
}

.banner-overlay .eyebrow {
  color: var(--sand);
  margin-bottom: 12px;
}

.banner-overlay blockquote {
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-light);
}

.banner-overlay cite {
  display: block;
  margin-top: 14px;
  color: var(--cream-soft);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0;
}

/* Portfolio */
.portfolio-main {
  padding: 82px 0 96px;
}

.portfolio-intro {
  max-width: 700px;
  margin-bottom: 58px;
}

.portfolio-intro h1 {
  margin-bottom: 16px;
}

.portfolio-intro p {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.portfolio-entry {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0 40px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-light);
}

.portfolio-entry-copy {
  max-width: 650px;
}

.portfolio-entry-meta {
  margin-bottom: 12px;
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 500;
}

.portfolio-entry h2 {
  margin-bottom: 12px;
  color: var(--text-light);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.portfolio-entry-copy > p:last-child {
  max-width: 54ch;
  color: var(--text-muted);
  line-height: 1.65;
}

.portfolio-entry .btn {
  flex: 0 0 auto;
}

.portfolio-more {
  padding-top: 48px;
}

.portfolio-more h2 {
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.portfolio-more p {
  color: var(--text-muted);
}

/* =============================================================
   KONTAKT-BEREICH
   ============================================================= */
.contact-card {
  margin: 24px 0 64px;
  padding: 60px 40px;
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 185, 138, 0.14), transparent 62%),
    rgba(22, 41, 71, 0.72);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-card .eyebrow {
  color: var(--sand);
}

.contact-card h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.contact-lead {
  max-width: 50ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* =============================================================
   FUSSZEILE
   ============================================================= */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.8;
}

/* =============================================================
   SANFTE EINBLEND-ANIMATION
   ============================================================= */
.fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 0.12s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .fade-up,
  .btn,
  .nav a,
  .arrow,
  .photo-frame img {
    animation: none;
    transition: none;
  }

  .btn:hover,
  .photo-frame:hover img {
    transform: none;
  }
}

/* =============================================================
   MOBIL- & TABLET-ANSICHT
   ============================================================= */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 48px 0 42px;
  }

  .hero-media {
    max-width: 420px;
    width: 100%;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .banner-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 22, 40, 0.2) 0%,
      rgba(11, 22, 40, 0.84) 70%
    );
    padding: 32px 26px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .topbar-inner {
    height: auto;
    min-height: 68px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .card {
    padding: 30px 24px;
    border-radius: var(--radius-lg);
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card {
    padding: 42px 24px;
    border-radius: var(--radius-lg);
  }

  .portfolio-main {
    padding: 54px 0 72px;
  }

  .portfolio-intro {
    margin-bottom: 38px;
  }

  .portfolio-entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 30px 0 34px;
  }

  .portfolio-entry .btn {
    width: 100%;
  }

  .portfolio-more {
    padding-top: 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
