:root {
  --accent: #e0a89a;
  --text: #111;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
}

/* General */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-white);
}

/* PAGE NAVIGATION */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu Button */
.page-nav .burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  order: 3;
}

.page-nav .burger span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.page-nav .burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.page-nav .burger.active span:nth-child(2) {
  opacity: 0;
}

.page-nav .burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu for page-nav */
.page-nav ~ .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 1000;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 80px;
}

.page-nav ~ .mobile-menu.open {
  right: 0;
}

.page-nav ~ .mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-nav ~ .mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.page-nav ~ .mobile-menu nav a:hover {
  color: #ff0000;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.mobile-menu nav a:hover {
  color: #ff0000;
}

.nav-home {
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-home:hover {
  color: #ff0000;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff0000;
}

/* [MOBILE UX P0] shared mobile header: the 3-bar MEHR control and
   the DE/EN switch live inside .page-nav (homepage sticky nav and
   all subpage navs). They stay hidden on desktop — the desktop
   header keeps its HOME + link row layout. */
.page-nav .lang {
  display: none;
}
.page-nav .mobile-nav-mehr {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
}
/* dark variant of the MEHR control for the always-white subpage
   bar (the homepage's over-hero instance stays white) */
.mobile-nav-mehr--dark .mehr-lines span {
  background: #111;
}
.mobile-nav-mehr--dark .mehr-label {
  color: #111;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("webp/hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(0.95) brightness(0.9);
  z-index: 0;
  transition: filter 0.4s ease;
}

.hero__bg:hover {
  filter: grayscale(50%) contrast(1) brightness(1);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.4) 3px,
      transparent 3px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 3px, transparent 3px);
  background-size: calc(100% / 4) calc(100% / 4);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 1;
}

/* Hero Grid - 4 rows x 4 columns (for visual grid overlay).
   container-type: size (kept from the V1.3 mosaic) makes the
   grid's actual rendered box the reference for the cqw/cqh units
   used by the two prototype tiles' front-face photo crops, so the
   crops track the real box at any viewport instead of 100vw/100vh
   approximations. */
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  padding: 0;
  gap: 0;
  container-type: size;
}

/* Navigation Items */
.nav-item {
  display: flex;
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  text-align: center;
  width: 100%;
}

.nav-item a:hover {
  color: #ff0000;
}

/* Left Navigation - First square left side */
.nav-top-left {
  grid-column: 1 / 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-middle-left {
  grid-column: 1 / 2;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-left {
  grid-column: 1 / 2;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Hero Title "Kas" - Row 2, Column 2 */
.hero-title {
  grid-column: 2 / 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.title-big {
  font-size: clamp(28px, 8.5vmin, 90px);
  font-weight: 800;
  color: #000;
  line-height: 0.9;
  letter-spacing: -2px;
}

/* Vertical "rino" - Row 3, Column 3 */
.title-vertical-wrap {
  grid-column: 3 / 4;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.title-vertical {
  font-size: clamp(28px, 9vmin, 100px);
  font-weight: 800;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #000;
  letter-spacing: -2px;
  line-height: 0.9;
  transform: translateY(-10px);
}

/* Bottom Navigation - Row 3 */
.nav-bottom-col2 {
  grid-column: 2 / 3;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-col3 {
  grid-column: 3 / 4;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bottom-col4 {
  grid-column: 4 / 5;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Language Selector */
.lang {
  background: transparent;
  color: #fff;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.05em;
  padding: 0;
  text-align: center;
  transition: color 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.15em;
}

.lang:hover {
  color: #ff0000;
}

.lang .lang-option {
  background: transparent;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: 0.05em;
}

.lang .lang-option:hover {
  opacity: 0.75;
}

.lang .lang-option.active {
  opacity: 1;
  color: var(--accent, #c0392b);
  border-bottom: 2px solid var(--accent, #c0392b);
}

.lang .lang-sep {
  opacity: 0.25;
  margin: 0 0.05em;
}

/* Bottom Navigation Bar (from 2.png) */
.bottom-nav-bar {
  position: relative;
  width: 100%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  z-index: 10;
}

.bottom-nav-left {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.bottom-nav-left:hover {
  color: #ff0000;
}

.bottom-nav-center {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.bottom-nav-center:hover {
  color: #ff0000;
}

.bottom-nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.circle-btn-nav {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.circle-btn-nav:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

/* Burger button - Updated for page-nav */
.page-nav .burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  z-index: 1001;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page-nav .burger span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.page-nav .burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.page-nav .burger.active span:nth-child(2) {
  opacity: 0;
}

.page-nav .burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile menu - Updated for page-nav */
.page-nav ~ .mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 80px;
}

.page-nav ~ .mobile-menu.open {
  right: 0;
}

.page-nav ~ .mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.page-nav ~ .mobile-menu nav a {
  padding: 15px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s;
}

.page-nav ~ .mobile-menu nav a:hover {
  color: #ff0000;
}

/* Mobile Navigation with MEHR - New Design */
.mobile-nav-mehr {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Show mobile navigation on mobile devices */
@media (max-width: 992px) {
  .mobile-nav-mehr {
    display: flex;
  }
}

.mehr-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  gap: 6px;
}

.mehr-lines span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease, background-color 0.3s ease;
}

.mehr-lines span:nth-child(1) {
  width: 100%;
}

.mehr-lines span:nth-child(2) {
  width: 80%;
}

.mehr-lines span:nth-child(3) {
  width: 100%;
}

.mobile-nav-mehr:hover .mehr-lines span {
  background: #ff0000;
}

.mehr-label {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.mobile-nav-mehr:hover .mehr-label {
  color: #ff0000;
}

.mobile-nav-mehr.active .mehr-lines span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  width: 100%;
}

.mobile-nav-mehr.active .mehr-lines span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-mehr.active .mehr-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  width: 100%;
}

/* Old burger styles for hero section (keep for index.html) */
.burger {
  display: none;
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 4;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Force index.html to look the same on mobile and desktop */
/* Override all responsive rules for hero section on index page */
@media (max-width: 992px) {
  .hero .hero-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    padding: 0 !important;
  }

  .hero .nav-item {
    display: none !important;
  }

  .hero .burger {
    display: none !important;
  }

  .hero .mobile-nav-mehr {
    display: flex !important;
  }

  .hero .hero-title {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
  }

  .hero .title-vertical-wrap {
    grid-column: 3 / 4 !important;
    grid-row: 3 !important;
    padding-left: 10px !important;
  }

  .hero .title-vertical {
    transform: translateY(-10px) !important;
  }

  .hero .nav-bottom-col4 {
    grid-column: 4 / 5 !important;
    grid-row: 4 !important;
  }

  .hero .title-big {
    font-size: clamp(28px, 9vmin, 86px) !important;
  }

  .hero .title-vertical {
    font-size: clamp(30px, 10vmin, 96px) !important;
  }

  .hero .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4) !important;
  }

  .hero .mobile-menu:not(.open) {
    display: none !important;
  }

  .hero .mobile-menu.open {
    display: flex !important;
  }

  /* Make Referenzen, Programm, Sprache EN smaller on mobile */
  .hero .nav-middle-left a,
  .hero .nav-bottom-left a {
    font-size: 20px !important;
  }

  .hero .lang {
    font-size: 20px !important;
  }
}

@media (max-width: 600px) {
  .hero .hero-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    padding: 0 !important;
  }

  .hero .nav-item {
    display: none !important;
  }

  .hero .burger {
    display: none !important;
  }

  .hero .mobile-nav-mehr {
    display: flex !important;
  }

  .hero .hero-title {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
  }

  .hero .title-vertical-wrap {
    grid-column: 3 / 4 !important;
    grid-row: 3 !important;
    padding-left: 10px !important;
  }

  .hero .title-vertical {
    transform: translateY(-10px) !important;
    font-size: clamp(28px, 11vmin, 90px) !important;
  }

  .hero .nav-bottom-col4 {
    grid-column: 4 / 5 !important;
    grid-row: 4 !important;
  }

  .hero .title-big {
    font-size: clamp(26px, 10vmin, 80px) !important;
  }

  .hero .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4) !important;
  }

  .hero .mobile-menu:not(.open) {
    display: none !important;
  }

  .hero .mobile-menu.open {
    display: flex !important;
  }

  /* Make Referenzen, Programm, Sprache EN smaller on mobile */
  .hero .nav-middle-left a,
  .hero .nav-bottom-left a {
    font-size: 18px !important;
  }

  .hero .lang {
    font-size: 18px !important;
  }

  .bottom-nav-bar {
    padding: 20px 40px !important;
    flex-direction: row !important;
  }

  .bottom-nav-center {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    margin: 0 !important;
    order: 0 !important;
  }

  .bottom-nav-left {
    order: 0 !important;
  }

  .bottom-nav-right {
    order: 0 !important;
    justify-content: flex-end !important;
  }

  .circle-btn-nav {
    width: 60px !important;
    height: 60px !important;
    font-size: 12px !important;
  }

  .lang {
    font-size: 28px !important;
  }
}

@media (max-width: 480px) {
  .hero .hero-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    padding: 0 !important;
  }

  .hero .nav-item {
    display: none !important;
  }

  .hero .burger {
    display: none !important;
  }

  .hero .mobile-nav-mehr {
    display: flex !important;
  }

  .hero .hero-title {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
  }

  .hero .title-vertical-wrap {
    grid-column: 3 / 4 !important;
    grid-row: 3 !important;
    padding-left: 10px !important;
    justify-content: flex-start !important;
  }

  .hero .title-vertical {
    transform: translateY(-10px) !important;
    font-size: clamp(26px, 11vmin, 84px) !important;
    writing-mode: vertical-rl !important;
  }

  .hero .nav-bottom-col4 {
    grid-column: 4 / 5 !important;
    grid-row: 4 !important;
  }

  .hero .title-big {
    font-size: clamp(24px, 10vmin, 72px) !important;
  }

  .hero .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4) !important;
  }

  .hero .mobile-menu:not(.open) {
    display: none !important;
  }

  .hero .mobile-menu.open {
    display: flex !important;
  }

  /* Make Referenzen, Programm, Sprache EN smaller on mobile */
  .hero .nav-middle-left a,
  .hero .nav-bottom-left a {
    font-size: 16px !important;
  }

  .hero .lang {
    font-size: 16px !important;
  }

  .bottom-nav-bar {
    padding: 20px 40px !important;
    flex-direction: row !important;
  }

  .bottom-nav-center {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    margin: 0 !important;
    order: 0 !important;
  }

  .bottom-nav-left {
    order: 0 !important;
  }

  .bottom-nav-right {
    order: 0 !important;
    justify-content: flex-end !important;
  }

  .circle-btn-nav {
    width: 60px !important;
    height: 60px !important;
    font-size: 12px !important;
  }

  .lang {
    font-size: 28px !important;
  }
}

@media (max-width: 320px) {
  .hero .hero-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    padding: 0 !important;
  }

  .hero .nav-item {
    display: none !important;
  }

  .hero .burger {
    display: none !important;
  }

  .hero .mobile-nav-mehr {
    display: flex !important;
  }

  .hero .hero-title {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
  }

  .hero .title-vertical-wrap {
    grid-column: 3 / 4 !important;
    grid-row: 3 !important;
    padding-left: 10px !important;
  }

  .hero .title-vertical {
    transform: translateY(-10px) !important;
    font-size: clamp(24px, 12vmin, 72px) !important;
  }

  .hero .nav-bottom-col4 {
    grid-column: 4 / 5 !important;
    grid-row: 4 !important;
  }

  .hero .title-big {
    font-size: clamp(22px, 11vmin, 64px) !important;
  }

  .hero .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4) !important;
  }

  .hero .mobile-menu:not(.open) {
    display: none !important;
  }

  .hero .mobile-menu.open {
    display: flex !important;
  }

  /* Make Referenzen, Programm, Sprache EN smaller on very small mobile */
  .hero .nav-middle-left a,
  .hero .nav-bottom-left a {
    font-size: 14px !important;
  }

  .hero .lang {
    font-size: 14px !important;
  }

  .bottom-nav-bar {
    padding: 20px 40px !important;
  }

  .circle-btn-nav {
    width: 60px !important;
    height: 60px !important;
    font-size: 12px !important;
  }

  .lang {
    font-size: 28px !important;
  }
}

