:root {
  --bg: #fff8f0;            /* helles Beige */
  --panel: #fff1e6;         /* Karten-/Panel-Hintergrund */
  --text: #3b2f2f;          /* Haupttext in warmem Braun */
  --muted: #6b5e5e;         /* Sekundärtext */
  --primary: #a86c3d;       /* Akzent: Terracotta/Braun */
  --primary-600: #915a32;   /* dunklere Primärfarbe */
  --accent: #d4a373;        /* sanfter Beige-Akzent */
  --border: #e8d8c8;        /* zarte Rahmenfarbe */
  --shadow: 0 10px 30px rgba(60, 40, 20, .12);
  --banner: #f3e5d3;        /* etwas dunkleres Beige für Banner */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(212,163,115,.22), transparent 60%),
              radial-gradient(1000px 400px at -10% 10%, rgba(168,108,61,.12), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 248, 240, .8);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
}
.brand-tagline { font-weight: 400; color: var(--muted); }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); }

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle:focus { outline: 2px solid var(--primary); border-radius: 6px; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* Hero */
.hero { min-height: 80vh; display: flex; align-items: center; background: url('Firefly_Mila Steinberg.jpg') right center/cover no-repeat; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero { background-position: right -500px center; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,248,240,.9) 0%, rgba(255,248,240,.7) 38%, rgba(255,248,240,.3) 66%, rgba(255,248,240,.08) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-name { font-size: clamp(40px, 8vw, 84px); line-height: 1.05; margin: 0; font-weight: 800; color: var(--text); display: inline-block; position: relative; padding-top: 14px; }
.hero-name::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%; height: 1.5px;
  background: #b98b5e;
  border-radius: 1px;
}
.hero-title { font-size: clamp(18px, 3.5vw, 28px); margin: 8px 0 8px; color: var(--text); font-weight: 700; }
.hero-claim { color: var(--muted); margin: 8px 0 22px; font-style: italic; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { display: none; }
.hero-photo { width: min(460px, 100%); height: auto; border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); object-fit: cover; background: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section h2 { font-size: 32px; margin: 0 0 14px; font-weight: 800; color: var(--text); }

/* Skills */
.skills-wrap { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.skills-chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.chip-box { 
  background: #ffffff; 
  color: var(--text); 
  border: 1px solid var(--border); 
  border-radius: 999px; 
  padding: 8px 12px; 
  font-weight: 600; 
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(60,40,20,.06); 
}

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: 140px auto; box-shadow: var(--shadow); }
.project-media { 
  background: radial-gradient(200px 80px at 20% 20%, rgba(212,163,115,.35), transparent), radial-gradient(180px 60px at 80% 10%, rgba(168,108,61,.25), transparent), #ffeedd; 
  position: relative;
}
.project-content { padding: 16px; }
.project-symbol { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  font-size: 48px; 
  font-weight: 700; 
  color: var(--primary); 
  background: rgba(255,255,255,0.9); 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border: 2px solid var(--border);
  z-index: 2;
}
.card-actions { margin-top: 12px; display: flex; gap: 10px; }

/* Experience / Case Studies */
#experience .container { position: relative; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 18px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.case-header h3 { margin: 0 0 4px; font-size: 20px; color: var(--text); }
.case-role { color: var(--muted); margin: 0 0 10px; }
.case-body p { margin: 8px 0; color: var(--text); }

/* Contact */
/* About */
.about-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.about-card p {
  color: var(--text);
  margin: 12px 0 0;
  font-size: 16px;
}

/* Approach / Philosophy */
.approach-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.section-sep {
  height: 6px;
  width: 80px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-bottom: 12px;
}
.approach-card h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--text); }
.approach-card p { margin: 0; color: var(--text); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Contact */
.contact-card { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--text); }
.contact-intro { margin: 0 0 12px; color: var(--text); }
.contact-links { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.contact-link { color: var(--primary-600); text-decoration: none; font-weight: 700; }
.contact-link:hover { text-decoration: underline; }
.contact-cta { margin-top: 8px; }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: 10px 14px; text-decoration: none; font-weight: 700; }
.btn:hover { border-color: var(--text); }
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #ffffff; border: none; }
.btn.small { padding: 8px 12px; font-size: 14px; }

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

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { justify-items: start; }
  .hero { background-position: right -250px center; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-list { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: rgba(255,248,240,.98); border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform .25s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; padding: 16px; gap: 12px; }
  .nav-toggle { display: block; }
  .project-grid { grid-template-columns: 1fr; }
  .skill-list { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}


