/* Redkehlchen - Freie Rednerin Website */

/* ==================== RESET & BASICS ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ea8458;
  --primary-dark: #d86f45;
  --secondary-color: #563930;
  --secondary-soft: #8c7261;
  --accent-gold: #d8b17a;

  --bg-light: #fbf8f1;
  --bg-cream: #f4ede2;
  --bg-soft: #efe3ce;
  --surface: rgba(255, 255, 255, 0.92);
  --text-dark: #49332d;
  --text-medium: #705952;
  --text-light: #9a8479;

  --love-pink: #efc8d6;
  --comfort-blue: #c7d5df;
  --voice-purple: #d8c7df;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  --font-main: 'Georgia', 'Times New Roman', serif;
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top left, rgba(234, 132, 88, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(216, 177, 122, 0.12), transparent 28%),
    var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1.1rem;
}

a {
  color: inherit;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(86, 57, 48, 0.08);
  box-shadow: 0 8px 24px rgba(86, 57, 48, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-badge {
  height: 150px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  transition: height 0.35s ease, transform 0.35s ease, max-width 0.35s ease;
}

.logo-badge.scrolled {
  height: 80px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.9rem;
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-soft);
  margin-top: 0.35rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0;
  flex-wrap: wrap;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  background-color: rgba(234, 132, 88, 0.12);
  color: var(--secondary-color);
}

.nav-menu li a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 8px 18px rgba(234, 132, 88, 0.2);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, #fffaf3 0%, var(--bg-cream) 50%, var(--bg-soft) 100%);
  color: var(--secondary-color);
  padding: calc(var(--spacing-xl) + 1rem) var(--spacing-md) var(--spacing-xl);
  text-align: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.hero-brand-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 460px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(86, 57, 48, 0.08);
  border-radius: 28px;
  padding: 1.25rem 1.5rem;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 20px 50px rgba(86, 57, 48, 0.12);
}

/* ==================== Slideshow (Home) ==================== */
.hero-slideshow {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: block;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.45) 0%, 
    rgba(0, 0, 0, 0.35) 50%, 
    rgba(0, 0, 0, 0.45) 100%);
}

.slide.active {
  opacity: 1;
}

.hero-foreground {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  min-height: 580px;
}

.hero-logo-centered {
  width: 160px;
  height: auto;
  max-width: 60%;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,0.3));
}

.hero-slogan .slogan-quote {
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 0.25rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
}

.hero-slogan .slogan-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.08em;
}

/* ensure hero keeps same visual height on small screens */
@media (max-width: 768px) {
  .hero-slideshow { min-height: 450px; }
  .hero-foreground { min-height: 450px; }
  .hero-slogan .slogan-quote { font-size: 1.5rem; padding: 0.75rem 1rem; }
}

.hero-brand-card picture {
  display: block;
}

.hero-logo {
  display: block;
  width: min(100%, 400px);
  height: auto;
}

.hero-quote {
  font-style: italic;
  border: none;
}

.hero-quote p {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
  font-weight: 300;
}

.hero-quote cite {
  font-size: 1.2rem;
  font-style: normal;
  color: var(--secondary-soft);
}