.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu for hero section */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu nav a {
  display: block;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  margin: 16px 0;
}

/* Bottom Bar */
.bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.92)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 3;
}

.bottom-left,
.bottom-center,
.bottom-right {
  font-size: 12px;
  color: #666;
}

.bottom-left {
  display: flex;
  gap: 40px;
}

.bottom-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(200, 120, 100, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
}

.circle-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* LOGO SECTION */
/* Section-title size: single variable so the KASRA/KHANI first title,
   the WER IST KASRA? header, and the PROGRAMM/REFERENZEN/GALERIE titles
   always share the exact same size (WER IST is the benchmark). */
:root {
  --sec-title: 88px;
}

.logo-section {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: var(--sec-title);
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  text-align: left;
  margin: 60px 0 60px 40px;
  padding: 0;
}

.logo-section span {
  display: block;
}

.logo-kasra-khani span {
  transform: translateX(20px);
}

/* Wrapper makes the KASRA/KHANI header share <main>'s box so it
   centers identically (max-width 1400 + auto margins). Its 40px
   margin-left + 20px translate = 60px offset matches the section
   titles' content edge (main 20px padding + section 40px). */
.kasra-header-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

/* MAIN CONTENT */
main {
  padding: 140px 20px 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* SECTIONS */
.section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-align: center;
}

.text-block {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.9;
  color: #111;
  margin: 0 auto;
  text-align: left;
}

.text-block strong {
  font-weight: 800;
}

.with-image {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px 0 0;
}

.section-image-text-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin-left: 0;
}

.section-title-top {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
  width: 100%;
  grid-column: 1 / -1;
}

.with-image .section-image {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.with-image .section-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  max-width: none;
}

.with-image .text-block {
  margin: 0;
  margin-bottom: 0;
}

.profile {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
  transition: 0.4s;
  cursor: pointer;
}

.profile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* TEXT BLOCK WITH PHOTO */
.text-block.with-photo {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  text-align: left;
  padding: 0 40px;
}

.text-block.with-photo.reverse {
  flex-direction: row-reverse;
}

.text-block.with-photo.reverse .text {
  text-align: right;
}

.text-block.with-photo .photo,
.text-block.with-photo .text {
  flex: 1;
}

.text-block.with-photo .photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: 0.4s ease;
  cursor: pointer;
}

.text-block.with-photo .photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.text-block.with-photo .text h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.text-block.with-photo.reverse .text h2 {
  text-align: right;
}

.text-block.with-photo .text p {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
}

/* WER IST KASRA SECTION */
.wer-ist-kasra-section {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto 80px 0;
  padding: 0 40px 0 40px;
  align-items: flex-start;
}

.wer-ist-photos {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-left: -40px;
  position: relative;
}

.wer-ist-photos-empty {
  flex: 0 0 320px;
  width: 320px;
  margin-right: 60px;
}

.wer-ist-photos img:first-child {
  margin-bottom: 60px;
}

.wer-ist-photos img:last-child {
  margin-top: 200px;
}

.wer-ist-photos img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: 0.4s ease;
  cursor: pointer;
}

.wer-ist-photos .profile {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
  transition: 0.4s;
  cursor: pointer;
  transform: translateY(-220px);
  align-self: flex-start;
}

.wer-ist-kasra-section:has(.profile) {
  align-items: flex-start;
}

.wer-ist-kasra-section:has(.profile) .wer-ist-photos {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.wer-ist-photos .profile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wer-ist-photos img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.wer-ist-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wer-ist-item {
  margin-bottom: 40px;
}

.wer-ist-item:last-child {
  margin-bottom: 0;
}

.wer-ist-item h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.wer-ist-item p {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
}

/* PROGRAMM SECTION */
.programm-section {
  background: transparent;
  padding: 80px 40px;
  margin: 80px 0;
  max-width: 100%;
}

.programm-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: var(--sec-title, 88px);
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: left;
}

.show-item {
  display: flex;
  gap: 40px;
  margin-bottom: 100px;
  align-items: flex-start;
}

.show-item:last-child {
  margin-bottom: 0;
}

.show-number {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 1;
  color: #000;
  flex-shrink: 0;
  /* fixed column width: Montserrat digits are proportional ("1" is much
     narrower than "2"/"3"), so without this the content column of each
     entry starts at a different x and photos/text don't line up */
  width: 160px;
  margin-right: 0;
  flex: 0 0 160px;
  /* the 120px Montserrat "0" has a negative left bearing: its rounded left
     tip sits ~4px left of the heading's "P" stem, so nudge the number box
     right to make the visible left edges flush */
  margin-left: 4px;
}

.show-content {
  flex: 1;
}

.show-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.show-line {
  width: 2px;
  height: 60px;
  background: #000;
  margin-top: 10px;
}

.show-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.show-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-style: italic;
}

/* referenzen section subtitles (logos / reviews).
   The REFERENZEN title is a light, wide-tracked display face, so the
   subtitles sit at a moderate size with a medium weight that reads
   clearly without competing with the title. */
.ref-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  color: #555;
  margin: -20px 0 28px;
  /* the REFERENZEN title (88px) has a larger left letter bearing than the
     subtitle glyphs; offset so the visible ink of both starts on the same
     vertical line (bearings measured on canvas per breakpoint) */
  margin-left: 8px;
}

/* the first review's name must start on the same vertical line as the
   REFERENZEN title: the card's left padding is tuned so the name glyph
   ink aligns with the title's "R" ink (bearings measured on canvas) */
#referenzen .testimonials .testimonial-card {
  padding-left: 10px;
}

@media (max-width: 1023px) {
  .ref-subtitle {
    font-size: 20px;
    margin: -14px 0 34px;
    margin-left: 2px;
  }
}

@media (max-width: 599px) {
  .ref-subtitle {
    font-size: 18px;
    margin: -10px 0 26px;
    margin-left: 3px;
  }
}

.show-description {
  font-size: 18px;
  line-height: 1.9;
  color: #111;
  margin-bottom: 40px;
  max-width: 800px;
}

.show-image {
  margin-top: 40px;
}

.show-image-walk-around img {
  margin-left: 30px;
}

.show-image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Show 02 (05_Programm_Walking): full 2:3 portrait, no crop.
   The webp is exactly 2:3, so a 2/3 box means object-fit: cover
   crops nothing — the entire photo shows. */
.show-image-nocrop img {
  aspect-ratio: 2/3;
}

/* REFERENZEN SECTION */
.referenzen-section {
  padding: 80px 40px;
  margin: 80px 0;
  max-width: 100%;
}

.google-reviews-button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.google-reviews-button {
  display: inline-block;
  padding: 15px 40px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
  border-radius: 0;
}

.google-reviews-button:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.referenzen-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: var(--sec-title, 88px);
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: left;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 120px;
}

