/* legal-chrome.css - Kopfleiste (identisch zur Landingpage) + Footer fuer Impressum/Datenschutz.
   Basis-Nav bewusst auf #nav beschraenkt (NICHT bare nav{}), damit das mobile <nav class="mobile-menu-nav">
   die Layout-/Farb-Regeln nicht erbt. Aufklapper kommen aus megamenu.css + megamenu.js. */

/* .nav-wrapper liefert megamenu.css (position:fixed, Creme-Hintergrund). Fallback falls megamenu.css spaeter laedt: */
.nav-wrapper { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

#nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; padding-bottom: 16px;
}
.logo { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--forest); display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 15px; font-weight: 500; position: relative; overflow: hidden; flex-shrink: 0; }
.logo-mark span { position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .main { font-size: 18px; }
.logo-text .sub { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; font-weight: 400; }

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.4s var(--ease); position: relative; }
.nav-links a:hover { color: var(--forest); }

.nav-cta { padding: 11px 22px; background: var(--forest); color: var(--cream); border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.5s var(--ease); white-space: nowrap; }
.nav-cta:hover { background: var(--forest-mist); color: var(--cream); }

/* mobilemenu.css versteckt .nav-links und zeigt den Trigger ab <=1024px; nav-cta blenden wir hier aus */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* FOOTER (aus der Landingpage uebernommen, immer sichtbar) */
footer { background: var(--forest-ink); color: var(--cream); padding: 64px 48px 30px; position: relative; overflow: hidden; margin-top: 90px; }
footer::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; }
footer::after { content:''; position:absolute; bottom:-100px; left:50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(201,173,119,0.12) 0%, transparent 70%); pointer-events: none; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 13px; position: relative; z-index: 1; }
.footer-brand h4 {
  font-family: 'Fraunces', serif; font-size: 29px; font-weight: 400; margin: 0 0 14px; line-height: 1.3;
  color: var(--cream);
  background: linear-gradient(108deg, var(--cream) 0%, var(--cream) 35%, rgba(201,173,119,1) 50%, var(--cream) 65%, var(--cream) 100%);
  background-size: 250% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: brandShimmer 2.8s linear infinite alternate;
}
@keyframes brandShimmer { 0% { background-position: 0% 0; } 100% { background-position: 100% 0; } }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(248,245,238,0.55); max-width: 340px; margin: 0 0 26px; }
.footer-col h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 2px; line-height: 20px; }
.footer-loc-addr p { font-size: 14px; color: rgba(248,245,238,0.55); line-height: 20px; margin: 0 0 2px; max-width: none; }
.footer-loc-addr a { color: rgba(248,245,238,0.55); text-decoration: none; transition: color 0.5s var(--ease); }
.footer-loc-addr a:hover { color: var(--cream); }
.footer-col a { color: rgba(248,245,238,0.55); text-decoration: none; font-size: 14px; transition: all 0.6s var(--ease); display: inline-block; }
.footer-col a:hover { color: var(--cream); padding-left: 6px; }
footer .footer-col { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 2s ease-in-out !important; transform-origin: center center; }
footer .footer-col:hover { transform: scale(1.08) !important; }
footer .footer-brand .brand-head { display: inline-block; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: center center; }
footer .footer-brand .brand-head:hover { transform: scale(1.08); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(248,245,238,0.1); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; position: relative; z-index: 1; }
.footer-bottom p { font-size: 13px; color: rgba(248,245,238,0.45); margin: 0; }
.footer-bottom p:last-child { color: var(--gold-soft); font-style: italic; font-family: 'Fraunces', serif; text-align: center; padding: 10px 28px; border-radius: 100px; background: rgba(248,245,238,0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(201,173,119,0.2); transition: transform 0.4s var(--ease); }
.footer-bottom p:last-child:hover { transform: scale(1.1); }
/* Einblenden aus Transparenz + gestaffelt links nach rechts (identisch zur Landingpage) */
footer .footer-brand, footer .footer-col, footer .footer-bottom > * { opacity: 0; }
footer.is-fade-in .footer-brand, footer.is-fade-in .footer-col, footer.is-fade-in .footer-bottom > * { opacity: 1; transition: opacity 2s ease-in-out; }
footer.is-fade-in .footer-bottom p { transition: opacity 2s ease-in-out 1.5s, transform 0.4s var(--ease); }
footer.is-fade-in .footer-grid > .footer-col:nth-child(2) { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 2s ease-in-out 0.3s !important; }
footer.is-fade-in .footer-grid > .footer-col:nth-child(3) { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 2s ease-in-out 0.6s !important; }
footer.is-fade-in .footer-grid > .footer-col:nth-child(4) { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 2s ease-in-out 0.9s !important; }
footer.is-fade-in .footer-grid > .footer-col:nth-child(5) { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 2s ease-in-out 1.2s !important; }
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  footer { padding: 48px 24px 26px; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Kontakt-Zeilen: feste Label-Spalte, damit Nummern buendig untereinander stehen (Tel./Fax gleich ausgerichtet) */
.kontakt-block { margin: 10px 0; }
.kontakt-row { display: flex; gap: 12px; margin: 3px 0; align-items: baseline; }
.kontakt-row .k-label { flex: 0 0 58px; color: var(--muted); }
.kontakt-row a { color: var(--gold); text-decoration: none; }
.kontakt-row a:hover { color: var(--forest); text-decoration: underline; }

/* Mobile-Menue "(Testmodus)"-Tag identisch zur Landingpage (gold, klein) statt cremefarben/gross */
html body .mobile-menu-panel .mobile-menu-tag {
  font-size: 0.72em !important;
  color: #C9AD77 !important;
  font-weight: 600 !important;
  margin-left: 7px !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}
