/* ==========================================================================
   AMC CZYRKA — Design System
   ========================================================================== */

:root {
  /* Colors */
  --color-bg-dark: #0f0e0c;
  --color-bg-dark-soft: #1a1815;
  --color-bg-cream: #ece6db;
  --color-bg-cream-soft: #f3eee5;
  --color-text-dark: #1a1815;
  --color-text-light: #f5f1e8;
  --color-text-muted: #8a8378;
  --color-text-muted-dark: #5a554d;

  /* Brand */
  --color-copper: #c19a6b;
  --color-copper-light: #d4b48a;
  --color-copper-dark: #8b6843;
  --color-gold: #b8935a;

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #6b4423 0%, #4a2f18 100%);
  --gradient-card: linear-gradient(135deg, rgba(193, 154, 107, 0.18) 0%, rgba(74, 47, 24, 0.45) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(193, 154, 107, 0.28) 0%, rgba(74, 47, 24, 0.6) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(15, 14, 12, 0.65) 0%, rgba(15, 14, 12, 0.85) 100%);

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 920px;

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 12px 40px -8px rgba(0, 0, 0, 0.18);
  --shadow-card-hover: 0 24px 60px -12px rgba(0, 0, 0, 0.28);
  --shadow-dark: 0 12px 40px -8px rgba(0, 0, 0, 0.6);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-bg-cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 500;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 14;
  font-family: var(--font-body);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: var(--space-md);
}

.accent {
  color: var(--color-copper);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted-dark);
  max-width: 580px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-3xl) 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-2xl) 0;
  }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(15, 14, 12, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-base);
}

.site-header.scrolled {
  background: rgba(15, 14, 12, 0.92);
  border-bottom: 1px solid rgba(193, 154, 107, 0.12);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-copper);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--color-copper);
}

.brand-text small {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-copper);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-copper-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--color-text-light);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition-base);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(360px, 85vw);
    background: var(--color-bg-dark);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
    transition: right var(--transition-base);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a { font-size: 1.25rem; }
  .nav-cta { margin-top: var(--space-sm); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: var(--color-text-light);
  box-shadow: 0 6px 24px -6px rgba(139, 104, 67, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(139, 104, 67, 0.7);
  filter: brightness(1.06);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(245, 241, 232, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-copper);
  background: rgba(193, 154, 107, 0.08);
  color: var(--color-copper-light);
}

.btn-light {
  background: var(--color-bg-cream);
  color: var(--color-text-dark);
  border: 1px solid var(--color-text-dark);
}

.btn-light:hover {
  background: var(--color-text-dark);
  color: var(--color-bg-cream);
}

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-text {
  color: var(--color-copper);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition-base);
}

