/* ==========================================
   JPG MEDIA — Hauptstylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ------------------------------------------
   CSS Variablen & Theming
   ------------------------------------------ */
:root {
  --bg:           #F8F7F4;
  --bg-alt:       #EFECE6;
  --bg-card:      #FFFFFF;
  --text:         #111111;
  --text-sub:     #555555;
  --text-muted:   #888888;
  --accent:       #C8A46A;
  --accent-hover: #B8904F;
  --border:       #E0DDD7;
  --nav-bg:       rgba(248, 247, 244, 0.88);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.13);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --max-w:   1200px;
  --nav-h:   68px;
  --sec-y:   6rem;
  --sec-x:   2rem;

  --t1: 0.2s ease;
  --t2: 0.4s ease;
  --t3: 0.6s ease;
}

[data-theme="dark"] {
  --bg:           #0A0A0A;
  --bg-alt:       #141414;
  --bg-card:      #1A1A1A;
  --text:         #F0EDE6;
  --text-sub:     #A0A0A0;
  --text-muted:   #606060;
  --accent:       #C8A46A;
  --accent-hover: #D8B47A;
  --border:       #262626;
  --nav-bg:       rgba(10, 10, 10, 0.88);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.50);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.65);
}

/* ------------------------------------------
   Reset
   ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background-color var(--t2), color var(--t2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ------------------------------------------
   Typografie
   ------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title  { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; }
.section-sub    { font-size: 1.05rem; color: var(--text-sub); max-width: 580px; line-height: 1.7; }

/* ------------------------------------------
   Layout
   ------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sec-x); }
.section   { padding: var(--sec-y) var(--sec-x); }
.section-header { margin-bottom: 3.5rem; }
.page-content { padding-top: var(--nav-h); }

/* ------------------------------------------
   Navigation
   ------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t2), background var(--t2);
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sec-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  font-family: var(--font-display);   /* Playfair Display für „JPG" */
  font-size: 1.45rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: opacity var(--t1);
  white-space: nowrap;
}
.nav-logo:hover { opacity: 0.75; }

/* „Media" – Inter, gesperrt, Uppercase, etwas kleiner */
.nav-logo .logo-sub {
  font-family: var(--font-body);      /* Inter */
  font-weight: 500;
  font-size: 0.56em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.6;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color var(--t1);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Theme Toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub);
  background: transparent;
  transition: color var(--t1), background var(--t1);
}
.theme-toggle:hover { color: var(--text); background: var(--bg-alt); }
.theme-toggle svg { width: 17px; height: 17px; }

/* Icon visibility by theme */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}
.menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform var(--t2), opacity var(--t2);
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t2);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  transition: color var(--t1);
}
.mobile-nav a:hover { color: var(--accent); }

/* ------------------------------------------
   Footer
   ------------------------------------------ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem var(--sec-x);
  margin-top: var(--sec-y);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.8rem; color: var(--text-muted);
  transition: color var(--t1);
}
.footer-links a:hover { color: var(--text); }

/* ------------------------------------------
   Buttons
   ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: 4px;
  transition: all var(--t1);
  cursor: pointer;
}
.btn-primary {
  background: var(--text); color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: #111; }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); background: var(--bg-alt); }

.btn-accent {
  background: var(--accent); color: #111;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------
   Scroll-Reveal
   ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ------------------------------------------
   Tags / Pills
   ------------------------------------------ */
.tag {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-sub);
}

/* ==========================================
   INDEX PAGE
   ========================================== */

/* Kein Padding-Top wenn Fullscreen-Hero vorhanden */
.hero-page .page-content { padding-top: 0; }

/* ------------------------------------------
   Hero – Polaroid-Effekt
   ------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Polaroid-Container (absolut über die gesamte Hero-Fläche) */
.hero-polaroids {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Polaroid-Rahmen: weißer Rand, deutlich dickerer Boden */
.polaroid {
  position: absolute;
  background: #FAFAF8;
  padding: 10px 10px 34px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.11),
    0 2px 8px  rgba(0, 0, 0, 0.07);
  opacity: 0;                     /* startet unsichtbar   */
  transition: opacity 0.9s ease;  /* sanftes Einblenden   */
}
.polaroid.is-visible { opacity: 0.36; }

/* Hochkant-Bild (3:4) mit eigenem Crossfade-Stack */
.pol-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.pol-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.pol-slide.is-active { opacity: 1; }

/* Positionen: leicht überlappend, wie zufällig hingelegt */
.pol-1 {
  width: clamp(160px, 14.5vw, 225px);
  top:  16%;
  left: 32%;
  transform: rotate(-5.5deg);
}
.pol-2 {
  width: clamp(145px, 12.5vw, 195px);
  top:  30%;
  left: 47%;
  transform: rotate(3.2deg);
}
.pol-3 {
  width: clamp(155px, 13.5vw, 210px);
  top:  11%;
  left: 53%;
  transform: rotate(-2deg);
}

/* Hero-Text: immer im Vordergrund (z-index 2 > polaroids z-index 1) */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3.5rem) var(--sec-x) 4.5rem;
}

/* Typografie – CSS-Variablen für Hell + Dunkel */
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
}
.hero-name {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700; line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-tagline {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-sub);
  font-weight: 300;
  letter-spacing: 0.04em; margin-bottom: 2.75rem;
}
.hero-tagline strong { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------
   Nav – helle Variante über dunklem Hero
   ------------------------------------------ */
.nav.nav--light {
  background: transparent !important;
  border-bottom-color: transparent !important;
}
.nav.nav--light .nav-logo,
.nav.nav--light .nav-links a,
.nav.nav--light .theme-toggle {
  color: rgba(255,255,255,0.82);
}
.nav.nav--light .nav-links a:hover,
.nav.nav--light .nav-logo:hover { color: #fff; opacity: 1; }
.nav.nav--light .menu-btn span { background: rgba(255,255,255,0.85); }

/* Bereichskarten */
.bereich-section {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--sec-x) var(--sec-y);
}
.bereich-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.bereich-card {
  position: relative; overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  cursor: pointer;
  transition: transform var(--t2), box-shadow var(--t2);
}
.bereich-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.bc-bg {
  position: absolute; inset: 0;
  transition: transform var(--t3);
}
.bereich-card:hover .bc-bg { transform: scale(1.05); }

.bc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
}
.bc-agentur .bc-bg  { background: linear-gradient(135deg, #0D1B2A 0%, #1A2B4A 40%, #2A1A3A 100%); }
.bc-portfolio .bc-bg { background: linear-gradient(135deg, #0D2A1A 0%, #1A3A28 40%, #2A1A0A 100%); }

.bc-content {
  position: relative; z-index: 1;
  color: #fff;
}
.bc-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.65rem;
}
.bc-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-family: var(--font-display);
  color: #fff; margin-bottom: 0.65rem;
}
.bc-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1.5rem;
  max-width: 340px;
}
.bc-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t1), border-color var(--t1);
}
.bereich-card:hover .bc-arrow { background: var(--accent); border-color: var(--accent); }
.bc-arrow svg { width: 15px; height: 15px; color: #fff; }

/* ==========================================
   PAGE HERO (shared sub-pages)
   ========================================== */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) var(--sec-x) 5rem;
  max-width: var(--max-w); margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sec-y);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 720px; line-height: 1.1;
}
.page-hero p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-sub); max-width: 560px;
}

/* ==========================================
   AGENTUR PAGE
   ========================================== */

/* Leistungen */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.leistung-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  transition: background var(--t1);
}
.leistung-card:last-child { border-right: none; }
.leistung-card:hover { background: var(--bg-alt); }

.leistung-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.leistung-card h3 {
  font-size: 1.25rem; margin-bottom: 0.75rem;
}
.leistung-card p {
  font-size: 0.88rem; color: var(--text-sub);
  line-height: 1.75; margin-bottom: 1.25rem;
}
.leistung-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Referenzen */
.referenzen-grid { display: grid; gap: 1.25rem; }

.referenz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: box-shadow var(--t2);
}
.referenz-card:hover { box-shadow: var(--shadow-md); }

.ref-visual {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem; gap: 1rem;
  border-right: 1px solid var(--border);
}
.ref-logo {
  width: 76px; height: 76px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; color: #fff;
}
.ref-logo-rk  { background: linear-gradient(135deg, #1A4060, #0A2535); }
.ref-logo-cg  { background: linear-gradient(135deg, #5A2A10, #3A1A08); }
.ref-logo-mk  { background: linear-gradient(135deg, #2A1050, #180830); }

.ref-client-name {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); text-align: center;
}

.ref-body { padding: 2.5rem; }
.ref-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: 1rem; margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.ref-title { font-size: 1.5rem; }
.ref-badge {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  background: var(--accent); color: #111;
  border-radius: 3px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; white-space: nowrap;
}
.ref-desc {
  font-size: 0.88rem; color: var(--text-sub);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.ref-services-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.65rem;
}
.ref-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* CTA */
.cta-section {
  text-align: center;
  padding: var(--sec-y) var(--sec-x);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-sub); font-size: 1.05rem;
  margin-bottom: 2rem; max-width: 500px;
  margin-left: auto; margin-right: auto;
}

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */
.portfolio-header {
  padding: calc(var(--nav-h) + 4rem) var(--sec-x) 3.5rem;
  max-width: var(--max-w); margin: 0 auto;
}
.portfolio-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 0.75rem;
}
.portfolio-header p {
  color: var(--text-sub); font-size: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.artist-card {
  position: relative; overflow: hidden;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  display: block;
}
.artist-bg {
  position: absolute; inset: 0;
  transition: transform 0.65s ease;
}
.artist-card:hover .artist-bg { transform: scale(1.06); }

.artist-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.0) 55%);
  opacity: 0;
  transition: opacity var(--t2);
}
.artist-card:hover .artist-overlay { opacity: 1; }

.artist-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  transform: translateY(8px); opacity: 0;
  transition: opacity var(--t2), transform var(--t2);
}
.artist-card:hover .artist-name { opacity: 1; transform: translateY(0); }

