/* ==========================================================================
   Vevi Portfolio — globales Stylesheet
   ========================================================================== */

:root {
  /* Farb-Tokens (aus dem bisherigen Framer-Design abgeleitet) */
  --navy: #1d3a52;
  --navy-soft: #25496a;
  --lightblue: #aac7da;
  --lightblue-soft: #c3dae6;
  --cream: #fbfaf7;
  --white: #ffffff;
  --text-dark: #1d2a33;
  --text-on-navy: #f3f6f8;
  --text-muted: #46586a;
  --border-soft: rgba(29, 58, 82, 0.18);
  --placeholder-bg: #d9e3ea;
  --placeholder-fg: #7e93a3;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 18px 50px rgba(29, 58, 82, 0.12);
  --shadow-medium: 0 14px 34px rgba(29, 58, 82, 0.18);
  --shadow-strong: 0 24px 60px rgba(29, 58, 82, 0.24);

  /* Typografie */
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-m: 14px;
  --radius-l: 28px;
  --nav-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(170, 199, 218, 0.34), transparent 34%),
    radial-gradient(circle at top right, rgba(193, 218, 230, 0.42), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, #f6f3ee 52%, #f8f6f2 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(29, 58, 82, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 58, 82, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 70%);
  opacity: 0.55;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

p { margin: 0 0 1rem 0; }

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

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

.site-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(calc(100% - 32px), 1280px);
  margin: 16px auto 0;
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(29, 58, 82, 0.12);
  box-shadow: var(--shadow-soft);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--nav-height);
  padding: 0 28px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-img {
  /* Passt sich flexibel der Navbar-Höhe an */
  height: 32px; 
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}



.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--navy-soft);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 18px;
  height: 3px;
  background: var(--navy);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* ---------- Buttons ---------- */

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-pill.filled {
  background: var(--navy);
  color: var(--white);
}
.btn-pill.filled:hover { background: var(--navy-soft); }

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

.hero {
  padding: 72px 0 42px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.0fr) minmax(320px, 0.6fr);
  gap: 20px;
  align-items: center;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow,
.section-label,
.card-eyebrow,

.profile-label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.aside-kicker {
  display: block;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--lightblue);
  margin-bottom: 8px;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-intro {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--navy-soft);
  margin-bottom: 18px;
}

.hero-copy .lead {
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 26px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 58, 82, 0.12);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-profile-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 58, 82, 0.12);
  border-radius: 32px;
  padding: 18px;
  display: grid;
  gap: 18px;
  backdrop-filter: blur(10px);
}