.btn-text:hover {
  color: var(--color-copper-light);
  gap: 0.7rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 14, 12, 0.94) 0%, rgba(15, 14, 12, 0.7) 50%, rgba(15, 14, 12, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--color-text-light);
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-copper-light);
  margin-bottom: var(--space-lg);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.25s both;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.92);
  margin-bottom: var(--space-lg);
  max-width: 580px;
  animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-description strong {
  color: var(--color-copper-light);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.7);
  animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg {
  color: var(--color-copper);
  flex-shrink: 0;
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Section: Warum Wir
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .h2 {
  margin-bottom: var(--space-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(193, 154, 107, 0.08);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 16px -4px rgba(139, 104, 67, 0.4);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.feature-card p {
  color: var(--color-text-muted-dark);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   Section: Leistungen (dark)
   ========================================================================== */

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(193, 154, 107, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 104, 67, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-dark .subtitle {
  color: rgba(245, 241, 232, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(193, 154, 107, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card-hover);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 154, 107, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(193, 154, 107, 0.4) 0%, rgba(212, 180, 138, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-light);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text-light);
}

.service-content p {
  font-size: 0.94rem;
  color: rgba(245, 241, 232, 0.75);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.services-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   Portfolio Preview
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 12, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  color: var(--color-text-light);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.portfolio-item-overlay span {
  font-size: 0.85rem;
  color: var(--color-copper-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-cta {
  text-align: center;
}

/* ==========================================================================
   Section: Versprechen (warm gradient)
   ========================================================================== */

.section-warm {
  background:
    radial-gradient(circle at 30% 50%, #6b4423 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, #4a2f18 0%, transparent 50%),
    var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
}

.attributes-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.attribute {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.attribute-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper-light) 0%, var(--color-copper) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px -4px rgba(193, 154, 107, 0.5);
  transition: transform var(--transition-base);
}

.attribute:hover .attribute-icon {
  transform: translateY(-4px) scale(1.05);
}

.attribute-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* Final CTA box */
.cta-box {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(193, 154, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(8px);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.cta-box p {
  color: rgba(245, 241, 232, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.cta-box-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.65);
}

.cta-box-trust svg {
  color: var(--color-copper);
  margin-right: 0.3rem;
  vertical-align: middle;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-bg-dark);
  color: rgba(245, 241, 232, 0.85);
  padding: var(--space-2xl) 0 var(--space-md);
  border-top: 1px solid rgba(193, 154, 107, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform var(--transition-base);
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.92rem;
  transition: color var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul a::before {
  content: '›';
  color: var(--color-copper);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-col ul a:hover {
  color: var(--color-copper-light);
}

.footer-contact dt {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact dt svg {
  color: var(--color-copper);
}

.footer-contact dd {
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.92rem;
  margin-bottom: var(--space-sm);
  padding-left: 1.7rem;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.55);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: rgba(245, 241, 232, 0.7);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--color-copper-light);
}

/* ==========================================================================
   Page Header (subpages)
   ========================================================================== */

.page-header {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(193, 154, 107, 0.15) 0%, transparent 60%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(245, 241, 232, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.6);
}

.breadcrumb-ft {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: black;
}

.breadcrumb a {
  color: var(--color-copper);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-copper-light);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-container {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-section {
  margin-bottom: var(--space-xl);
}

.form-section:last-of-type {
  margin-bottom: var(--space-lg);
}

.form-section-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(193, 154, 107, 0.25);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-section-title span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-row:last-child {
  margin-bottom: 0;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-group label .required {
  color: var(--color-copper-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--color-text-dark);
  font-size: 0.96rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-help {
  font-size: 0.82rem;
  color: var(--color-text-muted-dark);
  margin-top: 0.4rem;
}

/* Radio / Checkbox cards */
.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card-content {
  padding: var(--space-md);
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.option-card-content svg {
  color: var(--color-copper);
  margin-bottom: 0.25rem;
}

.option-card-content strong {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.option-card-content small {
  font-size: 0.82rem;
  color: var(--color-text-muted-dark);
  line-height: 1.4;
}

.option-card input:checked + .option-card-content {
  border-color: var(--color-copper);
  background: rgba(193, 154, 107, 0.06);
  box-shadow: 0 4px 16px -4px rgba(193, 154, 107, 0.25);
}

.option-card input:checked + .option-card-content::after {
  content: '✓';
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-copper);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.option-card:hover .option-card-content {
  border-color: var(--color-copper-light);
}

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
}

.form-submit .btn {
  min-width: 240px;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.form-submit-note {
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  text-align: center;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-text-muted-dark);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Portfolio Page
   ========================================================================== */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 0.7rem 1.4rem;
  background: white;
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-copper);
  color: var(--color-copper-dark);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px -4px rgba(139, 104, 67, 0.5);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.project-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.project-card[hidden] {
  display: none;
}

.project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(15, 14, 12, 0.8);
  backdrop-filter: blur(8px);
  color: var(--color-copper-light);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.project-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted-dark);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-muted-dark);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
}

.project-meta strong {
  color: var(--color-copper-dark);
  font-weight: 600;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.testimonial {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(193, 154, 107, 0.15);
  font-weight: 500;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--color-copper);
  margin-bottom: var(--space-sm);
}

.testimonial-text {
  color: var(--color-text-dark);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--color-text-muted-dark);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Leistungen — Image Tiles (new design)
   ========================================================================== */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}

.tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text-light);
  display: block;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.6);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tile:hover img {
  transform: scale(1.08);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 12, 0.92) 0%, rgba(15, 14, 12, 0.45) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.tile-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-light);
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 48;
}

.tile-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-copper-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: gap var(--transition-base);
}

.tile:hover .tile-overlay-cta {
  gap: 0.85rem;
}

.tile-overlay-cta svg {
  transition: transform var(--transition-base);
}

.tile:hover .tile-overlay-cta svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Partner Section (Eko-Okna)
   ========================================================================== */

.partner-section {
  background: var(--color-bg-cream-soft);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.partner-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 720px) {
  .partner-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }
}

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(193, 154, 107, 0.18);
  min-width: 220px;
  position: relative;
}

.partner-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  line-height: 1;
}

.partner-logo span {
  color: var(--color-copper);
}

.partner-award {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-text .eyebrow {
  margin-bottom: 0.6rem;
}

.partner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.partner-text h2 .accent {
  color: var(--color-copper);
}

.partner-text p {
  color: var(--color-text-muted-dark);
  font-size: 1rem;
  line-height: 1.65;
}

.partner-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .partner-stats {
    justify-content: center;
  }
}

.partner-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-copper-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.partner-stat span {
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
}

/* ==========================================================================
   Detail Page (per Leistung)
   ========================================================================== */

.detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-text-light);
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 14, 12, 0.95) 0%, rgba(15, 14, 12, 0.65) 50%, rgba(15, 14, 12, 0.3) 100%);
}