/* Artist placeholder colors */
.ab-1 { background: linear-gradient(150deg, #2C2C2C 0%, #181818 100%); }
.ab-2 { background: linear-gradient(150deg, #1C2B45 0%, #0C1828 100%); }
.ab-3 { background: linear-gradient(150deg, #1C3A26 0%, #0C2015 100%); }
.ab-4 { background: linear-gradient(150deg, #3A1C28 0%, #200C15 100%); }
.ab-5 { background: linear-gradient(150deg, #1C2A3A 0%, #0C1820 100%); }
.ab-6 { background: linear-gradient(150deg, #2C1C0C 0%, #180C05 100%); }

/* ==========================================
   KÜNSTLER-SEITEN
   ========================================== */
.kuenstler-hero {
  padding: calc(var(--nav-h) + 4rem) var(--sec-x) 3rem;
  max-width: var(--max-w); margin: 0 auto;
}
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color var(--t1);
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 15px; height: 15px; }
.kuenstler-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 0.5rem;
}
.kuenstler-hero p { color: var(--text-muted); font-size: 0.875rem; letter-spacing: 0.05em; }

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--sec-x);
}
.galerie-item { overflow: hidden; border-radius: 2px; }
.galerie-item--wide { grid-column: span 2; }

.galerie-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem; letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.55s ease, filter 0.3s ease;
}
.galerie-item--wide .galerie-placeholder { aspect-ratio: 16 / 9; }
.galerie-item:hover .galerie-placeholder { transform: scale(1.04); filter: brightness(1.1); }

/* ==========================================
   KONTAKT PAGE
   ========================================== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--sec-y) var(--sec-x);
}
.kontakt-info h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}
.kontakt-info > p {
  color: var(--text-sub); font-size: 1rem;
  line-height: 1.75; margin-bottom: 2.5rem;
}
.soziale-links { display: flex; flex-direction: column; gap: 0.85rem; }

.sozial-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--t1), background var(--t1);
  color: var(--text);
}
.sozial-link:hover { border-color: var(--accent); background: var(--bg-alt); }

.sozial-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.si-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.si-linkedin  { background: #0A66C2; }
.si-youtube   { background: #FF0000; }

.sozial-info { display: flex; flex-direction: column; }
.sozial-name   { font-size: 0.9rem; font-weight: 600; }
.sozial-handle { font-size: 0.75rem; color: var(--text-muted); }

/* Formular */
.kontakt-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}
.kontakt-form h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.kontakt-form > p { color: var(--text-sub); font-size: 0.875rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-sub); margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text); font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.18);
}
.form-group textarea { height: 145px; resize: vertical; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--text); color: var(--bg);
  border: none; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--t1), color var(--t1);
}
.form-submit:hover { background: var(--accent); color: #111; }

/* ==========================================
   IMPRESSUM / DATENSCHUTZ
   ========================================== */
.legal-page {
  max-width: 700px; margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) var(--sec-x) var(--sec-y);
}
.legal-page h1 { font-size: 2.5rem; margin-bottom: 0.4rem; color: #fff; }
.legal-page .legal-sub { color: rgba(255,255,255,0.42); font-size: 0.875rem; margin-bottom: 3rem; }

.legal-block {
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-block:last-child { border-bottom: none; }
.legal-block h2 {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.9);
}
.legal-block p {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 0.4rem;
}
.legal-block a { color: var(--accent); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .leistung-card { border-right: none; border-bottom: 1px solid var(--border); }
  .leistung-card:last-child { border-bottom: none; }
  .referenz-card { grid-template-columns: 1fr; }
  .ref-visual { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; justify-content: flex-start; padding: 1.5rem 2rem; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 3rem; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --sec-y: 4rem; --sec-x: 1.25rem; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .bereich-grid { grid-template-columns: 1fr; }
  .bereich-card { aspect-ratio: 3 / 2; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: 1fr; }
  .galerie-item--wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Polaroids auf Mobile: kleiner, weiter rechts – bleiben sichtbar
     aber stören den Text nicht                                       */
  .pol-1 { width: 110px; top: 10%; left: auto; right: 2%; transform: rotate(-5deg); }
  .pol-2 { width: 100px; top: 28%; left: auto; right: 12%; transform: rotate(3deg); }
  .pol-3 { width: 105px; top: 18%; left: auto; right: 20%; transform: rotate(-2deg); }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .kontakt-form { padding: 1.75rem; }
}

/* ==========================================
   KÜNSTLER-PREVIEW (index.html only)
   ========================================== */
.kuenstler-preview {
  padding: 0 0 var(--sec-y);
}

.kp-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sec-x) 2rem;
}
.kp-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-top: 0;
}

/* Scroll-Container: bündig mit Viewport-Kanten */
.kp-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  padding: 0 var(--sec-x);
  cursor: grab;
}
.kp-scroll-wrap::-webkit-scrollbar { display: none; }
.kp-scroll-wrap:active { cursor: grabbing; }

.kp-scroll {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-bottom: 4px;           /* Verhindert Clipping beim Skalieren */
}

/* Einzelkarte */
.kp-card {
  position: relative;
  flex: 0 0 300px;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
}

.kp-bg {
  position: absolute; inset: 0;
  transition: transform 0.55s ease;
}
.kp-card:hover .kp-bg { transform: scale(1.05); }

.kp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t2);
}
.kp-card:hover .kp-overlay { opacity: 1; }

.kp-name {
  position: absolute;
  bottom: 1.25rem; left: 1.4rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t2), transform var(--t2);
}
.kp-card:hover .kp-name { opacity: 1; transform: translateY(0); }

/* Footer-Link */
.kp-footer {
  max-width: var(--max-w);
  margin: 1.75rem auto 0;
  padding: 0 var(--sec-x);
}
.kp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t1), gap var(--t1);
}
.kp-link:hover {
  color: var(--accent);
  gap: 0.75rem;
}
.kp-link svg { width: 15px; height: 15px; }

@media (max-width: 768px) {
  .kp-card { flex: 0 0 220px; height: 300px; }
}

/* ==========================================
   STREAM PAGE (index.html)
   ========================================== */

/* ── Hintergrundfarbe – Tiefseeton ───────────────
   Variante 1: #0a1628  – tiefes Marineblau
   Variante 2: #0d1f2d  – Meeresblau (aktiv)
   Variante 3: #091520  – fast schwarzes Meerestief
─────────────────────────────────────────────── */
body.stream-page {
  overflow: hidden;
  height: 100vh;
  background: #0d1f2d;
}

/* ── Nav auf dunklem Hintergrund ─────────────────── */
body.stream-page .nav {
  background: transparent;
  border-bottom-color: transparent;
}
body.stream-page .nav.scrolled {
  background: rgba(9, 21, 32, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
body.stream-page .nav-logo,
body.stream-page .nav-links a,
body.stream-page .theme-toggle {
  color: rgba(255, 255, 255, 0.78);
}
body.stream-page .nav-links a:hover,
body.stream-page .nav-logo:hover {
  color: rgba(255, 255, 255, 1);
  opacity: 1;
}
body.stream-page .nav-links a.active {
  color: var(--accent);
  opacity: 1;
}
body.stream-page .menu-btn span {
  background: rgba(255, 255, 255, 0.78);
}

/* ── Fließender Foto-Hintergrund ─────────────────── */
.stream-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  contain: layout style;   /* Reflow auf diesen Bereich begrenzen */
}

/* Spalten: absolut positioniert, per JS animiert (RAF-Loop) */
.stream-col {
  position: absolute;
  top: 0;
  will-change: transform;
  transform: translateZ(0);  /* GPU-Compositing-Layer */
}

.stream-item {
  width: 100%;
  border-radius: 4px;
  opacity: 0.42;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.35s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stream-item:hover {
  opacity: 0.7;
}

/* ── Hover-Vorschau ──────────────────────────────── */
.hover-preview {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hover-preview.is-active {
  opacity: 1;
}

/* ── Lade-Feedback: dezenter Puls während Preview lädt ── */
@keyframes preview-pulse {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.06; }
}

.hover-preview.is-loading .hover-prev-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(200, 220, 240, 1);
  animation: preview-pulse 1.1s ease-in-out infinite;
  pointer-events: none;
}

.hover-prev-img {
  /* Höhen-basierte Größe: Breite wird via aspect-ratio berechnet */
  height: 76vh;
  width: auto;
  max-width: 82vw;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  position: relative;      /* Wasserzeichen-Overlay ankern */
  border-radius: 10px;
  overflow: hidden;        /* Wasserzeichen an Rundungen clippen */
  opacity: 0.88;           /* Leicht transparent: Name + Karte scheinen durch */
  pointer-events: none;
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.65),
    0 16px 40px  rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Wasserzeichen – Name scheint durch das Foto ─────
   Weißer Text bei 14–15 % Deckkraft: sichtbar wenn man
   weiß dass er da ist, nicht aufdringlich.
────────────────────────────────────────────────────── */
.hover-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  padding: 1.5rem;
}

.hw-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.26);
  text-align: center;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.55em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hw-brand {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 1.05vw, 0.78rem);
  font-weight: 500;
  color: rgba(200, 164, 106, 0.30);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ── Mittlere Bühne ──────────────────────────────── */
.center-stage {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: calc(var(--nav-h) + 1rem) 1.5rem 4rem;
}

