/* Ariane Homann — Personal-Branding-Portfolio
   Stil: helles, elegantes Editorial-Layout. Dunkles Navy/Anthrazit + warmes Creme + Weiß,
   kein Farbakzent mehr (Vorgänger-Version hatte Rosé/Magenta). Serifenschrift für Überschriften,
   Systemschrift für Fließtext/UI. Lora lokal eingebunden (fonts/), keine
   Google-Fonts-Verbindung mehr nötig, damit die Schrift überall gleich zuverlässig lädt. */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Lora-var.woff2") format("woff2-variations"), url("../fonts/Lora-var.woff2") format("woff2");
}

:root {
  --ink: #1b2130;
  --paper: #ffffff;
  --surface: #f6f1e9; /* warmes Creme statt kühlem Grau */
  --muted: #6b6b6f;
  --line: #e2ddd3;
  --accent: #1b2130; /* kein Farbakzent mehr, Buttons/Links nutzen die Grundfarbe */
  --accent-ink: #ffffff;
  --apricot: #f3c299; /* Sonnenuntergang-Aprikot aus dem Hero-Bild, zweiter Farbakzent seit 18.09. */
  --apricot-line: #e6ab77;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  left: 24px;
  top: 24px;
}

/* ============ HEADER ============ */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 4px;
  margin: -12px -4px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.8;
  padding: 12px 4px;
  margin: -12px -4px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { opacity: 1; color: var(--accent); }

.nav-toggle { display: none; }

@media (max-width: 720px) {
  .main-nav ul { gap: 18px; }
}

/* Schmale Screens: Logo und Navigation stapeln statt zu überlappen oder abzuschneiden */
@media (max-width: 480px) {
  .site-header .wrap {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0;
    row-gap: 8px;
  }
  .main-nav { width: 100%; }
  .main-nav ul { flex-wrap: wrap; gap: 6px 16px; }
  .main-nav a { font-size: 13px; white-space: nowrap; }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; }