.detail-hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.detail-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-feature-settings: "liga" 1, "calt" 1, "kern" 1, "dlig" 0, "salt" 0, "ss01" 0, "ss02" 0, "ss03" 0, "ss04" 0, "ss05" 0, "ss06" 0;
}

.detail-hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.92);
  margin-bottom: var(--space-lg);
  max-width: 640px;
}

.detail-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Feature highlights row */
.feature-strip {
  background: white;
  border-bottom: 1px solid rgba(193, 154, 107, 0.15);
  padding: var(--space-lg) 0;
}

.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.feature-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(193, 154, 107, 0.12);
  color: var(--color-copper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 0.15rem;
}

.feature-item-text span {
  font-size: 0.84rem;
  color: var(--color-text-muted-dark);
  line-height: 1.45;
}

/* Detail content sections */
.detail-section {
  padding: var(--space-2xl) 0;
}

.detail-section .container {
  max-width: 1100px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .detail-content {
    grid-template-columns: 1fr;
  }
}

.detail-content-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.detail-content-text p {
  color: var(--color-text-muted-dark);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.detail-content-text ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.detail-content-text ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  color: var(--color-text-dark);
  line-height: 1.55;
}

.detail-content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
}

.detail-content-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
}

.detail-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* External link card (window4u) */
.external-link-card {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2520 100%);
  color: var(--color-text-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  border: 1px solid rgba(193, 154, 107, 0.25);
  position: relative;
  overflow: hidden;
}

.external-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 50%, rgba(193, 154, 107, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.external-link-card > * { position: relative; z-index: 1; }

.external-link-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.external-link-card p {
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.96rem;
  margin: 0;
  max-width: 460px;
}

.external-link-card .btn {
  flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transition: transform var(--transition-base);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Inline partner badge on Fenster & Türen page */
.inline-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(193, 154, 107, 0.12);
  border: 1px solid rgba(193, 154, 107, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-copper-dark);
  margin-bottom: var(--space-md);
}

.inline-partner-star {
  color: var(--color-copper);
}

/* ==========================================================================
   Catalog / Product List Page
   ========================================================================== */

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-xl);
  font-size: 0.92rem;
}

.catalog-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-toolbar label {
  color: var(--color-text-muted-dark);
  font-weight: 500;
}

.catalog-toolbar select {
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(193, 154, 107, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: white;
  color: var(--color-text-dark);
  font-family: inherit;
  cursor: pointer;
}

.catalog-toolbar-count {
  color: var(--color-text-muted-dark);
}

.catalog-toolbar-count strong {
  color: var(--color-text-dark);
}

/* Catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.catalog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(193, 154, 107, 0.1);
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(193, 154, 107, 0.3);
}

.catalog-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f1e8 0%, #ece6db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform var(--transition-slow);
}

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

.catalog-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.catalog-card-price {
  font-size: 0.88rem;
  color: var(--color-text-muted-dark);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.catalog-card-price strong {
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-weight: 600;
}

.catalog-card-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.3;
}

.catalog-card-subtitle {
  color: var(--color-text-muted-dark);
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.catalog-card-cta {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-copper-dark);
  font-weight: 600;
}

.catalog-card-cta svg {
  transition: transform var(--transition-base);
}

.catalog-card:hover .catalog-card-cta svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Product Detail Page (Model)
   ========================================================================== */

.product-detail {
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .product-gallery { position: static; }
}

.product-gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #f5f1e8 0%, #ece6db 100%);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-sm);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.product-gallery-thumb {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5f1e8 0%, #ece6db 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
  padding: 0;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--color-copper);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
}

/* Product info */
.product-info-breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-info-breadcrumb a {
  color: var(--color-copper-dark);
  transition: color var(--transition-base);
}

.product-info-breadcrumb a:hover {
  color: var(--color-copper);
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--color-text-dark);
}

.product-info h1 .model-name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-copper-dark);
  margin-bottom: 0.5rem;
  font-style: normal;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted-dark);
}

.product-lead {
  color: var(--color-text-muted-dark);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(193, 154, 107, 0.15);
}

/* Configurator */
.product-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.product-option {
  display: flex;
  flex-direction: column;
}

.product-option label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted-dark);
  margin-bottom: 0.4rem;
}

.product-option select {
  padding: 0.9rem 1rem;
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--color-text-dark);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-base);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b6843' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.product-option select:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.12);
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-cta .btn {
  flex: 1;
  min-width: 200px;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
  font-size: 0.9rem;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text-muted-dark);
}

.product-meta-row svg {
  color: var(--color-copper);
  flex-shrink: 0;
}

.product-meta-row strong {
  color: var(--color-text-dark);
  margin-right: 0.3rem;
}

