/* ==========================================================================
   Stephanie Doering – Portfolio
   Farbrahmen B: Sand + Bronze (neutral, damit die Case Studies wirken)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --c-bg: #F3F1ED;          /* Off-White, Seitenhintergrund */
  --c-sand: #E4E0DA;        /* Flächen, Karten */
  --c-taupe: #C8B8A4;       /* Linien, Akzent auf Dunkel */
  --c-bronze: #7A6A58;      /* Akzent auf Hell (Links, Labels) */
  --c-ink: #161615;         /* Text, dunkle Sektionen */
  --c-ink-2: #57534D;       /* Fließtext gedämpft */
  --c-espresso: #33291F;    /* dunkles Braun, hebt sich vom Footer ab */
  --c-white: #FFFFFF;
  --c-line: rgba(22, 22, 21, 0.14);
  --c-line-dark: rgba(243, 241, 237, 0.18);

  /* Typo – fließend zwischen Mobile und Desktop */
  --fs-display: clamp(2rem, 0.9rem + 5.4vw, 5.875rem);    /* 32 → 94px */
  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem);         /* 36 → 72px */
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 3.75rem);          /* 28 → 60px */
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);            /* 24 → 40px */
  --fs-h4: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);        /* 20 → 28px */
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);       /* 16 → 20px */
  --fs-small: 0.875rem;
  --fs-eyebrow: clamp(0.8125rem, 0.75rem + 0.35vw, 1.125rem);

  /* Layout */
  --gutter: clamp(1rem, -0.25rem + 5.5vw, 6.25rem);        /* 16 → 100px */
  --section-y: clamp(3.5rem, 2rem + 5vw, 6.25rem);
  --max: 1440px;
  --header-h: clamp(4rem, 3rem + 3vw, 6.25rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }

:focus-visible { outline: 2px solid var(--c-bronze); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-ink); color: var(--c-bg); padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--c-sand); }
.section--white { background: var(--c-white); }
.section--dark { background: var(--c-ink); color: var(--c-bg); }
.section--brown { background: var(--c-espresso); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 3.75rem);
}
.section--dark .eyebrow { color: var(--c-taupe); }

.h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.15; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; }
.h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; }
.muted { color: var(--c-ink-2); }
.section--dark .muted { color: rgba(243, 241, 237, .72); }

.prose > * + * { margin-top: 1em; }
.prose { max-width: 44rem; line-height: 1.6; }

.list { padding-left: 1.25em; line-height: 1.6; }
.list li + li { margin-top: .25em; }
.list li::marker { color: var(--c-bronze); }
.section--dark .list li::marker { color: var(--c-taupe); }

/* ---------- Header / Navigation ---------- */

/* Bleibt beim Scrollen oben stehen – leicht transparent mit Weichzeichner */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 241, 237, .55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(22, 22, 21, .06);
  color: var(--c-ink); /* auch auf dunklen Seiten wie Kontakt */
}

.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.logo { display: inline-flex; color: var(--c-ink); }
/* Logo als Maske: übernimmt die Textfarbe (hell/dunkel) */
.logo__mark {
  display: block; height: clamp(46px, 2.6rem + 1vw, 60px); aspect-ratio: 1010.54 / 1299.55;
  background: currentColor;
  -webkit-mask: url("../assets/img/logo-avocadoe-icon.svg") center / contain no-repeat;
          mask: url("../assets/img/logo-avocadoe-icon.svg") center / contain no-repeat;
}

.nav-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: clamp(1rem, 2vw, 2rem);
}
.nav-list a {
  display: block; padding: .5rem .25rem;
  font-size: clamp(.875rem, .8rem + .3vw, 1.125rem);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { border-bottom-color: var(--c-bronze); }

.header-icons { display: flex; gap: 1.5rem; align-items: center; }
.icon-link { display: inline-flex; color: inherit; transition: color .2s; }
.icon-link:hover { color: var(--c-bronze); }
.icon-link svg { width: 25px; height: 25px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: .15rem;
  font-size: var(--fs-small); letter-spacing: .1em;
}
.lang-switch > * { padding: .35rem .4rem; text-decoration: none; }
.lang-switch [aria-current] { font-weight: 600; }
.lang-switch a { color: var(--c-ink-2); }
.lang-switch a:hover { color: var(--c-bronze); }
.lang-switch > * + *::before { content: none; }
.lang-switch > :first-child { border-right: 1px solid var(--c-line); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; margin-right: -.5rem;
  color: var(--c-ink); cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-icons { display: none; }
  /* absolute statt fixed: der Weichzeichner des Headers macht ihn zum Bezugsrahmen */
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--c-bg);
    padding: 2rem var(--gutter);
    display: none;
    flex-direction: column; gap: 2rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-size: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
  .site-nav .header-icons { display: flex; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 861px) {
  .site-nav .header-icons { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 85vh, 820px);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 78% 20%;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .06); }

