/* style.css v5.11 Hero Orbs & Central Info Card */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --primary: #4A6741;        /* Moosgrün — einziger Grünton */
  --secondary: #A8A59B;      /* Kieselgrau */
  --accent: #D4853A;         /* Warmes Orange */
  --light-bg: #F5F2ED;       /* Warmes Naturweiß */
  --dark-bg: #1A2416;        /* Fast Schwarz mit minimalem Grünstich */
  --text-light: #F5F2ED;
  --text-dark: #2A2A2A;      /* Neutrales Dunkel, kein Grün */
}

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

html { font-family: 'Source Sans 3', sans-serif; scroll-behavior: smooth; font-size: 16px; background-color: var(--dark-bg); color: var(--text-dark); }
body { line-height: 1.7; overflow-x: hidden; background-color: var(--light-bg); cursor: auto; }

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: 3.5rem; font-weight: 500; font-style: italic; color: var(--dark-bg); text-align: center; max-width: 800px; margin: 0 auto; letter-spacing: -0.03em; }
h2 { font-size: 3rem; font-weight: 600; color: var(--primary); }
h3 { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }

p { max-width: 42rem; margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--text-dark); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.pt-0 { padding-top: 0 !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Source Sans 3', sans-serif; font-weight: 600; letter-spacing: 0.03em; padding: 1rem 2.5rem; min-height: 48px; border-radius: 8px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); border: none; text-align: center; }
.btn--primary { background-color: var(--accent); color: #FFFFFF; }
.btn--primary:hover { transform: scale(1.03); box-shadow: 0 0 30px rgba(212,133,58,0.25); }
.btn--primary:active { transform: scale(0.97); }
.btn--outline { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background-color: var(--primary); color: white; }

.skip-link { position: absolute; top: -60px; left: 0; background: var(--accent); color: white; padding: 1rem; z-index: 10000; transition: top 0.2s; }
.skip-link:focus { top: 0; }

.spores-layer { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 8900; overflow: hidden; mix-blend-mode: screen; opacity: 0.8; }
.cursor-glow-dot { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; background-color: var(--accent); transform: translate(-50%, -50%); opacity: 0; mix-blend-mode: screen; filter: blur(3px); transition: opacity 0.3s; }

@keyframes badge-swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* === Doppelschild (Öffnungszeiten & Rezeption) === */
.double-badge { position: fixed; bottom: 40px; right: 40px; z-index: 8500; width: 200px; background-color: var(--secondary); border-radius: 12px; padding: 0.25rem 0; box-shadow: 0 15px 30px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.6), inset 0 -2px 5px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: stretch; text-align: center; border: 1px solid rgba(255,255,255,0.4); transform-origin: top center; animation: badge-swing 6.5s infinite ease-in-out; }
.double-badge::before { content: ''; position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; border-left: 2px solid rgba(255,255,255,0.9); border-right: 2px solid rgba(255,255,255,0.9); border-top: none; border-bottom: none; opacity: 0.8; }
.double-badge::after { content: ''; position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 128px; height: 6px; background: radial-gradient(circle at 4px 3px, #666 3px, transparent 4px), radial-gradient(circle at 124px 3px, #666 3px, transparent 4px); }

.badge-section { padding: 1rem 1.25rem; display: flex; flex-direction: column; align-items: center; }
.badge-divider { height: 1px; width: 80%; background-color: rgba(42,42,42,0.15); margin: 0 auto; }
.badge-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; border-bottom: 1px solid rgba(42,42,42,0.3); padding-bottom: 0.2rem; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dark); }
.badge-title--small { font-size: 0.9rem; margin-bottom: 0.2rem; border-bottom: none; opacity: 0.9; }
.badge-times { font-size: 0.8rem; line-height: 1.4; margin-bottom: 0.4rem; font-family: 'Source Sans 3', sans-serif; color: rgba(42,42,42,0.85); }
.badge-phone { display: block; font-weight: bold; font-size: 0.95rem; color: var(--primary); text-decoration: none; transition: color 0.3s; margin-top: 0.4rem; }
.badge-phone:hover { color: var(--accent); }

/* === Navbar === */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: 125px; display: flex; justify-content: space-between; align-items: center; padding: 10px 10% 25px 10%; border-radius: 0 0 50% 50% / 0 0 30px 30px; z-index: 9000; background-color: rgba(74, 103, 65, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(74, 103, 65, 0.3); transform: translateY(-100%); transition: transform 0.4s ease-out, background-color 0.4s ease-out; opacity: 0; }
.navbar.scrolled { transform: translateY(0); opacity: 1; }
.navbar__logo-link { display: flex; align-items: center; }
.navbar__logo { height: 90px; max-width: 450px; object-fit: contain; cursor: pointer; filter: none; transition: filter 0.4s ease-out; }
.navbar__nav-container { position: relative; display: flex; align-items: center; }
.navbar__links { display: flex; align-items: center; gap: 3rem; font-weight: 600; font-size: 0.9375rem; color: var(--text-light); transition: color 0.4s ease-out; }
.navbar__link { position: relative; padding: 0.5rem; opacity: 0.8; transition: opacity 0.2s; }
.navbar__link:hover { opacity: 1.0; color: var(--accent); }
.active-nav-dot { position: absolute; bottom: 0px; left: 0; width: 6px; height: 6px; border-radius: 50%; background-color: var(--accent); transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); opacity: 0; }
.navbar__nav-container.has-active .active-nav-dot { opacity: 1; }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; z-index: 9002; }
.hamburger__line { display: block; width: 100%; height: 2px; background-color: var(--text-light); position: absolute; transition: all 0.3s; }
.hamburger__line:nth-child(1) { top: 0; } .hamburger__line:nth-child(2) { top: 8px; } .hamburger__line:nth-child(3) { top: 16px; }
.hamburger.active .hamburger__line:nth-child(1) { transform: rotate(45deg); top: 8px; }
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger__line:nth-child(3) { transform: rotate(-45deg); top: 8px; }