h3 { font-size: 19px; line-height: 1.3; }
p { color: var(--ink); }
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* ============ SECTIONS ============ */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-surface { background: var(--surface); }
/* Himmelblau aus dem Hero-Foto, statt dunklem Navy: helle, luftige Sektion */
.section-sky { background: #e3eaf2; color: var(--ink); }
a.card-onblack { background: var(--apricot); border-color: var(--apricot-line); color: var(--ink); }
a.card-onblack .label { color: #6b4a30; }
a.card-onblack p { color: #5c3f29; }
a.card-onblack .link { color: var(--ink); }
div.card-apricot { background: var(--apricot); border-color: var(--apricot-line); }
.card-apricot .label { color: #6b4a30; }
.card-apricot p { color: #5c3f29; }
span.tag-apricot { background: var(--apricot); border-color: var(--apricot-line); color: #6b4a30; }

/* ============ HERO ============ */
/* HINWEIS 17.09.: hero-clean.png war ein Retusche-Versuch (Text aus dem Original-Mockup
   wegretuschiert), Qualität nicht gut genug, sichtbare Flecken. Nutzerin lässt ein neues,
   von Anfang an textfreies Bild erstellen, gleiches Format/gleiche Perspektive (Kabine
   links, Fenster rechts). Sobald vorhanden: nur src in index.html (.hero-flight-bg) auf
   das neue Bild ändern, Positionierung/Schriftgrößen unten bleiben unverändert gültig. */
.hero { padding: 96px 0 72px; }
.hero .eyebrow { margin-bottom: 16px; display: block; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; }

/* Kleines Portrait neben "Was mich auszeichnet" auf der Startseite */
.feature-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.feature-photo { position: relative; width: 250px; margin: 0 auto 32px; }
.feature-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.feature-intro .lede { margin: 8px 0 0; }

/* Über-mich-Hero: Text + rundes Portrait */
.about-hero { background: var(--surface); padding: 88px 0; }
.about-hero h1 { font-size: clamp(28px, 3.2vw, 40px); }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}
@media (max-width: 780px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; order: -1; }
}

/* Ruhiger Seitenkopf für Unterseiten (Case Studies, Projekte, Blog, Kontakt) */
.case-hero {
  background: var(--surface);
  padding: 88px 0 64px;
  text-align: center;
}
.case-hero .eyebrow { display: block; margin-bottom: 18px; }
.case-hero h1 { margin-bottom: 22px; }
.case-hero .lede { margin: 0 auto 28px; }
.case-hero .tag-list { justify-content: center; }

/* ============ HERO: Flugzeugfenster (Startseite) ============ */
/* Ganzes Mockup-Bild als Hintergrund über die volle Breite, Nav und Text liegen darüber. */
.hero-flight {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  background: var(--surface);
}
.hero-flight-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-flight-overlay { position: absolute; inset: 0; }

/* Positionen als % der Bildmaße (1672x941), decken die eingebrannten Mockup-Texte an derselben Stelle ab */
.hero-flight-brand {
  position: absolute;
  left: 5%;
  top: 8%;
  font-size: clamp(11px, 1.6vw, 18px);
  color: var(--ink);
  padding: 10px 8px;
  margin: -10px -8px;
}
.hero-flight-nav {
  position: absolute;
  left: 67%;
  right: 6%;
  top: 6.5%;
}
.hero-flight-nav ul { display: flex; gap: clamp(10px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; justify-content: space-between; }
.hero-flight-nav a { display: inline-block; text-decoration: none; font-size: clamp(10px, 1.35vw, 16px); color: var(--ink); white-space: nowrap; opacity: 0.9; padding: 12px 4px; margin: -12px -4px; }
.hero-flight-nav a:hover { opacity: 1; }

.hero-flight-copy .eyebrow { display: none; }
.hero-flight-headline {
  position: absolute;
  left: 5%;
  top: 46%;
  width: 40%;
  font-size: clamp(12px, 3.05vw, 42px);
  line-height: 1.2;
  margin: 0;
}
.hero-flight-sub {
  position: absolute;
  left: 5%;
  top: 65%;
  width: 40%;
  font-size: clamp(10px, 1.3vw, 15px);
  color: var(--muted);
}
.hero-flight-cta {
  position: absolute;
  left: 5%;
  top: 76.5%;
}

/* Mobile: eigenes, gestapeltes Layout statt der Desktop-Prozentpositionen, die auf schmalen Screens überlappen */
@media (max-width: 640px) {
  .hero-flight { aspect-ratio: auto; height: auto; min-height: 640px; }
  .hero-flight-nav {
    position: absolute;
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 4%;
  }
  .hero-flight-nav ul {
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: flex-start;
  }
  .hero-flight-nav a { font-size: 13px; }
  .hero-flight-brand { top: 5%; }
  .hero-flight-headline {
    width: 62%;
    top: 20%;
    font-size: clamp(22px, 6.5vw, 30px);
  }
  .hero-flight-sub {
    width: 62%;
    top: 42%;
    bottom: auto;
    font-size: 13px;
    color: var(--muted);
  }
  .hero-flight-cta {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 16%;
    display: flex;
    flex-wrap: wrap;
  }
}
.hero-flight-cta .btn {
  font-size: clamp(9px, 1.15vw, 15px);
  padding: clamp(8px, 1.3vw, 16px) clamp(14px, 1.9vw, 25px);
}

.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { opacity: 0.85; }


/* ============ BUTTONS ============ */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: opacity 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.section-dark .btn-outline { border-color: var(--paper); color: var(--paper); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ============ CARDS / GRID ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.card .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.intro-stats { padding: 88px 0 40px; }
.intro-lede {
  font-size: 21px;
  line-height: 1.6;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
}
.intro-lede:last-of-type { margin-bottom: 64px; }
.stat-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 220px;
  max-width: 280px;
  text-align: center;
  padding: 0 40px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat .label { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 640px) {
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 24px 12px 0; flex: 1 1 100%; max-width: 100%; }
  .stat:first-child { border-top: none; }
}

/* ============ TIMELINE (Über mich) ============ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .when { color: var(--muted); font-size: 14px; }
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { margin: 0; color: var(--muted); }
@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ CASE STUDY ============ */
.case-visual { position: relative; margin-bottom: 40px; }
.case-visual img { width: 100%; border-radius: 18px; display: block; }
.case-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: #e3eaf2;
  border-radius: 18px;
  margin: 32px 0;
}
.case-meta div { font-size: 14px; }
.case-meta .k { color: #4a5b6e; display: block; margin-bottom: 4px; }
.case-step { padding: 32px 0; border-top: 1px solid var(--line); }
.case-step:last-child { border-bottom: 1px solid var(--line); }
.case-step .step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

/* ============ BLOG-ARTIKEL ============ */
.article-hero { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 2.7 / 1; padding: 0; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; opacity: 0.7; }
.article-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(27,33,48,0.25), rgba(27,33,48,0.92));
}
.article-hero-overlay .wrap { padding-bottom: 0; }
.article-hero-overlay .eyebrow { color: var(--apricot); }
.article-hero-overlay h1 { color: #ffffff; margin-bottom: 10px; }
.article-hero-overlay .lede { color: #e7e9ee; margin: 0; }

@media (max-width: 600px) {
  .article-hero { aspect-ratio: auto; min-height: 360px; }
  .article-hero-overlay h1 { font-size: 26px; }
  .article-hero-overlay .lede { font-size: 15px; }
}
/* ============ KI-KENNZEICHNUNG ============ */
/* Kleines, dezentes Badge direkt auf KI-generierten/KI-bearbeiteten Bildern. Elternelement braucht position:relative. */
.ai-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(27, 33, 48, 0.72);
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
}
.ai-label-sm { font-size: 9px; padding: 2px 7px; bottom: 6px; right: 6px; }
.ai-label-xs { font-size: 7px; padding: 1px 5px; bottom: 4px; right: 4px; letter-spacing: 0; border-radius: 6px; }
@media (max-width: 640px) {
  .hero-flight .ai-label { top: 10px; right: 5%; bottom: auto; }
}

.article-meta { color: var(--muted); font-size: 14px; margin: 24px 0 0; }
.article-body h2 { margin-top: 40px; }
.article-body p { margin-bottom: 20px; }
.article-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.article-card img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.article-card .link { color: var(--accent); font-size: 14px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.footer-row a { display: inline-block; text-decoration: none; padding: 10px 4px; margin: -10px -4px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============ MISC ============ */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 980px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}
.note {
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ============ FORM (Kontakt) ============ */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-field input,
.form-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-submit {
  font: inherit;
  cursor: pointer;
}