/* Startseite: Bild wie im Design hereingezoomt, Gesicht rechts angeschnitten */
@media (max-width: 860px) {
  .hero--home { --H: max(380px, 48svh); height: var(--H); min-height: 0; }
  /* Bildhöhe = Hero-Höhe; Gesicht sitzt bei ~69 % der Bildbreite und wird an den rechten Rand geschoben */
  .hero--home .hero__bg {
    width: auto; max-width: none; height: 100%;
    inset: 0 calc(12vw - var(--H) * .614) auto auto;
  }
}
@media (min-width: 861px) {
  /* Position hängt an der Hero-Höhe statt an der Fensterbreite,
     damit der Ausschnitt auch auf sehr breiten Screens gleich bleibt */
  /* Bildschirmhöhe minus schmaler Streifen, damit der Footer unten anklingt */
  .hero--home { --H: max(500px, calc(100svh - 48px)); height: var(--H); min-height: 0; }
  .hero--home .hero__bg {
    --h: max(calc(var(--H) * 1.35), 75vw);
    width: auto; max-width: none; height: var(--h);
    left: auto; bottom: auto;
    right: calc(var(--H) * .17 - var(--h) * .614);
    top: calc(var(--H) * .4 - var(--h) * .42);
  }
}
/* Handy: Text auf dem Bild, die Höhe ergibt sich aus dem Text; das Foto behält seine Größe und wird oben und unten beschnitten */
@media (max-width: 700px) {
  .hero.hero--home { --h: clamp(290px, 88vw, 385px); display: flex; align-items: flex-end; height: auto; min-height: 0; padding: calc(var(--header-h) + 1rem) 0 1.5rem; }
  .hero--home .hero__bg {
    width: auto; max-width: none; height: var(--h);
    inset: calc((100% - var(--h)) * .3) calc(9vw - var(--h) * .614) auto auto;
  }
  .hero--home .hero__title { font-size: min(8vw, 34px); }
}
.hero .container { position: relative; z-index: 1; }

.hero__name {
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(22, 22, 21, .65);
  margin-bottom: .75rem;
}
.hero__title {
  font-size: var(--fs-display); line-height: 1.05;
  text-transform: uppercase; font-weight: 800;
}
.hero__title span { display: block; font-weight: 400; }

.btn.hero__cta {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  border-color: transparent;
  background: var(--c-ink);
  color: var(--c-bg);
}
.btn.hero__cta:hover { background: var(--c-bg); color: var(--c-ink); border-color: transparent; }

.hero__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: clamp(1.5rem, 4vw, 3rem);
  transform: translateX(-50%);
  color: var(--c-white); padding: .5rem;
}
.hero__scroll svg { width: 51px; height: 30px; }

@media (max-width: 700px) {
  .hero { align-items: flex-end; padding-bottom: 6rem; }
  .hero__bg { object-position: 72% 0; }
  .hero__scroll { color: var(--c-ink); }
}

/* ---------- Case-Study-Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}

.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.cards--2 .card__media { aspect-ratio: 16 / 9; }
.cards--2 .card__body { padding: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 700px) { .cards--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(22, 22, 21, .08); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__num {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-small); letter-spacing: .18em; text-transform: uppercase; color: var(--c-bronze);
}
.card__num svg { width: 18px; height: 18px; }
.card__title { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; }
.card__meta { font-size: var(--fs-small); color: var(--c-ink-2); line-height: 1.5; }
.card__more {
  margin-top: auto; padding-top: .75rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-small); color: var(--c-bronze);
}
.card__more svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }

.lock-note {
  display: flex; align-items: center; gap: .6rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--fs-small); color: var(--c-ink-2);
}
.lock-note svg { width: 18px; height: 18px; color: var(--c-bronze); flex: none; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
}

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.4rem;
  font: inherit; font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid currentColor; background: transparent; color: var(--c-ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--c-ink); color: var(--c-bg); }
.btn svg { width: 18px; height: 18px; }
.btn--light { color: var(--c-bg); }
.btn--light:hover { background: var(--c-bg); color: var(--c-ink); }

/* ---------- Let's connect / Footer ---------- */

