/*
Theme Name: Caroline Stolz Portfolio Theme - Light 90s Edition
Description: Helles Theater-Portfolio mit NeongrÃ¼n-Akzenten (v5.7.1)
Author: Caroline Stolz
Version: 5.7.1
License: GPLv2 or later
Text Domain: caroline-stolz
Tags: portfolio, 90s, theater, minimal, light
*/

/* ===== LIGHT 90s CSS VARIABLES ===== */
:root {
  --color-primary: #000000;
  --color-secondary: #1a1a1a;
  --color-accent: #00cc66;
  --color-accent-muted: #009955;
  --color-accent-light: #33dd88;
  --color-text: #2a2a2a;
  --color-text-light: #4a4a4a;
  --color-text-muted: #6a6a6a;
  --color-dark: #000000;
  --color-light: #f5f5f5;
  --color-lighter: #fafafa;
  --color-white: #ffffff;
  --color-border: #00cc66;
  --color-border-light: #e0e0e0;
  --color-border-subtle: #d0d0d0;

  --color-bg-primary: #ffffff;
  --color-bg-secondary: #fafafa;
  --color-bg-card: #ffffff;
  --color-bg-elevated: #f5f5f5;

  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', -apple-system, sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  --radius: 0px;
  --border-width: 1px;
  --border-width-thick: 2px;
}

/* ===== LIGHT 90s RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: var(--border-width) solid var(--color-accent);
  padding-bottom: 1px;
}

a:hover {
  color: var(--color-accent);
  border-bottom-color: transparent;
}

/* ===== LIGHT 90s TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== STICKY HEADER IMAGE MIT PARALLAX-EFFEKT ===== */
.site {
  position: relative;
  z-index: 20;
}

.z-index {
  position: relative;
  z-index: 99;
}

.header-image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; 
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.site-main,
.site-content {
  position: relative;
  z-index: 10;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  background: var(--color-bg-primary);
}
.site-content {
  padding-bottom: 10vh;
}
.section {
  background: var(--color-bg-primary);
}

.hero {
  position: relative;
  z-index: 2;
  /* margin-top: -100vh; */
  padding-top: 40vh;
  padding-bottom: 20vh;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 70%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--color-text);
}

.hero-content {
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .site-header {
    position: fixed;
    z-index: 20;
  }

  .header-image-container {
    height: 70vh;
  }
  .header-image {
    background-size: cover;
  }
  
  .site-main,
  .site-content {
    z-index: 10;
  }
  
  .hero {
    /* margin-top: -70vh; */
    padding-bottom: 15vh;
  }
  
  .header-image {
    background-attachment: scroll;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .header-image-container {
    height: 60vh;
  }
  
  .site-main,
  .site-content {
  }
  
  .hero {
    /* margin-top: -60vh; */
    padding-top: 20vh;
    padding-bottom: 10vh;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ===== SEKTIONS-HEADER-BILDER STICKY MIT PARALLAX ===== */
.header-image-container {
  z-index: -1;
}
.section-header-image {
  position: sticky;
  top: 0;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  z-index: -1;
  margin: 0;
}

.section-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* Parallax über JS transform, nicht background-attachment */
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ===== PURE CSS PARALLAX ===== */
.section-header-bg,
.header-image {
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

@supports (-webkit-overflow-scrolling: touch) {
  .section-header-bg,
  .header-image {
    background-attachment: scroll; /* Mobile: scroll */
    transform: translateZ(0) scale(1.05);
  }
  
  /* Parallax-Ersatz mit scale auf Mobile */
}

.section-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.3) 100%
  );
  z-index: 1;
}

.section-header-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-white);
}