/* Description below */
.product-description {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.product-description h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.product-description p {
  color: var(--color-text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.product-description p strong {
  color: var(--color-text-dark);
}

.product-description h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: var(--space-lg) 0 var(--space-sm);
}

.product-description ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.product-description ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--color-text-dark);
  line-height: 1.55;
}

.product-description ul li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-copper);
}

.product-description-note {
  background: rgba(193, 154, 107, 0.08);
  border-left: 3px solid var(--color-copper);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  margin: var(--space-md) 0;
}

.product-description-note strong {
  color: var(--color-copper-dark);
}

/* Form success state (existing element, refined) */
.formspree-info {
  background: rgba(193, 154, 107, 0.08);
  border: 1px dashed var(--color-copper);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  margin-bottom: var(--space-md);
}

.formspree-info strong { color: var(--color-copper-dark); }

/* Pre-filled product banner on quote form */
.preselected-banner {
  background: linear-gradient(135deg, rgba(193, 154, 107, 0.12) 0%, rgba(193, 154, 107, 0.06) 100%);
  border: 1px solid rgba(193, 154, 107, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
}

.preselected-banner svg {
  flex-shrink: 0;
  color: var(--color-copper);
}

.preselected-banner strong {
  color: var(--color-copper-dark);
}

/* ==========================================================================
   Product Catalog (category overview pages)
   ========================================================================== */

.catalog-header {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: calc(var(--space-3xl) + 40px) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.catalog-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(193, 154, 107, 0.15) 0%, transparent 60%);
}

.catalog-header .container {
  position: relative;
  z-index: 1;
}

.catalog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 144;
}

.catalog-header p {
  font-size: 1.05rem;
  color: rgba(245, 241, 232, 0.78);
  max-width: 640px;
  line-height: 1.6;
}

.catalog-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-bg-cream);
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(193, 154, 107, 0.18);
}

.catalog-meta-count {
  font-size: 0.92rem;
  color: var(--color-text-muted-dark);
}

.catalog-meta-count strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(193, 154, 107, 0.12);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.18);
  border-color: rgba(193, 154, 107, 0.4);
}

.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 48;
}

.product-card-price .price-prefix {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-muted-dark);
  font-size: 0.95rem;
  margin-right: 0.25rem;
}

.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.product-card-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted-dark);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-copper-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: 1px solid rgba(193, 154, 107, 0.15);
}

.product-card:hover .product-card-cta {
  gap: 0.7rem;
}

.product-card-cta svg {
  transition: transform var(--transition-base);
}

.product-card:hover .product-card-cta svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Product Detail Page (single model)
   ========================================================================== */

.product-detail-section {
  padding: calc(var(--space-3xl) + 40px) 0 var(--space-2xl);
  background: var(--color-bg-cream-soft);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.product-gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-card);
  position: relative;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .product-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-thumb {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: white;
  transition: border-color var(--transition-base);
  padding: 0;
  display: block;
}

.product-thumb.active {
  border-color: var(--color-copper);
}

.product-thumb:hover {
  border-color: var(--color-copper-light);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(193, 154, 107, 0.12);
}

.product-info-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-copper-dark);
  margin-bottom: 0.5rem;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  font-variation-settings: "opsz" 144;
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(193, 154, 107, 0.15);
}

.product-info-price .from {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted-dark);
}

.product-info-price .amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  font-variation-settings: "opsz" 48;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-option-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
  color: var(--color-text-muted-dark);
}

.product-option-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.96rem;
  color: var(--color-text-dark);
  font-family: inherit;
  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 24 24' fill='none' stroke='%238b6843' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.product-option-group select:focus {
  outline: none;
  border-color: var(--color-copper);
  box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.12);
}

.product-cta-row {
  display: flex;
  gap: var(--space-sm);
  align-items: stretch;
  margin-bottom: var(--space-md);
}

.quantity-input {
  width: 90px;
  padding: 0.85rem 0.5rem;
  border: 1.5px solid rgba(193, 154, 107, 0.25);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: white;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--color-copper);
}

.product-cta-row .btn {
  flex: 1;
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.product-info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: var(--space-sm);
  background: rgba(193, 154, 107, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted-dark);
  line-height: 1.5;
}

.product-info-note svg {
  color: var(--color-copper-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Product description (full-width sections below) */
.product-description {
  background: white;
  padding: var(--space-3xl) 0;
}

.product-description .container {
  max-width: var(--container-narrow);
}

.product-description h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.product-description h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.product-description p {
  color: var(--color-text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.product-description strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

.product-description ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.product-description ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
  line-height: 1.6;
}

.product-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
}

.product-description .info-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(193, 154, 107, 0.1);
}

.product-description .info-row strong {
  min-width: 140px;
}

/* ==========================================================================
   Katalogseite (z.B. /schiebetore.html nach Umbau)
   ========================================================================== */

.catalog-header {
  background: var(--color-bg-cream);
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-xl);
  border-bottom: 1px solid rgba(193, 154, 107, 0.15);
}

