/* css/style.css */
/* ---------------------------------------------------------------
   LOKALE GOOGLE FONTS (Datenschutzkonform)
   --------------------------------------------------------------- */
/* inter-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../assets/fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('../assets/fonts/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('../assets/fonts/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* pinyon-script-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/pinyon-script-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ---------------------------------------------------------------
   1. Variablen & Basis-Stile
   --------------------------------------------------------------- */
:root {
  --wood-900: #3f2a19;
  --wood-700: #5a3b24;
  --wood-500: #8c5f44;
  --sand-200: #efe7df;
  --ivory: #fbf8f5;
  --muted: #7b6a5f;
  --accent: #caa36b;
  --radius: 12px;
  --max-width: 1100px;
  --transition-fast: 180ms ease;
  --shadow-soft: 0 6px 18px rgba(36, 26, 20, 0.18);

  /* Farbpalette zum Logo */
  --palette-dark-1: #402830;
  --palette-dark-2: #583040;
  --palette-mid-1: #905030;
  --palette-mid-2: #b07850;
  --palette-accent-1-pink: #e09890;
  --palette-accent-2-tan: #d8a878;
  --palette-accent-3-tan: #c88868;
  --palette-accent-4-pink: #b87068;
  --palette-light-1: #f8d8a8;
  --palette-light-2: #e8c090;
}

/* Reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--wood-900);
  margin: 0;
  line-height: 1.45;
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-smoothing: grayscale;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Allgemeine Sektions-Stile */
.section {
  padding: 3rem 0;
  background-color: var(--ivory);
}
.dark-section {
  background-color: var(--sand-200);
}

/* Allgemeine Box-Schatten */
.pdf-wrap,
.gallery-grid img,
.contact-card,
.map-card .map-wrap {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background-color: white;
  overflow: hidden;
}

/* Vereinheitlichte Sektions-Überschriften */
.section .container > h2,
.section.container > h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--wood-900);
}

/* ---------------------------------------------------------------
   2. Utility-Klassen (Helfer)
   --------------------------------------------------------------- */

/* Accessibility Helfer */
.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;
}

/* Buttons */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  /* Verlauf aus deinen Akzentfarben */
  background: linear-gradient(180deg, var(--palette-accent-2-tan), var(--palette-accent-3-tan));

  /* Dunkler Text für Kontrast */
  color: var(--palette-dark-1); 

  /* Weicher Schatten */
  box-shadow: 0 4px 10px rgba(64, 40, 48, 0.25);
  border: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(64, 40, 48, 0.3);
}

/* Abgedunkelter Text */
.muted {
  color: var(--muted);
}

/* Reveal-Animation beim Scrollen */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

/* Micro-interactions (Globaler Hover) */
a,
button {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
a:hover,
button:hover {
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   3. Sitewide-Layout (Header & Footer)
   --------------------------------------------------------------- */

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  backdrop-filter: blur(4px);
  background: rgba(251, 248, 245, 0.95);
  border-bottom: 1px solid rgba(90, 59, 36, 0.06);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.site-header.hide {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--wood-900);
  font-weight: 600;
}

.brand-logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--wood-900);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-menu a:hover {
  background: rgba(140, 95, 68, 0.06);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  font-size: 1.25rem;
}

.nav-close {
  display: none;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(90, 59, 36, 0.04);
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-legal {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--wood-900);
  transform: none;
}

/* ---------------------------------------------------------------
   4. Seiten-Sektionen (Hero, About, etc.)
   --------------------------------------------------------------- */

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--wood-900) url('../assets/images/hero-large.jpg') center/cover no-repeat;
  color: var(--ivory);
  text-align: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title-animated {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  margin: 0 0 0.5rem;
  font-size: clamp(4.5rem, 12vw, 10rem); 
  padding-top: 0.5em;
  padding-bottom: 0.3em;
  line-height: 1;
  
  background: linear-gradient(90deg, 
    var(--palette-accent-1-pink), 
    var(--palette-accent-2-tan), 
    var(--palette-light-1), 
    var(--palette-light-2), 
    var(--palette-accent-3-tan)
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  mask-image: linear-gradient(90deg, #000 50%, transparent 50%);
  mask-size: 200% 100%;
  mask-position: 100% 0;
  animation: reveal-mask 1.5s ease-out forwards;
}

/* Keyframes für die MASKEN-Animation */
@keyframes reveal-mask {
  to {
    mask-position: 0% 0;
  }
}

.hero-text .lead {
  color: var(--ivory);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-image {
  display: none;
}

.hero-description {
  color: var(--ivory);
}

.hero-description p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.hero-features {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0.5rem 0 1rem 0;
}

.hero-features li {
  padding-bottom: 0.4rem;
  color: rgba(251, 248, 245, 0.9);
}

.hero-signoff {
  font-weight: 600;
  font-style: italic;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* --- About (Philosophie) --- */
#about.section {
  position: relative;
  overflow: hidden;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-bg-logo {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 350px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
}

.about-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--wood-900);
  margin-top: 2rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--wood-900);
}

.about-content .lead {
  font-size: 1.2rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-content .muted {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.highlight-link {
  color: var(--wood-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0 2px;
}

.highlight-link:hover {
  background-color: var(--accent);
  color: var(--ivory);
  border-bottom-color: transparent;
  border-radius: 4px;
}

/* --- Menu (PDF Viewer) --- */
.pdf-wrap {
  margin-top: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pdf-viewer-box {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background-color: #fafafa;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}

.pdf-canvas-container {
  position: relative;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: var(--radius);
  overflow: hidden;
}

#pdfCanvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
}

.pdf-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
  justify-content: center;
}

.menu-download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1.5rem auto 0;
  /* Mobile Standard: Breit */
  width: 75%; 
}

/* --- Gallery (Slider) --- */
#gallery {
  background: transparent;
}

.gallery-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

#galleryGrid {
  position: relative;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0;
  background: transparent;
}

#galleryGrid::-webkit-scrollbar {
  display: none;
}