.logo-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- reference logos: rolling banner (marquee) --- */
.clients-logos {
  display: block;
  position: relative;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.clients-logos.pre-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.clients-logos .logo-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: logos-marquee 26s linear infinite;
}
.clients-logos .logo-track:hover {
  animation-play-state: paused;
}
@keyframes logos-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients-logos .logo-item {
  flex: 0 0 auto;
  margin-right: 40px;
  min-height: 120px;
}
.clients-logos .logo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}
.clients-logos .logo-item img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
  background: #fff;
  border-radius: 4px;
}
/* SVGs that ship a viewBox but no width/height would otherwise render 0x0 */
.clients-logos .logo-item img[src$="deutscheb%C3%B6rse.svg"],
.clients-logos .logo-item img[src$="Holiday_Inn_Logo.svg"] {
  width: auto;
  min-width: 120px;
}
.clients-logos .logo-item:hover img {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .clients-logos,
  .clients-logos.pre-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .clients-logos .logo-track,
  .clients-logos .logo-item,
  .clients-logos .logo-item:hover,
  .clients-logos .logo-item img,
  .clients-logos .logo-item:hover img {
    animation: none;
    transition: none;
    transform: none;
  }
}
/* PC: fixed (non-scrolling) layout with staggered fade-in.
   Mobile (<900px) keeps the sideways marquee. */
@media (min-width: 900px) {
  /* fixed, centered, no marquee — container stays static, items do the fading */
  .clients-logos {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .clients-logos.pre-reveal {
    opacity: 1;
    transform: none;
  }
  /* uniform cards in one line — every card the same size (benchmark: the
     Deutsche Bundesbank logo, 143x64 at 64px height); logos centered in
     their card, height 64px. With 7 cards the 4th (Bundesbank) is the exact
     center of the line */
  .clients-logos .logo-item {
    margin-right: 0;
    flex: 1 1 0;
    min-width: 0;
  }
  .clients-logos .logo-item img {
    max-width: 100%;
  }
  .clients-logos .logo-track {
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    animation: none;
    transform: none;
  }
  /* hide the marquee's duplicate half */
  .clients-logos .logo-item[aria-hidden="true"] {
    display: none;
  }
  /* fixed + fade-in reveal */
  .clients-logos .logo-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .clients-logos.pre-reveal .logo-item {
    opacity: 0;
    transform: translateY(16px);
  }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(1) { transition-delay: 0s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(2) { transition-delay: 0.12s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(3) { transition-delay: 0.24s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(4) { transition-delay: 0.36s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(5) { transition-delay: 0.48s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(6) { transition-delay: 0.6s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(7) { transition-delay: 0.72s; }
  .clients-logos:not(.pre-reveal) .logo-item:nth-child(8) { transition-delay: 0.84s; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .clients-logos .logo-item {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
/* end reference logos */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  align-items: start;
}

.testimonial-card {
  background: #1a1a1a;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonial-company {
  font-size: 14px;
  color: #ccc;
}

.stars {
  color: #ffd700;
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* --- long-review clamp: show ~7 lines, "Mehr lesen" to expand --- */
.testimonial-body {
  max-height: 192px;               /* 7 x 27.2px (16px * 1.7) */
  overflow: hidden;
  position: relative;
  transition: max-height .55s cubic-bezier(.25, .8, .25, 1);
}
.testimonial-body.clamped::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, #1a1a1a);
  pointer-events: none;
}
.testimonial-body.expanded {
  max-height: none;
}
.testimonial-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #d8d8d8;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease,
              color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.testimonial-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.testimonial-toggle .t-arrow {
  display: inline-block;
  font-size: 11px;
  transition: transform .3s ease;
}
.testimonial-toggle.expanded .t-arrow {
  transform: rotate(180deg);
}

.universities {
  display: flex;
  gap: 60px;
  margin-top: 30px;
  align-items: flex-start;
}

.university-item {
  text-align: left;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
}

.university-item h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 12px;
  color: #111;
}

.university-logo {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.university-logo img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.university-name {
  font-size: 14px;
  color: #111;
  line-height: 1.5;
  margin-top: 0;
}

/* GALLERIE SECTION */
.gallerie-section {
  background: var(--bg-light);
  padding: 90px 40px 70px;
  margin: 80px -20px;
  max-width: calc(100% + 40px);
}

.gallerie-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: var(--sec-title, 88px);
  line-height: 0.95;
  letter-spacing: -4px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
  text-align: left;
}

.gallerie-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-top: 14px;
}

.gallerie-heading {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}

.gallerie-heading .gallerie-title {
  text-align: center;
}

.gallerie-heading .gallerie-title::after {
  margin-left: auto;
  margin-right: auto;
}

.gallerie-heading .gallerie-quote {
  text-align: center;
  margin-bottom: 12px;
}

.gallerie-heading .gallerie-quote-center {
  margin-bottom: 0;
}

.gallerie-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.gallerie-text {
  color: #fff;
}

.gallerie-quote {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  text-align: left;
}

.gallerie-quote-center {
  font-size: 24px;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 50px;
  text-align: center;
}

.gallerie-testimonial {
  margin-top: 40px;
}

.gallerie-testimonial p {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: #fff;
}

.gallerie-images {
  max-width: 1440px;
  margin: 0 auto;
  columns: 3;
  column-gap: 16px;
}

/* Sub-heading that introduces each gallery block (Reaktionen, Duo Khani,
   Jonglage, Bühne, Porträts, Details). Small-caps label with a hairline
   rule, visually distinct from the big GALERIE title but in the same
   design family. The first one (Reaktionen) sits right under the title,
   the rest each open a new photo block. */
.gallery-subheading {
  max-width: 1440px;
  margin: 56px auto 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}
#galerie .gallerie-heading + .gallery-subheading {
  margin-top: 8px;
}
.gallery-subheading .gallery-subheading-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
  flex: 0 0 auto;
}
.gallery-subheading .gallery-subheading-line {
  flex: 1 1 auto;
  height: 1px;
  background: #ddd;
}
@media (max-width: 599px) {
  .gallery-subheading { margin: 44px auto 18px; }
  #galerie .gallerie-heading + .gallery-subheading { margin-top: 6px; }
  .gallery-subheading .gallery-subheading-title { font-size: 18px; letter-spacing: 3px; }
}

#galerie .gallerie-figure {
  position: relative;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

#galerie .gallerie-figure.in {
  opacity: 1;
  transform: translateY(0);
}

.gallerie-figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallerie-figure:hover img {
  transform: scale(1.04);
}

.gallerie-figure .gallerie-count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallerie-figure:hover .gallerie-count {
  opacity: 1;
}

.gallerie-count span {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
}

/* GALLERIE COLLAGE */
.wer-ist-photos .gallerie-figure {
  opacity: 1;
  transform: none;
  margin-bottom: 0;
  box-shadow: none;
}

.wer-ist-photos .gallerie-figure img {
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.wer-ist-photos .gallerie-figure img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.gallerie-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 80px 0;
  padding: 0 20px;
}

.gallerie-collage img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.gallerie-collage img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* FOOTER */
.footer {
  background: var(--bg-light);
  padding: 60px 40px 40px;
  margin-top: 80px;
  margin-left: -20px;
  margin-right: -20px;
  max-width: calc(100% + 40px);
}

.footer-inquire {
  text-align: right;
  margin-bottom: 60px;
}

.inquire-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.inquire-link:hover {
  color: #ff0000;
}

.inquire-arrow {
  font-size: 36px;
  line-height: 1;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-left,
.footer-center,
.footer-right {
  color: #666;
}

.footer-left,
.footer-center {
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-left:hover,
.footer-center:hover {
  color: #ff0000;
}

/* IMPRESSUM SECTION */
.impressum-section {
  padding: 80px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.impressum-content {
  text-align: left;
}

.impressum-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 60px;
  color: #000;
}

.impressum-block {
  margin-bottom: 50px;
}

.impressum-block h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #000;
}

.impressum-block h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}

.impressum-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
  margin-bottom: 15px;
}

/* KONTAKT SECTION */
.kontakt-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--bg-light);
}

.kontakt-content {
  text-align: right;
}

.kontakt-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.kontakt-arrow {
  font-size: 64px;
  line-height: 1;
}

.kontakt-info {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.kontakt-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kontakt-link:hover {
  color: #ff0000;
}

.kontakt-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s, color 0.3s;
  display: inline-block;
}

.kontakt-link:hover::after {
  transform: translateX(5px);
  color: #ff0000;
}

.kontakt-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.kontakt-link:hover .kontakt-icon {
  transform: scale(1.1);
}

/* KONTAKT FORM */
.kontakt-form {
  max-width: 800px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: right;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.kontakt-form label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  text-align: right;
}

.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #000;
  background: transparent;
  color: #000;
  outline: none;
  transition: border-color 0.3s;
  text-align: right;
}

.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  border-bottom-color: #ff0000;
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 120px;
}

.kontakt-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
}