.hero-aside-card {
  background: rgba(29, 58, 82, 0.94);
  color: var(--text-on-navy);
  border-radius: 28px;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.hero-aside-card p:last-child {
  margin: 0;
}

.ph-hero-portrait {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.profile-copy p {
  margin: 0;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.about-copy {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.about-copy h2,
.section-heading h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  margin-bottom: 18px;
}

.about-panel {
  display: grid;
  gap: 14px;
  align-self: center;
  justify-self: center;
  width: min(100%, 400px);
}

.about-panel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 20px 20px;
  color: var(--text-on-navy);
}

.about-panel-card span {
  display: block;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.01em;
  opacity: 0.7;
  margin-bottom: 10px;
}

.about-panel-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  margin-bottom: 6px;
  white-space: nowrap;
}

.about-panel-card p {
  margin: 0;
  opacity: 0.86;
}

/* ---------- Über mich (dunkle Sektion) ---------- */

.section-navy {
  background: linear-gradient(180deg, var(--navy) 0%, #173043 100%);
  color: var(--text-on-navy);
  padding: 84px 0;
}

.section-navy h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.about-copy p,
.about-copy .about-note {
  color: var(--text-on-navy);
  opacity: 0.92;
}

.about-copy .about-note {
  opacity: 0.76;
}

.cv-buttons {
  display: flex;
  gap: 18px;
  margin: 28px 0 18px;
  flex-wrap: wrap;
}

.cv-buttons .btn-pill {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.cv-buttons .btn-pill:hover {
  background: var(--white);
  color: var(--navy);
}

.about-note {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ---------- Projekt-Sektionen (hellblau) ---------- */

.section-light {
  background: linear-gradient(180deg, rgba(193, 218, 230, 0.46), rgba(251, 250, 247, 0.96));
  padding: 86px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--navy);
}

.section-heading p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

.section-heading p:last-child {
  max-width: 640px;
}

.section-light + .section-light { padding-top: 0; }

.project {
  padding: 50px 0;
}

.project h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.project .project-intro {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-dark);
}

.project-media {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.project-media img {
  width: 100%;
  height: auto;
}

.project-media--pair {
  align-items: flex-start;
  flex-wrap: nowrap;
}

.project-media--pair .project-image {
  width: calc(50% - 10px);
  max-width: none;
}

.project-media figure {
  margin: 0;
  text-align: center;
}

.project-media figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-text {
  max-width: 680px;
  margin: 0 auto 24px;
}

.divider {
  border: none;
  border-top: 1px solid rgba(29, 58, 82, 0.15);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Placeholder-Bilder ---------- */

.placeholder {
  background: var(--placeholder-bg);
  color: var(--placeholder-fg);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  border: 1px dashed var(--placeholder-fg);
  overflow: hidden;
  flex-shrink: 0;
}

.placeholder.ph-portrait { width: 220px; height: 320px; }
.placeholder.ph-square   { width: 240px; height: 240px; }
.placeholder.ph-wide     { width: 100%; max-width: 520px; height: 280px; }
.placeholder.ph-card     { width: 100%; height: 100%; min-height: 160px; }

/* ---------- Fotografie-Teaser (Homepage) ---------- */

.photo-teaser {
  text-align: center;
  padding: 60px 0 80px;
}

.photo-teaser h2 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.photo-teaser p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-dark);
}

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

.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #183246 100%);
  color: var(--text-on-navy);
  padding: 84px 0 30px;
  text-align: center;
  margin-top: 18px;
}

.site-footer h2 {
  color: var(--white);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-grid .item {
  font-size: 0.95rem;
}
.contact-grid .label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ==========================================================================
   Galerie-Seite (gallery.html)
   ========================================================================== */

.gallery-page {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px 90px;
  gap: 48px;
  align-items: flex-start;
}

.gallery-sidebar {
  width: 230px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.gallery-sidebar h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.sidebar-group {
  margin-bottom: 22px;
}

.sidebar-group .group-label {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.sidebar-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-m);
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
}

.sidebar-link:hover {
  background: var(--lightblue-soft);
}

.sidebar-link.active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.gallery-main {
  flex: 1;
  min-width: 0;
}

.gallery-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-heading h1 {
  font-size: 1.6rem;
  color: var(--navy);
}

.gallery-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Der Hauptcontainer der Galerie */
.gallery-grid {
  column-count: 3; /* Teilt die Galerie in 3 Spalten */
  column-gap: 5px; /* Abstand zwischen den Spalten (Fuge) */
  width: 100%;
}

/* Jedes einzelne Bildelement */
.gallery-item {
  display: inline-block; /* Verhindert, dass Kacheln am Spaltenende zerrissen werden */
  width: 100%;
  margin-bottom: 1px; /* Abstand nach unten (Fuge) */
}

/* Die Bilder selbst */
.gallery-item img {
  width: 100%;
  height: auto; /* WICHTIG: Behält das Originalformat bei! */
  display: block;
  transition: transform 0.3s ease;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2; /* Nur 2 Spalten auf Tablets */
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1; /* 1 Spalte auf dem Smartphone */
  }
}


.gallery-grid .placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
}

/* ---------- Seiten-Header (Übersichts- & Detailseiten) ---------- */