#galleryGrid img {
  flex: 0 0 auto;
  width: 320px;
  height: 200px;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: var(--radius);
  transition: transform var(--transition-fast);
}

#galleryGrid img:hover {
  transform: scale(1.05);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(63, 42, 25, 0.7);
  color: var(--ivory);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gallery-arrow.left {
  left: -62px;
}

.gallery-arrow.right {
  right: -62px;
}

.gallery-arrow:hover {
  transform: translateY(-50%);
  background: rgba(63, 42, 25, 0.9);
}

.gallery-arrow.disabled {
  opacity: 0.28;
  pointer-events: none;
}

/* --- Map --- */
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: white;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.map-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* filter: invert(90%) hue-rotate(180deg); */
}

/* Datenschutz-Platzhalter */
.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--sand-200);
  /* Screenshot der Karte als Hintergrundbild setzen */
  background-image: url('../assets/images/map-placeholder.jpg');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.map-consent-text {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 400px;
}

.map-consent-text h3 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
  color: var(--wood-900);
}

.map-consent-text p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1; /* Liegt unter dem Platzhalter */
}

/* --- Contact --- */

.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--wood-900);
}

.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Die beiden Boxen (Kontakt & Stunden) */
.contact-box,
.hours-box {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

/* Titel in den Boxen */
.contact-box h2,
.hours-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--wood-900);
}

.title-divider {
  border: 0;
  height: 2px;
  background-color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Kontaktliste (Adresse, Telefon, Mail) */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-list a {
  color: var(--wood-700);
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
  transform: none;
}

/* SVG Icon Styling */
.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--wood-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.hours-list-new {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
}

.hours-list-new dt {
  font-weight: 600;
  color: var(--wood-900);
  border-top: 1px solid var(--sand-200);
  padding-top: 0.75rem;
}

.hours-list-new dd {
  margin: 0;
  color: var(--muted);
  border-top: 1px solid var(--sand-200);
  padding-top: 0.75rem;
  text-align: right;
}

/* Entfernt die Linie beim ersten Element */
.hours-list-new dt:first-of-type,
.hours-list-new dd:first-of-type {
  border-top: none;
  padding-top: 0;
}

.follow-content {
  text-align: center;
  margin-top: 3rem;
}
.follow-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--wood-900);
}
.follow-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.follow-icons a {
  color: var(--wood-700);
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.follow-icons a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}
.follow-icons svg {
  width: 32px;
  height: 32px;
}

.socials a:hover {
  color: var(--wood-900);
  transform: none;
}

/* ---------------------------------------------------------------
   5. Komponenten (Lightbox, Modals)
   --------------------------------------------------------------- */

/* --- PDF Modal --- */
.pdf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  left: 1.25rem;
  width: 40px;
  height: 100px;
  background: rgba(63, 42, 25, 0.35);
  color: var(--ivory);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.pdf-arrow:not(.disabled) {
  opacity: 1;
  pointer-events: auto;
}

.pdf-arrow:hover:not(.disabled) {
  background: rgba(63, 42, 25, 0.6);
  transform: translateY(-50%);
}

.pdf-arrow.pdf-arrow-left {
  left: 8px;
}

.pdf-arrow.pdf-arrow-right {
  left: auto;
  right: 1.25rem;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.pdf-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.pdf-modal-content {
  width: 90%;
  max-width: 900px;
  margin: 2rem auto;
}

.pdf-modal-content canvas {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
  border-radius: var(--radius);
}

.pdf-modal-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 2001;
}

