/* ==========================================
   ABOUT PAGE - Royal Bronze Literary Theme
   Parallax Effects & Sophisticated Design
   ========================================== */

:root {
  --about-max-width: 1400px;
  --about-spacing: 120px;
  --about-spacing-mobile: 60px;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */
.about-main {
  position: relative;
  overflow-x: hidden;
}

/* Section Labels — Inter */
.about-section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #B08D57;
  margin-bottom: 16px;
}

/* Section Titles — Cormorant Garamond */
.about-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-h2);
  font-style: normal;
  line-height: 1.1;
  color: #2C3E50;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

html[data-theme="dim"] .about-section-title { color: #B08D57; }

/* ==========================================
   HERO SECTION
   ========================================== */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(176, 141, 87, 0.08), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(176, 141, 87, 0.05), transparent 60%),
    linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  will-change: transform;
}

html[data-theme="dim"] .about-hero-bg {
  background:
    radial-gradient(circle at 30% 40%, rgba(176, 141, 87, 0.15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(176, 141, 87, 0.10), transparent 60%),
    linear-gradient(135deg, #2C3E50 0%, #243442 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  will-change: transform;
}

/* Kicker — Inter */
.about-hero-kicker {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B08D57;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Hero Title — Cormorant Garamond */
.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: var(--weight-h1);
  font-style: normal;
  line-height: 1.1;
  color: #2C3E50;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

html[data-theme="dim"] .about-hero-title { color: #B08D57; }

/* Hero Subtitle — Inter */
.about-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: var(--weight-lead);
  font-style: normal;
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.8);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

html[data-theme="dim"] .about-hero-subtitle { color: rgba(245, 242, 237, 0.8); }

.about-hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(176, 141, 87, 0.6);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: var(--weight-label);
  letter-spacing: 0.05em;
  animation: bounceArrow 2s ease-in-out infinite;
}

.about-hero-scroll-indicator svg { width: 24px; height: 24px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ==========================================
   STORY SECTION
   ========================================== */
.about-story { padding: var(--about-spacing) 0; }

.about-story-grid {
  max-width: var(--about-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-text    { will-change: transform; }

/* Story text — Inter */
.about-story-content p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.8;
  color: rgba(44, 62, 80, 0.85);
  margin-bottom: 24px;
}

html[data-theme="dim"] .about-story-content p { color: rgba(245, 242, 237, 0.85); }

.about-story-content strong { color: #B08D57; font-weight: 700; }

.about-story-media {
  position: relative;
  will-change: transform;
}

.about-story-image {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(176, 141, 87, 0.2);
}

.about-story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 62, 80, 0.4) 100%);
}

.about-story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-stat {
  text-align: center;
  padding: 24px;
  background: rgba(176, 141, 87, 0.05);
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  will-change: transform;
}

html[data-theme="dim"] .about-stat {
  background: rgba(176, 141, 87, 0.08);
  border-color: rgba(176, 141, 87, 0.2);
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.2);
  border-color: #B08D57;
}

/* Stat number — Cormorant Garamond */
.about-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: var(--weight-h1);
  font-style: normal;
  color: #B08D57;
  line-height: 1;
  margin-bottom: 8px;
}

/* Stat label — Inter */
.about-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-label);
  color: rgba(44, 62, 80, 0.7);
}

html[data-theme="dim"] .about-stat-label { color: rgba(245, 242, 237, 0.7); }

/* ==========================================
   VALUES SECTION
   ========================================== */
.about-values {
  padding: var(--about-spacing) 0;
  background: rgba(176, 141, 87, 0.03);
  overflow: hidden;
}

html[data-theme="dim"] .about-values { background: rgba(176, 141, 87, 0.05); }

.about-values-header {
  max-width: var(--about-max-width);
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
}

.about-values-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.about-values-scroll::-webkit-scrollbar { display: none; }

.about-values-track {
  display: flex;
  gap: 32px;
  padding: 0 20px 40px;
  min-width: min-content;
  justify-content: center; /* ← neu */
}

.about-value-card {
  flex-shrink: 0;
  width: 380px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

html[data-theme="dim"] .about-value-card {
  background: rgba(176, 141, 87, 0.08);
  border-color: rgba(176, 141, 87, 0.2);
}

.about-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(176, 141, 87, 0.25);
  border-color: #B08D57;
}

.about-value-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 141, 87, 0.1);
  border-radius: 16px;
  margin-bottom: 24px;
  color: #B08D57;
}