.catalog-header .container {
  max-width: 1200px;
}

.catalog-header .breadcrumb {
  color: var(--color-text-muted-dark);
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
}

.catalog-header .breadcrumb a {
  color: var(--color-text-muted-dark);
  text-decoration: none;
  transition: color var(--transition-base);
}

.catalog-header .breadcrumb a:hover {
  color: var(--color-copper-dark);
}

.catalog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
  font-variation-settings: "opsz" 144;
}

.catalog-header .catalog-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted-dark);
  max-width: 720px;
}

.catalog-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-bg-cream);
}

.catalog-section .container {
  max-width: 1200px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.catalog-toolbar-count {
  font-size: 0.92rem;
  color: var(--color-text-muted-dark);
  font-weight: 500;
}

.catalog-toolbar select {
  padding: 0.6rem 2.5rem 0.6rem 0.95rem;
  border: 1px solid rgba(193, 154, 107, 0.3);
  border-radius: 6px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238b6843' d='M5 6L0 0h10z'/%3E%3C/svg%3E") no-repeat right 0.95rem center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  cursor: pointer;
  appearance: none;
}

.catalog-toolbar select:focus {
  outline: 2px solid var(--color-copper);
  outline-offset: 1px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 14px -6px rgba(0,0,0,0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(193, 154, 107, 0.1);
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 20px 36px -10px rgba(0,0,0,0.14);
  border-color: rgba(193, 154, 107, 0.3);
}

.catalog-card-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-cream-soft);
  overflow: hidden;
  position: relative;
}

.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.catalog-card-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.catalog-card-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-copper-dark);
  font-weight: 600;
}

.catalog-card-price strong {
  font-size: 1.15rem;
  color: var(--color-text-dark);
  font-weight: 700;
  margin-left: 0.3rem;
}

.catalog-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0;
}

.catalog-card-subtitle {
  font-size: 0.86rem;
  color: var(--color-text-muted-dark);
  line-height: 1.45;
  margin: 0;
}

.catalog-card-cta {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-copper-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.catalog-card-cta svg {
  transition: transform var(--transition-base);
}

.catalog-card:hover .catalog-card-cta svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Produkt-Detailseite (Modell mit Konfigurator)
   ========================================================================== */

.product-detail {
  background: var(--color-bg-cream);
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
  min-height: 100vh;
}

.product-detail .container {
  max-width: 1200px;
}

.product-detail .breadcrumb {
  color: var(--color-text-muted-dark);
  font-size: 0.88rem;
  margin-bottom: var(--space-md);
}

.product-detail .breadcrumb a {
  color: var(--color-text-muted-dark);
  text-decoration: none;
}

.product-detail .breadcrumb a:hover {
  color: var(--color-copper-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Gallery (left) */
.product-gallery-main {
  aspect-ratio: 4/3;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.12);
  margin-bottom: var(--space-sm);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.product-gallery-thumb {
  aspect-ratio: 4/3;
  background: white;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition-base);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery-thumb:hover {
  border-color: rgba(193, 154, 107, 0.5);
}

.product-gallery-thumb.active {
  border-color: var(--color-copper-dark);
}

/* Info (right) */
.product-info-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 96;
  line-height: 1.15;
}

.product-info-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.product-info-price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted-dark);
  margin-right: 0.3rem;
}

/* Configurator */
.product-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-option-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 0.95rem;
  position: relative;
  top: 0.5rem;
  z-index: 2;
  display: inline-block;
  background: white;
  padding: 0 0.4rem;
  width: fit-content;
}

.product-option-group select {
  padding: 0.95rem 2.5rem 0.95rem 0.95rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M5 6L0 0h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  cursor: pointer;
  appearance: none;
  transition: border-color var(--transition-base);
}

.product-option-group select:focus {
  outline: none;
  border-color: var(--color-copper-dark);
}

.product-options-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-sm);
  align-items: end;
}

.product-cta {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 6px 18px -4px rgba(193, 154, 107, 0.45);
}

.product-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(193, 154, 107, 0.55);
}

.product-cta svg {
  flex-shrink: 0;
}

.product-meta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(193, 154, 107, 0.18);
}

.product-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-text-muted-dark);
  font-weight: 500;
}

.product-meta-item svg {
  color: var(--color-copper-dark);
}

/* Description Section */
.product-description {
  margin-top: var(--space-2xl);
  max-width: 820px;
}

.product-description h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.product-description h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: var(--space-lg) 0 var(--space-sm);
}