.form-submit-btn {
  grid-column: 1 / -1;
  justify-self: flex-end;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
  background: transparent;
  border: none;
  padding: 15px 0;
  cursor: pointer;
  transition: color 0.3s;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn:hover {
  color: #ff0000;
}

.form-submit-btn::after {
  content: "→";
  font-size: 32px;
  transition: transform 0.3s;
}

.form-submit-btn:hover::after {
  transform: translateX(5px);
}

/* Honeypot: hidden from humans, caught by bots.
   Off-screen (not display:none) so JS bots still fill it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline form status (success / error) */
.form-status {
  grid-column: 1 / -1;
  justify-self: flex-end;
  text-align: right;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  min-height: 1.4em;
  line-height: 1.4;
}

.form-status-ok {
  color: #1a7a1a;
}

.form-status-err {
  color: #cc0000;
}

/* Fields flagged by server validation get a red underline */
.kontakt-form [data-invalid] {
  border-bottom-color: #cc0000 !important;
}

/* keep the submit button usable while disabled */
.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* RESPONSIVE */
/* Tablets and smaller desktops */
@media (max-width: 1200px) {
  .hero-grid {
    padding: 30px;
  }

  .nav-item a {
    font-size: 24px;
  }

  .lang {
    font-size: 24px;
  }

  .title-big {
    font-size: clamp(30px, 7vmin, 88px);
  }

  .title-vertical {
    font-size: clamp(30px, 7vmin, 88px);
  }

  /* About page responsive */
  .wer-ist-kasra-section {
    padding: 0 30px;
    gap: 50px;
  }

  .logo-kasra-khani span {
    transform: translateX(20px);
  }

  .universities {
    gap: 30px;
  }

  .university-logo img {
    max-width: 150px;
    max-height: 70px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  :root { --sec-title: 48px; }
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 20px;
    gap: 0;
  }

  .nav-item {
    display: none;
  }

  .burger {
    display: flex;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
  }

  .hero-title {
    grid-column: 2 / 4;
    grid-row: 2;
    margin: 0;
  }

  .title-vertical-wrap {
    grid-column: 4;
    grid-row: 3;
    margin: 0;
  }

  .title-vertical {
    transform: translateY(-5px);
  }

  .nav-bottom-col4 {
    grid-column: 4;
    grid-row: 4;
    justify-content: center;
  }

  .title-big {
    font-size: clamp(28px, 9vmin, 80px);
  }

  .title-vertical {
    font-size: clamp(28px, 9vmin, 80px);
  }

  .bottom-nav-bar {
    padding: 15px 30px;
  }

  .circle-btn-nav {
    width: 55px;
    height: 55px;
    font-size: 11px;
  }

  .hero__bg::after {
    background-size: calc(100% / 4) calc(100% / 4);
  }

  .logo-section {
    font-size: 56px;
    margin-left: 20px;
  }

  main {
    padding: 36px 20px;
  }

  .section {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 60px;
  }


  .with-image {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 60px auto;
    padding: 0 20px;
  }

  .section-image-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .with-image .section-image {
    width: 100%;
    display: flex;
    justify-content: center;
    flex: 1;
    order: 1;
  }

  .with-image .section-content {
    width: 100%;
    flex: 1;
    order: 2;
  }

  .section-title-top {
    order: 1;
    text-align: center;
    margin-bottom: 20px;
    grid-column: 1;
  }

  .profile {
    max-width: 280px;
    margin: 0 auto;
  }

  .text-block.with-photo,
  .text-block.with-photo.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .text-block.with-photo .photo img {
    max-width: 80%;
    margin: 0 auto;
  }

  .wer-ist-kasra-section {
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    margin: 60px auto;
    display: flex;
  }

  .wer-ist-photos {
    flex: 1;
    width: 100%;
    max-width: 100%;
    display: contents;
    margin-left: 0;
  }

  .wer-ist-photos img {
    max-width: 100%;
    margin: 30px auto;
    display: block;
  }

  .wer-ist-photos img:first-child {
    margin-bottom: 30px;
  }

  .wer-ist-photos img:last-child {
    margin-top: 30px;
  }

  .wer-ist-photos .profile {
    max-width: 100%;
    margin: 30px auto;
    transform: translateY(0px);
  }

  .wer-ist-photos-empty {
    display: none;
  }

  .logo-kasra-khani span {
    transform: translateX(20px);
  }

  .universities {
    flex-direction: column;
    gap: 30px;
  }

  .university-item {
    width: 100%;
  }

  .university-logo img {
    max-width: 150px;
    max-height: 70px;
  }

  .wer-ist-text {
    width: 100%;
    display: contents;
  }

  /* Mobile: Reorder to show 2 texts, then photo, then 2 texts, then photo, then last text */
  .wer-ist-item.item-1 {
    order: 1;
  }

  .wer-ist-item.item-2 {
    order: 2;
  }

  .wer-ist-photo-1 {
    order: 3;
  }

  .wer-ist-item.item-3 {
    order: 4;
  }

  .wer-ist-item.item-4 {
    order: 5;
  }

  .wer-ist-photo-2 {
    order: 6;
  }

  .wer-ist-item.item-5 {
    order: 7;
  }

  .wer-ist-item {
    margin-bottom: 30px;
    order: 0;
  }

  .wer-ist-item h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .wer-ist-item p {
    font-size: 16px;
    line-height: 1.8;
  }

  .programm-section {
    padding: 60px 20px;
    margin: 60px 0;
  }

  .show-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }

  .show-number {
    font-size: 60px;
    text-align: left;
    margin-left: 2.5px; /* 60px "0" tip sits ~2.5px left of the "P" bearing */
    /* [MOBILE UX P0-D] reset the desktop fixed-column reservation
       (flex 0 0 160px + width 160px): in the column layout the 160px
       flex-basis becomes a 160px HEIGHT, leaving ~100px of empty
       space above the show title; auto sizes the number to the
       glyph so 01/02/03 sit close to their titles, evenly. */
    flex: 0 0 auto;
    width: auto;
  }

  .show-content {
    width: 100%;
  }

  .show-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .show-line {
    display: none;
  }

  .show-title {
    font-size: 24px;
  }

  .show-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .show-image {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .show-image img {
    max-width: 100%;
  }

  .referenzen-section {
    padding: 60px 20px;
    margin: 60px 0;
    max-width: 100%;
  }

  .clients-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }

  .logo-item {
    min-height: 124px;
    padding: 15px;
  }

  .logo-item img {
    max-height: 64px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .testimonial-body {
    max-height: 180px;             /* 7 x 25.5px (15px * 1.7) */
  }

  .universities {
    flex-direction: column;
    gap: 20px;
  }

  .university-item {
    width: 100%;
    text-align: center;
  }

  .university-logo {
    justify-content: center;
  }

  .university-logo img {
    max-width: 120px;
    max-height: 60px;
  }

  .gallerie-section {
    padding: 60px 20px;
    margin: 60px 0;
  }

  .gallerie-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallerie-quote-center {
    font-size: 20px;
    margin-bottom: 36px;
  }

  .gallerie-testimonial p {
    font-size: 16px;
    line-height: 1.7;
  }

  .gallerie-images {
    columns: 2;
  }

  .gallerie-section {
    padding: 60px 20px;
    margin: 60px 0;
    max-width: 100%;
  }

  .gallerie-content {
    grid-template-columns: 1fr;
  }

  .gallerie-collage {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px 30px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .footer-inquire {
    text-align: center;
  }

  .page-nav {
    padding: 15px 20px;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.32s ease, opacity 0.32s ease;
  }

  .page-nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .page-nav.nav-show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .page-nav .nav-home {
    display: none;
  }

  .page-nav .nav-links {
    display: none;
  }

  .page-nav .burger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* [MOBILE UX P0] one mobile header system on every .page-nav:
     3-bar MEHR control (left) + DE/EN (right). The plain burger is
     replaced by the MEHR: subpages swap the burger markup for the
     MEHR markup (same id, so their scripts work unchanged) and the
     homepage's burger is hidden (its own MEHR sits in the bar). */
  .page-nav {
    /* the legacy block above packs the bar's content right; the
       in-flow MEHR (left) + DE/EN (right) need the ends */
    justify-content: space-between;
  }
  .page-nav .burger {
    display: none;
  }
  .page-nav .lang {
    display: flex;
    color: var(--text);
    /* !important: the legacy mobile blocks re-assert a global
       28px !important on .lang (hero type) — 14px must win here */
    font-size: 14px !important;
  }
  .page-nav .lang .lang-option {
    padding: 10px 4px; /* comfortably tappable in the bar */
  }
  /* the MEHR's line + label make the bar taller than the old burger
     bar — keep the drawer's first link clear of it */
  .page-nav ~ .mobile-menu {
    padding-top: 104px;
  }
  /* [MOBILE UX P1A] the drawer stays scrollable on short viewports
     while the page behind is scroll-locked by the menu script */
  .mobile-menu {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .logo-section {
    font-size: 48px;
    margin-left: 20px;
    margin-top: 71px;
    margin-bottom: 40px;
  }

  .logo-kasra-khani span {
    transform: translateX(20px);
  }

  .impressum-section {
    padding: 60px 20px;
  }

  .impressum-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .impressum-block {
    margin-bottom: 40px;
  }

  .impressum-block h2 {
    font-size: 20px;
  }

  .impressum-block h3 {
    font-size: 16px;
  }

  .impressum-block p {
    font-size: 15px;
  }

  .kontakt-section {
    min-height: 40vh;
    padding: 60px 20px;
  }

  .kontakt-title {
    font-size: 36px;
  }

  .kontakt-arrow {
    font-size: 48px;
  }

  .kontakt-form {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }

  .form-group-full {
    grid-column: 1;
  }

  .form-submit-btn {
    grid-column: 1;
    justify-self: flex-end;
  }

  .kontakt-form label,
  .kontakt-form input,
  .kontakt-form select,
  .kontakt-form textarea {
    text-align: right;
  }

  .kontakt-info {
    gap: 20px;
    margin-bottom: 30px;
  }

  .kontakt-link {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root { --sec-title: 42px; }
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 15px;
  }

  .hero-title {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .title-vertical-wrap {
    grid-column: 4;
    grid-row: 3;
  }

  .title-big {
    font-size: clamp(26px, 9vmin, 70px);
  }

  .title-vertical {
    font-size: clamp(26px, 9vmin, 70px);
    transform: translateY(-5px);
  }

  .nav-bottom-col4 {
    grid-column: 4;
    grid-row: 4;
  }

  .bottom-nav-bar {
    padding: 12px 20px;
  }

  .lang {
    font-size: 12px;
    padding: 0;
  }

  .bottom-nav-bar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .bottom-nav-center {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    order: 3;
  }

  .bottom-nav-left {
    order: 1;
  }

  .bottom-nav-right {
    order: 2;
  }

  .circle-btn-nav {
    width: 50px;
    height: 50px;
    font-size: 10px;
  }

  .bottom-bar {
    height: 84px;
    padding: 0 16px;
    flex-direction: column;
    gap: 10px;
  }

  .circle-btn {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .logo-section {
    font-size: 42px;
    margin-left: 20px;
  }

  .section h2,
  .text-block.with-photo .text h2 {
    font-size: 28px;
  }

  .text-block {
    font-size: 16px;
  }

  .programm-title,
  .referenzen-title,
  .gallerie-title {
    font-size: var(--sec-title);
  }

  .show-number {
    font-size: 60px;
  }

  .show-title {
    font-size: 24px;
  }

  .show-description {
    font-size: 16px;
  }

  .clients-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .logo-item {
    min-height: 100px;
    padding: 12px;
  }

  .logo-item img {
    max-height: 56px;
  }

  .section h2,
  .wer-ist-item h2 {
    font-size: 24px;
  }

  .programm-title,
  .referenzen-title,
  .gallerie-title {
    font-size: var(--sec-title);
  }

  .show-number {
    font-size: 48px;
  }

  .show-title {
    font-size: 20px;
  }

  .show-description {
    font-size: 15px;
  }

  .inquire-link {
    font-size: 24px;
  }

  .inquire-arrow {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  :root { --sec-title: 36px; }
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 10px;
  }

  .hero-title {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .title-vertical-wrap {
    grid-column: 1 / 5;
    grid-row: 3;
    justify-content: center;
  }

  .title-big {
    font-size: clamp(24px, 9vmin, 60px);
  }

  .title-vertical {
    font-size: clamp(24px, 9vmin, 60px);
    transform: translateY(0px);
  }

  .bottom-nav-bar {
    padding: 10px 15px;
    flex-direction: column;
    gap: 10px;
  }

  .bottom-nav-left,
  .bottom-nav-center,
  .bottom-nav-right {
    width: 100%;
    text-align: center;
  }

  .bottom-nav-center {
    order: 2;
    margin: 5px 0;
  }

  .bottom-nav-left {
    order: 1;
  }

  .bottom-nav-right {
    order: 3;
    justify-content: center;
  }

  .circle-btn-nav {
    width: 45px;
    height: 45px;
    font-size: 9px;
  }

  .nav-bottom-col4 {
    grid-column: 1 / 5;
    grid-row: 4;
    justify-content: center;
  }

  .lang {
    font-size: 10px;
    padding: 0;
  }

  .bottom-bar {
    height: 72px;
    padding: 0 10px;
  }

  .burger {
    top: 15px;
    left: 15px;
    width: 28px;
    height: 20px;
  }

  .burger span {
    height: 3px;
  }

  /* About page - small devices */
  .logo-section {
    font-size: 36px;
    margin-left: 15px;
    margin-top: 71px;
    margin-bottom: 30px;
  }

  .logo-kasra-khani span {
    transform: translateX(20px);
  }

  .wer-ist-kasra-section {
    padding: 0 15px;
    margin: 40px auto;
  }

  .wer-ist-item h2 {
    font-size: 24px;
  }

  .wer-ist-item p {
    font-size: 14px;
  }

  .universities {
    gap: 15px;
  }

  .university-logo img {
    max-width: 100px;
    max-height: 50px;
  }

  .programm-section {
    padding: 40px 15px;
  }

  .show-number {
    font-size: 40px;
    margin-left: 2px; /* 40px "0" tip sits ~2px left of the "P" bearing */
  }

  .show-title {
    font-size: 18px;
  }

  .referenzen-section {
    padding: 40px 15px;
  }

  .clients-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallerie-section {
    padding: 40px 15px;
  }

  .gallerie-images {
    columns: 1;
  }
}

/* Very small devices (320px and below) */
@media (max-width: 320px) {
  .hero-grid {
    padding: 8px;
  }

  .title-big {
    font-size: clamp(22px, 9vmin, 52px);
  }

  .title-vertical {
    font-size: clamp(22px, 9vmin, 52px);
    transform: translateY(0px);
  }

  .bottom-nav-bar {
    padding: 8px 10px;
  }

  .circle-btn-nav {
    width: 40px;
    height: 40px;
    font-size: 8px;
  }

  .lang {
    font-size: 9px;
    padding: 0;
  }

  .burger {
    top: 10px;
    left: 10px;
    width: 24px;
    height: 18px;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 992px) and (orientation: landscape) {
  :root { --sec-title: 42px; }
  .hero {
    min-height: 100vh;
  }

  .hero-grid {
    padding: 15px;
  }

  .title-big {
    font-size: clamp(26px, 8vmin, 72px);
  }

  .title-vertical {
    font-size: clamp(26px, 8vmin, 72px);
  }

  /* About page landscape */
  .wer-ist-kasra-section {
    flex-direction: row;
    gap: 30px;
  }

  .wer-ist-photos {
    flex: 0 0 200px;
  }

  .logo-section {
    font-size: 42px;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.98);
  transition: transform 0.3s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 300;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.06);
}

.lightbox .lb-close {
  top: 20px;
  right: 24px;
  font-size: 24px;
}

.lightbox .lb-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox .lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .lightbox .lb-prev,
  .lightbox .lb-next {
    width: 44px;
    height: 44px;
    left: 10px;
    right: 10px;
  }
  .lightbox .lb-next {
    left: auto;
    right: 10px;
  }
}




.wer-ist-photos .pp-full img {
  margin: 0 !important;
  width: 100%;
}
.wer-ist-photos {
  margin-left: 0 !important;
}
/* --- WER IST KASRA photos (v2): clean full portraits ---
   No cropping, no backdrop: each photo is a rounded portrait at its
   natural 2:3 ratio, full content visible. One photo per row, like the
   site's gallery does; hover lift kept subtle. */
.wer-ist-photos .pp-full {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 0 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.wer-ist-photos .pp-full img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
.wer-ist-photos .pp-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
/* DIE PERSON: one portrait, a bit larger, keep a gentle lift.
   Now lives in the DER ARTIST (#about) section; +30px top aligns the
   photo's top edge with the DER ARTIST heading line. */
.wer-ist-photos .pp-full[data-zoom="p1"] {
  transform: none;
  align-self: flex-start;
  margin-top: 30px;
}
.wer-ist-photos .pp-full[data-zoom="p1"]:hover {
  transform: translateY(-5px);
}
@media (max-width: 900px) {
  .wer-ist-photos .pp-full {
    width: 100%;
  }
  .wer-ist-photos .pp-full[data-zoom="p1"] {
    width: 100%;
  }
}

/* ============ WER IST KASRA v2: einheitliche Ausrichtung (about.html + ueber-kasra) ============
   - Text column always starts at a fixed 460px from the section's left
     edge, so "DER ARTIST" / "DIE PERSON" / "SCHAUSPIELER" headings line
     up vertically no matter whether the left column holds a photo.
   - Photo column no longer overhangs past the section start.
   - Sections that still contain the second photo (photo-2) center their
     photo column vertically against the text on the right. */
.wer-ist-photos {
  flex: 0 0 420px;
  width: 420px;
  margin-left: 0;
}

.wer-ist-photos img {
  margin-top: 0;
  margin-bottom: 0;
}

.wer-ist-kasra-section .wer-ist-text {
  flex: 1 1 auto;
}

/* section without a photo column (DER ARTIST): push the text to the same
   x-position as the text column that has a photo (420 + 60 gap) */
.wer-ist-kasra-section:not(:has(.wer-ist-photos)):not(:has(.wer-ist-photos-empty)) .wer-ist-text {
  margin-left: 480px;
}

.wer-ist-kasra-section:has(.wer-ist-photo-2) {
  align-items: center;
}

@media (max-width: 600px) {
  .wer-ist-kasra-section .wer-ist-text {
    margin-left: 0;
  }
  .wer-ist-photos {
    flex: none;
    width: 100%;
  }
  .wer-ist-photos .who-photo {
    max-width: 100%;
  }
}

/* ueber-kasra: WER-IST-Fotos am Titel ausgerichtet (1400px-Viewport,
   offsets relativ zur Sektionskante gemessen):
   p4 = Oberkante auf der AKADEMIKER-Zeile (941px)
   p5 = Oberkante auf der SCHAUSPIELER-Zeile (30px)
   p4 liegt unter p5 in der Spalte, daher 941 - 510 (p5-Hoehe) - 40 (p5-Abstand) */
.wer-ist-kasra-section:has(.pp-full[data-zoom="p5"]) .pp-full[data-zoom="p5"] {
  align-self: flex-start;
  margin-top: 30px;
}
.wer-ist-kasra-section:has(.pp-full[data-zoom="p5"]) .pp-full[data-zoom="p4"] {
  align-self: flex-start;
  margin-top: 361px;
}
@media (max-width: 900px) {
  .wer-ist-kasra-section:has(.pp-full[data-zoom="p5"]) .pp-full[data-zoom="p5"],
  .wer-ist-kasra-section:has(.pp-full[data-zoom="p5"]) .pp-full[data-zoom="p4"] {
    margin-top: 40px;
  }
}

/* about.html (erste Seite): beide Fotos identisch groesst
   (340 breit, 3:4, gerundete Ecken) - wie letzte Iteration */
.wer-ist-photos .who-photo {
  display: block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.wer-ist-photos .who-photo:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

/* ============ PROGRAMM / Show 01 WALK AROUND (v2) ============
   Photo keeps its ORIGINAL format (no crop: the webp is the full
   3:2 image). It spans exactly the text box above it: the
   .show-description paragraph (left-aligned, capped at 800px) IS the
   text box, and this img is width:100% with the same 800px cap, so the
   photo's left and right edges line up with the description's edges
   and it never overhangs. Placed at end-of-file to beat the generic
   .show-image img rules (square crop, 420px) and the margin-left
   offset rule. */
.show-image-walk-around img {
  margin-left: 0;
  width: 100%;
  height: auto;
  max-width: 800px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Show 02 STAGE SHOW: same as walk-around — original 3:2 format, no
   crop, spanning the text box width (description, capped at 800px). */
.show-image-stage img {
  margin-left: 0;
  width: 100%;
  height: auto;
  max-width: 800px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Show 03 LIGHT SHOW: same treatment — original 3:2 format, no crop,
   text box width. */
.show-image-light img {
  margin-left: 0;
  width: 100%;
  height: auto;
  max-width: 800px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ============ PROGRAMM: horizontal Ken Burns drift ============
   The three show photos drift horizontally across their own frame at a
   30s cycle, all starting together on load. Each uses a different
   direction so they never look identical. This is deliberately NOT the
   gallery's scroll fade-up nor the logos marquee. overflow:hidden clips
   the scaled image to its own box so it never spills over neighbours. */
.show-image-walk-around,
.show-image-stage,
.show-image-light {
  overflow: hidden;
}
.show-image-walk-around img,
.show-image-stage img,
.show-image-light img {
  animation-duration: 30s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}
/* All three drift horizontally across their frame at 30s, starting
   together on load. Directions differ so they never look in lockstep. */
.show-image-walk-around img { animation-name: kb-h-a; }
.show-image-stage img      { animation-name: kb-h-b; }
.show-image-light img      { animation-name: kb-h-c; }
@keyframes kb-h-a {
  from { transform: scale(1.15) translate(-3%, 0); }
  to   { transform: scale(1.15) translate(3%, 0); }
}
@keyframes kb-h-b {
  from { transform: scale(1.15) translate(3%, 0); }
  to   { transform: scale(1.15) translate(-3%, 0); }
}
@keyframes kb-h-c {
  from { transform: scale(1.15) translate(-2%, 0); }
  to   { transform: scale(1.15) translate(2%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .show-image-walk-around img,
  .show-image-stage img,
  .show-image-light img {
    animation: none;
  }
}

/* =====================================================================
   TEXT ANIMATIONS  (fancier)
   TITLES = per-letter 3D masked cascade: textfx.js splits each title into
   per-character <span class="txt-ch"> (at load, AFTER lang.js) and adds
   .revealed on scroll; each letter rises out of a clip-mask with a
   rotateX flip + de-blur, cascading (CSS var --i = its index). Animates
   the independent `translate` / `clip-path` / `transform`-tilt props, not
   `transform`-x, so KASRA/KHANI's translateX(20px) alignment survives.
   KASRA/KHANI = clean whole-block mask (.txt-block, NOT split) for the
   same reason. HIDDEN state is scoped under html.js-anim (set by a head
   script) so a no-JS visit still shows text. BODY copy = soft fade+rise+
   blur, still driven by the page's existing .revealed observer.
   ===================================================================== */
/* A title element that textfx.js animates. */
.txt-reveal {
  display: block;
}
/* Per-character span (from textfx.js). Hidden until .revealed. */
.txt-ch {
  --_i: 0;                       /* set inline: 0,1,2,... = letter index */
  display: inline-block;
  opacity: 0;
  translate: 0 1.05em;
  transform: perspective(440px) rotateX(60deg);
  transform-origin: 50% 100%;
  clip-path: inset(-0.35em -0.4em 115% -0.4em);
  filter: blur(9px);
  transition:
    opacity .5s ease,
    translate .85s cubic-bezier(.16, 1, 3, 1),
    transform .85s cubic-bezier(.16, 1, 3, 1),
    clip-path .85s cubic-bezier(.16, 1, 3, 1),
    filter .6s ease;
  will-change: translate, transform, clip-path;
}
.txt-reveal.revealed .txt-ch {
  opacity: 1;
  translate: 0 0;
  transform: perspective(440px) rotateX(0deg);
  clip-path: inset(-0.35em -0.4em -0.35em -0.4em);
  filter: blur(0);
  transition-delay: calc(var(--i) * var(--step, 30ms));
  will-change: auto;
}
/* KASRA/KHANI: not split, clean whole-block line-mask rise. */
.txt-block {
  display: block;
  opacity: 0;
  translate: 0 0.7em;
  clip-path: inset(-0.35em -0.4em 115% -0.4em);
  transition:
    opacity .65s ease,
    translate .95s cubic-bezier(.16, 1, 3, 1),
    clip-path .95s cubic-bezier(.16, 1, 3, 1);
  transition-delay: calc(var(--i, 0) * 130ms);
}
.txt-reveal.revealed.txt-block {
  opacity: 1;
  translate: 0 0;
  clip-path: inset(-0.35em -0.4em -0.35em -0.4em);
}
/* Body copy: softer fade + rise + de-blur (kept calmer than titles). */
html.js-anim :is(.wer-ist-text p, .show-description, .ref-subtitle,
  .gallerie-quote, .gallerie-quote-center, .testimonial-card,
  .university-item h3) {
  opacity: 0;
  translate: 0 0.45em;
  filter: blur(7px);
  transition:
    opacity .75s ease,
    translate .85s cubic-bezier(.16, 1, 3, 1),
    filter .7s ease;
}
html.js-anim :is(.wer-ist-text p, .show-description, .ref-subtitle,
  .gallerie-quote, .gallerie-quote-center, .testimonial-card,
  .university-item h3).revealed {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}
/* Reduced motion: snap everything to its final state, no movement. */
@media (prefers-reduced-motion: reduce) {
  .txt-ch,
  .txt-block,
  html.js-anim :is(.wer-ist-text p, .show-description, .ref-subtitle,
    .gallerie-quote, .gallerie-quote-center, .testimonial-card,
    .university-item h3) {
    opacity: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    transition: none !important;
  }
}


/* =====================================================================
   [LANDING V1 PROTOTYPE — branch feature/homepage-landing-v1]
   Homepage landing prototype: hero descriptor lines, scroll cue,
   intro section, event/show paths, reaction photo placeholders.
   Self-contained block: to remove the prototype, delete everything
   below this marker plus the [LANDING V1] markup in index.html.
   ===================================================================== */

/* ---- Hero: subtle scroll cue (bottom center) ---- */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: heroCueBob 2.8s ease-in-out infinite;
}
@keyframes heroCueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
}

/* ---- [LANDING V2] homepage sticky navigation ----
   Reuses the site's .page-nav component (same markup, destinations,
   burger and drawer as the subpages; same white bar + hairline look).
   The homepage instance additionally carries .hl-sticky: it starts
   hidden above the viewport and JS toggles .nav-show once the user has
   substantially left the hero. The language group reuses the .lang
   markup from the hero — lang.js syncs every .lang group on the page.
   The !important font-size keeps the bar on the nav's 14px type scale
   (the global 600px .lang rule targets the hero's larger type). */
.page-nav.hl-sticky {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.page-nav.hl-sticky.nav-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.page-nav.hl-sticky .lang {
  font-size: 14px !important;
  /* stays visible on the homepage in every state (the generic
     .page-nav .lang rule hides it for the subpages' desktop bars,
     where the homepage's language group is part of the design) */
  display: flex;
}
/* don't let the fixed bar cover section/anchor landing points
   (auto-scroll + DISCOVER cue land on #intro) */
#intro,
#reactions {
  scroll-margin-top: 64px;
}

/* [MOBILE UX P0] homepage: the sticky bar is ALWAYS visible on
   mobile — transparent over the hero (white MEHR + white DE/EN,
   matching the over-hero colors), solid white once scrolled
   (dark controls). transform: none keeps it from sliding in/out
   over the hero; only the background changes at the hero-to-content
   transition (same 60%/35% thresholds as before). The plain burger
   is hidden — the MEHR inside the bar is the single control. */
@media (max-width: 992px) {
  .page-nav.hl-sticky {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }
  .page-nav.hl-sticky .burger {
    display: none;
  }
  .page-nav.hl-sticky .mobile-nav-mehr .mehr-lines span {
    background: #fff;
  }
  .page-nav.hl-sticky .mobile-nav-mehr .mehr-label {
    color: #fff;
  }
  .page-nav.hl-sticky .lang {
    color: #fff;
  }
  .page-nav.hl-sticky.nav-show {
    transform: none;
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .page-nav.hl-sticky.nav-show .mobile-nav-mehr .mehr-lines span {
    background: var(--text);
  }
  .page-nav.hl-sticky.nav-show .mobile-nav-mehr .mehr-label {
    color: var(--text);
  }
  .page-nav.hl-sticky.nav-show .lang {
    color: var(--text);
  }
}
/* desktop: the bar is white once shown — the generic .lang's white
   text was invisible on it; dark controls once the bar is up */
@media (min-width: 993px) {
  .page-nav.hl-sticky.nav-show .mobile-nav-mehr .mehr-lines span {
    background: var(--text);
  }
  .page-nav.hl-sticky.nav-show .mobile-nav-mehr .mehr-label {
    color: var(--text);
  }
  .page-nav.hl-sticky.nav-show .lang {
    color: var(--text);
  }
}

/* ---- Section 3: compact intro (asymmetric, whitespace-heavy) ---- */
.hl-intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 8vw 130px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6vw;
  align-items: start;
}
/* [HERO FORM FIXES v1.0] the red KASRA KHANI eyebrow was removed
   from the markup; its rule is deleted here (no other users). The
   headline is now the column's first element; the section's 56px
   top padding is the only space before it (no empty gap). */
.hl-intro-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: #111;
}
.hl-intro-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--accent, #e0a89a);
  margin-top: 20px;
}
/* [LANDING V1 titles] textfx registers them as whole-block (txt-block) so the
   real spaces stay in the text and long placeholder titles wrap at word
   boundaries. textfx also assigns progressive --i to whole-block titles;
   ours sit in separate sections (revealed at different times), so no
   stagger is needed. */
.hl-intro-title,
.hl-path-title,
.hl-reactions-title {
  transition-delay: 0ms !important;
}
.hl-intro__text {
  margin: 28px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}
.hl-intro__link {
  display: inline-block;
  margin-top: 34px;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 7px;
  border-bottom: 1px solid #111;
  transition: color 0.3s, border-color 0.3s;
}
.hl-intro__link:hover {
  color: #ff0000;
  border-color: #ff0000;
}
.hl-intro__photo {
  margin-top: 60px; /* asymmetric offset vs. the copy column */
}
/* editorial sizing: the photo supports the copy instead of filling
   the whole column — capped like the site's other editorial images
   (cf. .profile 320px), pinned to the column's right edge */
.hl-intro__photo figure {
  max-width: 380px;
  margin-left: auto;
}

/* ---- Photo placeholders (neutral dummy blocks, real photos later) ---- */
.ph-photo {
  margin: 0;
  border: 1px solid #ddd;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.ph-photo > span {
  color: #999;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.9;
}
.ph-photo--intro { aspect-ratio: 4 / 5; }
.ph-photo--grid  { aspect-ratio: 2 / 3; }
/* Real photos: same slot geometry, neutral placeholder look removed */
.ph-photo--real {
  border: 0;
  background: none;
  padding: 0;
}
.ph-photo--real img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Section 4: event / show paths (editorial rows, not cards) ---- */
.hl-paths {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8vw 150px;
}
.hl-path {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 4vw;
  padding: 52px 0;
  border-top: 1px solid #ddd;
}
.hl-path:last-child {
  border-bottom: 1px solid #ddd;
}
.hl-path__num {
  color: #999;
  font-size: 11px;
  letter-spacing: 0.3em;
}
.hl-path-title {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.hl-path-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s;
}
.hl-path-title a:hover {
  color: #ff0000;
}
.hl-path__sub {
  margin: 14px 0 0;
  color: #888;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hl-path__arrow {
  font-size: 26px;
  color: #111;
  transition: transform 0.3s ease;
}
.hl-path:hover .hl-path__arrow {
  transform: translateX(6px);
}
/* second path mirrors to the right side */
.hl-path--right .hl-path__num  { grid-column: 3; grid-row: 1; justify-self: end; }
.hl-path--right .hl-path__main { grid-column: 2; grid-row: 1; justify-self: end; text-align: right; }
.hl-path--right .hl-path__arrow{ grid-column: 1; grid-row: 1; justify-self: start; }

/* ---- Section 5: reaction image placeholders ---- */
.hl-reactions {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8vw 170px;
}
.hl-reactions__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}
.hl-reactions-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
}
.hl-reactions__line {
  flex: 1 1 auto;
  height: 1px;
  background: #ddd;
}
.hl-reactions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 840px; /* editorial: the photo band supports the section
                       instead of spanning the full container width */
  margin: 0 auto;
}
.hl-reactions__intro {
  margin: 0 0 34px;
  max-width: 560px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Responsive: tablet ---- */
@media (max-width: 992px) {
  .hl-intro {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 36px 8vw 90px;
  }
  .hl-intro__photo {
    margin-top: 0;
    max-width: 480px;
  }
}

/* ---- Responsive: phone ---- */
@media (max-width: 600px) {
  .hl-intro {
    padding: 32px 7vw 70px;
  }
  .hl-intro__text {
    font-size: 15px;
  }
  .hl-paths {
    padding-bottom: 110px;
  }
  .hl-path {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 20px;
    padding: 40px 0;
  }
  .hl-path__num  { grid-column: 1; grid-row: 1; }
  .hl-path__main { grid-column: 2; grid-row: 1; }
  .hl-path__arrow{ grid-column: 2; grid-row: 2; justify-self: end; }
  .hl-path--right .hl-path__num  { grid-column: 1; grid-row: 1; justify-self: start; }
  .hl-path--right .hl-path__main { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; }
  .hl-path--right .hl-path__arrow{ grid-column: 2; grid-row: 2; justify-self: end; }
  .hl-reactions {
    padding-bottom: 130px;
  }
  .hl-reactions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }
  .hl-reactions-title {
    font-size: 18px;
    letter-spacing: 3px;
  }
}

/* =====================================================================
   HERO INTERACTIVE TILE PROTOTYPE (V3: vertical turn)
   Two prototype tiles ("Über Kasra", "Programm"): the tile turns
   over in place around its own vertical CENTER axis (rotateY 180,
   a calm revolving-panel motion — no side hinge). Front side = the
   navigation label; reverse side = that tile's OWN image layer
   (.tile-face--back carries .tile-image--ueber / --programm: later,
   give each one its unique background-image — the animation
   architecture stays untouched).
   Desktop = pure-CSS :hover; touch = two-step tap via the
   [HERO TILES] script (first tap turns the tile, second tap
   navigates).
   Remove: delete this section, the .hero-tile markup in index.html
   and the [HERO TILES] script block.
   ===================================================================== */

/* --- "Khani" at the same size as "Kasra" (equal visual
   weight). At 8.5vmin the 5-glyph vertical column fills ~95-97% of
   the 25vh cell — contained at any viewport. V1's 9-11vmin let it
   overflow the cell; V4's 5.3vmin made it look subordinate. The
   slightly tighter tracking (-4px vs Kasra's -2px, imperceptible at
   this size) is what buys the remaining head-room inside the cell.
   The old -10px optical nudge stays dropped. --- */
.title-vertical {
  font-size: clamp(28px, 8.5vmin, 90px);
  letter-spacing: -4px;
  transform: none;
}
@media (max-width: 992px) {
  .hero .title-vertical {
    font-size: clamp(28px, 9vmin, 86px) !important;
    letter-spacing: -4px;
    transform: none !important;
  }
}
@media (max-width: 600px) {
  .hero .title-vertical {
    font-size: clamp(26px, 10vmin, 80px) !important;
    letter-spacing: -4px;
    transform: none !important;
  }
}
@media (max-width: 480px) {
  .hero .title-vertical {
    font-size: clamp(24px, 10vmin, 72px) !important;
    letter-spacing: -4px;
    transform: none !important;
  }
}

/* --- Tile mechanics: the tile turns in place around its vertical
   center axis (revolving panel). Front face = label, reverse face =
   the tile's own image layer. Both faces stay inside their own cell;
   a 180-degree center turn never projects outside the tile. --- */
.hero-tile {
  position: relative;
  z-index: 5;
  perspective: 1200px;
}
.hero-tile a {
  touch-action: manipulation;
}
.hero-tile .tile-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transition: transform 0.7s cubic-bezier(0.45, 0, 0.55, 1);
}
.hero-tile .tile-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* reverse side: currently the SAME shared-photo crop as the front
   face (the V4 section below carries the image/crop/filter); per-tile
   unique photos come later via the .tile-image--<name> modifiers kept
   on this element */
.hero-tile .tile-face--back {
  transform: rotateY(180deg);
  background: rgba(0, 0, 0, 0.35);
}
.hero-tile .tile-face--back span {
  color: #ddd;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 8px;
}
/* invisible full-tile link above the tile, active only while the
   tile is turned — while closed, the visible label keeps its normal
   hover and click behaviour */
.hero-tile .tile-open-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  z-index: 3;
  pointer-events: none;
}

/* Desktop / pointer: hover turns the tile over */
@media (hover: hover) and (pointer: fine) {
  .hero-tile:hover {
    z-index: 6;
  }
  .hero-tile:hover .tile-inner {
    transform: rotateY(180deg);
  }
  .hero-tile:hover .tile-open-link {
    pointer-events: auto;
  }
}

/* Touch: first tap turns (JS adds the class), second tap navigates */
.hero-tile.tile-flipped {
  z-index: 6;
}
.hero-tile.tile-flipped .tile-inner {
  transform: rotateY(180deg);
}
.hero-tile.tile-flipped .tile-open-link {
  pointer-events: auto;
}

/* Reduced motion: no 3D turn — simple crossfade state change */
@media (prefers-reduced-motion: reduce) {
  .hero-tile .tile-inner {
    transition: none;
  }
  .hero-tile .tile-face {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transition: opacity 0.15s ease;
  }
  .hero-tile .tile-face--back {
    transform: none;
    opacity: 0;
  }
  .hero-tile:hover .tile-inner,
  .hero-tile.tile-flipped .tile-inner {
    transform: none;
  }
  .hero-tile:hover .tile-face--front,
  .hero-tile.tile-flipped .tile-face--front {
    opacity: 0;
  }
  .hero-tile:hover .tile-face--back,
  .hero-tile.tile-flipped .tile-face--back {
    opacity: 1;
  }
}

/* Mobile: the two prototype tiles stay visible in the hero
   (the other .nav-items remain hidden exactly as before) */
@media (max-width: 992px) {
  .hero .hero-tile {
    display: flex !important;
  }
  .hero .hero-tile a {
    font-size: 18px !important;
    line-height: 1.4;
  }
  /* [MOBILE UX P0] on mobile the cells are decorative photo crops:
     the labels (both faces) and the in-tile DE/EN are hidden —
     display:none also drops the front labels' <a> out of the
     keyboard tab order, so no hidden link is focusable/tappable;
     navigation + language live in the header. The whole cell stays
     a tap target for the decorative flip (see the [HERO TILES]
     script, which binds to the tile, not the hidden link). */
  .hero .hero-tile .tile-face--front a,
  .hero .hero-tile .tile-back-label {
    display: none;
  }
  .hero .hero-tile .lang {
    display: none;
  }
  .hero .hero-tile {
    touch-action: manipulation;
  }
}

/* =====================================================================
   [HERO TILES V4 — SIMPLE CUT-OUT TILES]
   Replaces the V1.3 mosaic segmentation: the hero photo is ONE
   continuous layer again (the restored original .hero__bg above).
   The four leftmost hero cells (col 1, rows 1-4: "Über Kasra",
   "Programm", "Referenzen" + the previously empty bottom-left
   corner) are interactive; they behave like physical rectangular
   pieces cut from the photograph.

   Each tile's FRONT FACE carries a crop of the SAME shared photo
   (webp/hero.webp — one cached resource) that reproduces exactly
   what the continuous .hero__bg shows underneath that tile's cell,
   so a closed tile is indistinguishable from the surrounding
   photo. The crop math is the same pure-CSS `center / cover`
   reproduction the V1.3 mosaic used, restricted to the two tile
   cells:

     scaled image width  = max(boxW, boxH * iw/ih)
     scaled image height = max(boxW * ih/iw, boxH)
     offset  = (box - scaled) / 2   (negative = image extends past
                                     that edge — exactly CSS 'cover')
     the tile at (cx, cy) shows the slice at
     (cx * cellW + offX, cy * cellH + offY)

   boxW/boxH are the grid's rendered box via container query units
   (cqw/cqh; .hero-grid keeps container-type: size for this), so the
   crop tracks the real box at any viewport.

   Under each tile a flat black .tile-void layer covers the cell, so
   while the tile turns over (front crop rotating away, back dummy
   image rotating in) the continuous photo never shows through the
   tile area; every other cell stays on the untouched continuous
   photo.

   Remove: delete this section, the .tile-void divs in index.html,
   plus the [HERO TILES] V3 mechanics section and script above.
   ===================================================================== */

/* webp/hero.webp intrinsic dimensions (2000 x 1333) */
.hero-grid {
  --hero-iw: 2000;
  --hero-ih: 1333;
  --hero-crop-x: max(100cqw, calc(var(--hero-iw) * 100cqh / var(--hero-ih)));
  --hero-crop-y: max(calc(100cqw * var(--hero-ih) / var(--hero-iw)), 100cqh);
  --hero-off-x: calc((100cqw - var(--hero-crop-x)) / 2);
  --hero-off-y: calc((100cqh - var(--hero-crop-y)) / 2);
}

/* bottom-left corner cell (col 1, row 4) has no pre-existing
   nav-item class — this placement only, no styling of its own. */
.nav-bottom-left2 {
  grid-column: 1 / 2;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* right-column cells (col 4, rows 1-3): the previously empty cells
   converted to non-navigation cut-out tiles — placement rules only,
   exactly like the left-column cells above (tile structure comes
   from .hero-tile, the front-face crop from the shared formula
   below). The row-4 cell keeps its existing .nav-bottom-col4
   placement. */
.nav-top-right {
  grid-column: 4 / 5;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-middle-right {
  grid-column: 4 / 5;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-bottom-right {
  grid-column: 4 / 5;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* central 2x2 cells (col 2-3, row 2-3): converted to
   non-navigation cut-out tiles for the title-redesign prototype —
   placement rules only, exactly like the other new cells above. */
.nav-center1 {
  grid-column: 2 / 3;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-center2 {
  grid-column: 3 / 4;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-center3 {
  grid-column: 2 / 3;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-center4 {
  grid-column: 3 / 4;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* top-center cells (col 2-3, row 1): the last two cells of the grid,
   non-navigation cut-out tiles — placement rules only, exactly like
   the other new cells above. */
.nav-top-center1 {
  grid-column: 2 / 3;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-top-center2 {
  grid-column: 3 / 4;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* [HERO TITLE PROTOTYPE] KASRA / KHANI temporarily hidden while the
   central tiles stand in — delete this rule to restore the title
   (nothing else involved). !important also beats the mobile
   re-assertion at <=992px. */
.hero-title,
.title-vertical-wrap { display: none !important; }

/* front face: the exact slice of the shared photo that the
   continuous .hero__bg shows underneath this tile's cell — same
   image, cover math and grayscale treatment as the original photo
   layer, so a closed tile matches it pixel-for-pixel. Re-asserts
   the V3 absolute layout (the V1.3 section used to override it
   with position:relative, which shrank the face to its label).
   Position = off - c*cell (the image's top-left is placed at
   offX/cx*cell in grid space, so grid point c*cell maps to image
   point c*cell - off). The result is always <= 0, i.e. the image
   always covers the face; a POSITIVE position under no-repeat
   leaves the uncovered part transparent and the black .tile-void
   underneath shows through (the row-0 "black rectangle" bug). */
.hero-tile .tile-face--front {
  position: absolute;
  inset: 0;
  background-image: url("webp/hero.webp");
  background-size: var(--hero-crop-x) var(--hero-crop-y);
  background-position: calc(var(--hero-off-x) - var(--cx, 0) * 25cqw)
                       calc(var(--hero-off-y) - var(--cy, 0) * 25cqh);
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(0.95) brightness(0.9);
  transition: filter 0.4s ease;
}

/* back face: temporarily the SAME shared-photo crop as its own front
   face — same image, same cover math, same grayscale treatment, so a
   turned tile shows the identical slice again (no placeholder
   imagery). --cx/--cy are inherited from the tile root, so this one
   rule covers all 16 tiles. Later: unique per-tile back photos via
   .tile-image--<name> overrides here (image/size/position only —
   the animation architecture stays untouched). */
.hero-tile .tile-face--back {
  background-color: rgba(0, 0, 0, 0.35);
  background-image: url("webp/hero.webp");
  background-size: var(--hero-crop-x) var(--hero-crop-y);
  background-position: calc(var(--hero-off-x) - var(--cx, 0) * 25cqw)
                       calc(var(--hero-off-y) - var(--cy, 0) * 25cqh);
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(0.95) brightness(0.9);
}

/* navigation-tile back label: a plain <a> so it automatically carries
   the EXISTING .nav-item a typography (all breakpoints, no redesign);
   pointer-events + tabindex -1 keep it fully non-interactive — while
   a tile is turned, the real click target is the .tile-open-link
   overlay exactly as before; data-i18n keeps it in sync with the
   front label through lang.js */
.hero-tile .tile-face--back .tile-back-label {
  pointer-events: none;
}

/* the 3px grid line at this cell's top and left edges — the same
   lines the original .hero__bg::after draws across the hero, kept
   on the front face so a closed tile keeps the grid look */
.hero-tile .tile-face--front::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.4) 3px,
      transparent 3px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 3px, transparent 3px);
  background-size: 100% 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* flat black void under the tile: covers the continuous photo in
   this cell while the tile is turned (the back-face dummy image
   reads on black instead of the photo); hidden under the opaque
   front face when the tile is closed */
.hero-tile .tile-void {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}

/* =====================================================================
   [HERO FORM FIXES v1.0]
   1) nav back labels render identically to their front labels
   2) one stable grid-line overlay above all tile faces
   3) DE/EN language group on the language tile's back face
   Remove: delete this section, the .hero-grid-lines div and the
   back-face .lang group in index.html; restore the per-face
   .tile-face--front::after rule below to nothing.
   ===================================================================== */

/* 1) The back-face nav label is a plain <a> carrying the .nav-item a
   typography (same as the front label at every breakpoint). The old
   .tile-face--back span placeholder rule (11px / 0.3em / #ddd) made
   the back label visibly smaller and more spread out than the front
   one; the span now inherits the anchor's computed values, so front
   and back are identical: same family, size, weight, tracking,
   alignment, color and position. */
.hero-tile .tile-face--back .tile-back-label span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  padding: 0;
}

/* 2) Grid lines: a single continuous layer above all tiles
   (z 7 > tile z 5/6; the z 99 hero menu and the z 1000+ nav drawer
   stay above it). Same 3px rgba(255,255,255,0.4) 4x4 line pattern —
   same recipe and overlay blend as the original .hero__bg::after —
   but visually independent of the tile faces, so the lines stay put
   while a tile turns and across viewport resizes (the 25% tile size
   matches the grid at every breakpoint). */
.hero .hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.4) 3px,
      transparent 3px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 3px, transparent 3px);
  background-size: calc(100% / 4) calc(100% / 4);
  mix-blend-mode: overlay;
}
/* the per-face line layers now come from the overlay above — kill
   them so no double lines remain on closed tiles */
.hero-tile .tile-face--front::after {
  content: none;
}

/* 3) The back-face .lang group: its separator span must not receive
   the 11px / 0.3em placeholder rule either; everything else
   (buttons, sizes, active state) inherits the existing .lang styles,
   identical to the front-face group. lang.js syncs all groups from
   one shared state — no new handlers. */
.hero-tile .tile-face--back .lang span {
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}

/* ---- [MOBILE UX P1A] homepage footer on phones (<=600px only) ----
   The legacy mobile blocks kept DATENSCHUTZ absolutely centred
   while the LINK/INST circles sat at the right edge of the same
   row; on narrow phones the centred text collided with the
   circles. Mobile now: the social pair gets its own right-aligned
   row on top (black ring for discoverability, circular form and
   60px size kept), and IMPRESSUM + DATENSCHUTZ share one legal
   row below in normal flow (left / right — they can wrap but can
   never overlap). Desktop >=601px is untouched. */
@media (max-width: 600px) {
  .bottom-nav-bar {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 14px 20px !important;
  }
  .bottom-nav-right {
    order: -1 !important;
    width: 100% !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    margin-bottom: 4px;
  }
  .bottom-nav-right .circle-btn-nav {
    border-color: #000 !important;
  }
  .bottom-nav-center {
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    margin-left: auto !important;
    padding: 14px 0 !important;
    width: auto !important;
    text-align: right !important;
    order: 1 !important;
  }
  .bottom-nav-left {
    margin: 0 !important;
    padding: 14px 0 !important;
    width: auto !important;
    text-align: left !important;
    order: 0 !important;
  }
}
