/**
 * HOLZ-THEME
 * Warm, natürlich, einladend
 * für Tiny House Section
 */

/* ===================================
   HOLZ CARDS
   Weich, abgerundet, warme Schatten
   =================================== */

.wood-card {
  background: var(--wood-white);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  border: 2px solid var(--wood-light);
  box-shadow: var(--wood-shadow-soft);
  transition: all var(--transition-base);
  position: relative;
}

.wood-card:hover {
  box-shadow: var(--wood-shadow-medium);
  transform: translateY(-4px);
  border-color: var(--wood-dark);
}

.wood-card--dark {
  background: var(--wood-dark);
  color: var(--wood-white);
  border-color: var(--wood-accent-dark);
}

.wood-card--beige {
  background: var(--wood-beige);
  border-color: var(--wood-light);
}

/* Subtile Ecken-Akzente (weniger aggressiv als Metall) */
.wood-card--corners::before,
.wood-card--corners::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--wood-light);
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.wood-card:hover.wood-card--corners::before,
.wood-card:hover.wood-card--corners::after {
  opacity: 1;
  border-color: var(--wood-dark);
}

.wood-card--corners::before {
  top: var(--space-2);
  left: var(--space-2);
  border-right: none;
  border-bottom: none;
}

.wood-card--corners::after {
  bottom: var(--space-2);
  right: var(--space-2);
  border-left: none;
  border-top: none;
}

/* ===================================
   HOLZ BUTTONS
   Weicher, einladend
   =================================== */

.wood-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-headline);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-base);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.wood-btn--primary {
  background: var(--wood-dark);
  color: var(--wood-white);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

.wood-btn--primary:hover {
  background: var(--wood-accent-dark);
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
  transform: translateY(-2px);
}

.wood-btn--secondary {
  background: transparent;
  color: var(--wood-dark);
  border: 2px solid var(--wood-dark);
}

.wood-btn--secondary:hover {
  background: var(--wood-dark);
  color: var(--wood-white);
}

.wood-btn--light {
  background: var(--wood-beige);
  color: var(--wood-dark);
}

.wood-btn--light:hover {
  background: var(--wood-light);
}

/* Icon in Button */
.wood-btn svg {
  transition: transform var(--transition-base);
}

.wood-btn:hover svg {
  transform: translateX(4px);
}

/* ===================================
   HOLZ HEADINGS
   Warm, einladend
   =================================== */

.wood-heading {
  font-family: var(--font-headline);
  font-weight: var(--font-weight-black);
  line-height: 1.2;
  color: var(--wood-dark);
}

.wood-heading--1 {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
}

.wood-heading--2 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
}

.wood-heading--3 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

.wood-heading--white {
  color: var(--wood-white);
}

/* Underline mit weichen Formen */
.wood-heading--underline {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-3);
}

.wood-heading--underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--wood-dark), var(--wood-light));
  border-radius: 2px;
}

/* ===================================
   HOLZ BADGE
   Warme Akzente
   =================================== */

.wood-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-headline);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  background: var(--wood-light);
  color: var(--wood-dark);
}

.wood-badge--dark {
  background: var(--wood-dark);
  color: var(--wood-white);
}

.wood-badge--line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.wood-badge--line::before {
  content: '';
  width: 48px;
  height: 2px;
  background: var(--wood-dark);
  border-radius: 1px;
}

/* ===================================
   HOLZ SECTIONS
   Warme Hintergründe
   =================================== */

.wood-section {
  background: var(--wood-beige);
  position: relative;
}

.wood-section--dark {
  background: var(--wood-dark);
  color: var(--wood-white);
}

.wood-section--cream {
  background: var(--wood-cream);
}

.wood-section--white {
  background: var(--wood-white);
}

/* Subtiles Holzmaserung-Pattern */
.wood-section--pattern {
  position: relative;
}

.wood-section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(139, 111, 71, 0.05) 2px,
      rgba(139, 111, 71, 0.05) 4px
    );
  pointer-events: none;
}

/* Organische Ecken-Akzente */
.wood-section--corners-soft::before,
.wood-section--corners-soft::after {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid var(--wood-light);
  border-radius: var(--radius-sm);
  opacity: 0.3;
  pointer-events: none;
}

.wood-section--corners-soft::before {
  top: var(--space-8);
  left: var(--space-8);
  border-right: none;
  border-bottom: none;
}

.wood-section--corners-soft::after {
  bottom: var(--space-8);
  right: var(--space-8);
  border-left: none;
  border-top: none;
}

/* ===================================
   HOLZ FEATURE CARDS
   Icon + Text für Features
   =================================== */

.wood-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--wood-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--wood-light);
  transition: all var(--transition-base);
}

.wood-feature:hover {
  border-color: var(--wood-dark);
  box-shadow: var(--wood-shadow-soft);
}

.wood-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wood-dark);
  color: var(--wood-white);
  border-radius: var(--radius-sm);
}

.wood-feature__title {
  font-family: var(--font-headline);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-lg);
  color: var(--wood-dark);
}

.wood-feature__description {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--wood-dark);
  opacity: 0.8;
  line-height: 1.6;
}

/* ===================================
   HOLZ PRICE TAG
   Preisdarstellung
   =================================== */

.wood-price {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.wood-price__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--wood-dark);
  opacity: 0.7;
}

.wood-price__amount {
  font-family: var(--font-headline);
  font-weight: var(--font-weight-black);
  font-size: var(--text-3xl);
  color: var(--wood-dark);
}

.wood-price__amount--highlight {
  color: var(--wood-accent-dark);
}

/* ===================================
   HOLZ DIVIDER
   Weiche Trennlinien
   =================================== */

.wood-divider {
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--wood-light) 20%,
    var(--wood-dark) 50%,
    var(--wood-light) 80%,
    transparent 100%
  );
  border-radius: 1px;
  margin: var(--space-12) 0;
}

/* ===================================
   HOLZ ANIMATIONS
   Weiche, organische Bewegungen
   =================================== */

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

.animate-fade-scale {
  animation: fadeInScale var(--transition-slower) ease-out forwards;
}

/* Shimmer Effekt für Holz-Glanz */
.wood-shimmer {
  background: linear-gradient(
    90deg,
    var(--wood-dark) 0%,
    var(--wood-light) 50%,
    var(--wood-dark) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   HOLZ TEXTUR OVERLAY
   Subtile Holzmaserung
   =================================== */

.wood-texture {
  position: relative;
}

.wood-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(139, 111, 71, 0.03) 3px,
      rgba(139, 111, 71, 0.03) 6px
    );
  pointer-events: none;
  border-radius: inherit;
}

/* ===================================
   HOLZ CHECKMARK / LIST
   Für Features Listen
   =================================== */

.wood-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.wood-checklist__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--wood-dark);
}

.wood-checklist__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wood-light);
  color: var(--wood-dark);
  border-radius: 50%;
  font-size: var(--text-xs);
}

/* ===================================
   HOLZ IMAGE FRAME
   Weicher Bilderrahmen
   =================================== */

.wood-image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--wood-light);
  box-shadow: var(--wood-shadow-soft);
  transition: all var(--transition-base);
}

.wood-image-frame:hover {
  border-color: var(--wood-dark);
  box-shadow: var(--wood-shadow-medium);
  transform: scale(1.02);
}

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

.wood-image-frame:hover img {
  transform: scale(1.05);
}