.product-description p {
  color: var(--color-text-dark);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.product-description strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

.product-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
}

.product-description ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-text-dark);
  line-height: 1.55;
}

.product-description ul li::before {
  content: '•';
  position: absolute;
  left: 0.4rem;
  top: 0;
  color: var(--color-copper-dark);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

.product-description-notes {
  background: rgba(193, 154, 107, 0.08);
  border-left: 3px solid var(--color-copper);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 6px 6px 0;
}

.product-description-notes p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.product-description-notes p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Formspree-Status (in angebot.html)
   ========================================================================== */

.form-success {
  display: none;
  background: linear-gradient(135deg, #f0e5d0 0%, #ece6db 100%);
  border: 1px solid rgba(193, 154, 107, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-md);
}

.form-success.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

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

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-success p {
  color: var(--color-text-muted-dark);
  line-height: 1.5;
}

.formspree-info {
  background: rgba(255, 247, 230, 0.6);
  border: 1px dashed rgba(193, 154, 107, 0.4);
  border-radius: 8px;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-muted-dark);
}

.formspree-info code {
  background: rgba(193, 154, 107, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
}

.preselected-banner {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2520 100%);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.preselected-banner-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.preselected-banner-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-copper-light);
  margin-bottom: 0.25rem;
}

.preselected-banner-text {
  color: rgba(245, 241, 232, 0.92);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCT DETAIL — Final Overrides (Fix Button alignment + new Description)
   ========================================================================== */

/* Button & Menge nebeneinander, sauber am Boden ausgerichtet */
.product-options .product-options-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-sm);
  align-items: end;
}

.product-info .product-cta {
  align-self: end;
  width: 100%;
  height: auto;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 14px -4px rgba(193, 154, 107, 0.4);
  line-height: 1.2;
}

.product-info .product-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(193, 154, 107, 0.5);
}

/* ==========================================================================
   PRODUCT DESCRIPTION — Collapsible card with proper padding + 2-col layout
   ========================================================================== */

details.product-description {
  display: block;
  margin-top: var(--space-xl);
  max-width: 100%;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(193, 154, 107, 0.18);
  box-shadow: 0 4px 18px -10px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 0;
}

details.product-description summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background-color var(--transition-base);
  user-select: none;
}

details.product-description summary:hover {
  background-color: rgba(193, 154, 107, 0.04);
}

details.product-description summary::-webkit-details-marker { display: none; }
details.product-description summary::marker { display: none; }

details.product-description summary h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  font-variation-settings: "opsz" 96;
}

.product-description-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(193, 154, 107, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-copper-dark);
  flex-shrink: 0;
  transition: background-color var(--transition-base);
}

details.product-description summary:hover .product-description-toggle {
  background: rgba(193, 154, 107, 0.22);
}

.product-description-toggle svg {
  transition: transform 0.35s ease;
}

details.product-description[open] .product-description-toggle svg {
  transform: rotate(180deg);
}

/* Body */
.product-description-body {
  padding: 0 var(--space-xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-xl);
  border-top: 1px solid rgba(193, 154, 107, 0.12);
  margin-top: 0;
  padding-top: var(--space-lg);
}

@media (max-width: 768px) {
  details.product-description summary { padding: var(--space-md); }
  .product-description-body {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md) var(--space-md);
  }
}

/* Text column (left) */
.product-description-text p {
  color: var(--color-text-dark);
  line-height: 1.7;
  margin: 0 0 var(--space-sm);
  font-size: 1rem;
}

.product-description-text p:last-child { margin-bottom: 0; }

.product-description-text strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

/* Aside column (right) — Lieferumfang, Notes, Vorteile */
.product-description-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-description-block {
  background: rgba(245, 241, 232, 0.5);
  border-radius: 8px;
  padding: var(--space-md);
}

.product-description-block h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-copper-dark);
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-description-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-description-block ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--color-text-dark);
  line-height: 1.5;
  font-size: 0.92rem;
}

.product-description-block ul li:last-child { margin-bottom: 0; }

.product-description-block ul li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-copper-dark);
}

/* Notes block (Lieferzeit / Hinweis) — special styling */
.product-description-notes {
  background: linear-gradient(135deg, rgba(193, 154, 107, 0.1) 0%, rgba(193, 154, 107, 0.05) 100%);
  border-left: 3px solid var(--color-copper);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
}