/* Mobile */
@media (max-width: 768px) {
  .section-header-image {
    height: 60vh;
  }
  .section-header-bg {
    background-attachment: scroll;
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .section-header-image {
    height: 60vh;
  }
}


/* ===== LIGHT 90s LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: var(--border-width-thick);
  background: var(--color-accent);
}

.section-header {
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: var(--border-width-thick);
  background: var(--color-accent);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 600px;
  font-weight: 400;
  text-transform: none;
}

/* ===== LIGHT 90s HEADER ===== */
.site-header {
  background: var(--color-bg-primary);
  border-bottom: var(--border-width) solid var(--color-border-light);
  position: relative;
  top: 0;
  width: 100%;
}
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    z-index: 20;
    background: none;
    border: none;
  }
  .site-branding {
    display: none;
  }
  .main-navigation {
    text-align: right;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.site-title {
  font-family: var(--font-primary);
  font-size: 1.675rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.main-navigation li {
  border-right: none;
  padding-right: 0;
}

.main-navigation a {
  font-weight: 500;
  color: var(--color-text);
  padding: var(--spacing-xs) var(--spacing-sm);
  display: block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: var(--border-width) solid var(--color-accent);
  background: transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ===== LIGHT 90s HERO SECTION ===== */
.hero {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-primary);
  position: relative;
  border-bottom: var(--border-width) solid var(--color-border-light);
}

/*
.hero::before {
  content: '';
  position: absolute;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 150px;
  height: 150px;
  border: var(--border-width) solid var(--color-border-subtle);
  opacity: 0.5;
  z-index: 0;
}
*/

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.0;
}

.hero-subtitle {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--color-accent);
  border: none;
}

.hero-description {
  font-size: 1.0625rem;
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
  line-height: 1.65;
  border-left: var(--border-width-thick) solid var(--color-accent);
  padding-left: var(--spacing-md);
  color: var(--color-text-light);
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -var(--spacing-sm);
  left: -var(--spacing-sm);
  width: 100%;
  height: 100%;
  border: var(--border-width) solid var(--color-border-subtle);
  z-index: -1;
}

.hero-image img {
  border: none;
  width: 100%;
  height: auto;
}

/* ===== LIGHT 90s BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: var(--border-width) solid var(--color-accent);
  font-family: var(--font-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  text-decoration: none;
  background: transparent;
  color: var(--color-text);
}

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

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

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-1px);
  border-bottom: var(--border-width) solid var(--color-accent-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-bottom: var(--border-width) solid var(--color-accent);
}

/* ===== LIGHT 90s CARDS ===== */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--color-bg-card);
  border: var(--border-width) solid var(--color-border-light);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: var(--border-width-thick);
  background: var(--color-accent);
  transition: width 0.4s ease;
  z-index: 2;
}

.card:hover::before {
  width: 100%;
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.02);
}

.card-content {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
}

.card-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  border: none;
  padding: 0;
}

h1 span.wrapped,
h2 span.wrapped,
h3 span.wrapped {
  font-size: 70%;
  font-style: italic;
  display: block;
  padding-top: 0.5rem;
  color: #222;
}

.card-title a:hover {
  color: var(--color-accent);
}

.card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

/* ===== LIGHT 90s SINGLE POST LAYOUT ===== */
.post-hero {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-secondary);
  margin-bottom: var(--spacing-2xl);
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.post-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.post-hero-content h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.0;
}

.post-meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
  border-left: var(--border-width-thick) solid var(--color-accent);
  padding-left: var(--spacing-md);
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.meta-label {
  font-weight: 600;
  color: var(--color-primary);
  min-width: 100px;
  margin-right: var(--spacing-sm);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.post-hero-image {
  position: relative;
}

.post-hero-image::before {
  content: '';
  position: absolute;
  top: -var(--spacing-sm);
  right: -var(--spacing-sm);
  width: 100%;
  height: 100%;
  border: var(--border-width) solid var(--color-border-subtle);
  z-index: -1;
}

.post-hero-image img {
  border: none;
  width: 100%;
  height: auto;
}

.post-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.post-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: var(--spacing-2xl);
  color: var(--color-text-light);
}

.post-content p {
  margin-bottom: var(--spacing-lg);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: var(--border-width) solid var(--color-border-light);
}