.navbar.navbar--light { background-color: rgba(245, 242, 237, 0.98); border-bottom: 2px solid rgba(26, 36, 22, 0.1); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.navbar.navbar--light .navbar__logo { filter: none; }
.navbar.navbar--light .navbar__links { color: var(--primary); }
.navbar.navbar--light .hamburger__line { background-color: var(--primary); }

.mobile-menu-panel { position: fixed; top: 125px; left: 0; width: 100%; max-height: 0; overflow: hidden; background-color: var(--primary); z-index: 8999; display: flex; flex-direction: column; align-items: center; transition: max-height 300ms ease-out, opacity 300ms ease-out; opacity: 0; }
.mobile-menu-panel.open { max-height: 180px; opacity: 1; border-bottom: 2px solid var(--accent); }
.mobile-menu-panel a { color: var(--text-light); font-size: 1rem; padding: 16px 20px; width: 100%; text-align: center; height: 56px; display: flex; justify-content: center; align-items: center; }

/* === Hero Section === */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* Das Waldbild als Hintergrund */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../fichtenwald-impressionistisch.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(3px) saturate(0.85);
  z-index: 0;
}

/* Milchglas-Overlay: halbtransparente helle Schicht */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 242, 237, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8rem 5% 6rem;
}

.landing-logo { max-width: 380px; height: auto; position: relative; filter: none; }

/* Typografie Tweaks Hero */
.landing-subline { margin-top: 1.5rem; font-family: 'Source Sans 3', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 0px; font-style: normal; letter-spacing: 0.05em; max-width: 100%; white-space: nowrap; }

.landing-nav { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; }
.landing-nav a { font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem; font-weight: 700; color: rgba(26,36,22,0.8); text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s; }
.landing-nav a:hover { color: var(--accent); }

/* Hero Schild — Adresse & Öffnungszeiten */
.hero-schild {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 50;
  background: rgba(26, 36, 22, 0.75);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  width: 100%;
  max-width: 680px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 242, 237, 0.12);
  text-align: center;
  opacity: 0;
  animation: fadeUpSchild 0.5s ease-out 2.3s forwards;
  color: #F5F2ED;
}

.hero-schild p, .hero-schild a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  color: #F5F2ED;
  margin: 0;
  line-height: 1.6;
}

.hero-schild a {
  display: inline-block;
  transition: color 200ms ease;
}

.hero-schild a:hover {
  color: #D4853A;
}

.hero-schild__rezeption {
  font-size: 0.75rem !important;
  opacity: 0.7;
  margin-top: 0.5rem !important;
}

.desktop-only { display: inline-block; }
.mobile-only { display: none; }