/* ==================== PAGE HERO (Subpages) ==================== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #7a594b 52%, var(--primary-color) 100%);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero.with-image {
  padding: 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(86, 57, 48, 0.75) 0%, 
    rgba(122, 89, 75, 0.65) 50%, 
    rgba(234, 132, 88, 0.55) 100%);
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-title {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  color: white;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-quote {
  font-style: italic;
  border: none;
  max-width: 800px;
  margin: 0 auto;
}

.page-quote p {
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 300;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ==================== SECTIONS ==================== */
.welcome-section,
.content-section {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

h1 {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

h2 {
  font-family: var(--font-headings);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.welcome-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.profile-image {
  flex-shrink: 0;
  width: 180px;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(86, 57, 48, 0.15);
}

.intro-text {
  flex: 0 1 auto;
  max-width: 500px;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: left;
}

.hochzeit-intro, .speeker-intro, .trauerefeier-intro {
  flex: 0 1 auto;
  max-width: 100%;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
}

.intro-text p {
  margin-bottom: var(--spacing-md);
}

.intro-text .highlight {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 500;
  font-style: italic;
}

/* ==================== SERVICE CARDS (Home) ==================== */
.services-section {
  background-color: var(--bg-cream);
  padding: var(--spacing-xl) var(--spacing-md);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(86, 57, 48, 0.08);
  border-radius: 16px;
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: 0 12px 28px rgba(86, 57, 48, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(86, 57, 48, 0.14);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.service-card h2 {
  font-size: 1.6rem;
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: var(--spacing-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(234, 132, 88, 0.24);
}

/* ==================== PROCESS STEPS ==================== */
.process-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: white;
}

.process-steps {
  max-width: 800px;
  margin: var(--spacing-lg) auto 0;
}

.step {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.step-content {
  flex: 1;
  text-align: left;
}

.step-content p {
  margin-bottom: var(--spacing-xs);
  line-height: 1.7;
}

.step-note {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

.highlight-step {
  background-color: var(--bg-cream);
  padding: var(--spacing-md);
  border-radius: 14px;
  border-left: 4px solid var(--primary-color);
}

.highlight-step .step-number {
  font-size: 1.8rem;
}

/* ==================== VOICE SERVICES ==================== */
.voice-services-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--bg-cream);
}

.voice-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: var(--spacing-lg) auto 0;
}

.voice-service-card {
  background: var(--surface);
  border: 1px solid rgba(86, 57, 48, 0.08);
  border-radius: 12px;
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: 0 10px 24px rgba(86, 57, 48, 0.08);
}

.voice-service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.voice-service-card audio {
  width: 100%;
  max-width: 100%;
  margin-top: var(--spacing-sm);
  border-radius: 8px;
  outline: none;
}

.voice-service-card audio::-webkit-media-controls-panel {
  background-color: var(--bg-cream);
  border-radius: 8px;
}

.voice-service-card audio::-webkit-media-controls-play-button {
  background-color: var(--primary-color);
  border-radius: 50%;
}

.voice-service-card audio::-webkit-media-controls-current-time-display,
.voice-service-card audio::-webkit-media-controls-time-remaining-display {
  color: var(--text-dark);
}

/* ==================== CTA & CLOSING SECTIONS ==================== */
.cta-section,
.closing-section {
  background: linear-gradient(135deg, var(--secondary-color), #6c4c40);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.cta-content,
.closing-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, #f3c39e 0%, #e8b38a 100%);
  color: #3a2820;
  padding: 0;
}

/* Contact Form Section */
.contact-form-section {
  background: rgba(0, 0, 0, 0.08);
  padding: var(--spacing-xl) var(--spacing-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form-title {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: #50362f;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.contact-form-subtitle {
  text-align: center;
  color: #5a3a31;
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.contact-formular {
  max-width: 600px;
  margin: 0 auto;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-row {
  width: 100%;
}

.contact-name,
.contact-mail,
.contact-message {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid rgba(90, 58, 49, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #3a2820;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-name::placeholder,
.contact-mail::placeholder,
.contact-message::placeholder {
  color: rgba(90, 58, 49, 0.5);
}

.contact-name:focus,
.contact-mail:focus,
.contact-message:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.85);
}

.contact-message {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--spacing-sm);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 132, 88, 0.3);
}

.btn-send:active {
  transform: translateY(0);
}

#result {
  margin-top: var(--spacing-sm);
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-sans);
  display: none;
}

#result.success {
  display: block;
  background: rgba(67, 181, 129, 0.2);
  border: 1px solid rgba(67, 181, 129, 0.4);
  color: #7dffb3;
}

#result.error {
  display: block;
  background: rgba(240, 98, 98, 0.2);
  border: 1px solid rgba(240, 98, 98, 0.4);
  color: #ffb3b3;
}

.footer-content {
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto var(--spacing-lg);
}

.footer-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  filter: brightness(1.1);
}

.footer-section h3 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: #50362f;
}

.footer-section p {
  margin-bottom: var(--spacing-xs);
  color: #5a3a31;
}

.footer-section a {
  color: #3a2820;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-top: 1px solid rgba(90, 58, 49, 0.2);
  background: linear-gradient(180deg, #50362f 0%, #412b25 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
}

.legal-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding-top: var(--spacing-lg);
}

.legal-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  font-style: italic;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(86, 57, 48, 0.1);
}

.legal-section {
  margin-bottom: var(--spacing-lg);
}

.legal-section:last-child {
  margin-bottom: 0;
  text-align: center;
  padding-top: var(--spacing-md);
}

.legal-section h2 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-section p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.legal-section ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-section ul li {
  margin-bottom: var(--spacing-xs);
  line-height: 1.8;
}

.legal-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.back-btn {
  margin-top: var(--spacing-md);
  color: white !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  .hero-quote p {
    font-size: 1.5rem;
  }
  
  .page-hero.with-image {
    min-height: 300px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .page-quote p {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
  }
  
  .nav-menu li a {
    font-size: 0.85rem;
    padding: 0.5rem 0.35rem;
  }

  .hero-brand-card {
    width: 100%;
    padding: 1rem;
  }

  .services-section .container {
    padding: 0 var(--spacing-sm);
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0;
  }
  
  .service-card {
    width: 100%;
    max-width: 100%;
  }

  .voice-services-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
  }

  .footer-section {
    text-align: center;
  }

  .welcome-content {
    flex-direction: column;
    align-items: center;
  }

  .profile-image {
    width: 100%;
    max-width: 280px;
    margin-bottom: var(--spacing-md);
  }

  .intro-text {
    text-align: center;
  }

  .logo {
    max-width: 90vw;
    justify-content: center;
  }

  .logo-badge {
    height: auto;
    width: auto;
    max-width: 85vw;
    max-height: 70px;
  }

  .logo-badge.scrolled {
    max-height: 50px;
    max-width: 80vw;
  }

  .main-nav {
    padding: 0.5rem 0;
  }

  .nav-inner {
    padding: 0 var(--spacing-sm);
    gap: var(--spacing-sm);
  }
}