/* ===== RELATED ITEMS SECTION ===== */
.related-items {
  background: var(--color-bg-secondary);
  padding: var(--spacing-2xl) 0;
  margin-top: var(--spacing-2xl);
  border-top: var(--border-width) solid var(--color-border-light);
}

.related-items .section-title {
  font-size: 1.875rem;
  margin-bottom: var(--spacing-xl);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: var(--border-width) solid var(--color-accent);
}

/* ===== VITA TIMELINE LIGHT 90s ===== */
.vita-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.vita-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--border-width-thick);
  background: var(--color-accent);
}

.vita-timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  margin-left: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--spacing-xl) - var(--border-width-thick));
  top: var(--spacing-md);
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border: var(--border-width) solid var(--color-white);
  z-index: 2;
}

.timeline-content {
  background: var(--color-bg-card);
  padding: var(--spacing-lg);
  border: var(--border-width) solid var(--color-border-light);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: var(--border-width-thick);
  background: var(--color-accent);
}

.timeline-year {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-xs);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
}

.timeline-title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  text-transform: uppercase;
}

.timeline-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== LIGHT 90s FOOTER ===== */
.site-footer {
  background: var(--color-bg-primary);
  color: var(--color-text-light);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  
  position: relative;
  border-top: var(--border-width) solid var(--color-border-light);
  position: relative;
  z-index: 100;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--border-width-thick);
  background: var(--color-accent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

#footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer-menu li {
  margin: 0;
  display: inline-block;
}

#footer-menu a {
  font-size: 0.8125rem;
  color: var(--color-text);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-bottom: var(--border-width) solid var(--color-accent);
  transition: all 0.3s ease;
  display: inline-block;
}

#footer-menu a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-bottom: var(--border-width) solid var(--color-accent);
}

.footer-info {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ===== RESPONSIVE LIGHT 90s ===== */
@media (max-width: 768px) {
  .hero-grid,
  .post-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .hero-content h1,
  .post-hero-content h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-bg-primary);
    border: var(--border-width) solid var(--color-border-light);
    border-top: none;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .main-navigation li {
    border-right: none;
    border-bottom: var(--border-width) solid var(--color-border-light);
    padding: 0;
  }

  .main-navigation li:last-child {
    border-bottom: none;
  }

  .main-navigation a {
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
    text-align: left;
    border: none;
  }

  .main-navigation a:hover,
  .main-navigation .current-menu-item a {
    background: var(--color-accent);
    color: var(--color-white);
  }

  .main-navigation.mobile-open ul {
    display: flex;
  }

  .footer-menu {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer-menu a {
    width: 100%;
    text-align: center;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .post-content-wrapper {
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* ===== MOBILE MENU TOGGLE LIGHT 90s ===== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: var(--border-width) solid var(--color-accent);
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

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

*:focus {
  outline: var(--border-width-thick) solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link:focus {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 10000;
  text-decoration: none;
  border: var(--border-width) solid var(--color-accent);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mt-xl { margin-top: var(--spacing-xl) !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* ===== CARD VARIATIONS ===== */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.card-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: var(--border-width) solid var(--color-border-light);
}

.card-actions .btn {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-image {
  aspect-ratio: 16/9;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-width) dashed var(--color-border-subtle);
}

.placeholder-content {
  text-align: center;
  color: var(--color-text-muted);
}

.placeholder-content h3 {
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 600;
}

.placeholder-content p {
  font-size: 0.8125rem;
  margin: 0;
  text-transform: none;
  color: var(--color-text-muted);
}

/* ===== BREADCRUMB LIGHT 90s ===== */
.breadcrumb {
  padding: var(--spacing-md) 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: var(--border-width) solid var(--color-accent);
  padding-bottom: 1px;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  border-bottom-color: transparent;
}

.breadcrumb .current {
  color: var(--color-text-light);
  font-weight: 600;
}

/* ===== Video Embed Light 90s ===== */
/* CSS für responsive Video-Einbettungen */
.video-embed {
    margin: 2rem 0;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-card);
}

.production-video {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    border: var(--border-width) solid var(--color-border-light);
    background: var(--color-bg-card);
}

.production-video h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    font-size: 1.5rem;
}

/* Responsive Video Container */
.video-embed.youtube-embed,
.video-embed.vimeo-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-embed.youtube-embed iframe,
.video-embed.vimeo-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ===== SCROLLBAR LIGHT 90s ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
  border-left: var(--border-width) solid var(--color-border-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border: var(--border-width) solid var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-light);
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .card-actions,
  .btn,
  .related-items {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    break-inside: avoid;
    border: 1px solid #000;
    margin-bottom: var(--spacing-md);
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-bg-primary);
  }
  .main-navigation ul {
    top: 0;
  }
}

/* ===== BAUHAUS LOGO CAROLINE STOLZ ===== */
.bauhaus-logo {
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
  user-select: none;
}

.bauhaus-logo .name-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bauhaus-logo .caroline {
  position: relative;
  z-index: 2;
  background: linear-gradient(45deg, #000 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bauhaus-logo .stolz {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-left: 1.5rem;
  margin-top: -0.2rem;
  display: block;
  text-align: right;
}

/* Geometrische Akzente */
.bauhaus-logo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 0;
}

.bauhaus-logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #000;
  border-radius: 50%;
  z-index: 0;
}

/* Zusätzliche geometrische Elemente */
.bauhaus-logo .caroline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 3px;
  height: 25px;
  background: var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
  z-index: -1;
}

