@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-text: #000000;
  --color-text-muted: #4a4a4a;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafe;
  --color-secondary: #90a1be;
  --color-secondary-light: #e2e8f0;
  --color-accent: #d31047;
  --color-accent-hover: #b00d3a;
  
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 1.1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 0.75rem;
  border-radius: 99px;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition-smooth);
}

/* --- Accessibility Styles & Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.desktop-only {
  display: none;
}

@media (min-width: 769px) {
  .desktop-only {
    display: inline;
  }
}

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* --- Layout Wrapper --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* --- Sticky Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(144, 161, 190, 0.15);
  transition: var(--transition-smooth);
}

.header--scrolled {
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-text);
  z-index: 1001;
}

.logo:hover {
  color: var(--color-accent);
}

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

.nav__list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link--active {
  color: var(--color-text);
}

/* Hamburger Menu Button */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition-smooth);
  border-radius: 99px;
}

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

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  background: var(--color-bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__claim {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.hero__claim span {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero__subclaim {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 1.5rem;
  max-width: 600px;
}

.hero__subclaim::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 4px;
  background-color: var(--color-secondary);
  border-radius: 99px;
}

.hero__image-container {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.2;
  transition: var(--transition-smooth);
}

.hero__image-wrapper:hover::before {
  transform: translate(-5px, 5px);
  opacity: 0.3;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(144, 161, 190, 0.25);
  transition: transform 0.5s ease;
}

.hero__image-wrapper:hover .hero__image {
  transform: translateY(-5px);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px; /* soft rounded */
  transition: var(--transition-smooth);
  width: fit-content;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 16, 71, 0.25);
}

.btn--secondary {
  border: 2px solid var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn--text {
  padding: 0.5rem 0;
  color: var(--color-accent);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--text:hover {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent-hover);
}

.btn--text::after {
  content: '→';
  transition: transform 0.2s ease;
}

.btn--text:hover::after {
  transform: translateX(4px);
}

/* --- Section Über mich --- */
.about-sec__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-sec__image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.about-sec__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-sec__image-container:hover .about-sec__image {
  transform: scale(1.03);
}

.about-sec__content h2 {
  margin-bottom: 2.5rem;
}

.about-sec__text {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* --- Section Sprechen und Vernetzen --- */
.sprechen {
  background-color: var(--color-bg-alt);
}

.sprechen__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.sprechen__highlight {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 500;
  padding-right: 2rem;
}

.sprechen__text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.sprechen__text p:last-child {
  margin-bottom: 0;
}

/* --- Section Publikationen --- */
.publikationen__intro {
  max-width: 800px;
  font-size: 1.25rem;
  margin-bottom: 4rem;
  line-height: 1.6;
}

/* Carousel Architecture */
.carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: grab;
  padding: 1rem 0;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 30px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 20px);
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  user-select: none;
}

.carousel-slide:hover {
  transform: translateY(-4px);
}

.carousel-slide__img-container {
  width: 100%;
  height: 240px;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.carousel-slide__img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.4s ease;
  mix-blend-mode: multiply;
}

.carousel-slide:hover .carousel-slide__img {
  transform: scale(1.03);
}

.carousel-slide__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.carousel-slide__text {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.carousel-slide__citation {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(144, 161, 190, 0.15);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.carousel-slide__link {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
}

.carousel-slide__link:hover {
  color: var(--color-accent-hover);
}

.carousel-slide__link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.carousel-slide__link:hover::after {
  transform: translateX(3px);
}

/* Drag State Modifier class to prevent trigger actions */
.carousel-viewport.is-dragging a {
  pointer-events: none;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.carousel-arrows {
  display: flex;
  gap: 1rem;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.carousel-arrow:hover:not(:disabled) {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-secondary-light);
  transition: var(--transition-smooth);
}

.carousel-dot--active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* --- Section Kontakt --- */
.kontakt-sec {
  background-color: var(--color-bg-alt);
  border-top: 1px solid rgba(144, 161, 190, 0.1);
  text-align: center;
}

.kontakt-sec h2::after {
  margin-left: auto;
  margin-right: auto;
}

.kontakt-sec__content {
  max-width: 700px;
  margin: 0 auto;
}

.kontakt-sec__text {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.kontakt-sec__name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  color: var(--color-text);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg);
  border-top: 1px solid rgba(144, 161, 190, 0.15);
  padding: 3rem 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__nav {
  display: flex;
  gap: 2rem;
}

.footer__link:hover {
  color: var(--color-accent);
}

/* --- Subpages Layout (Impressum / Datenschutz) --- */
.subpage-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid rgba(144, 161, 190, 0.1);
}

.subpage-hero h1 {
  font-size: 3rem;
  margin-bottom: 0;
}

.subpage-content {
  padding: 5rem 0;
}

.subpage-content__wrapper {
  max-width: 800px;
}

.subpage-content h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.subpage-content h2::after {
  display: none;
}

.subpage-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.subpage-content p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.subpage-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.subpage-content li {
  margin-bottom: 0.5rem;
}

.subpage-content address {
  font-style: normal;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Mobile Menu Drawer --- */
.nav__list-container {
  display: flex;
}

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

@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero__grid {
    gap: 3rem;
  }
  
  .hero__claim {
    font-size: 3.4rem;
  }
  
  .taetigkeiten__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .taetigkeit-card {
    padding: 2rem 1.5rem;
  }
  
  .carousel-slide {
    flex: 0 0 calc(50% - 15px); /* 2 items on tablet */
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 5rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .subpage-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero__image-container {
    max-width: 450px;
    margin: 0 auto;
    order: -1; /* image on top on mobile */
  }
  
  .hero__subclaim {
    border: none;
    padding-left: 0;
    padding-top: 1rem;
    margin: 0 auto;
  }
  
  .about-sec__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-sec__image-container {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .sprechen__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .sprechen__highlight {
    padding-right: 0;
    font-size: 1.8rem;
    border-bottom: none;
    padding-bottom: 0.5rem;
  }
  
  .carousel-slide {
    flex: 0 0 100%; /* 1 item on mobile */
  }
  
  .carousel-controls {
    margin-top: 2rem;
  }
  
  .footer .container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer__nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Navigation Drawer for mobile */
  .burger-menu {
    display: flex;
  }
  
  .nav__list-container {
    position: fixed;
    top: var(--header-height);
    left: 100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
    border-top: 1px solid rgba(144, 161, 190, 0.15);
    overflow-y: auto;
    padding: 3rem 2rem;
    visibility: hidden;
  }
  
  .header--menu-open .nav__list-container {
    left: 0;
    visibility: visible;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
  }
  
  .nav__link {
    font-size: 1.3rem;
  }
  
  /* Burger Animation */
  .header--menu-open .burger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .header--menu-open .burger-menu span:nth-child(2) {
    opacity: 0;
  }
  
  .header--menu-open .burger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Header Flex Item Ordering */
.logo {
  order: 1;
  margin-right: auto;
}

.nav__list-container {
  order: 2;
}

/* --- Layout Switcher --- */
.layout-switch-container {
  order: 3;
  display: flex;
  align-items: center;
  margin-left: 2.5rem;
}

.layout-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  background-color: var(--color-secondary-light);
  border-radius: 30px;
  padding: 4px;
  cursor: pointer;
  user-select: none;
  height: 36px;
  width: 120px;
  border: 1px solid rgba(144, 161, 190, 0.2);
  transition: var(--transition-smooth);
}

.layout-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 57px;
  height: 28px;
  background-color: var(--color-bg);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
  z-index: 1;
}

.layout-switch__label {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  z-index: 2;
  transition: color 0.3s ease;
}

.layout-switch__label--1 {
  color: var(--color-text);
}

/* Variant 2 Active State for Toggle Switch */
body.variant-2 .layout-switch {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(211, 16, 71, 0.35);
}

body.variant-2 .layout-switch__thumb {
  transform: translateX(57px);
  background-color: var(--color-accent);
}

body.variant-2 .layout-switch__label--1 {
  color: var(--color-text-muted);
}

body.variant-2 .layout-switch__label--2 {
  color: #ffffff;
}

/* Header state adjustments: Transparent Header when at top of index.html in V2 */
body.variant-2 .header:not(.header--scrolled) {
  background-color: transparent;
  border-bottom-color: transparent;
}

body.variant-2 .header:not(.header--scrolled) .logo {
  color: #ffffff;
}

body.variant-2 .header:not(.header--scrolled) .nav__link {
  color: #ffffff;
}

body.variant-2 .header:not(.header--scrolled) .nav__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

body.variant-2 .header:not(.header--scrolled) .burger-menu span {
  background-color: #ffffff;
}

body.variant-2 .header:not(.header--scrolled) .layout-switch {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

body.variant-2 .header:not(.header--scrolled) .layout-switch__thumb {
  background-color: var(--color-accent);
}

body.variant-2 .header:not(.header--scrolled) .layout-switch__label--1 {
  color: rgba(255, 255, 255, 0.6);
}

body.variant-2 .header:not(.header--scrolled) .layout-switch__label--2 {
  color: #ffffff;
}

/* --- Variant 2 General Layout Overrides --- */
body.variant-2 {
  --color-bg-alt: #faf6ee; /* premium warm linen / sand alternate bg */
}

/* Variant 2 Full-Bleed Hero */
body.variant-2 .hero {
  min-height: 100vh;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%), url('Assets/Yvonne-Zwick-Header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

body.variant-2 .hero__grid {
  grid-template-columns: 1fr;
  max-width: 900px;
}

body.variant-2 .hero__claim {
  color: #ffffff;
  font-size: 5rem;
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.45);
}

body.variant-2 .hero__claim span {
  color: #ff4a7d; /* Brighter accent color to stand out on dark background */
}

body.variant-2 .hero__subclaim {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  max-width: 700px;
}

body.variant-2 .hero__subclaim::before {
  background-color: rgba(255, 255, 255, 0.4);
}

body.variant-2 .hero__image-container {
  display: none; /* Hide portrait since banner is full background */
}

/* Premium Styling Variations for Variant 2 (Sprechen & Vernetzen Border style) */
body.variant-2 .sprechen__highlight {
  position: relative;
  padding-left: 2rem;
  padding-right: 0;
}

body.variant-2 .sprechen__highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 99px;
}

/* Responsive adjustments for layout switch and V2 */
@media (max-width: 1024px) {
  body.variant-2 .hero__claim {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .logo {
    order: 1;
    margin-right: 0;
  }
  
  .layout-switch-container {
    order: 2;
    margin-left: auto;
    margin-right: 1.5rem;
  }
  
  .burger-menu {
    order: 3;
  }
  
  body.variant-2 .hero {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%), url('Assets/Yvonne-Zwick-Header.png');
    background-position: 80% center;
    text-align: center;
    padding-top: calc(var(--header-height) + 2rem);
    align-items: flex-end; /* align to the bottom */
    padding-bottom: 6rem;
    min-height: 100vh;
  }
  

  body.variant-2 .hero__subclaim {
    border-left: none;
    padding-left: 0;
    margin: 0 auto;
  }
  
  body.variant-2 .hero__claim {
    font-size: 3rem;
  }

  /* Variant 1 Mobile Hero scale down and fill width nicely */
  body:not(.variant-2) .hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 1.5rem;
    display: flex;
    align-items: center;
  }
  
  body:not(.variant-2) .hero__grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
  }

  body:not(.variant-2) .hero__image-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }
  
  body:not(.variant-2) .hero__image-wrapper {
    max-height: 42vh;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(144, 161, 190, 0.25);
  }

  body:not(.variant-2) .hero__image {
    width: 100%;
    height: 42vh;
    object-fit: cover;
    object-position: center 25%;
  }

  body:not(.variant-2) .hero__claim {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    line-height: 1.25;
  }

  body:not(.variant-2) .hero__subclaim {
    font-size: 1.15rem;
    padding-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 0;
  }

  body:not(.variant-2) .hero__subclaim::before,
  body.variant-2 .hero__subclaim::before {
    display: none;
  }
}

/* Variant 2 Cover Zoom Override */
body.variant-2 .carousel-slide:hover .carousel-slide__img {
  transform: scale(1.08);
}

/* Variant 2 Portrait Crop Prevention */
body.variant-2 .about-sec__image {
  aspect-ratio: auto;
  object-fit: contain;
}

/* Horizontal Slides for V1 Carousel (Desktop Only) */
@media (min-width: 769px) {
  body:not(.variant-2) .carousel-slide {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
  body:not(.variant-2) .carousel-slide__img-container {
    width: 120px;
    flex-shrink: 0;
    height: 180px;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
  }
  body:not(.variant-2) .carousel-slide__content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 180px;
  }
}

/* Layout Switcher Scrolled & Subpage state */
.header--scrolled .layout-switch {
  background-color: var(--color-secondary-light) !important;
  border-color: rgba(144, 161, 190, 0.3) !important;
  box-shadow: none !important;
}
.header--scrolled .layout-switch__thumb {
  background-color: var(--color-bg) !important;
}
body.variant-2 .header--scrolled .layout-switch__thumb {
  background-color: var(--color-accent) !important;
}
.header--scrolled .layout-switch__label--1 {
  color: var(--color-text) !important;
}
.header--scrolled .layout-switch__label--2 {
  color: var(--color-text-muted) !important;
}
body.variant-2 .header--scrolled .layout-switch__label--1 {
  color: var(--color-text-muted) !important;
}
body.variant-2 .header--scrolled .layout-switch__label--2 {
  color: #ffffff !important;
}

/* Variant 2 Menu Font-Weight Override */
body.variant-2 .nav__link {
  font-weight: 600;
}

/* Laptop Spacing Breakpoint */
@media (max-width: 1200px) {
  .hero {
    padding-bottom: 2rem;
  }
  .about-sec {
    padding-top: 2rem;
  }
}

/* Legal Links inside mobile navigation drawer */
.nav__mobile-legal {
  display: none;
}

@media (max-width: 768px) {
  .nav__list-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__mobile-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 2.5rem;
    width: 100%;
    border-top: 1px solid rgba(144, 161, 190, 0.15);
  }
  
  .nav__mobile-legal-link {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  
  .nav__mobile-legal-link:hover {
    color: var(--color-text);
  }

  .nav__mobile-legal-sep {
    color: var(--color-secondary);
    font-size: 0.85rem;
  }

  /* Ensure open mobile menu in V2 has white header bar background, dark logo, dark burger icon, and gray menu links */
  body.variant-2 .header.header--menu-open:not(.header--scrolled) {
    background-color: var(--color-bg);
    border-bottom-color: rgba(144, 161, 190, 0.15);
  }
  
  body.variant-2 .header.header--menu-open:not(.header--scrolled) .logo {
    color: var(--color-text);
  }
  
  body.variant-2 .header.header--menu-open:not(.header--scrolled) .burger-menu span {
    background-color: var(--color-text);
  }

  body.variant-2 .header.header--menu-open:not(.header--scrolled) .nav__link {
    color: var(--color-text-muted);
  }

  body.variant-2 .header.header--menu-open:not(.header--scrolled) .nav__link--active {
    color: var(--color-text);
  }
}