/* Glassmorphismus-Karte mit dunklem Hintergrund */
.center-card {
  pointer-events: auto;
  text-align: center;
  padding: 3.2rem 3rem 2.25rem;
  background: rgba(9, 21, 32, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 48px  rgba(0, 0, 0, 0.55),
    0 2px 10px  rgba(0, 0, 0, 0.3);
  max-width: 540px;
  width: 100%;
  /* overflow:hidden + isolation verhindert schwarze Dreiecks-Artefakte
     bei backdrop-filter + border-radius in Chrome/Blink */
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

/* Center card typografie – weiß auf dunklem Hintergrund */
.center-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.center-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.center-brand {
  font-family: var(--font-body);   /* Inter – klar, serifenlos */
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-style: normal;
}

.center-brand span {
  font-style: normal;
  font-weight: 500;
}

.center-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 2rem;
  letter-spacing: 0.03em;
}

/* ── Choice Cards ────────────────────────────────── */
.center-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.1rem 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.choice-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.choice-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.choice-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.choice-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

.choice-arrow {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 0.75rem;
  transition: transform 0.2s ease;
}

.choice-card:hover .choice-arrow {
  transform: translateX(4px);
}

/* ── Stream Footer ───────────────────────────────── */
.stream-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(to top, rgba(9, 21, 32, 0.88) 0%, transparent 100%);
  pointer-events: none;
}

.stream-footer p {
  margin: 0;
}

.stream-footer nav {
  display: flex;
  gap: 1.25rem;
  pointer-events: auto;
}

.stream-footer nav a {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.2s ease;
}

.stream-footer nav a:hover {
  color: var(--accent);
}

/* ── Responsive ──────────────────────────────────── */
/* Spaltenanzahl wird von calcCols() in stream.js gesteuert –
   keine CSS nth-child-Regeln nötig. */

@media (max-width: 768px) {
  .center-card {
    padding: 2rem 1.5rem 1.75rem;
    margin: 0 0.5rem;
  }

  .center-stage {
    padding: calc(var(--nav-h) + 0.5rem) 1rem 4rem;
  }
}

@media (max-width: 540px) {
  .center-choices {
    grid-template-columns: 1fr;
  }

  .center-name {
    font-size: 2rem;
  }

  .stream-footer {
    padding: 0.5rem 1.2rem;
  }

  .hover-prev-img {
    height: 60vh;
    max-width: 90vw;
  }
}

/* ==========================================
   JOURNAL / BLOG PAGES
   ========================================== */

/* ── Seitenhintergrund ───────────────────────────── */
body.journal-page {
  background: #0d1f2d;
}

/* ── Nav auf dunklem Hintergrund (wie stream-page) ── */
body.journal-page .nav {
  background: transparent;
  border-bottom-color: transparent;
}
body.journal-page .nav.scrolled {
  background: rgba(9, 21, 32, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
body.journal-page .nav-logo,
body.journal-page .nav-links a,
body.journal-page .theme-toggle {
  color: rgba(255, 255, 255, 0.78);
}
body.journal-page .nav-links a:hover,
body.journal-page .nav-logo:hover {
  color: #fff;
  opacity: 1;
}
body.journal-page .nav-links a.active {
  color: var(--accent);
  opacity: 1;
}
body.journal-page .menu-btn span {
  background: rgba(255, 255, 255, 0.78);
}

/* ── Journal-Übersicht: Hero ─────────────────────── */
.journal-hero {
  padding: calc(var(--nav-h) + 5.5rem) var(--sec-x) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.journal-hero .label {
  color: var(--accent);
}

.journal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1.2rem;
}

.journal-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 500px;
  line-height: 1.7;
  margin: 0;
}

/* ── Post-Karten-Grid ────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem var(--sec-x) 7rem;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

/* Hover: Bild skaliert sanft */
.post-card-link:hover .post-card-img {
  transform: scale(1.03);
}
.post-card-link:hover .post-readmore {
  color: var(--accent);
  gap: 0.5rem;
}

/* ── Bild-Platzhalter ────────────────────────────── */
.post-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  margin-bottom: 1.4rem;
  overflow: hidden;
  transition: transform 0.45s ease;
  /* Overflow für Border-Radius beim Scale */
  flex-shrink: 0;
}

/* Drei verschiedene Gradients als Platzhalter */
.pc-img-1 {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d1f2d 50%, #1e3d58 100%);
}
.pc-img-2 {
  background: linear-gradient(135deg, #1d3a4a 0%, #102030 50%, #1a3545 100%);
}
.pc-img-3 {
  background: linear-gradient(135deg, #152a3a 0%, #0a1e2c 50%, #1c3248 100%);
}

/* ── Karten-Inhalt ───────────────────────────────── */
.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.55rem;
  display: block;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.post-teaser {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0 0 1.2rem;
  flex: 1;
}

.post-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}
.post-readmore svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Journal-Footer ──────────────────────────────── */
.journal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.journal-footer .footer-copy,
.journal-footer .footer-links a {
  color: rgba(255, 255, 255, 0.3);
}
.journal-footer .footer-links a:hover {
  color: var(--accent);
}

/* ── Blog-Post Seite ─────────────────────────────── */
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  padding: calc(var(--nav-h) + 2rem) var(--sec-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
}
.post-back:hover {
  color: var(--accent);
  gap: 0.6rem;
}
.post-back svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.post-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--sec-x);
}

.post-page-header {
  padding: 2.5rem 0 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 3rem;
}

.post-page-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.post-page-date {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--accent);
}

.post-page-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  padding: 0.25em 0.7em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
}

.post-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}

.post-page-intro {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
}

/* ── Titelbild (groß, über voller Breite) ──────── */
.post-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin: 0 0 3.5rem;
  overflow: hidden;
}

.post-hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d1f2d 60%, #1e3d58 100%);
}

/* ── Fließtext ────────────────────────────────── */
.post-content {
  padding-bottom: 6rem;
}

.post-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.6rem;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 3rem 0 1rem;
  letter-spacing: -0.01em;
}

.post-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.5rem 0 0.8rem;
}

.post-content strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ── Eingebettetes Bild im Text ──────────────── */
.post-img {
  width: 100%;
  border-radius: 6px;
  margin: 2.5rem 0;
  overflow: hidden;
}
.post-img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
}
.post-img-caption {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 0.6rem;
  text-align: center;
  font-style: italic;
}

/* Zwei-Spalten-Bild-Grid */
.post-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}
.post-img-grid .post-img {
  margin: 0;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
    padding-top: 3rem;
    gap: 3rem;
  }
  .post-img-grid {
    grid-template-columns: 1fr;
  }
  .journal-hero h1 {
    font-size: 2.8rem;
  }
  .post-page-title {
    font-size: 2rem;
  }
}

/* ==========================================
   AGENTUR PAGE (dark, permanentes Design)
   ========================================== */

/* ── Hintergrund & Navigation ─────────────────── */
body.agentur-page {
  background: #0d1f2d;
}

body.agentur-page .nav {
  background: transparent;
  border-bottom-color: transparent;
}
body.agentur-page .nav.scrolled {
  background: rgba(9, 21, 32, 0.90);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
body.agentur-page .nav-logo,
body.agentur-page .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}
body.agentur-page .nav-links a:hover,
body.agentur-page .nav-logo:hover {
  color: #fff;
  opacity: 1;
}
body.agentur-page .nav-links a.active {
  color: var(--accent);
  opacity: 1;
}
body.agentur-page .menu-btn span {
  background: rgba(255, 255, 255, 0.78);
}

/* Dark overrides für globale Hilfsklassen */
body.agentur-page .label {
  color: var(--accent);
}
body.agentur-page .tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
}

/* ── Layout-Container ─────────────────────────── */
.ag-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sec-x);
}

.ag-section {
  padding: 7rem 0;
}

.ag-section--stripe {
  background: rgba(0, 0, 0, 0.20);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ag-section-head {
  margin-bottom: 4rem;
  max-width: 640px;
}
.ag-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0;
}

/* ── Hero ─────────────────────────────────────── */
.ag-hero {
  padding: calc(var(--nav-h) + 8rem) 0 8rem;
  position: relative;
  overflow: hidden;
}

/* Subtiles Licht von oben */
.ag-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center top,
    rgba(200, 164, 106, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.ag-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sec-x);
}

.ag-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  max-width: 780px;
  margin: 0.75rem 0 1.75rem;
}
/* „Reichweite." in Goldton hervorheben */
.ag-hero-title em {
  font-style: normal;
  color: var(--accent);
}

.ag-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.ag-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.22s ease, color 0.22s ease;
}
.ag-hero-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ag-hero-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
}
.ag-hero-btn:hover svg {
  transform: translateX(4px);
}

/* ── Service-Karten ───────────────────────────── */
.ag-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-service-card {
  background: #222222;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease;
}

/* Goldener Streifen oben beim Hover */
.ag-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ag-service-card:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.18);
}
.ag-service-card:hover::before {
  opacity: 1;
}

.ag-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 164, 106, 0.09);
  border: 1px solid rgba(200, 164, 106, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.ag-service-icon svg {
  width: 20px;
  height: 20px;
}

.ag-service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.ag-service-desc {
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.78;
  margin-bottom: 1.5rem;
}

.ag-service-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── Prozess-Schritte ─────────────────────────── */
.ag-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  position: relative;
}

/* Verbindungslinie zwischen den Schritten – entfernt */
.ag-process::before {
  display: none;
}

.ag-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(200, 164, 106, 0.10);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.ag-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.ag-step-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.78;
}

/* ── Referenz-Karten ──────────────────────────── */
.ag-refs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ag-ref-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.ag-ref-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Karten-Header: Logo + Name + Badge */
.ag-ref-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