.connect { padding-top: clamp(4rem, 3rem + 4vw, 5rem); padding-bottom: 2.5rem; }
.connect__title {
  font-size: var(--fs-h1); font-weight: 400; line-height: 1.15; text-transform: uppercase;
}
.connect__icons { display: flex; gap: 2.5rem; align-items: center; margin-top: 2rem; }
.connect__icons .icon-link:hover { color: var(--c-taupe); }
.connect__icons .icon-link svg { width: 28px; height: 28px; }

.footer-bar {
  margin-top: clamp(4rem, 8vw, 8.75rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem;
  font-size: var(--fs-small); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(243, 241, 237, .6);
}
.footer-bar a { text-decoration: none; }
.footer-bar a:hover { color: var(--c-bg); }

/* ---------- Über mich ---------- */

.about-hero { min-height: clamp(420px, 42vw, 580px); }
.about-hero .hero__bg { object-position: 70% 20%; }
/* Tablet: Person an den rechten Rand schieben und anschneiden, damit das Zitat frei steht */
@media (min-width: 701px) and (max-width: 1100px) {
  .about-hero { --H: clamp(420px, 48vw, 520px); height: var(--H); min-height: 0; }
  /* Bild mindestens so groß, dass es links bis an den Rand reicht; Gesicht (~69 % Breite) sitzt 8vw vor dem rechten Rand */
  .about-hero .hero__bg {
    --h: max(calc(var(--H) * 1.1), 72vw);
    width: auto; max-width: none; height: var(--h);
    left: auto; bottom: auto;
    right: calc(8vw - var(--h) * .614);
    top: calc(var(--H) * .45 - var(--h) * .42);
  }
  .about-hero .quote { max-width: min(46rem, 56vw); }
}
/* Handy: Bild als Streifen oben, Eyebrow und Zitat darunter auf Sand */
@media (max-width: 700px) {
  .about-hero { display: block; min-height: 0; padding: var(--header-h) 0 0; background: var(--c-sand); }
  .about-hero .hero__bg { position: relative; height: 240px; }
  .about-hero::after { content: none; }
  .about-hero .container { padding-block: 2rem 2.5rem; }
}
.quote {
  position: relative; max-width: 46rem; margin: 0;
  padding: clamp(1.25rem, 3vw, 3rem) 0 clamp(1.25rem, 3vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  border-left: 3px solid var(--c-bronze);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-style: italic; line-height: 1.4;
  color: rgba(22, 22, 21, .78);
}
@media (max-width: 700px) {
  .quote { padding-block: .25rem; }
}

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__claim { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; line-height: 1.2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.875rem); }
.process__item { background: var(--c-bg); padding: clamp(1.25rem, 2.5vw, 1.875rem); display: flex; flex-direction: column; gap: 1rem; }
.process__result { display: flex; gap: .75rem; align-items: flex-start; color: var(--c-ink-2); }
.process__result svg { width: 28px; height: 24px; flex: none; color: var(--c-bronze); }
.process__result strong { color: var(--c-ink); font-weight: 600; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-2 > * { padding: var(--section-y) var(--gutter); }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: clamp(1.5rem, 3vw, 3rem); }

.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.7rem); max-width: 32rem; }
.tools img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #F7F7F6; }

.competences { list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.competences li {
  display: grid; grid-template-columns: 35px 1fr; gap: 1.5rem; align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--c-line);
}
.competences svg { width: 28px; height: 28px; color: var(--c-bronze); margin-top: .1em; }
.competences .h4 { margin-bottom: .75rem; }

/* ---------- Vita ---------- */

.vita { display: grid; grid-template-columns: minmax(16rem, 1fr) 2fr; }
.vita__side { background: var(--c-sand); padding: var(--section-y) var(--gutter); }
.vita-block + .vita-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--c-line);
}
.vita-block .eyebrow { margin-bottom: 1.5rem; }
.vita-facts { margin: 1.5rem 0 0; display: grid; gap: .35rem; line-height: 1.5; }
.vita-facts dt { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--c-bronze); }
.vita-facts dt:not(:first-child) { margin-top: .9rem; }
.vita-facts dd { margin: 0; color: var(--c-ink-2); }
.vita__main { background: var(--c-white); padding: var(--section-y) var(--gutter); }
@media (max-width: 960px) { .vita { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; color: var(--c-ink-2); }
.contact-list svg { width: 22px; height: 22px; color: var(--c-bronze); flex: none; }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--c-ink); text-decoration: underline; }

