/* ============================================================
   Gastgeber Kompass – main.css
   Webkraft Digital | gastgeberkompass.eu
   ============================================================ */

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

:root {
  --forest:  #1a3a2a;
  --pine:    #2d6a4f;
  --sage:    #52b788;
  --sand:    #f5efe6;
  --warm:    #e9c46a;
  --terra:   #c77f3a;
  --light:   #faf8f4;
  --dark:    #111a14;
  --muted:   #6b7c6e;
  --white:   #ffffff;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(26,58,42,0.08);
  --shadow-lg: 0 16px 48px rgba(26,58,42,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ── UTILITY ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--forest); margin-bottom: 20px; }
.section-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 600px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--warm); color: var(--forest);
  padding: 15px 32px; border-radius: 100px;
  font-weight: 700; font-size: .98rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(233,196,106,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,196,106,0.5); }

.btn-secondary {
  display: inline-block;
  background: var(--pine); color: white;
  padding: 15px 32px; border-radius: 100px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(45,106,79,0.3);
}
.btn-secondary:hover { background: var(--forest); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.35);
  color: white; padding: 14px 28px; border-radius: 100px;
  font-weight: 500; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-outline {
  display: inline-block;
  background: transparent; border: 1.5px solid var(--pine);
  color: var(--pine); padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--pine); color: white; }

/* ── NAVIGATION ── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,248,244,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,58,42,0.07);
  transition: box-shadow .3s;
}
#mainNav.scrolled { box-shadow: 0 4px 24px rgba(26,58,42,0.1); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--forest); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pine);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: white; flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--forest);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--pine); }
.nav-cta {
  background: var(--pine); color: white;
  padding: 10px 22px; border-radius: 100px;
  font-size: .86rem; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--forest); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--light); z-index: 999; padding: 32px 5%;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem; font-weight: 600; color: var(--forest);
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(26,58,42,0.08);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--pine); }
.mobile-menu .mobile-cta {
  margin-top: 24px; text-align: center;
  background: var(--pine); color: white;
  padding: 16px; border-radius: 12px; font-size: 1rem; font-weight: 700;
  border-bottom: none;
}

/* ── PAGE WRAPPER ── */
.page-wrapper { padding-top: 70px; }

/* ── INNER PAGE HERO ── */
.inner-hero {
  background: var(--forest); padding: 80px 5% 70px;
  text-align: center; position: relative; overflow: hidden;
}
.inner-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(82,183,136,0.15), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(233,196,106,0.1), transparent 60%);
}
.inner-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.inner-hero .section-label { color: var(--sage); }
.inner-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; font-weight: 900; margin-bottom: 16px; }
.inner-hero p { font-size: 1.08rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--forest); border-top: 2px solid var(--sage);
  padding: 14px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform .4s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text { font-size: .95rem; color: white; font-weight: 400; }
.sticky-bar-text strong { color: var(--warm); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .83rem; font-weight: 600;
  color: var(--forest); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(26,58,42,0.15); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: .93rem;
  color: var(--dark); background: var(--light);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12); background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px; background: var(--pine); color: white;
  border: none; border-radius: 100px; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 6px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(45,106,79,0.3);
}
.form-submit:hover { background: var(--forest); transform: translateY(-2px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 14px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.form-trust span { display: flex; align-items: center; gap: 5px; }

/* ── FOOTER ── */
#mainFooter {
  background: var(--dark); padding: 64px 5% 32px;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700;
  color: white; text-decoration: none;
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-desc { font-size: .87rem; color: rgba(255,255,255,0.38); line-height: 1.75; }
.footer-col h4 {
  font-family: 'Playfair Display', serif; font-size: 1rem;
  color: white; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .87rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--sage); }
.footer-bottom {
  max-width: 1100px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,0.22); }
.footer-copy a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-copy a:hover { color: var(--sage); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,0.22); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark); border-top: 2px solid var(--pine);
  padding: 20px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  transform: translateY(100%); transition: transform .4s .5s ease;
}
#cookieBanner.show { transform: translateY(0); }
.cookie-text { font-size: .88rem; color: rgba(255,255,255,0.72); line-height: 1.6; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--sage); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
  background: var(--pine); color: white;
  padding: 10px 22px; border-radius: 100px;
  font-size: .88rem; font-weight: 700; border: none; cursor: pointer;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--sage); }
.cookie-btn-decline {
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6); padding: 10px 18px; border-radius: 100px;
  font-size: .88rem; cursor: pointer; transition: border-color .2s;
}
.cookie-btn-decline:hover { border-color: rgba(255,255,255,0.5); }

/* ── LEGAL / CONTENT PAGES ── */
.legal-content {
  max-width: 820px; margin: 0 auto; padding: 64px 5%;
}
.legal-content h2 {
  font-size: 1.5rem; color: var(--forest); margin: 40px 0 12px;
}
.legal-content h3 { font-size: 1.15rem; color: var(--forest); margin: 28px 0 8px; }
.legal-content p { font-size: .95rem; color: #444; line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 24px; }
.legal-content ul li { font-size: .95rem; color: #444; line-height: 1.75; }
.legal-content a { color: var(--pine); text-decoration: underline; }
.legal-content address { font-style: normal; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-bar { flex-direction: column; align-items: flex-start; }
  #cookieBanner { flex-direction: column; align-items: flex-start; }
}