@keyframes fadeUpSchild {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.custom-shape-divider-bottom-hero { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 10; }
.custom-shape-divider-bottom-hero svg { display: block; width: calc(100% + 1.3px); height: 100px; }
.custom-shape-divider-bottom-hero .shape-fill { fill: var(--dark-bg); }

/* Hero Animation */
.hero-fade-in { opacity: 0; animation: fadeUpHero 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes fadeUpHero { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }


/* === Storytelling Dividers === */
.structural-divider { width: 100%; height: 140px; position: relative; z-index: 5; margin-top: -1px; margin-bottom: -1px; display: flex; align-items: flex-end; }
.div-oak-flow { background: linear-gradient(to bottom, var(--dark-bg), var(--light-bg)); }
.div-river-flow { background: linear-gradient(to bottom, var(--light-bg), var(--primary)); }
.mask-layer { width: 100%; height: 120px; background-color: var(--primary); -webkit-mask-size: 100% 100%; -webkit-mask-position: bottom center; -webkit-mask-repeat: no-repeat; mask-size: 100% 100%; mask-position: bottom center; mask-repeat: no-repeat; }
.mask-oak { -webkit-mask-image: url('../assets/mask_oak.png'); mask-image: url('../assets/mask_oak.png'); }
.svg-river { width: 100%; height: 120px; position: absolute; bottom: 0; left: 0; }
.svg-river path, .svg-river ellipse { stroke: var(--primary); fill: none; stroke-width: 1.5px; }


/* === General Sections === */
.section { padding: 8rem 5%; position: relative; z-index: 2; }
.section--light { background-color: var(--light-bg); color: var(--text-dark); }
.section--dark { background-color: var(--dark-bg); color: var(--text-light); }
.section--primary { background-color: var(--primary); color: var(--text-light); }
.section--white { background-color: #FFFFFF; color: var(--text-dark); }

.section-content { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 5rem; font-size: 2.25rem; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark p, .section--dark td, .section--dark strong { color: var(--text-light) !important; }
.section--primary h1, .section--primary h2, .section--primary h3, .section--primary h4, .section--primary p { color: var(--text-light) !important; }

/* === ÜBER UNS === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; position: relative; }
.about-text-column p { font-size: 1.05rem; }
.signature-name { font-family: 'Playfair Display', serif; font-size: 2rem !important; color: var(--accent) !important; font-style: italic; margin-top: 0.5rem; }
.gallery-wrapper { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 380px; gap: 20px; position: sticky; top: 120px; }
.img-frame { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 1px solid rgba(245,242,237,0.1); height: 100%; transition: transform 0.4s; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame:hover { transform: scale(1.02); }
.img-frame--1 { grid-column: 1; grid-row: 1; }
.img-frame--2 { grid-column: 2; grid-row: 1; }
.img-frame--3 { grid-column: 1 / span 2; grid-row: 2; }

/* === LEISTUNGEN === */
.section--leistungen { padding-top: 4rem; }
.leistungen-heading { font-size: 2.5rem; text-align: center; margin-bottom: 5rem; color: var(--primary); font-family: 'Playfair Display', serif; font-weight: 600; }
.leistung-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; width: 100%; margin: 3rem 0; }
.leistung-block--reverse { direction: rtl; }
.leistung-block--reverse > * { direction: ltr; }
.leistung-block__illu { width: 100%; max-width: 280px; margin: 0 auto; }
.leistung-block__text { max-width: 520px; }
.leistung-block__text p { font-size: 1.05rem; }
.leistung-seperator { width: 100%; max-width: 80px; height: 1px; background-color: var(--primary); opacity: 0.15; margin: 2rem auto; }
.tree-pattern-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%234A6741' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 350C100 250 80 200 100 150C120 200 100 250 100 350'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0.03; pointer-events: none; z-index: 0; }

/* === ÖFFNUNGSZEITEN === */
#oeffnungszeiten { padding: 4rem 5%; }
.text-center { text-align: center; }
.hours-card { max-width: 550px; margin: 0 auto; background: rgba(26, 36, 22, 0.4); padding: 3rem; border-radius: 20px; border: 1px solid rgba(245, 242, 237, 0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.hours-table--clean { width: 100%; text-align: left; }
.hours-table--clean td { padding: 1.25rem 0; border-bottom: 1px solid rgba(245,242,237,0.15); color: var(--text-light); font-size: 1.1rem; }
.hours-table--clean tr:last-child td { border-bottom: none; padding-bottom: 0px; }
.hours-table--clean tr:first-child td { padding-top: 0px; }
.glow-text { color: #FFFFFF; font-weight: 700; font-family: 'Source Sans 3', sans-serif; letter-spacing: 0.05em; font-size: 1.15rem; }

/* === Kontakt === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info { background: #FFFFFF; padding: 2.5rem; border-radius: 12px; box-shadow: 0 20px 50px rgba(74,103,65,0.06); border: 1px solid rgba(74,103,65,0.1); }
.contact-info .contact-highlight { margin-bottom: 0.5rem; color: var(--primary) !important; font-weight: bold; font-family: 'Source Sans 3', sans-serif; }
.contact-info .contact-desc { font-size: 0.95rem; color: #555 !important; border-top: 1px dashed rgba(74,103,65,0.3); padding-top: 1.5rem; line-height: 1.6; }
.contact-info strong { color: #333 !important; }
.map-embed { width: 100%; height: 100%; min-height: 480px; border-radius: 12px; overflow: hidden; border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(74,103,65,0.06); }

/* === Ästhetischer Footer === */
.site-footer { background-color: var(--dark-bg); color: var(--secondary); padding: 6rem 5% 3rem; border-top: 1px solid rgba(74,103,65,0.2); font-family: 'Source Sans 3', sans-serif; }
.footer-logo { opacity: 0.9; max-width: 220px; width: 100%; height: auto; margin-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; border-bottom: 1px solid rgba(245,242,237,0.1); padding-bottom: 4rem; }
.footer-brand .footer-sub { font-size: 1.1rem; line-height: 1.6; color: var(--secondary); font-style: italic; max-width: 320px; font-family: 'Playfair Display', serif; }
.footer-nav h4, .footer-contact h4 { font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 1.5rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.75rem; }
.footer-nav a { font-size: 1rem; color: var(--secondary); transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contact p { font-size: 1rem; line-height: 1.8; color: var(--secondary); margin-bottom: 1rem; }
.footer-contact a { color: var(--text-light); transition: color 0.3s; font-weight: 500; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(168,165,155,0.6); }
.footer-links a { color: rgba(168,165,155,0.6); transition: color 0.3s; }
.footer-links a:hover { color: var(--light-bg); }
.dot-sep { margin: 0 0.5rem; }

/* Reveal Animationen */
.slide-from-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.slide-from-right { opacity: 0; transform: translateX(30px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.slide-from-left.visible, .slide-from-right.visible { opacity: 1; transform: translateX(0); }
.stagger-layout { transition-delay: 150ms; }

/* Responsive Overrides */
@media (max-width: 1024px) {
  .section { padding: 6rem 5%; }
  #oeffnungszeiten { padding: 4rem 5%; }
  .hero-content { padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-wrapper { position: static; grid-template-rows: 250px 300px; margin-top: 3rem; }
  .double-badge { width: 180px; right: 20px; bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 5%; }
  #oeffnungszeiten { padding: 3rem 5%; }
  .section-heading { margin-bottom: 3rem; font-size: 1.8rem; }
  .landing-logo { max-width: 250px; }
  .landing-subline { font-size: 1.1rem; line-height: 1.6; }
  .landing-nav { gap: 1rem; font-size: 0.875rem; margin-top: 1.5rem; flex-wrap: wrap; }
  
  .hero-schild {
    padding: 1rem 1.25rem;
    bottom: 24px;
    width: 90vw;
  }
  .hero-schild p, .hero-schild a { font-size: 0.8125rem; }
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  .hero-schild a.btn-tap { min-height: 44px; display: inline-flex; align-items: center; }
  
  .navbar { height: 100px; padding: 10px 5% 15px 5%; border-radius: 0 0 25px 25px; }
  .navbar__logo { height: 75px; }
  .navbar__links { display: none; }
  .hamburger { display: block; }
  
  .leistung-block, .leistung-block--reverse { grid-template-columns: 1fr; direction: ltr; margin: 3rem 0; text-align: center; }
  .leistung-block__illu { max-width: 220px; margin-bottom: 1.5rem; }

  .hours-card { padding: 2rem; }
  .hours-table--clean td, .glow-text { font-size: 1rem; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .gallery-wrapper { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .img-frame--1, .img-frame--2, .img-frame--3 { grid-column: 1; grid-row: auto; height: 250px; }
  .double-badge { display: none; }
}