.job + .job { margin-top: clamp(2rem, 4vw, 3.125rem); padding-top: clamp(2rem, 4vw, 3.125rem); border-top: 1px solid var(--c-line); }
.job__date { color: var(--c-bronze); font-size: var(--fs-body); margin-bottom: .25rem; }
.job__company { color: var(--c-ink-2); margin-top: .35rem; }
.job p.muted { margin-block: 1.25rem; }
.job .list { color: var(--c-ink-2); }
.job .list strong { color: var(--c-ink); }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-big { display: grid; gap: 1.5rem; }
.contact-big a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem; border-bottom: 1px solid var(--c-line-dark);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); text-decoration: none; word-break: break-word;
}
.contact-big a:hover { color: var(--c-taupe); }
.contact-big svg { width: 28px; height: 28px; flex: none; }
.contact-big small { display: block; font-size: var(--fs-small); letter-spacing: .18em; text-transform: uppercase; color: var(--c-taupe); margin-bottom: .35rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.page-head__title { font-size: var(--fs-h1); font-weight: 500; line-height: 1.1; max-width: 18ch; }
.page-head__lead { margin-top: 1.5rem; max-width: 40rem; color: var(--c-ink-2); line-height: 1.6; }
.section--dark .page-head__lead { color: rgba(243, 241, 237, .72); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Zugang auf Anfrage (geschützte Case Studies) ---------- */

.btn--dark { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--dark:hover { background: var(--c-bg); color: var(--c-ink); }

.access { min-height: calc(100svh - 8rem); }
.access__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.access__form {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--c-line); max-width: 32rem;
}
.access__form label { display: block; font-size: var(--fs-small); color: var(--c-ink-2); margin-bottom: .75rem; }
.access__row { display: flex; gap: .5rem; }
.access__row input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem;
  padding: .8rem 1rem; border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink);
}
.access__row input:focus-visible { outline: 2px solid var(--c-bronze); outline-offset: 0; }
.access__error { margin-top: .75rem; font-size: var(--fs-small); color: #9B3B2E; }
.access__back {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem;
  font-size: var(--fs-small); color: var(--c-bronze); text-decoration: none;
}
.access__back svg { width: 18px; height: 18px; transform: scaleX(-1); }
.access__back:hover { text-decoration: underline; }
@media (max-width: 480px) { .access__row { flex-direction: column; } }

/* ---------- Impressum / Datenschutz ---------- */
.legal .h2 { margin-top: .5rem; }
.legal__body { margin-top: clamp(2rem, 5vw, 3.5rem); color: rgba(255, 255, 255, .78); }
.legal__body h2 { font-size: 1.125rem; font-weight: 500; color: var(--c-white, #fff); margin-top: 2.25rem; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 + p { margin-top: .5rem; }
.legal__body a { color: inherit; text-underline-offset: .2em; }
.legal__body mark { background: #E8C547; color: #161615; padding: 0 .2em; }

/* 404: Katze als Linienzeichnung in CI-Farben */
.notfound { min-height: calc(100svh - 8rem); }
.notfound .container { text-align: center; }
.notfound .page-head__title, .notfound .page-head__lead { margin-inline: auto; }
.notfound .access__actions { justify-content: center; }
.notfound__cat {
  display: block; width: clamp(180px, 34vw, 340px); height: auto; margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
}
.notfound__head, .notfound__eyes { stroke: var(--c-ink); }
.notfound__whiskers { stroke: var(--c-bronze); }
/* Zwinkern: das rechte Auge wird einmal pro Durchlauf kurz zu < */
.notfound__dot { fill: var(--c-ink); stroke: none; }
.notfound__eyes--blink { opacity: 0; }
.notfound__eyes--open { animation: cat-open 2.5s steps(1) infinite; }
.notfound__eyes--blink { animation: cat-blink 2.5s steps(1) infinite; }
@keyframes cat-open { 0%, 78%, 100% { opacity: 1; } 70% { opacity: 0; } }
@keyframes cat-blink { 0%, 78%, 100% { opacity: 0; } 70% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .notfound__eyes--open, .notfound__eyes--blink { animation: none; }
}