.product-description-notes p {
  margin: 0.3rem 0;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.product-description-notes p:first-child { margin-top: 0; }
.product-description-notes p:last-child { margin-bottom: 0; }

.product-description-notes strong {
  color: var(--color-copper-dark);
  font-weight: 700;
}

/* ==========================================================================
   FINAL FIX — Button als eigener Block, Menge kompakt links
   (überschreibt alle vorherigen .product-cta-Regeln definitiv)
   ========================================================================== */

/* Menge-Feld nimmt nur 120px, nicht volle Breite */
.product-info .product-option-group--small {
  max-width: 130px;
}

/* Angebot-Button: eigener Block, volle Breite, deutlich abgesetzt */
.product-info .product-cta,
.product-info form .product-cta,
.product-info button.product-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: var(--space-sm) 0 0 !important;
  padding: 1.05rem 1.5rem !important;
  align-self: stretch !important;
  line-height: 1.2 !important;
  background: linear-gradient(135deg, var(--color-copper) 0%, var(--color-copper-dark) 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform var(--transition-base), box-shadow var(--transition-base) !important;
  box-shadow: 0 6px 18px -6px rgba(193, 154, 107, 0.5) !important;
}

.product-info .product-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px -6px rgba(193, 154, 107, 0.6) !important;
}

.product-info .product-cta svg {
  flex-shrink: 0;
}

/* Alte product-options-row Regeln neutralisieren (HTML benutzt sie nicht mehr) */
.product-options-row { display: contents; }

/* ==========================================================================
   ZUBEHÖR — Rabatt-Darstellung (Katalog + Produktdetail)
   ========================================================================== */

/* Katalog-Karte: Rabatt-Badge */
.catalog-card { position: relative; }

.catalog-card-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #c0392b;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px -2px rgba(192, 57, 43, 0.5);
}

/* Katalog-Karte: durchgestrichener Preis */
.catalog-card-price--sale {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.catalog-price-old {
  color: var(--color-text-muted-dark);
  text-decoration: line-through;
  font-size: 0.9rem;
  font-weight: 500;
}

.catalog-card-price--sale strong {
  color: #c0392b;
  font-size: 1.15rem;
}

/* Zubehör: Bilder mit weißem Hintergrund nicht beschneiden */
.catalog-card-image--contain img,
.product-gallery-main--contain img {
  object-fit: contain !important;
  background: white;
}

/* Produktdetail: Rabatt-Preis-Block */
.product-info-price--sale {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-discount-badge {
  background: #c0392b;
  color: white;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

.product-price-old {
  color: var(--color-text-muted-dark);
  text-decoration: line-through;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.product-price-new {
  color: #c0392b;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
}

/* ==========================================================================
   GARAGENTOR-PORTFOLIO — Bildergalerie + Lightbox
   ========================================================================== */

.gallery-section {
  background: var(--color-bg-cream);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.gallery-section .container {
  max-width: 1200px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(193, 154, 107, 0.15);
  background: white;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 14px -6px rgba(0,0,0,0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08), 0 16px 32px -10px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-md);
}

.lightbox.active {
  display: flex;
  animation: lightboxFadeIn 0.2s ease-out;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-image {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(193, 154, 107, 0.7);
  transform: scale(1.06);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 600px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   FENSTER & TÜREN — Eko-Okna Hero-Schriftzug auf Cover-Bild
   ========================================================================== */

.detail-hero-bg {
}

/* ==========================================================================
   REALIZATIONS PORTFOLIO — Bad-Sanierung Projekt-Karten
   (Stil orientiert an bramyprodukcja.pl/realizacje)
   ========================================================================== */

.realizations-section {
  background: var(--color-bg-cream);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.realizations-section .container {
  max-width: 1200px;
}

.realizations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .realizations-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .realizations-grid { grid-template-columns: 1fr; }
}

.realization-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 14px -6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.realization-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08), 0 22px 40px -12px rgba(0,0,0,0.18);
}

.realization-card-image-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-cream);
}

.realization-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.realization-card:hover .realization-card-image-link img {
  transform: scale(1.04);
}

.realization-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.realization-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-bg-dark);
  margin: 0;
}

.realization-card-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(15, 14, 12, 0.7);
  margin: 0;
  flex: 1;
}

.realization-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-copper-dark);
  text-decoration: none;
  transition: color var(--transition-base), gap var(--transition-base);
  align-self: flex-start;
}

.realization-card-link:hover {
  color: var(--color-copper);
  gap: 0.7rem;
}

.realization-card-link svg {
  transition: transform var(--transition-base);
}

.realization-card-link:hover svg {
  transform: translateX(2px);
}

/* ==========================================================================
   BAD-PROJEKT-DETAILSEITEN — Hero + strukturierte Beschreibung
   ========================================================================== */

.projekt-header {
  padding-bottom: var(--space-md);
}

.projekt-hero-section {
  padding: var(--space-md) 0 var(--space-lg);
  background: var(--color-bg-cream);
}

.projekt-hero-section .container {
  max-width: 1200px;
}

.projekt-hero-main {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 8px 32px -10px rgba(0,0,0,0.18);
  margin-bottom: var(--space-sm);
  cursor: zoom-in;
}