/* Value card title — Cormorant Garamond */
.about-value-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-h3);
  font-style: normal;
  color: #2C3E50;
  margin-bottom: 16px;
}

html[data-theme="dim"] .about-value-card h3 { color: #B08D57; }

/* Value card text — Inter */
.about-value-card p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.8);
}

html[data-theme="dim"] .about-value-card p { color: rgba(245, 242, 237, 0.8); }

/* ==========================================
   TEAM SECTION — Accordion Style (wie News)
   ========================================== */
.about-team { padding: var(--about-spacing) 0; }

.about-team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-team-header {
  text-align: center;
  padding: 0 20px 56px;
}

/* Team intro — Inter */
.about-team-intro {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  color: rgba(44, 62, 80, 0.65);
  max-width: 620px;
  margin: 0 auto;
}

html[data-theme="dim"] .about-team-intro { color: rgba(245, 242, 237, 0.65); }

/* ── Accordion Grid ── */
.about-team-grid {
  display: flex;
  gap: 12px;
  height: 520px;
  padding: 0;
}

/* ── Card Wrapper ── */
.about-team-card-wrapper {
  flex: 1;
  min-width: 80px;
  transition: flex 1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.about-team-card-wrapper:hover { flex: 4; }

.about-team-grid:has(.about-team-card-wrapper:hover) .about-team-card-wrapper:not(:hover) {
  flex: 0.4;
}

/* ── Card ── */
.about-team-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(176, 141, 87, 0.18);
  box-shadow: 0 6px 24px rgba(176, 141, 87, 0.10);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  background: #1b1712;
}

html[data-theme="dim"] .about-team-card {
  border-color: rgba(176, 141, 87, 0.22);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.about-team-card:hover {
  border-color: #B08D57;
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.22);
}

/* ── Card Image ── */
.about-team-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: rgba(176, 141, 87, 0.15);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Placeholder-Muster wenn kein Foto vorhanden */
.about-team-image:not([style*="url"]),
.about-team-image[style*="team-placeholder"] {
  background-image: none;
  background-color: #2a2318;
}

.about-team-image:not([style*="url"])::before,
.about-team-image[style*="team-placeholder"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(176, 141, 87, 0.18) 0%, transparent 60%),
    linear-gradient(160deg, #2a2318 0%, #1b1712 100%);
}

/* Silhouette Icon */
.about-team-image:not([style*="url"])::after,
.about-team-image[style*="team-placeholder"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.2);
  box-shadow: 0 28px 0 20px rgba(176, 141, 87, 0.12);
}

.about-team-card:hover .about-team-image { transform: scale(1.05); }

/* Dark overlay */
.about-team-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.80) 100%
  );
  transition: opacity 0.4s ease;
}

/* ── Card Content — hidden until hover ── */
.about-team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-team-card-wrapper:hover .about-team-info {
  opacity: 1;
  transform: translateY(0);
}

/* Name — Cormorant Garamond */
.about-team-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: var(--weight-h3);
  font-style: normal;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

/* Role — Inter */
.about-team-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--weight-label);
  color: #d4b07a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .about-team-grid {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .about-team-card-wrapper {
    flex: none;
    height: 160px;
    min-width: unset;
    transition: height 1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .about-team-card-wrapper:hover {
    height: 320px;
    flex: none;
  }

  .about-team-grid:has(.about-team-card-wrapper:hover) .about-team-card-wrapper:not(:hover) {
    flex: none;
    height: 90px;
  }

  .about-team-card { border-radius: 14px; }
  .about-team-info { padding: 20px 16px; }
  .about-team-info h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .about-team-card-wrapper { height: 140px; }
  .about-team-card-wrapper:hover { height: 280px; }
  .about-team-info { padding: 16px 12px; }
}

/* ==========================================
   LOCATIONS SECTION
   ========================================== */
.about-locations {
  padding: var(--about-spacing) 0;
  background: rgba(176, 141, 87, 0.03);
}

html[data-theme="dim"] .about-locations { background: rgba(176, 141, 87, 0.05); }

.about-locations-header {
  max-width: var(--about-max-width);
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}

.about-locations-grid {
  max-width: var(--about-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.about-location-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(176, 141, 87, 0.15);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  will-change: transform;
}

html[data-theme="dim"] .about-location-card {
  background: rgba(176, 141, 87, 0.08);
  border-color: rgba(176, 141, 87, 0.2);
}

.about-location-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(176, 141, 87, 0.25);
  border-color: #B08D57;
}