/* Initialen-Logo (veraltet, aber erhalten für Kompatibilität) */
.ag-ref-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.ag-logo-rk { background: linear-gradient(135deg, #1E5080 0%, #0A2840 100%); }
.ag-logo-cg { background: linear-gradient(135deg, #6A3A18 0%, #3A1E0A 100%); }
.ag-logo-mk { background: linear-gradient(135deg, #3A1870 0%, #1E0A40 100%); }

/* Profilbild mit Instagram-Gradient-Ring */
.ag-ref-av-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  flex-shrink: 0;
}
.ag-ref-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  border: 2px solid #111;
  box-sizing: border-box;
}

.ag-ref-name-block { flex: 1; min-width: 0; }
.ag-ref-client-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}
.ag-ref-sector {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.ag-ref-badge {
  display: inline-block;
  padding: 0.26rem 0.75rem;
  background: rgba(200, 164, 106, 0.10);
  border: 1px solid rgba(200, 164, 106, 0.22);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Karten-Body: nur noch Beschreibungsbereich */
.ag-ref-body {
  display: block;
}

.ag-ref-desc-area {
  padding: 1.75rem 2rem 2rem;
}
.ag-ref-desc-area > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.82;
  margin-bottom: 1.25rem;
}

/* Highlight-Callout (Besonderheit) */
.ag-ref-highlight {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(200, 164, 106, 0.07);
  border-left: 2px solid rgba(200, 164, 106, 0.35);
  border-radius: 0 4px 4px 0;
  font-size: 0.8rem;
  color: rgba(200, 164, 106, 0.72);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.ag-ref-highlight svg {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.8;
}

.ag-ref-services-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
}

.ag-ref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── Instagram Folgen-Button ─────────────────── */
.ag-ref-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.ag-ref-ig-btn:hover {
  border-color: rgba(200, 164, 106, 0.30);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}
.ag-ref-ig-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.70;
  transition: opacity 0.22s ease;
}
.ag-ref-ig-btn:hover svg { opacity: 1; }

/* Instagram Feed-Platzhalter (wird durch neue Karten-Struktur ersetzt) */
.ag-ref-feed {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ag-feed-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.ag-ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 5px;
  overflow: hidden;
  flex: 1;
}
.ag-ig-cell {
  aspect-ratio: 1;
  opacity: 0.4;
}

/* Zellen-Gradients pro Kunde */
.ag-ref-rk .ag-ig-cell:nth-child(1) { background: linear-gradient(135deg, #1a3a5c, #0d1f2d); }
.ag-ref-rk .ag-ig-cell:nth-child(2) { background: linear-gradient(135deg, #0d2840, #091820); }
.ag-ref-rk .ag-ig-cell:nth-child(3) { background: linear-gradient(135deg, #163050, #091a2a); }
.ag-ref-rk .ag-ig-cell:nth-child(4) { background: linear-gradient(135deg, #0a2030, #060f18); }
.ag-ref-rk .ag-ig-cell:nth-child(5) { background: linear-gradient(135deg, #173560, #0b2035); }
.ag-ref-rk .ag-ig-cell:nth-child(6) { background: linear-gradient(135deg, #0d2840, #081520); }

.ag-ref-cg .ag-ig-cell:nth-child(1) { background: linear-gradient(135deg, #3a2010, #1e100a); }
.ag-ref-cg .ag-ig-cell:nth-child(2) { background: linear-gradient(135deg, #2a1808, #160c04); }
.ag-ref-cg .ag-ig-cell:nth-child(3) { background: linear-gradient(135deg, #301a0a, #180d05); }
.ag-ref-cg .ag-ig-cell:nth-child(4) { background: linear-gradient(135deg, #1e1006, #100804); }
.ag-ref-cg .ag-ig-cell:nth-child(5) { background: linear-gradient(135deg, #3a2215, #1e1208); }
.ag-ref-cg .ag-ig-cell:nth-child(6) { background: linear-gradient(135deg, #251505, #120a03); }

.ag-ref-mk .ag-ig-cell:nth-child(1) { background: linear-gradient(135deg, #2a1060, #150830); }
.ag-ref-mk .ag-ig-cell:nth-child(2) { background: linear-gradient(135deg, #1a0840, #0d0420); }
.ag-ref-mk .ag-ig-cell:nth-child(3) { background: linear-gradient(135deg, #230d55, #110628); }
.ag-ref-mk .ag-ig-cell:nth-child(4) { background: linear-gradient(135deg, #140638, #0a031c); }
.ag-ref-mk .ag-ig-cell:nth-child(5) { background: linear-gradient(135deg, #2d1268, #170935); }
.ag-ref-mk .ag-ig-cell:nth-child(6) { background: linear-gradient(135deg, #1a0a45, #0d0522); }

.ag-feed-note {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.20);
  font-style: italic;
  text-align: center;
}

/* ── Abschluss-CTA ────────────────────────────── */
.ag-final-cta {
  background: #081523;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8rem 0;
  text-align: center;
}

.ag-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}
.ag-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1.25rem;
}
.ag-cta-inner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.78;
  margin: 0 auto 2.75rem;
  max-width: 440px;
}

.ag-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2.25rem;
  background: var(--accent);
  color: #0d1f2d;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.ag-final-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 164, 106, 0.22);
}
.ag-final-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
}
.ag-final-btn:hover svg {
  transform: translateX(4px);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .ag-services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ag-ref-body {
    grid-template-columns: 1fr;
  }
  .ag-ref-desc-area {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ag-ref-feed {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
  .ag-ig-grid {
    width: 180px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .ag-hero {
    padding: calc(var(--nav-h) + 5rem) 0 5rem;
  }
  .ag-hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  .ag-section {
    padding: 5rem 0;
  }
  .ag-services-grid {
    grid-template-columns: 1fr;
  }
  .ag-process {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ag-process::before {
    display: none;
  }
  .ag-ref-header {
    padding: 1.25rem 1.5rem;
  }
  .ag-ref-desc-area {
    padding: 1.5rem;
  }
  .ag-ref-feed {
    flex-direction: column;
    padding: 1.5rem;
  }
  .ag-ig-grid {
    width: 100%;
  }
  .ag-final-cta {
    padding: 5rem 0;
  }
}

/* ════════════════════════════════════════════
   INSTAGRAM REEL PLAYER  (agentur.html)
   ════════════════════════════════════════════ */

/* ── Section Layout ──────────────────────── */
.ag-reel-section {
  padding: calc(var(--nav-h) + 6rem) 0 7rem;
  position: relative;
}

.ag-reel-layout {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 5rem;
  align-items: center;
}

/* Scale hero title down inside the narrower text column */
.ag-reel-text .ag-hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  max-width: 540px;
  margin-top: 0.6rem;
}

.ag-reel-text .ag-hero-sub {
  max-width: 400px;
  margin-bottom: 2rem;
}

/* Metrics row */
.ag-reel-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.ag-reel-stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.ag-reel-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.3rem;
}

/* ── Phone Container ─────────────────────── */
.ag-reel-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Gold glow behind phone */
.ag-reel-phone::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center,
    rgba(200, 164, 106, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Phone Mockup ────────────────────────── */
.phone-mock {
  position: relative;
  z-index: 1;
  width: 295px;
  height: 640px;
  background: #070707;
  border-radius: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 6px #0e0e0e,
    0 0 0 7.5px rgba(255, 255, 255, 0.06),
    0 50px 100px rgba(0, 0, 0, 0.78),
    0 25px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  user-select: none;
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 33px;
  background: #000;
  border-radius: 18px;
  z-index: 60;
}

/* Status Bar */
.phone-status {
  height: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 22px 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

.ps-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  font-feature-settings: 'tnum';
}

.ps-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.88);
}

.ps-icons svg { display: block; }

/* IG Reels App Bar */
.ig-app-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

.ig-app-title {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.ig-app-icons {
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
}

.ig-app-icons svg { display: block; }

/* ── Reel Viewport ───────────────────────── */
.ig-reel-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
}

/* Sliding track – height & transform set by JS */
#rp-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  will-change: transform;
}

/* Individual slides – height set by calibrate() */
.ig-reel-slide {
  width: 100%;
  display: block;
  position: relative;   /* Anker für absolut positioniertes <video> */
  overflow: hidden;
  background: #0d0d0d;  /* Fallback wenn Video noch lädt */
}

/* Video füllt den Slide komplett (object-fit: cover = kein Letterboxing) */
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* Bottom-to-top gradient overlay */
.ig-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15)  0%,
    transparent          22%,
    transparent          44%,
    rgba(0, 0, 0, 0.52)  72%,
    rgba(0, 0, 0, 0.90) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Progress bar */
.ig-progress-wrap {
  position: absolute;
  top: 9px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 1px;
  z-index: 20;
  overflow: hidden;
}

#rp-progress {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 1px;
}

/* Bottom-left: user info + description + audio */
.ig-reel-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 60px;
  padding: 0 12px 14px;
  z-index: 10;
}

.ig-reel-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.ig-user-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.ig-user-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.ig-follow-btn {
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
}

.ig-reel-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ig-audio-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
  overflow: hidden;
}

.ig-audio-bar svg { flex-shrink: 0; display: block; }

.ig-audio-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right action sidebar */
.ig-reel-actions {
  position: absolute;
  right: 6px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.ig-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ig-action-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ig-action-btn svg {
  display: block;
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

#rp-heart.is-liked svg {
  fill: #ed4956;
  stroke: #ed4956;
}

.ig-action-count {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

/* Poster avatar at bottom of sidebar */
.ig-poster-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* ── Heart Burst ─────────────────────────── */
#rp-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 30;
  pointer-events: none;
}

#rp-burst.is-active {
  animation: rp-burst-pop 0.95s ease-out forwards;
}

@keyframes rp-burst-pop {
  0%   { transform: translate(-50%, -50%) scale(0.15); opacity: 1; }
  35%  { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5);  opacity: 0; }
}

#rp-burst svg {
  width: 82px;
  height: 82px;
  fill: rgba(237, 73, 86, 0.88);
  stroke: none;
  filter: drop-shadow(0 0 18px rgba(237, 73, 86, 0.55));
  display: block;
}

/* ── Comment Popup ───────────────────────── */
#rp-comment-popup {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 62px;
  padding: 0 10px;
  z-index: 25;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

#rp-comment-popup.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rp-cp-inner {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

#rp-cp-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.47rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  background-size: cover;
  background-position: center;
}

.rp-cp-text {
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}

#rp-cp-user {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  margin-right: 4px;
}

/* ── Reel Section Responsive ─────────────── */
@media (max-width: 1080px) {
  .ag-reel-layout {
    grid-template-columns: 1fr 295px;
    gap: 3.5rem;
  }
}

@media (max-width: 900px) {
  .ag-reel-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-items: center;
  }
  .ag-reel-phone { order: -1; }
  .ag-reel-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ag-reel-text .ag-hero-title {
    max-width: 100%;
  }
  .ag-reel-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .phone-mock {
    width: 260px;
    height: 564px;
    border-radius: 42px;
  }
  .ag-reel-section {
    padding: calc(var(--nav-h) + 3rem) 0 5rem;
  }
}

/* ════════════════════════════════════════════
   KARUSSELL-IPHONES  (agentur.html)
   Abschnitt „Meine Arbeitsweise"
   ════════════════════════════════════════════ */

/* ── Zwei-Phones-Layout ──────────────────── */
.ag-carousel-duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 5rem;
  padding-bottom: 0.5rem;
}

/* Zweites Phone leicht nach unten versetzt → natürlicher Look */
.ag-carousel-phone--lower {
  margin-top: 2.5rem;
}

/* ── IG-Wordmark (Feed-Header) ───────────── */
.ig-app-title--ig {
  font-family: var(--font-display); /* Playfair Display italic */
  font-style: italic;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

/* ── Post-Header (Avatar + Name + Zeit + Menü) ── */
.ig-post-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  flex-shrink: 0;
}

/* Gradient Story-Ring um Avatar */
.ig-ph-story-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  flex-shrink: 0;
}

.ig-ph-av {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #111;
  /* 2px Abstand zwischen Bild und Gradient-Ring */
  border: 2px solid #080808;
  box-sizing: border-box;
}

.ig-ph-info {
  flex: 1;
  min-width: 0;
}

.ig-ph-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.ig-ph-time {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.36);
  margin-top: 2px;
  line-height: 1;
}

.ig-ph-more {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  cursor: default;
  letter-spacing: 0.04em;
  line-height: 0.8;
  padding: 4px;
  flex-shrink: 0;
  user-select: none;
}

/* ── Karussell-Bereich ───────────────────── */
.ig-carousel {
  flex-shrink: 0;
  width: 100%;
  position: relative; /* für absolute Pfeil-Buttons */
}

/* Viewport: overflow:hidden erzeugt den Peek-Effekt */
.cp-viewport {
  overflow: hidden;
  width: 100%;
}

/* Scrollbarer Track – transform per JS gesetzt */
.cp-track {
  display: flex;
  padding-left: 8px;  /* Aktives Bild hat 8px Abstand links */
  gap: 8px;           /* Abstand zwischen Slides (= Peek-Lücke) */
  will-change: transform;
  transition: transform 0.44s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
  cursor: grab;
}
.cp-track:active { cursor: grabbing; }

/* Einzelner Slide: 268px × 268px (quadratisch – classic IG 1:1) */
.cp-slide {
  width: 268px;
  min-width: 268px;
  height: 268px;
  flex-shrink: 0;
  overflow: hidden;
  background: #181818; /* Fallback während Bild lädt */
}

.cp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Punkte-Indikatoren (Instagram-Style) */
.cp-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 6px 0 4px;
}

.cp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.28s ease, width 0.28s ease, height 0.28s ease;
  flex-shrink: 0;
}

.cp-dot.is-active {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.92);
}

/* ── Karussell-Pfeile ─────────────────────────────────────── */
.cp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  padding: 0;
  line-height: 0;
  transition: opacity 0.20s ease, background 0.20s ease, border-color 0.20s ease;
}
.cp-arrow--prev { left: 10px; }
/* Pfeil rechts bleibt im aktiven Slide – nicht im Peek-Bereich */
.cp-arrow--next { right: 52px; }

.cp-arrow:hover {
  background: rgba(12, 12, 12, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
}
.cp-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

/* Pfeil ausblenden wenn am Rand – sofort, kein Delay */
.cp-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cp-arrow svg {
  display: block;
  flex-shrink: 0;
}

/* ── Post-Aktionen (Like / Kommentar / Teilen | Bookmark) ── */
.ig-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px 3px;
  flex-shrink: 0;
}

.ig-pa-group {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ig-post-actions svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.88);
  stroke-width: 1.8;
  display: block;
  flex-shrink: 0;
}

/* ── Likes + Caption ─────────────────────── */
.ig-post-body {
  flex: 1;
  padding: 2px 12px 10px;
  overflow: hidden;
}

.ig-post-likes {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ig-post-caption {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ig-cap-user {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-right: 4px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 720px) {
  .ag-carousel-duo {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .ag-carousel-phone--lower {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .ag-carousel-duo {
    margin-top: 3.5rem;
    gap: 2rem;
  }
}

/* ══════════════════════════════════════════════
   EDITORIAL LAYOUT – Arbeitsweise (neu)
   Zwei Spalten: Prozessschritte links · IG-Cards rechts
   ══════════════════════════════════════════════ */

.ag-editorial {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

/* ── Linke Spalte: Schritte vertikal gestapelt ── */
.ag-editorial-steps {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Schritte im Editorial-Kontext: etwas luftiger */
.ag-editorial-steps .ag-process-step {
  max-width: 420px;
}

.ag-editorial-steps .ag-step-num {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}

/* ── Rechte Spalte: zwei IG-Karten gestapelt ── */
.ag-editorial-media {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

/* Zweite Karte leicht nach rechts eingerückt → editorial stagger */
.ag-editorial-media .ig-pure-card:nth-child(2) {
  margin-left: 1.75rem;
}

/* ── Pures Instagram-Post-Card (kein iPhone-Rahmen) ── */
/* 325 px Karte − 8 px padding-left − 268 px Slide − 8 px Gap = 41 px Peek ≈ 15 % */
.ig-pure-card {
  width: 325px;
  flex-shrink: 0;
  background: #111111;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Header passt bereits via .ig-post-header – nur Padding leicht anpassen */
.ig-pure-card .ig-post-header {
  padding: 10px 12px 8px;
}

/* Footer: Likes, schlicht */
.ig-pure-footer {
  padding: 7px 12px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1040px) {
  .ag-editorial {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .ag-editorial-media {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .ag-editorial-media .ig-pure-card:nth-child(2) {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .ag-editorial-media {
    flex-direction: column;
    align-items: center;
  }
  .ag-editorial-steps .ag-step-num {
    font-size: 3.5rem;
  }
}

/* ══════════════════════════════════════════════
   ARTIST MANAGEMENT PAGE  (artist-management.html)
   ══════════════════════════════════════════════ */

/* Etwas dunklerer Hintergrund – passend zum Foto-Grid */
body.am-page {
  background: #0a0a0a;
}
/* Nav transparent über dem Mega-Header, weiße Links */
body.am-page .nav {
  background: transparent;
}
body.am-page .nav-logo,
body.am-page .nav-links a,
body.am-page .theme-toggle {
  color: rgba(255, 255, 255, 0.85);
}
body.am-page .nav-links a:hover,
body.am-page .nav-logo:hover { color: #fff; opacity: 1; }
body.am-page .nav-links a.active { color: #fff; }
body.am-page .menu-btn span { background: rgba(255, 255, 255, 0.85); }
body.am-page .nav.scrolled {
  background: rgba(6, 6, 6, 0.92);
}
/* Mega-Header füllt Viewport oben aus – kein padding-top nötig */
body.am-page .page-content {
  padding-top: 0;
}

/* ── Alle Überschriften auf am-page: Inter statt Playfair ──────────
   Nur für diese Seite – agentur.html und andere bleiben unverändert.
─────────────────────────────────────────────────────────────────── */
body.am-page .ag-service-title,
body.am-page .ag-step-card-title,
body.am-page .am-hero-title,
body.am-page .am-services-title {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.am-page .ag-step-card-num {
  font-family: var(--font-body);
  font-weight: 700;
}
body.am-page .am-card-name {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── Mega-Header ─────────────────────────────────── */
.am-mega-header {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
}

.am-mh-bg {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  bottom: -20%;
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateZ(0);
}

.am-mh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.40) 0%,
    rgba(0, 0, 0, 0.20) 45%,
    rgba(10, 10, 10, 0.78) 100%
  );
  z-index: 1;
}

.am-mh-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) var(--sec-x) 3rem;
  text-align: center;
}

.am-mh-title {
  font-family: var(--font-body);      /* Inter – fett, modern */
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-shadow:
    0 2px 40px rgba(0, 0, 0, 0.60),
    0 1px 6px  rgba(0, 0, 0, 0.40);
  margin: 0;
}

/* ── Hero ─────────────────────────────────────── */
.am-hero-section {
  padding: calc(var(--nav-h) + 4.5rem) var(--sec-x) 3.5rem;
}

.am-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.am-hero-inner .label {
  display: block;
  margin-bottom: 1.5rem;
}

.am-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.am-hero-title em {
  font-style: italic;
  color: var(--accent);
}

.am-hero-text {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.88;
  max-width: 660px;
}

/* ── AM Services Intro-Sektion ────────────────── */
.am-services-section {
  padding: 5rem 0 4.5rem;
}

.am-services-head {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.am-services-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1.5rem;
}

.am-services-sub {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.8;
  max-width: 580px;
}

/* 4-Spalten-Variante des Services-Grids */
.ag-services-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 5-Karten-Layout: Row 1 = 3 gleichbreite Karten, Row 2 = 2 Karten zentriert */
.ag-services-grid--5 {
  grid-template-columns: repeat(6, 1fr);
}
.ag-services-grid--5 > *:nth-child(1) { grid-column: 1 / 3; }
.ag-services-grid--5 > *:nth-child(2) { grid-column: 3 / 5; }
.ag-services-grid--5 > *:nth-child(3) { grid-column: 5 / 7; }
.ag-services-grid--5 > *:nth-child(4) { grid-column: 2 / 4; }
.ag-services-grid--5 > *:nth-child(5) { grid-column: 4 / 6; }

/* ── Prozess-Schritt-Karten ────────────────────── */
.ag-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
}
/* Karte 5: allein in der letzten Zeile, zentriert */
.ag-step-card--last {
  grid-column: 1 / -1;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.ag-step-card {
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  transition: background 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.ag-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2.5px;
  background: var(--accent);
  border-radius: 10px 0 0 10px;
  opacity: 0.6;
  transition: opacity 0.22s ease;
}
.ag-step-card:hover {
  background: #252525;
  border-color: rgba(255, 255, 255, 0.14);
}
.ag-step-card:hover::before { opacity: 1; }
.ag-step-card-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  min-width: 26px;
  padding-top: 4px;
  flex-shrink: 0;
}
.ag-step-card-body { flex: 1; }
.ag-step-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.45rem;
  line-height: 1.25;
}
.ag-step-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
}

/* ── Die Arbeit dahinter ─────────────────────────── */
.ag-behind {
  padding: 8rem 0;
}
.ag-behind-inner { max-width: 780px; }
.ag-behind-text {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 2.05;
  margin-top: 2.5rem;
  font-weight: 300;
}
.ag-behind-text em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

/* Hero direkt nach Services-Sektion: keine doppelte Oberkante */
.am-services-section + .am-hero-section {
  padding-top: 0;
}

/* ── Artist Grid  –  4 Spalten, 3:4-Hochkant ─── */
.am-grid-section {
  padding: 0 0 5rem;
}

.am-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* ── Einzelne Karte ───────────────────────────── */
.am-card {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: default;
  /* 3:4 Hochkantformat */
  aspect-ratio: 3 / 4;
}

.am-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  user-select: none;
}

/* Gradient-Overlay – erscheint beim Hover */
.am-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.00) 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.am-card:hover::before { opacity: 1; }
.am-card:hover img     { transform: scale(1.04); }

/* Name-Label – slides in beim Hover */
.am-card-name {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.01em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease 0.03s, transform 0.28s ease 0.03s;
  z-index: 2;
  pointer-events: none;
}

.am-card:hover .am-card-name {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .am-grid              { grid-template-columns: repeat(3, 1fr); }
  .ag-services-grid--4  { grid-template-columns: repeat(2, 1fr); }
  /* 5-Karten: 3+2 → 2+2+1 */
  .ag-services-grid--5  { grid-template-columns: repeat(4, 1fr); }
  .ag-services-grid--5 > *:nth-child(1) { grid-column: 1 / 3; }
  .ag-services-grid--5 > *:nth-child(2) { grid-column: 3 / 5; }
  .ag-services-grid--5 > *:nth-child(3) { grid-column: 1 / 3; }
  .ag-services-grid--5 > *:nth-child(4) { grid-column: 3 / 5; }
  .ag-services-grid--5 > *:nth-child(5) { grid-column: 2 / 4; }
  .ag-steps-grid { max-width: 100%; }
}

@media (max-width: 680px) {
  .am-grid              { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .ag-services-grid--5  { grid-template-columns: 1fr; }
  .ag-services-grid--5 > * { grid-column: auto; }
  .ag-steps-grid { grid-template-columns: 1fr; }
  .ag-step-card--last   { max-width: 100%; grid-column: auto; }
  .am-mega-header       { height: 65vh; min-height: 420px; }
  .am-mh-content        { padding-bottom: 3.5rem; }
}

@media (max-width: 580px) {
  .ag-services-grid--4  { grid-template-columns: 1fr; }
  .am-services-section  { padding-top: 3.5rem; }
  .ag-behind            { padding: 5rem 0; }
}

@media (max-width: 420px) {
  .am-grid { grid-template-columns: 1fr; gap: 3px; }
  .am-hero-section { padding-top: calc(var(--nav-h) + 2.5rem); }
  /* Touch: Name immer sichtbar */
  .am-card-name   { opacity: 1; transform: translateY(0); }
  .am-card::before { opacity: 1; }
  .am-mega-header  { height: 58vh; min-height: 360px; }
  .am-mh-content   { padding-bottom: 2.8rem; }
}

@media (hover: none) {
  /* Touch-Geräte jeder Größe: Overlay + Name immer eingeblendet */
  .am-card::before { opacity: 1; }
  .am-card-name    { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   ARTIST GALLERY – LIGHTBOX
   ══════════════════════════════════════════════ */

/* ── Overlay (Hintergrund) ───────────────────── */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 4, 4, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  /* verhindert ungewolltes Text-Select beim Navigieren */
  user-select: none;
}

.lb-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Bild ────────────────────────────────────── */
.lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Platz für Pfeile links + rechts */
  max-width: calc(100vw - 9rem);
}

.lb-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.70);
  transition: opacity 0.20s ease;
  pointer-events: none;
}

/* ── Künstlername (oben links) ───────────────── */
.lb-artist-name {
  position: absolute;
  top: 1.4rem;
  left: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  z-index: 2;
  pointer-events: none;
}

/* ── Schließen-Button (oben rechts) ─────────── */
.lb-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.20s ease, color 0.20s ease;
  padding: 0;
  line-height: 0;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.98);
}

/* ── Navigations-Pfeile ──────────────────────── */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  line-height: 0;
  transition: background 0.20s ease, color 0.20s ease, opacity 0.20s ease;
}

.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.98);
}

.lb-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.lb-nav svg,
.lb-close svg { display: block; flex-shrink: 0; }

/* ── Bildzähler (unten mittig) ───────────────── */
.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.35);
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 560px) {
  .lb-img-wrap    { max-width: 100vw; }
  .lb-img         { max-height: 75vh; border-radius: 0; box-shadow: none; }
  .lb-nav         { width: 38px; height: 38px; }
  .lb-prev        { left: 0.6rem; }
  .lb-next        { right: 0.6rem; }
  .lb-artist-name { font-size: 0.95rem; top: 1rem; left: 1rem; }
  .lb-close       { top: 0.75rem; right: 0.75rem; width: 36px; height: 36px; }
  .lb-counter     { bottom: 1rem; }
}

/* ==========================================
   INTERACTIONS
   Scroll Progress · Magnetic Buttons
   ========================================== */

/* ── Scroll Progress Bar ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9800;
  pointer-events: none;
  opacity: 0;
  transition: width 0.08s linear, opacity 0.3s ease;
}

/* ── Magnetic Buttons ────────────────────────────────────────── */
[data-magnetic] {
  will-change: transform;
}
[data-magnetic].is-magnetic {
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  transition: transform 0.10s ease !important;
}
[data-magnetic].is-magnetic-reset {
  transform: translate(0px, 0px);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ==========================================
   MOBILE PROFILE  –  Startseite, nur ≤ 480 px
   ========================================== */

/* Standard: Mobile-Profil versteckt, Desktop sichtbar */
.mp-root { display: none; }

@media (max-width: 480px) {

  /* Desktop-Elemente der Startseite ausblenden */
  body.stream-page .nav,
  body.stream-page .stream-bg,
  body.stream-page .hover-preview,
  body.stream-page .center-stage,
  body.stream-page .stream-footer { display: none !important; }

  /* Mobile-Profil einblenden */
  .mp-root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0a0a0a;
    color: #fff;
    font-family: var(--font-body, 'Inter', sans-serif);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ── Header ─────────────────────────────────── */
  .mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0a0a0a;
  }
  /* + Neuer Beitrag */
  .mp-plus-btn {
    background: none; border: none;
    color: #fff; cursor: pointer;
    padding: 4px; display: flex;
    align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
    width: 32px; height: 32px;
  }
  .mp-plus-btn svg { width: 24px; height: 24px; }
  .mp-plus-btn:active { opacity: 0.6; }

  /* Username-Button (Mitte) */
  .mp-username-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 7px;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  .mp-username-btn:active { background: rgba(255,255,255,0.08); }
  .mp-username-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .mp-username-chevron {
    display: flex;
    align-items: center;
    opacity: 0.55;
    margin-top: 1px;
  }
  .mp-username-chevron svg { width: 11px; height: 7px; }

  /* Live-Dot (roter Punkt rechts neben Chevron) */
  .mp-live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff3040;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255,48,64,0.6);
    animation: mp-live-pulse 2s ease-in-out infinite;
  }
  @keyframes mp-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,48,64,0.55); }
    50%       { box-shadow: 0 0 0 4px rgba(255,48,64,0); }
  }

  /* Rechte Header-Gruppe: Threads + Hamburger */
  .mp-header-right {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .mp-threads-btn {
    background: none; border: none;
    color: #fff; cursor: pointer;
    padding: 4px; display: flex;
    align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
    width: 32px; height: 32px;
  }
  .mp-threads-btn svg { width: 22px; height: 22px; }
  .mp-threads-btn:active { opacity: 0.6; }
  .mp-hamburger {
    background: none;
    border: none;
    padding: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    width: 32px; height: 32px;
  }
  .mp-hamburger svg { width: 22px; height: 22px; }

  /* ── Profil-Zeile ────────────────────────────── */
  .mp-profile-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 16px 14px;
  }
  .mp-avatar-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 2.5px;
    background: conic-gradient(#f09433, #e6683c, #dc2743, #cc2366, #bc1888, #833ab4, #5851db, #405de6, #f09433);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent, #C8A46A);
    letter-spacing: -0.02em;
    border: 2px solid #0a0a0a;
  }
  .mp-stats {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }
  .mp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .mp-stat-num {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    min-width: 2ch;
    text-align: center;
  }
  .mp-stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.01em;
  }

  /* ── Bio ─────────────────────────────────────── */
  .mp-bio {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .mp-bio p { margin: 0; }
  .mp-bio-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
  }
  .mp-bio-brand {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent, #C8A46A);
    letter-spacing: 0.04em;
  }
  .mp-bio-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
  }
  .mp-bio-location {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
  }
  .mp-bio-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: #a8cfee;          /* Instagram-Blauton für Links */
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-bio-link:active { opacity: 0.7; }

  /* ── Buttons ─────────────────────────────────── */
  .mp-btns {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
  }
  .mp-btn {
    flex: 1;
    text-align: center;
    background: #1e1e1e;
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 9px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.18s;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.2;
  }
  .mp-btn:active { background: #2e2e2e; }

  /* ── Tab-Leiste ──────────────────────────────── */
  .mp-tabs {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.09);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    margin-bottom: 2px;
  }
  .mp-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: color 0.18s;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-tab svg { width: 21px; height: 21px; }
  .mp-tab.is-active { color: #fff; }
  .mp-tab.is-active::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 1.5px;
    background: #fff;
  }

  /* ── Foto-Grid ───────────────────────────────── */
  .mp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    flex: 1;
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px) + 6px);
  }
  .mp-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-grid-cover {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease, opacity 0.18s ease;
  }
  .mp-grid-item:active .mp-grid-cover { transform: scale(0.94); }
  .mp-grid-carousel-icon {
    position: absolute;
    top: 7px; right: 7px;
    color: #fff;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.85));
    pointer-events: none;
  }
  .mp-grid-carousel-icon svg { width: 15px; height: 15px; }
  .mp-grid-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 7px 6px;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
    font-size: 0.63rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
  }

  /* ── Post-Overlay ────────────────────────────── */
  @keyframes mp-heart-pop {
    0%   { transform: translate(-50%,-50%) scale(0.2); opacity: 0; }
    40%  { transform: translate(-50%,-50%) scale(1.38); opacity: 1; }
    68%  { transform: translate(-50%,-50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
  }
  .mp-post {
    position: fixed; inset: 0;
    background: #000;
    z-index: 9500;
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
    overscroll-behavior: contain;
  }
  .mp-post.is-open { transform: translateY(0); }
  .mp-post-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 12px 14px 10px;
    flex-shrink: 0;
  }
  .mp-post-artist { display: flex; align-items: center; gap: 10px; }
  .mp-post-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700;
    color: var(--accent,#C8A46A);
    font-family: var(--font-display,'Playfair Display',serif);
    flex-shrink: 0;
  }
  .mp-post-artist-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
  .mp-post-close {
    background: none; border: none;
    color: rgba(255,255,255,0.75);
    cursor: pointer; padding: 5px;
    display: flex; align-items: center;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-post-close svg { width: 22px; height: 22px; }
  .mp-post-imgs {
    position: relative; width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden; flex-shrink: 0;
    touch-action: none; background: #0d0d0d;
  }
  .mp-post-strip {
    display: flex; height: 100%;
    will-change: transform;
    transition: transform 0.26s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .mp-post-strip.no-transition { transition: none; }
  .mp-post-slide {
    min-width: 100%; height: 100%;
    position: relative; overflow: hidden;
  }
  .mp-post-slide img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; opacity: 0;
    transition: opacity 0.22s ease;
  }
  .mp-post-slide img.is-loaded { opacity: 1; }
  .mp-post-heart {
    position: absolute;
    pointer-events: none; opacity: 0;
    color: #fff; z-index: 10;
    filter: drop-shadow(0 2px 14px rgba(0,0,0,0.45));
  }
  .mp-post-heart.is-beating { animation: mp-heart-pop 0.72s ease forwards; }
  .mp-post-heart svg { width: 90px; height: 90px; }
  .mp-post-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 4px; padding: 9px 0 5px; flex-shrink: 0;
  }
  .mp-post-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.20);
    transition: background 0.18s, transform 0.2s;
    flex-shrink: 0;
  }
  /* Aktiver Punkt: Instagram-Blau, leicht vergrößert */
  .mp-post-dot.is-active {
    background: #3897f0;
    transform: scale(1.5);
  }
  .mp-post-counter {
    text-align: center; font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    padding: 3px 0 8px; letter-spacing: 0.06em;
    flex-shrink: 0;
  }

  /* ── Account-Wechsel Sheet ───────────────────── */
  .mp-acc-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0);
    z-index: 9800; pointer-events: none;
    transition: background 0.28s;
  }
  .mp-acc-backdrop.is-open {
    pointer-events: auto;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .mp-acc-sheet {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #1c1c1e;
    border-radius: 18px 18px 0 0;
    z-index: 9900;
    padding-bottom: calc(22px + env(safe-area-inset-bottom,0px));
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
  }
  .mp-acc-sheet.is-open { transform: translateY(0); }
  .mp-acc-handle {
    width: 36px; height: 4px; border-radius: 2px;
    background: rgba(255,255,255,0.17);
    margin: 10px auto 0;
  }
  .mp-acc-title {
    font-size: 0.72rem; color: rgba(255,255,255,0.36);
    text-align: center; padding: 13px 20px 13px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    letter-spacing: 0.05em; font-weight: 500;
  }
  .mp-acc-options { padding: 4px 0 2px; }
  .mp-acc-opt {
    display: flex; align-items: center;
    gap: 14px; width: 100%; padding: 13px 20px;
    background: none; border: none;
    text-decoration: none; color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
    /* Trennlinie nach jedem Eintrag außer dem letzten */
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-sizing: border-box;
  }
  .mp-acc-opt:last-child { border-bottom: none; }
  .mp-acc-opt:active { background: rgba(255,255,255,0.06); }

  /* Avatar-Basis */
  .mp-acc-opt-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #2c2c2e;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem; font-weight: 700;
    color: rgba(255,255,255,0.55); flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.09);
    overflow: hidden;
  }
  /* Personen-Silhouette für Haupt-Account */
  .mp-acc-opt-avatar--profile { background: #3a3a3c; }
  .mp-acc-opt-avatar--profile svg { width: 28px; height: 28px; }
  /* Agentur-Avatar */
  .mp-acc-opt-avatar--ag {
    background: #0f2136; color: #5BA3D4;
    font-size: 0.78rem; letter-spacing: 0.04em;
  }
  /* Artist-Management-Avatar */
  .mp-acc-opt-avatar--am {
    background: #231510; color: var(--accent,#C8A46A);
    font-size: 0.78rem; letter-spacing: 0.04em;
  }
  .mp-acc-opt-info { flex: 1; text-align: left; }
  .mp-acc-opt-name { display: block; font-size: 0.9rem; font-weight: 600; color: #fff; }
  .mp-acc-opt-sub { display: block; font-size: 0.69rem; color: rgba(255,255,255,0.36); margin-top: 2px; }
  .mp-acc-opt-badge { display: flex; align-items: center; }
  .mp-acc-opt-badge svg { width: 20px; height: 20px; }
  .mp-acc-check { color: #5BA3D4; }
  .mp-acc-arrow { color: rgba(255,255,255,0.3); }
  .mp-acc-close-btn {
    display: block; width: calc(100% - 32px);
    margin: 10px 16px 0; padding: 13px;
    background: #2c2c2e; border: none;
    border-radius: 12px; color: #fff;
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s;
  }
  .mp-acc-close-btn:active { background: #3c3c3e; }

  /* ── Bottom Navigation ───────────────────────── */
  .mp-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    align-items: center;
    height: 49px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mp-bnav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
  }
  .mp-bnav-item:active { opacity: 0.55; }
  .mp-bnav-item svg   { width: 24px; height: 24px; }
  /* Home-Icon: ausgefüllt wenn aktiv, sonst gedämpft */
  .mp-bnav-item:not(.is-active) svg { opacity: 0.60; }
  .mp-bnav-item.is-active svg       { opacity: 1; }

  /* Profil-Avatar in der Bottom-Nav */
  .mp-bnav-profile { cursor: pointer; }
  .mp-bnav-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #2c2c2e;
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  .mp-bnav-avatar svg {
    width: 18px; height: 18px;
    color: rgba(255,255,255,0.55);
    opacity: 1 !important;   /* nicht durch .mp-bnav-item:not(.is-active) svg gedimmt */
  }

} /* end @media (max-width: 480px) */

/* ── Mobile-Overlays auf Desktop komplett ausblenden ────────────
   mobile-profile.js & mobile-agentur.js injizieren Overlays in den Body
   (Sicherheitsnetz falls JS-Guard nicht greift).
   Auf Desktop (> 480 px) müssen alle unsichtbar sein.
─────────────────────────────────────────────────────────────────── */
@media (min-width: 481px) {
  /* index.html – mobile-profile.js */
  .mp-acc-backdrop,
  .mp-acc-sheet,
  .mp-post,
  /* agentur.html – mobile-agentur.js */
  .mag-acc-backdrop,
  .mag-acc-sheet,
  .mag-player {
    display: none !important;
  }
}

/* ==========================================
   JPG Media – Story Viewer (index + agentur)
   Vollbild Story-Platzhalter
   ========================================== */
.mp-story-viewer,
.mag-story-viewer {
  position: fixed; inset: 0;
  z-index: 9700;
  background: linear-gradient(170deg, #1c0442 0%, #2d0a5e 30%, #0d1f3a 65%, #050505 100%);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
  overscroll-behavior: contain;
}
.mp-story-viewer.is-open,
.mag-story-viewer.is-open { transform: translateY(0); }

.msv-progress {
  display: flex; gap: 3px;
  padding: 12px 12px 0;
  flex-shrink: 0;
}
.msv-prog-seg {
  flex: 1; height: 2.5px;
  background: rgba(255,255,255,0.22);
  border-radius: 2px;
}

.msv-topbar {
  display: flex; align-items: center;
  padding: 10px 14px 6px;
  gap: 10px;
  flex-shrink: 0;
}
.msv-av-ring {
  width: 34px; height: 34px;
  border-radius: 50%; padding: 2px;
  background: conic-gradient(#f09433,#dc2743,#bc1888,#833ab4,#f09433);
  flex-shrink: 0;
}
.msv-av {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #1c0442;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid #1c0442;
}
.msv-username {
  flex: 1;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.msv-close {
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer; padding: 4px;
  display: flex; align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.msv-close svg { width: 22px; height: 22px; }

.msv-body {
  flex: 1; display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 2.5rem 5rem;
  gap: 1.2rem;
}
.msv-emoji { font-size: 3.5rem; line-height: 1; }
.msv-title {
  font-family: var(--font-display,'Playfair Display',serif);
  font-size: 2.2rem; font-weight: 700;
  color: rgba(255,255,255,0.92);
  text-align: center; line-height: 1.1;
}
.msv-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  text-align: center; line-height: 1.6;
}
.msv-tap-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ==========================================
   JPG Media – Mobile Agentur (agentur.html)
   Nur aktiv auf Smartphones ≤ 480 px
   ========================================== */
.mag-root { display: none; }

@media (max-width: 480px) {

  /* Desktop-Elemente ausblenden */
  body.agentur-page .nav,
  body.agentur-page .page-content,
  body.agentur-page footer { display: none !important; }

  .mag-root {
    display: flex; flex-direction: column;
    min-height: 100vh;
    background: #0a0a0a; color: #fff;
    font-family: var(--font-body,'Inter',sans-serif);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ── Header ── */
  .mag-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    position: sticky; top: 0; z-index: 100;
    background: #0a0a0a;
  }
  .mag-header-spacer { width: 30px; }
  .mag-username-btn {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none; color: #fff;
    cursor: pointer; padding: 4px 7px;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
  }
  .mag-username-btn:active { background: rgba(255,255,255,0.08); }
  .mag-username-text { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; }
  .mag-username-chevron {
    display: flex; align-items: center;
    opacity: 0.55; margin-top: 1px;
  }
  .mag-username-chevron svg { width: 11px; height: 7px; }

  /* ── Profil-Zeile ── */
  .mag-profile-row {
    display: flex; align-items: center;
    gap: 28px; padding: 20px 16px 14px;
  }
  .mag-story-ring {
    width: 90px; height: 90px;
    border-radius: 50%; padding: 2.5px;
    background: conic-gradient(#f09433,#e6683c,#dc2743,#cc2366,#bc1888,#833ab4,#5851db,#405de6,#f09433);
    flex-shrink: 0; border: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s ease;
  }
  .mag-story-ring:active { transform: scale(0.95); }
  .mag-avatar {
    width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(135deg,#0f2035,#1a3a5c);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display,'Playfair Display',serif);
    font-size: 1.45rem; font-weight: 700;
    color: var(--accent,#C8A46A);
    letter-spacing: -0.02em;
    border: 2px solid #0a0a0a;
  }
  .mag-stats {
    display: flex; flex: 1;
    justify-content: space-around;
  }
  .mag-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .mag-stat-num {
    font-size: 1.05rem; font-weight: 700;
    color: #fff; line-height: 1; min-width: 2ch; text-align: center;
  }
  .mag-stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: 0.01em; }

  /* ── Bio ── */
  .mag-bio {
    padding: 0 16px 14px;
    display: flex; flex-direction: column; gap: 3px;
  }
  .mag-bio p { margin: 0; }
  .mag-bio-name { font-size: 0.85rem; font-weight: 700; color: #fff; }
  .mag-bio-brand {
    font-size: 0.85rem; font-weight: 600;
    color: var(--accent,#C8A46A); letter-spacing: 0.04em;
  }
  .mag-bio-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.68); line-height: 1.5; }
  .mag-bio-location { font-size: 0.78rem; color: rgba(255,255,255,0.42); }

  /* ── Buttons ── */
  .mag-btns { display: flex; gap: 8px; padding: 0 16px 16px; }
  .mag-btn {
    flex: 1; text-align: center;
    background: #1e1e1e; color: #fff;
    text-decoration: none;
    font-size: 0.78rem; font-weight: 600;
    border-radius: 9px; padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.18s; cursor: pointer;
    -webkit-tap-highlight-color: transparent; line-height: 1.2;
  }
  .mag-btn:active { background: #2e2e2e; }

  /* ── Tab-Leiste ── */
  .mag-tabs {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.09);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    margin-bottom: 2px;
  }
  .mag-tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 12px 0; background: none; border: none;
    color: rgba(255,255,255,0.32); cursor: pointer;
    text-decoration: none; position: relative;
    transition: color 0.18s;
    -webkit-tap-highlight-color: transparent;
  }
  .mag-tab svg { width: 21px; height: 21px; }
  .mag-tab.is-active { color: #fff; }
  .mag-tab.is-active::after {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 28px; height: 1.5px; background: #fff;
  }

  /* ── Panels ── */
  .mag-panel { flex: 1; }
  .mag-panel--hidden { display: none; }

  /* ── Reels-Grid (3 Spalten, quadratisch) ── */
  .mag-reels-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
    padding-bottom: 60px;
  }
  .mag-reel-item {
    position: relative; aspect-ratio: 3/4;
    background: #1a1a1a; overflow: hidden; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mag-reel-item video {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    pointer-events: none; display: block;
  }
  .mag-reel-item:active { opacity: 0.75; }
  .mag-reel-icon {
    position: absolute; top: 7px; right: 7px;
    color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.9));
    pointer-events: none;
  }
  .mag-reel-icon svg { width: 16px; height: 16px; }
  .mag-reel-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 5px 5px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.88);
    letter-spacing: 0.02em; pointer-events: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* ── Leistungen-Liste ── */
  .mag-services-list {
    padding: 12px 16px 80px;
    display: flex; flex-direction: column; gap: 10px;
  }
  .mag-service-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 16px;
    position: relative; overflow: hidden;
  }
  .mag-service-item::before {
    content: ''; position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 2px; background: var(--accent,#C8A46A); opacity: 0.6;
    border-radius: 10px 0 0 10px;
  }
  .mag-service-num {
    font-family: var(--font-display,'Playfair Display',serif);
    font-size: 0.72rem; font-weight: 700;
    color: var(--accent,#C8A46A); letter-spacing: 0.1em;
    min-width: 24px; padding-top: 3px; flex-shrink: 0;
  }
  .mag-service-title {
    font-family: var(--font-display,'Playfair Display',serif);
    font-size: 0.95rem; font-weight: 600;
    color: rgba(255,255,255,0.92); margin: 0 0 4px; line-height: 1.2;
  }
  .mag-service-desc {
    font-size: 0.78rem; color: rgba(255,255,255,0.48);
    line-height: 1.7; margin: 0;
  }

  /* ── Vollbild Reel-Player ── */
  @keyframes mag-heart-pop {
    0%   { transform:translate(-50%,-50%) scale(0.2); opacity:0; }
    42%  { transform:translate(-50%,-50%) scale(1.4); opacity:1; }
    70%  { transform:translate(-50%,-50%) scale(1.1); opacity:1; }
    100% { transform:translate(-50%,-50%) scale(1);   opacity:0; }
  }
  .mag-player {
    position: fixed; inset: 0;
    background: #000;
    z-index: 9500;
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
    overscroll-behavior: contain;
  }
  .mag-player.is-open { transform: translateY(0); }

  .mag-player-progress {
    position: absolute; top: 0; left: 0; right: 0;
    height: 2.5px; background: rgba(255,255,255,0.15); z-index: 20;
  }
  .mag-player-bar {
    height: 100%; width: 0%;
    background: rgba(255,255,255,0.8);
    transition: width 0.3s linear;
  }

  .mag-player-close {
    position: absolute; top: 16px; left: 14px;
    z-index: 20; background: none; border: none;
    color: rgba(255,255,255,0.9); cursor: pointer;
    padding: 5px; display: flex; align-items: center;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7));
  }
  .mag-player-close svg { width: 24px; height: 24px; }

  .mag-player-video {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    position: absolute; inset: 0;
  }
  .mag-player-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
      rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 40%, transparent 65%);
    z-index: 5; pointer-events: none;
  }

  .mag-player-bottom {
    position: absolute; bottom: 0; left: 0; right: 60px;
    z-index: 10; padding: 0 14px 28px;
    display: flex; flex-direction: column; gap: 5px;
  }
  .mag-player-user {
    display: flex; align-items: center; gap: 8px; margin-bottom: 2px;
  }
  .mag-player-av {
    width: 36px; height: 36px; border-radius: 50%;
    background-size: cover; background-position: center;
    border: 1.5px solid rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700; color: #fff;
    flex-shrink: 0;
  }
  .mag-player-username {
    font-size: 0.85rem; font-weight: 600; color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .mag-player-follow {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff; font-size: 0.73rem; font-weight: 600;
    padding: 3px 11px; border-radius: 5px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mag-player-desc {
    font-size: 0.82rem; color: rgba(255,255,255,0.88);
    line-height: 1.45; margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .mag-player-audio {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.7rem; color: rgba(255,255,255,0.62);
  }
  .mag-player-audio svg { width: 12px; height: 12px; flex-shrink: 0; }

  .mag-player-actions {
    position: absolute; bottom: 20px; right: 10px;
    z-index: 10; display: flex; flex-direction: column;
    align-items: center; gap: 18px;
  }
  .mag-player-action {
    display: flex; flex-direction: column;
    align-items: center; gap: 3px;
  }
  .mag-player-action-btn {
    background: none; border: none;
    color: #fff; cursor: pointer; padding: 3px;
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  }
  .mag-player-action-btn svg { width: 28px; height: 28px; }
  .mag-player-action-btn.is-liked svg { fill: #ff3b30; stroke: #ff3b30; }
  .mag-player-action-count {
    font-size: 0.68rem; color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }
  .mag-player-av2 {
    width: 34px; height: 34px; border-radius: 8px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
  }
  .mag-player-heart {
    position: absolute;
    pointer-events: none; opacity: 0;
    color: #fff; z-index: 15;
    filter: drop-shadow(0 2px 14px rgba(0,0,0,0.4));
  }
  .mag-player-heart.is-beating { animation: mag-heart-pop 0.72s ease forwards; }
  .mag-player-heart svg { width: 90px; height: 90px; }

  /* ── Account-Sheet (Agentur) ── */
  /* Nutzt dieselben .mp-acc-* Styles von index.html (bereits definiert) */

} /* end @media agentur mobile */
