/* serkan.cc — keine externen Ressourcen (keine Webfonts, kein CDN, kein Tracking) */

:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b6069;
  --faint: #8a8f98;
  --line: #e7e3da;
  --accent: #b3441e;
  --accent-soft: #fdf1ec;
  --radius: 14px;
  --maxw: 1080px;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.022em; margin: 0; font-weight: 650; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 64px;
}
.brand {
  font-weight: 650; letter-spacing: -0.02em; color: var(--ink);
  text-decoration: none; font-size: 1.02rem; white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500;
}
.nav a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.section-title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 10px; }
.section-lead { color: var(--muted); max-width: 62ch; margin: 0 0 36px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 200px;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); margin-bottom: 16px; }
.hero .role {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--ink);
  font-weight: 550; margin: 0 0 18px;
}
.hero p.intro { color: var(--muted); max-width: 58ch; margin: 0 0 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid #f3d9ce; border-radius: 999px;
  padding: 6px 14px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 22px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none;
}

.portrait {
  /* height:auto hebt den Praesentations-Hint aus dem height-Attribut auf, sonst 200x480 */
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--line);
  box-shadow: 0 18px 44px -24px rgba(22, 24, 29, 0.45);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-size: 0.94rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #8f3517; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Fakten-Leiste ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: 52px;
}
.fact { background: var(--surface); padding: 20px 22px; }
.fact b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; }
.fact span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 1.03rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Projekte ---------- */
.timeline { border-left: 2px solid var(--line); margin-left: 7px; }
.project {
  position: relative; padding: 0 0 40px 34px;
}
.project::before {
  content: ""; position: absolute; left: -7px; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.project .meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-bottom: 4px;
}
.project h3 { font-size: 1.1rem; }
.project .where { color: var(--faint); font-size: 0.9rem; }
.project .when {
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  background: #f3f1ec; border-radius: 6px; padding: 2px 8px; white-space: nowrap;
}
.project .role { color: var(--accent); font-weight: 600; font-size: 0.93rem; margin: 2px 0 10px; }
.project p { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.project ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.project li { margin-bottom: 5px; }
.project li::marker { color: var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-family: var(--mono); font-size: 0.73rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 8px;
}

/* kompakte frühere Stationen */
.compact {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.compact:first-of-type { border-top: 0; }
.compact .when { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); padding-top: 3px; }
.compact h3 { font-size: 1rem; margin-bottom: 2px; }
.compact .role { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.compact p { margin: 4px 0 10px; color: var(--muted); font-size: 0.93rem; }

/* ---------- Produkte ---------- */
.product {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 18px;
}
.product .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.product h3 { font-size: 1.1rem; }
.product .state {
  font-family: var(--mono); font-size: 0.73rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft);
  border-radius: 6px; padding: 3px 8px;
}
.product .role { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.product p { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.product ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.product li { margin-bottom: 5px; }
.product li::marker { color: var(--accent); }

/* ---------- Referenzen ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
blockquote {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 26px;
}
blockquote p { margin: 0 0 16px; font-size: 1rem; }
blockquote footer { color: var(--faint); font-size: 0.86rem; font-style: normal; }
.quote-note { color: var(--faint); font-size: 0.86rem; margin-top: 18px; }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; }
.skill-row {
  display: contents;
}
.skills dt {
  font-weight: 600; font-size: 0.95rem; padding: 16px 24px 16px 0;
  border-top: 1px solid var(--line);
}
.skills dd {
  margin: 0; padding: 16px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.skills dd span {
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 9px;
}

/* ---------- Kontakt ---------- */
.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center;
}
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li { margin-bottom: 8px; font-size: 0.97rem; }
.contact-list b { display: inline-block; min-width: 92px; color: var(--muted); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0 44px;
  color: var(--faint); font-size: 0.88rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 60px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #3c4046; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; line-height: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 200px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 28px; }
  .skills { grid-template-columns: 1fr; }
  .skills dt { padding-bottom: 8px; border-top: 1px solid var(--line); }
  .skills dd { border-top: 0; padding-top: 0; padding-bottom: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .compact { grid-template-columns: 1fr; gap: 2px; }
  .nav { gap: 14px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
}

@media print {
  .site-header, .actions, .site-footer { display: none; }
  body { background: #fff; font-size: 11pt; }
  section { padding: 18px 0; page-break-inside: avoid; }
}

/* ---------- Hinweis auf anonymisierte Auftraggeber ---------- */
.anon-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 22px 26px; margin: -16px 0 36px;
}
.anon-note p { margin: 0; flex: 1 1 380px; font-size: 0.93rem; color: var(--muted); }
.anon-note strong { color: var(--ink); }
.anon-note .btn { flex: none; }

@media print { .anon-note .btn { display: none; } }