.about-location-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: rgba(176, 141, 87, 0.1);
}

.about-location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 62, 80, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

/* Location overlay title — Cormorant Garamond */
.about-location-overlay h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: var(--weight-h2);
  font-style: normal;
  color: white;
  margin-bottom: 8px;
}

/* Location label — Inter */
.about-location-label {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-label);
  color: #B08D57;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-location-content { padding: 32px; }

/* Location text — Inter */
.about-location-content p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.8);
  margin-bottom: 24px;
}

html[data-theme="dim"] .about-location-content p { color: rgba(245, 242, 237, 0.8); }

.about-location-features { list-style: none; padding: 0; margin: 0; }

.about-location-features li {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--weight-label);
  color: rgba(44, 62, 80, 0.75);
  padding: 8px 0;
}

html[data-theme="dim"] .about-location-features li { color: rgba(245, 242, 237, 0.75); }

/* ==========================================
   CTA SECTION
   ========================================== */
.about-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(176, 141, 87, 0.08), rgba(44, 62, 80, 0.06));
}

html[data-theme="dim"] .about-cta {
  background: linear-gradient(135deg, rgba(176, 141, 87, 0.12), rgba(44, 62, 80, 0.15));
}

.about-cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* CTA heading — Cormorant Garamond */
.about-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-h2);
  font-style: normal;
  color: #2C3E50;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

html[data-theme="dim"] .about-cta-content h2 { color: #B08D57; }

/* CTA text — Inter */
.about-cta-content p {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: var(--weight-lead);
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.8);
  margin-bottom: 40px;
}

html[data-theme="dim"] .about-cta-content p { color: rgba(245, 242, 237, 0.8); }

.about-cta-buttons {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA buttons — wie hero-cta-subtle */
.about-cta-btn,
.about-cta-primary,
.about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 4px;
  background: none;
  border: none;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  box-shadow: none;
  color: #2C3E50;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: var(--weight-button);
  font-style: italic;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

html[data-theme="dim"] .about-cta-btn,
html[data-theme="dim"] .about-cta-primary,
html[data-theme="dim"] .about-cta-secondary { color: #B08D57; }

.about-cta-btn:hover,
.about-cta-primary:hover,
.about-cta-secondary:hover {
  color: #B08D57;
  border-bottom-color: #B08D57;
  transform: translateY(-1px);
}

html[data-theme="dim"] .about-cta-btn:hover,
html[data-theme="dim"] .about-cta-primary:hover,
html[data-theme="dim"] .about-cta-secondary:hover {
  color: #d4b07a;
  border-bottom-color: #d4b07a;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .about-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed { opacity: 1; transform: translateY(0); }

.about-team-card:nth-child(1).revealed { transition-delay: 0.1s; }
.about-team-card:nth-child(2).revealed { transition-delay: 0.2s; }
.about-team-card:nth-child(3).revealed { transition-delay: 0.3s; }
.about-team-card:nth-child(4).revealed { transition-delay: 0.4s; }

[data-scroll]          { will-change: transform; }
.no-scroll [data-scroll] { will-change: auto; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  :root { --about-spacing: 80px; }

  .about-story-grid,
  .about-locations-grid { grid-template-columns: 1fr; gap: 60px; }

  .about-team-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --about-spacing: var(--about-spacing-mobile); }

  .about-hero        { min-height: 80vh; }
  .about-story-image { height: 400px; }
  .about-value-card  { width: 320px; }
  .about-location-image { height: 300px; }

  .about-cta-buttons { flex-direction: column; align-items: stretch; }
}

/* ==========================================
   CURSOR FIX
   ========================================== */
a, a:hover, a:active,
button, button:hover, button:active,
[onclick], [role="button"],
input[type="button"], input[type="submit"], input[type="reset"] {
  cursor: pointer !important;
}

.about-cta-btn,
.about-team-card,
.about-value-card,
.about-location-card,
.about-hero-scroll-indicator,
.floating-brand { cursor: pointer !important; }

input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="tel"], textarea { cursor: text !important; }

body { cursor: auto !important; }

/* ==========================================
   PERFORMANCE
   ========================================== */
body.no-curtain::before,
body.no-curtain::after  { display: none !important; }
body.no-curtain          { opacity: 1 !important; animation: none !important; }

.about-hero-bg,
.about-story-media,
[data-scroll] {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-scroll] { transform: none !important; }
}