.page-header {
  background: linear-gradient(135deg, rgba(29, 58, 82, 0.98), rgba(37, 73, 106, 0.96));
  color: var(--white);
  padding: 72px 0 58px;
  text-align: center;
  border-radius: 0 0 32px 32px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom: 12px;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.9;
  color: var(--text-on-navy);
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  opacity: 0.75;
}
.breadcrumb a { text-decoration: underline; }

/* ---------- Karten-Übersicht (Studentische / Private Projekte) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 10px 0 0;
}

.card-grid-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 10px 0 0;
}

.project-card {
  background: rgba(250, 250, 250, 0.82);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(29, 58, 82, 0.1);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(29, 58, 82, 0.16);
}

.project-card .placeholder {
  width: 100%;
  height: 260px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(29, 58, 82, 0.1);
  background: linear-gradient(135deg, rgba(170, 199, 218, 0.8), rgba(193, 218, 230, 0.65));
  color: var(--navy);
}

.project-card .card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.project-card .card-link::after { content: " →"; }

.card-note {
  margin-top: auto;
  font-size: 0.92rem;
  color: var(--navy);
}

.card-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-section .project-card {
  background: rgba(255, 255, 255, 0.9);
  min-height: min-content;
}

.contact-section .project-card .card-body {
  gap: 10px;
  padding: 26px;
}

.contact-section .project-card h3 {
  font-size: 1.2rem;
}

.contact-section .project-card p {
  flex: 0;
}

.contact-section .card-note {
  color: var(--navy-soft);
  font-weight: 600;
}

.booklet-section {
  padding-top: 72px;
}

.booklet-section .section-heading h2 {
  color: var(--white);
}

.booklet-section .section-heading p {
  color: var(--text-on-navy);
  opacity: 0.88;
}

.booklet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.booklet-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 22px;
  color: var(--text-on-navy);
  box-shadow: var(--shadow-soft);
}

.booklet-meta h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--white);
}

.booklet-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 3 / 4;
}

.booklet-frame object {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--white);
}

.booklet-link {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booklet-link:hover {
  color: var(--lightblue-soft);
}

.pdf-reader-shell {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  min-height: min(78vh, 980px);
}

.pdf-reader-shell object,
.pdf-reader-shell iframe {
  width: 100%;
  height: min(78vh, 980px);
  display: block;
  border: 0;
  background: var(--white);
}

.video-embed {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Zurück-Link auf Detailseiten ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 32px auto 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.detail-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .site-nav {
    width: calc(100% - 16px);
    top: 8px;
    margin-top: 8px;
    border-radius: 24px;
  }

  .site-nav .container {
    padding: 0 18px;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 32px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero-layout,
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-copy { text-align: left; }
  .hero-actions,
  .hero-meta { justify-content: flex-start; }
  .ph-hero-portrait { height: 300px; }

  .gallery-page { flex-direction: column; }
  .gallery-sidebar { position: static; width: 100%; }
  .sidebar-group ul { flex-direction: row; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { text-align: left; }
  .section-heading p { margin-left: 0; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .site-nav {
    width: calc(100% - 12px);
  }

  .hero { padding-top: 46px; }
  .hero-copy h1 { max-width: 100%; }
  .hero-actions .btn-pill { width: 100%; justify-content: center; }
  .hero-profile-card { border-radius: 24px; }
  .ph-hero-portrait { height: 260px; }
  .project-card .placeholder { height: 220px; }
  .about-panel { width: 100%; }
  .about-panel-card strong { white-space: normal; }
  .booklet-grid { grid-template-columns: 1fr; }
  .pdf-reader-shell,
  .pdf-reader-shell object,
  .pdf-reader-shell iframe {
    min-height: 72vh;
    height: 72vh;
  }
  .video-embed {
    aspect-ratio: 16 / 9;
  }
  .project-media--pair {
    flex-direction: column;
  }
  .project-media--pair .project-image {
    width: 100%;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .project-media { flex-direction: column; align-items: center; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Sichtbarer Fokus ---------- */

a:focus-visible,
button:focus-visible,
.sidebar-link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(170, 199, 218, 0.35);
}
