/* -------------------------------------------------------
   Grundfarben & Variablen
------------------------------------------------------- */
:root {
  --bg: #0d0d0d;              /* fast schwarz, sehr edel */
  --panel: #141414;           /* dunkles Grau für Karten */
  --panel-light: #1a1a1a;
  --text: #f2f2f2;
  --muted: #b5b5b5;

  --accent: #ff7a1a;          /* warmes Orange */
  --accent-dark: #d56212;

  --border: rgba(255,255,255,0.08);
  --shadow: 0 14px 32px rgba(0,0,0,0.55);
  --shadow-soft: 0 10px 24px rgba(0,0,0,0.38);

  --radius: 18px;
  --radius-sm: 12px;

  --max-width: 1180px;
  --transition: 0.22s cubic-bezier(.25,.1,.25,1);
}



/* -------------------------------------------------------
   Grundlayout
------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.58;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* -------------------------------------------------------
   Header
------------------------------------------------------- */

.site-header {
  margin: 0 0 48px;
}

.header-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .header-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  background: var(--panel-light);
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 4vw, 50px);
  margin: 6px 0 16px;
  font-weight: 700;
}

.subtitle {
  max-width: 640px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Portrait rechts */
.header-photo {
  display: flex;
  justify-content: flex-end;
}

.header-photo--rect img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

/* -------------------------------------------------------
   Buttons
------------------------------------------------------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--panel-light);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  border-color: var(--accent);
  background: #1e1e1e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Primärer Button */
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* -------------------------------------------------------
   Navigation
------------------------------------------------------- */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--accent);
}

/* -------------------------------------------------------
   Cards / Sektionen
------------------------------------------------------- */
.card {
  background: var(--panel);
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 48px;
}

h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 28px;
}

h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.small-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 6px;
}

/* -------------------------------------------------------
   Grid
------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------
   Projektkarten
------------------------------------------------------- */
.project figure {
  margin: 0 0 12px;
}

.project img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.project figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* -------------------------------------------------------
   Tags
------------------------------------------------------- */
.taglist {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  background: var(--panel-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

/* -------------------------------------------------------
   Checkliste
------------------------------------------------------- */
.list-check li {
  list-style: none;
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
}

/* -------------------------------------------------------
   Persönlich-Bild
------------------------------------------------------- */
.personal-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.site-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  font-size: 14px;
  padding: 20px 0 40px;
}

/* -------------------------------------------------------
   Screenreader
------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0,0,0,0);
}