.projekt-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.projekt-hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.projekt-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  padding: 0;
  background: white;
  cursor: pointer;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.projekt-thumb:hover,
.projekt-thumb.active {
  border-color: var(--color-copper);
  transform: translateY(-2px);
}

.projekt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .projekt-hero-thumbs { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

/* Detail-Bereich (zweispaltig auf Desktop) */
.projekt-detail-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: white;
}

.projekt-detail-section .container {
  max-width: 1200px;
}

.projekt-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .projekt-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.projekt-detail-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-bg-dark);
  margin: 0 0 var(--space-md) 0;
  font-variation-settings: "opsz" 80;
}

.projekt-detail-body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(15, 14, 12, 0.78);
  margin: 0 0 var(--space-sm) 0;
}

.projekt-detail-body p strong {
  color: var(--color-bg-dark);
  font-weight: 600;
}

/* Info-Box rechts */
.projekt-info-box {
  background: var(--color-bg-cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(193, 154, 107, 0.18);
  position: sticky;
  top: 100px;
}

.projekt-info-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-bg-dark);
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.01em;
}

.projekt-info-box .projekt-highlights-title {
  margin-top: var(--space-md);
}

.projekt-info-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.projekt-info-dl dt {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-copper-dark);
  margin: 0;
}

.projekt-info-dl dd {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(15, 14, 12, 0.78);
  margin: 0 0 0.4rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(193, 154, 107, 0.15);
}

.projekt-info-dl dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.projekt-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.projekt-highlights li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(15, 14, 12, 0.78);
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.projekt-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: var(--color-copper);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .projekt-info-box {
    position: static;
  }
}

/* ==========================================================================
   PORTFOLIO-KARTEN als <a>-Links + Detail-Tag-Pill
   ========================================================================== */

/* Wenn .project-card jetzt ein <a> ist: Link-Standards entfernen */
.project-card.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.project-card.project-card-link:hover {
  color: inherit;
}

.project-card.project-card-link:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 4px;
}

/* Tag-Pill auf den Detailseiten (Kategorie-Anzeige) */
.projekt-tag-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-copper-dark);
  background: rgba(193, 154, 107, 0.13);
  border: 1px solid rgba(193, 154, 107, 0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin: 0 0 0.8rem 0;
}

/* ==========================================================================
   FENSTER & TÜREN — Eko-Okna Partner-Logo auf Hero-Bild
   (Logo wird oben rechts auf das Hero-Bild gelegt)
   ========================================================================== */

.hero-partner-logo {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 4vw, 3rem);
  height: clamp(50px, 6vw, 100px);
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
  /* Hintergrund weiß, falls Logo transparent ist und auf dunklem Bildbereich liegt
     Wenn du das nicht möchtest, einfach background + padding rausnehmen */
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .hero-partner-logo {
    height: 50px;
    top: 1rem;
    right: 1rem;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   FIRMEN-LOGO im Header/Footer (Progressive Enhancement)
   Wenn images/amc-czyrka-logo.png existiert, wird das Bild angezeigt
   und das SVG + Text-Logo ausgeblendet. Sonst Fallback auf SVG+Text.
   ========================================================================== */

.brand-logo-image {
  display: none;          /* per default versteckt */
  height: auto;
  max-height: 60px;
  width: auto;
  vertical-align: middle;
}

/* Wenn das Bild geladen wurde (JS setzt .loaded), wird es sichtbar */
.brand-logo-image.loaded {
  display: block;
}

/* Wenn das Bild geladen wurde, blende SVG-Mark + Text-Logo aus */
.brand--has-image .brand-mark,
.brand--has-image .brand-text {
  display: none;
}

/* Im Footer ggf. etwas größer */
.site-footer .brand-logo-image {
  max-height: 72px;
}

/* ==========================================================================
   ÜBER UNS — Technologie-Feature mit Video + Standort
   ========================================================================== */

.tech-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .tech-feature {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.tech-feature-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.3);
  background: #000;
}

.tech-feature-media video {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tech-feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
  margin: 0 0 var(--space-sm) 0;
  font-variation-settings: "opsz" 60;
}

.tech-feature-text p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: white;
  margin: 0 0 var(--space-sm) 0;
}

.tech-feature-text p strong {
  color: white;
  font-weight: 600;
}

.standort-image {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.25);
}

.standort-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   FIX: Produkt-Galerie — ganzes Produkt zeigen statt zuschneiden
   (überschreibt frühere doppelte .product-gallery-main-Regeln mit cover)
   ========================================================================== */
.product-gallery-main {
  background: #fff;
}
.product-gallery-main img {
  object-fit: contain;
  padding: var(--space-md);
}
.product-gallery-thumb img {
  object-fit: contain;
  padding: 0.4rem;
}