/* --- Galerie Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  object-fit: contain;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none; /* Verhindert "Geisterbild" beim Ziehen */
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1002;
}

.lightbox-arrow {
  position: absolute;
  z-index: 1001;
  background: rgba(251, 248, 245, 0.35);
  color: var(--wood-900);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.lightbox-arrow:hover:not(.disabled) {
  background: rgba(251, 248, 245, 0.6);
}

.lightbox-arrow.disabled {
  opacity: 0.1;
  pointer-events: none;
}

/* --- Zeitgesteuertes Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Versteckt das Modal standardmäßig */
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  max-width: 90%;
  width: 400px;
}
.modal-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-top: 0;
  color: var(--wood-900);
}

/* ---------------------------------------------------------------
   6. Media Queries (Responsive)
   --------------------------------------------------------------- */

/* --- Desktop Optimierung (Größer) --- */
@media (min-width: 900px) {
  html {
    font-size: 18px;
  }

  body {
    line-height: 1.6;
  }

  .container {
    max-width: 1300px;
  }

  h1,
  h2,
  h3 {
    line-height: 1.25;
  }

  h1 {
    font-size: 2.75rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  /* Versteckt den <br> Tag auf dem Desktop */
  .mobile-break {
    display: none;
  }
  
  /* Setzt die Zeilenhöhe für Desktop zurück */
  .hero-title-animated {
    line-height: 1; 
  }

  .mobile-break {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 520px;
    gap: 3rem;
  }

  .hero-image {
    min-height: 420px;
  }

  .nav {
    padding: 1rem 0;
  }

  .nav-menu a {
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-text p {
    font-size: 1.05rem;
  }

  .gallery-grid img {
    height: 200px;
  }

  .contact-card {
    font-size: 1.05rem;
  }

  .site-footer {
    font-size: 0.95rem;
  }

  #menu {
    font-size: 1.1rem;
  }

  .pdf-controls {
    font-size: 1rem;
  }

  #pdfCanvas {
    max-width: 700px;
    width: 100%;
    height: auto;
  }

  .menu-download-btn {
    width: fit-content;
    padding: 0.8rem 3rem;
  }

  #map-section .map-card {
    height: 0;
    padding-bottom: 35%;
  }

  .lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    font-size: 1.5rem;
  }

  .lightbox-arrow.left { 
    left: 1.5rem; 
  }

  .lightbox-arrow.right { 
    right: 1.5rem; 
  }

  .lightbox-arrow:hover:not(.disabled) {
    transform: translateY(-50%); /* Hover-Fix für Desktop */
  }

  #map-section .map-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .contact-grid-new {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Mobile Optimierung (Kleiner) --- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-image {
    min-height: 220px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
    color: var(--wood-900);
    padding: 0.5rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--wood-700);
    color: var(--ivory);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    margin-left: 0;
    padding: 2rem;
    gap: 1rem;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu li {
    margin: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-menu.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.open li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-menu.open li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav-menu.open li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .nav-menu.open li:nth-child(4) {
    transition-delay: 0.25s;
  }
  .nav-menu.open li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-menu a {
    color: var(--ivory);
    font-size: 1.5rem;
    font-family: "Playfair Display", serif;
    padding: 0.5rem 1rem;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  .nav-close {
    display: block;
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 0;
    color: var(--ivory);
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-close:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }

  .brand-logo {
    height: 35px;
  }

  .gallery-arrow {
    display: none;
  }

  #galleryGrid {
    margin: 0;
    width: 100%;
    padding: 0.5rem 0;
  }

  .pdf-modal-close {
    color: var(--wood-900);
    opacity: 0.8;
  }

  .pdf-modal-close:hover {
    opacity: 1;
  }

  .lightbox-image {
    max-height: 75vh; /* Etwas Platz für die Pfeile unten */
  }

  .lightbox-arrow {
    bottom: 6rem;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox-arrow.left {
    left: 2rem;
  }
  .lightbox-arrow.right {
    right: 2rem;
  }
  .lightbox-close {
    color: white;
  }

  .map-consent-text {
    padding: 1rem;
    width: 85%;
    max-width: 300px;
  }
  
  .map-consent-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .map-consent-text p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

}

/* Fixe Höhe auf Mobilgeräten (600px breakpoint) */
@media (max-width: 600px) {
  .pdf-canvas-container {
    height: 65vh;
  }

  .pdf-viewer-box {
    padding: 0.05rem 0.5rem;
  }

  .pdf-arrow {
    left: 0.75rem;
  }

  .pdf-arrow.pdf-arrow-right {
    left: auto;
    right: 0.75rem;
  }
}