/* ==========================================================================
   Trauerrednerin Herma Fennen - Redesign v4

   FARBKONZEPT:
   Das Design nutzt eine Palette, die Würde, Wärme und Trost vermittelt.
   - Hauptfarbe: Tiefes Schieferblau - symbolisiert den Übergang (Dämmerung)
   - Akzentfarbe: Warmes Altgold - vermittelt Wärme und Wertschätzigkeit
   - Neutrale Töne: Warme Grautöne für Text, cremige Hintergründe

   Kontrastverhältnis mind. 4.5:1 für WCAG AA Compliance
   ========================================================================== */

:root {
  /* Primärfarben */
  --color-primary: #4a5462;          /* Tiefes Schieferblau - würdevoll, ruhig */
  --color-primary-dark: #363d48;     /* Dunkler für Hover */
  --color-primary-light: #6b7280;    /* Heller für Akzente */

  /* Akzentfarben - Warmes Altgold */
  --color-accent: #b59a5e;           /* Warmes Altgold - Wärme, Wertigkeit */
  --color-accent-dark: #96803d;      /* Dunkler für Hover */
  --color-accent-light: #d4c4a0;     /* Heller für Hintergründe */

  /* Textfarben - Hoher Kontrast für Lesbarkeit */
  --color-text: #1f2937;             /* Fast Schwarz - max. Lesbarkeit */
  --color-text-medium: #374151;      /* Mittleres Grau für Fließtext */
  --color-text-light: #4b5563;       /* Für sekundäre Texte */

  /* Hintergrundfarben - Warme, einladende Töne */
  --color-bg: #ffffff;               /* Reines Weiß für Hauptinhalt */
  --color-bg-warm: #faf8f5;          /* Zartes Cremeweiß */
  --color-bg-alt: #f3f1ed;           /* Warmes Hellgrau */
  --color-bg-dark: #e8e4dd;          /* Für Akzentbereiche */

  /* Rahmen und Linien */
  --color-border: #d1cdc5;           /* Warmer Rahmen */
  --color-border-light: #e5e2dc;     /* Subtiler Rahmen */

  /* Weiß */
  --color-white: #ffffff;

  /* Typografie */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Schatten */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);

  /* Radien */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50px;

  /* Übergänge */
  --transition: 0.25s ease;
}

/* ==========================================================================
   Reset & Basis
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px - optimal für ältere Nutzer (65+) */
  line-height: 1.8;
  color: var(--color-text); /* Maximaler Kontrast */
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Desktop: leicht kleinere Schrift da größere Bildschirme */
@media (min-width: 1024px) {
  body {
    font-size: 1.0625rem; /* 17px */
  }
}

/* ==========================================================================
   Typografie
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1.25rem;
  font-size: inherit; /* Erbt von body (18px mobile, 17px desktop) */
  color: var(--color-text-medium);
}

p:last-child {
  margin-bottom: 0;
}

/* Sekundärer Text mit gutem Kontrast */
.text-secondary {
  color: var(--color-text-medium); /* #374151 - 7:1 Kontrast auf Weiß */
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-dark);
}

strong, b {
  font-weight: 700;
  color: var(--color-text);
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

.section-alt {
  background-color: var(--color-bg-warm);
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border-light);
  transition: all var(--transition);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

/* Header im Hero-Bereich transparent */
header.transparent {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  nav { padding: 0 2rem; }
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  height: auto;
  width: 200px;
  max-height: 55px;
  object-fit: contain;
  transition: all var(--transition);
}

/* Tablet */
@media (min-width: 768px) {
  .logo img {
    width: 220px;
    max-height: 55px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .logo img {
    width: 280px;
    max-height: 60px;
  }
}

header.scrolled .logo img {
  width: 180px;
  max-height: 48px;
}

@media (min-width: 768px) {
  header.scrolled .logo img {
    width: 200px;
    max-height: 48px;
  }
}

@media (min-width: 1024px) {
  header.scrolled .logo img {
    width: 240px;
    max-height: 52px;
  }
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  font-size: 1rem; /* 16px */
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 0.5rem; /* Größerer Touch-Target */
  position: relative;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-accent-dark);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.625rem 1.5rem !important;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Toggle (Hamburger) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1002;
  background: transparent;
  border: none;
  padding: 8px;
  margin-right: -8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-toggle span:nth-child(3) {
  transform: translateY(6px);
}

/* Hamburger Animation zu X */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 2rem;
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: var(--color-accent-dark);
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links .nav-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: var(--color-white) !important;
  }

  .nav-links .nav-cta:hover {
    background: var(--color-accent-dark);
  }

  /* Overlay hinter dem Menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Body scroll lock */
  body.menu-open {
    overflow: hidden;
  }
}

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

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--color-white);
  background-color: var(--color-primary);
  background-image:
    linear-gradient(
      160deg,
      rgba(74, 84, 98, 0.92) 0%,
      rgba(54, 61, 72, 0.88) 50%,
      rgba(74, 84, 98, 0.85) 100%
    ),
    url('../images/herma_image_hero_grau_2.jpg');
  background-size: cover;
  background-position: 75% center; /* Person ist rechts im Bild */
  background-repeat: no-repeat;
  padding: 7rem 1.5rem 4rem;
}