.bauhaus-logo .stolz::after {
  content: '';
  position: absolute;
  top: -10px;
  right: -15px;
  width: 15px;
  height: 15px;
  background: #000;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Hover-Effekt */
.bauhaus-logo:hover {
  animation: bauhaus-pulse 0.6s ease-in-out;
}

.bauhaus-logo:hover .caroline {
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
}

.bauhaus-logo:hover .stolz {
  color: #000;
  -webkit-text-fill-color: #000;
}

.bauhaus-logo:hover::before {
  background: #000;
  animation: triangle-spin 0.8s ease-in-out;
}

.bauhaus-logo:hover::after {
  background: var(--color-accent);
  animation: circle-bounce 0.6s ease-in-out;
}

@keyframes bauhaus-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes triangle-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes circle-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Responsive */
@media (max-width: 768px) {
  .bauhaus-logo {
    font-size: 2rem;
  }
  .bauhaus-logo .stolz {
    font-size: 1.4rem;
    margin-left: 1rem;
  }
}

/* ===== POST GALERIE STYLES ===== */
.post-gallery-section {
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-xl) 0;
  border-top: var(--border-width) solid var(--color-border-light);
}

.post-gallery {
  gap: var(--spacing-md);
}

.gallery-item {
  overflow: hidden;
  border: var(--border-width) solid var(--color-border-light);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: fixed; top:0; left:0; right:0; bottom:0; z-index:9999;
  background:rgba(0,0,0,0.97); text-align:center;
}
.gallery-overlay img {
  max-width:92vw; max-height:90vh; box-shadow: 0 0 32px #111; border-radius: 6px;
}
.gallery-overlay .close, .gallery-overlay .prev, .gallery-overlay .next {
  position: absolute; color: #fff; background: rgba(0,0,0,0.7); border-radius:50%;
  width:36px; height:36px; font-size:32px; line-height:36px; text-align:center; cursor:pointer;
}
.gallery-overlay .close { top:14px; right:30px; }
.gallery-overlay .prev  { left:18px; top:50%; transform:translateY(-50%); }
.gallery-overlay .next  { right:18px; top:50%; transform:translateY(-50%); }
.gallery-overlay .caption {
  margin:24px 0 0; color:#eee; font-size:1.08rem; max-width:90vw;
  line-height:1.3; font-family:sans-serif; word-break:break-word;
}
@media (max-width:600px){
  .gallery-overlay img{max-width:98vw;max-height:65vh;}
  .gallery-overlay .caption{font-size:0.99rem;}
}


