/* ============================================
   KRISTINA MANNS - VISITENKARTE
   Styles Configuration - WARME VARIANTE
   ============================================ */

/* === LOKALE FONTS === */
/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display Regular'),
       url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtM.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Playfair Display Medium'),
       url('fonts/playfair-display-v40-latin-500.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKd3u3DXbtM.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Playfair Display SemiBold'),
       url('fonts/playfair-display-v40-latin-600.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKebvHDXbtM.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Playfair Display Bold'),
       url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeCvHDXbtM.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display Italic'),
       url('fonts/playfair-display-v40-latin-italic.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_pqHX1c.woff2') format('woff2');
}

/* Quicksand */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Quicksand Regular'),
       url('fonts/quicksand-v37-latin-regular.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/quicksand/v31/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o58a-xDwxUD2GFw.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Quicksand Medium'),
       url('fonts/quicksand-v37-latin-500.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/quicksand/v31/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkM0o58a-xDwxUD2GFw.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Quicksand SemiBold'),
       url('fonts/quicksand-v37-latin-600.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/quicksand/v31/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkCEv58a-xDwxUD2GFw.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Quicksand Bold'),
       url('fonts/quicksand-v37-latin-700.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/quicksand/v31/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkBgv58a-xDwxUD2GFw.woff2') format('woff2');
}

/* === FARBPALETTE (WARM) === */
:root {
  /* Hauptfarben - abgeleitet vom Foto */
  --bg: #FFF8F5;              /* Sanftes Creme-Rosa (wärmer als Hellblau) */
  --surface: #FFFFFF;          /* Reines Weiß für Cards */
  --primary: #D4699B;          /* Pink vom Top */
  --primary-hover: #BF527F;    /* Beerenrot von den Lippen */
  --text: #4A3228;             /* Warmes Dunkelbraun */
  --muted: #8B7068;            /* Gedämpftes Braun */
  --border: #F0D4CA;           /* Sanfter Pfirsich-Rand */
  
  /* Zusätzliche Farben */
  --surface-alt: #FFF0EB;      /* Leichter Pfirsich */
  --accent-soft: #FADDD4;      /* Warmes Rosa (Hautton) */
  --accent-gold: #D4A574;      /* Gold von der Kette */
  --shadow: rgba(74, 50, 40, 0.06);
  --shadow-lg: rgba(74, 50, 40, 0.12);
  
  /* Typography - warm und einladend */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-gap: 5rem;
  --card-radius: 1.75rem;
}

/* === BASE STYLES === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 600;
}

/* Utility-Klasse für Heading-Font */
.font-heading {
  font-family: var(--font-heading);
}

/* === CUSTOM COMPONENTS === */

/* Navigation */
.nav-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

/* Cards - weicher und einladender */
.card {
  background-color: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 24px var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(232, 196, 184, 0.3);
}

.card:hover {
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.card-interactive:hover {
  transform: translateY(-3px);
}

/* Buttons - weicher, einladender */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #E07AAB 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(212, 105, 155, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(212, 105, 155, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-1px);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
}

.badge-status {
  background: linear-gradient(135deg, var(--primary) 0%, #E07AAB 100%);
  color: white;
}

/* Photo Frame - wärmer, wie ein Bilderrahmen */
.photo-frame {
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 
    0 0 0 5px var(--surface),
    0 0 0 7px var(--accent-gold),
    0 0 0 10px var(--surface),
    0 20px 60px var(--shadow-lg);
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

/* Gallery Placeholder - einladender */
.gallery-placeholder {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--card-radius);
  transition: all 0.25s ease;
}

.gallery-placeholder:hover {
  border-color: var(--accent-gold);
  background: linear-gradient(145deg, var(--surface-alt) 0%, var(--accent-soft) 100%);
  transform: scale(1.03);
}

/* Quote Card - herzlicher */
.quote-card {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  border-radius: var(--card-radius);
  box-shadow: 0 8px 30px rgba(212, 105, 155, 0.25);
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
}

/* Value List - wärmer */
.value-item {
  position: relative;
  padding-left: 2.25rem;
}

.value-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-gold) 50%, var(--accent-soft) 100%);
  border-radius: 9999px;
  opacity: 0.6;
}

.value-item::after {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 9999px;
}

/* Dekorative Elemente */
.decorative-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  border-radius: 2px;
  margin: 0 auto;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }

/* === UTILITIES === */
.text-balance {
  text-wrap: balance;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 640px) {
  :root {
    --section-gap: 2.5rem;
    --card-radius: 1.25rem;
  }
  
  body {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  h1 {
    font-size: 1.75rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  /* Hero mobile - padding-top nicht überschreiben, damit Platz für fixierte Navigation bleibt */
  section:first-of-type {
    padding-bottom: 2rem !important;
  }
  
  /* Hero Bild kleiner auf mobil */
  .hero-image {
    width: 180px !important;
    height: 180px !important;
  }
  
  /* Cards enger */
  .surface-card {
    padding: 1.25rem !important;
  }
  
  /* Abstände zwischen Sektionen */
  section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    width: 100%;
    font-size: 0.95rem;
  }
  
  /* Galerie-Grid */
  .gallery-placeholder {
    padding: 1rem !important;
  }
  
  .gallery-placeholder svg {
    width: 2rem !important;
    height: 2rem !important;
  }
  
  /* Quote Card auf Mobile - volle Breite, nicht quadratisch */
  .quote-card {
    padding: 1.5rem 1.25rem !important;
    aspect-ratio: auto !important;
  }
  
  .quote-card blockquote {
    font-size: 1rem !important;
  }
  
  /* Value Items */
  .value-item {
    padding-left: 1.75rem;
    font-size: 0.95rem;
  }
  
  .value-item::before {
    width: 1rem;
    height: 1rem;
  }
  
  .value-item::after {
    width: 0.4rem;
    height: 0.4rem;
    left: 0.3rem;
    top: 0.55rem;
  }
  
  /* Navigation auf mobil */
  nav {
    padding: 0.75rem 1rem !important;
  }
  
  /* Footer */
  footer {
    padding: 1.5rem 1rem !important;
  }
}

/* === PORTRAIT GALERIE === */
.portrait-gallery {
  position: relative;
}

.portrait-item {
  position: relative;
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--accent-soft) 100%);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.portrait-item:hover {
  box-shadow: 
    0 20px 40px rgba(74, 50, 40, 0.15),
    0 10px 20px rgba(74, 50, 40, 0.1);
}

/* Touch-Feedback für Mobile */
@media (hover: none) {
  .portrait-item:active {
    transform: scale(0.98);
  }
}

.portrait-item img {
  transition: transform 0.5s ease;
}

.portrait-item-wrapper {
  position: relative;
}

/* Dezente Dekoration für Portraits */
#portraits {
  position: relative;
  overflow: hidden;
}

#portraits::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

#portraits::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

/* Mobile Optimierungen für Portrait-Galerie */
@media (max-width: 640px) {
  #portraits::before,
  #portraits::after {
    display: none; /* Dekorationen auf Mobile ausblenden für Performance */
  }
  
  .portrait-item {
    border-radius: 0.75rem; /* Kleinere Ecken auf Mobile */
  }
  
  /* Captions unter Portraits */
  .portrait-item-wrapper p {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    line-height: 1.3;
  }
}

/* === BÜCHER SEKTION === */
.book-card,
.book-card-mobile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
  transform: translateY(-4px);
}

/* Touch Feedback für Mobile */
@media (hover: none) {
  .book-card-mobile:active {
    transform: scale(0.98);
  }
}

/* Verstecke Scrollbar aber erlaube Scrollen */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Line Clamp für Texte */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