/* Tablet und Desktop - mehr vom Bild zeigen */
@media (min-width: 768px) {
  .hero {
    background-position: center center;
  }
}

.hero-content {
  max-width: 800px;
  padding: 2rem 0;
}

.hero-region {
  display: inline-block;
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-full);
}

.hero h1 {
  color: var(--color-white);
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.3125rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  min-height: 52px; /* Touch-Target für ältere Nutzer */
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-text);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-white);
  stroke-width: 1.5;
}

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

/* ==========================================================================
   Values Section
   ========================================================================== */

.values {
  padding: 4rem 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
}

@media (min-width: 768px) {
  .values { padding: 5rem 0; }
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.value-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
}

.value-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  color: var(--color-text);
}

.value-item p {
  font-size: 1.0625rem; /* 17px minimum */
  color: var(--color-text-medium);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }
}

.about-image {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .about-image {
    max-width: none;
    margin: 0;
  }
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 3px solid var(--color-accent-light);
  border-radius: var(--radius-md);
  z-index: 0;
}

@media (min-width: 900px) {
  .about-image::before {
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
  }
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-text-medium);
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.about-tag {
  padding: 0.5rem 1rem;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 1rem; /* 16px minimum */
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Process Section
   ========================================================================== */

.process-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .process-header { margin-bottom: 3.5rem; }
}

.process-header p {
  max-width: 550px;
  margin: 0 auto;
  color: var(--color-text-light);
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1000px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(74, 84, 98, 0.25);
  border: 3px solid var(--color-accent-light);
  position: relative;
  line-height: 1;
  text-align: center;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 1rem; /* 16px - minimum für gute Lesbarkeit */
  color: var(--color-text-medium);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial {
  background: var(--color-white);
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  font-weight: 400;
}

.testimonial::after {
  content: '\201D';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--color-accent);
  opacity: 0.25;
  position: absolute;
  bottom: 2.5rem;
  right: 1rem;
  font-weight: 400;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-medium);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  padding: 0.5rem 1.5rem;
}

.testimonial-author {
  font-size: 1rem; /* 16px minimum */
  font-weight: 700;
  color: var(--color-primary);
  padding-left: 1.5rem; /* Ausrichtung mit Text */
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header p {
  color: var(--color-text-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--color-accent-light);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  min-height: 56px; /* Touch-Target für ältere Nutzer */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px für bessere Lesbarkeit */
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 1rem;
  stroke: var(--color-text-light);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-medium);
  line-height: 1.75;
}

.faq-answer-inner p {
  margin-bottom: 1rem;
}

.faq-answer-inner ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.faq-answer-inner li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
}

.contact h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
  stroke-width: 2;
}

.contact-card-label {
  font-size: 0.9375rem; /* 15px - Kompromiss für Label */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-light);
}

.contact-card a {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 0.25rem;
}

.contact-card a:hover {
  color: var(--color-accent-light);
}

.contact-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details h3 {
  color: var(--color-white);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-region {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-region {
    justify-content: flex-start;
  }
}

.contact-region span {
  padding: 0.5rem 1rem;
  background: rgba(181, 154, 94, 0.2);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  color: var(--color-accent-light);
}

/* Legacy contact styles for backwards compatibility */
.contact-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .contact-methods {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
}

.contact-method {
  text-align: center;
}

.contact-method-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-method-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-white);
  stroke-width: 1.5;
}

.contact-method a {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.contact-method a:hover {
  color: var(--color-accent-light);
}

.contact-method span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-address {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

.contact-address strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Map Section
   ========================================================================== */

.map-section {
  background: var(--color-bg-warm);
  padding: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  position: relative;
}

@media (min-width: 768px) {
  .map-container {
    height: 450px;
  }
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(1.1);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--color-bg-warm), transparent);
  height: 60px;
  pointer-events: none;
}

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

footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-content p {
  font-size: 1rem; /* 16px minimum */
  margin: 0;
  color: rgba(255, 255, 255, 0.85); /* Besserer Kontrast */
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 1rem; /* 16px minimum */
  color: rgba(255, 255, 255, 0.85); /* Besserer Kontrast */
  padding: 0.5rem 0; /* Größerer Touch-Target */
}

.footer-links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz)
   ========================================================================== */

.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  background: var(--color-bg-warm);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-content {
    padding: 3rem 3.5rem;
  }
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent-light);
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--color-text-medium);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  margin: 1rem 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-medium);
}

.legal-content a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary);
}

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

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-enabled .fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.js-enabled .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .fade-in:nth-child(2) { transition-delay: 0.1s; }
.js-enabled .fade-in:nth-child(3) { transition-delay: 0.15s; }
.js-enabled .fade-in:nth-child(4) { transition-delay: 0.2s; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
