/* ========== Grundlagen ========== */
:root {
  --bg: #f5f7f4;
  --text: #1d2a2e;
  --muted: #5b6b70;
  --primary: #2f6f5e;
  --primary-dark: #1d4a3f;
  --accent: #e3a857;
  --card: #ffffff;
  --border: #e3e8e4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 45, 40, 0.08);
  --shadow-hover: 0 18px 40px rgba(20, 45, 40, 0.16);
  --hero-from: #2f6f5e;
  --hero-to: #6aa58f;
}

/* Farbthemen für die Unterseiten */
.theme-wandern  { --hero-from: #2f6f5e; --hero-to: #7fb069; --primary: #2f6f5e; }
.theme-radeln   { --hero-from: #c0582b; --hero-to: #e3a857; --primary: #b4532a; --primary-dark: #8a3d1d; }
.theme-ski      { --hero-from: #1f4e79; --hero-to: #6fa8dc; --primary: #1f5f99; --primary-dark: #163f66; }
.theme-impressum{ --hero-from: #3b4a50; --hero-to: #7d8f96; }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

.container { width: min(1120px, 92%); margin-inline: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

/* ========== Header / Navigation ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-badge {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #fff;
  font-size: .95rem;
}

.nav-links { display: flex; gap: .3rem; }

.nav-links a {
  padding: .5rem .9rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s, color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  margin: 6px 0;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero ========== */
.hero, .page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  overflow: hidden;
}

.hero { padding: 140px 0 200px; }
.page-hero { padding: 90px 0 150px; }

.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 160, .45), transparent 70%);
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; }

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }

.hero .eyebrow, .page-hero .eyebrow { color: #ffe3b0; }

.lead { font-size: 1.2rem; opacity: .95; max-width: 600px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.mountains {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 160px;
}
.m-back  { fill: rgba(255, 255, 255, .22); }
.m-front { fill: var(--bg); }

.breadcrumb { font-size: .9rem; margin-bottom: 1.2rem; opacity: .9; }
.breadcrumb a { color: #fff; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow); }
.btn-ghost   { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-solid   { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-dark); }

/* ========== Über mich ========== */
.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.facts { display: grid; gap: 1rem; }

.fact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #e8f1ed;
  font-size: 1.4rem;
}

.fact small { display: block; color: var(--muted); font-size: .85rem; }
.fact strong { font-size: 1.05rem; }

/* ========== Karten ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 5px;
  background: var(--card-color, var(--primary));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  font-size: 2rem;
  background: var(--card-bg, #e8f1ed);
}

.card p { color: var(--muted); flex-grow: 1; }

.card-link {
  font-weight: 600;
  color: var(--card-color, var(--primary));
}

.card-link::after { content: " →"; transition: margin .2s; }
.card:hover .card-link::after { margin-left: 6px; }

.card.wandern { --card-color: #2f6f5e; --card-bg: #e3f0e6; }
.card.radeln  { --card-color: #c0582b; --card-bg: #fbeadf; }
.card.ski     { --card-color: #1f5f99; --card-bg: #e2eef9; }

/* ========== Kontakt ========== */
.contact-section { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-item {
  padding: 2rem;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}

.contact-item:hover { transform: translateY(-4px); border-color: var(--primary); }
.contact-item .fact-icon { margin: 0 auto 1rem; background: #fff; }
.contact-item h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.contact-item a, .contact-item address {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
}
.contact-item a:hover { color: var(--primary); }

/* ========== Unterseiten-Inhalt ========== */
.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}

.prose p { margin: 0 0 1.2em; }
.prose h2 { margin-top: 1.6em; }

.info-box {
  position: sticky;
  top: 100px;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-box h3 { color: var(--primary); }
.info-box ul { list-style: none; margin: 0; padding: 0; }
.info-box li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--border);
}
.info-box li:last-child { border: 0; }
.info-box li span { color: var(--muted); }

.tour-card {
  padding: 1.8rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}

.tour-card .tag {
  display: inline-block;
  padding: .2rem .7rem;
  margin-bottom: .8rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
}

.tour-card p { color: var(--muted); margin: 0; }

.tips { list-style: none; padding: 0; display: grid; gap: 1rem; }
.tips li {
  position: relative;
  padding: 1rem 1.2rem 1rem 3.2rem;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.tips li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem; top: 1rem;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* Impressum */
.legal {
  max-width: 780px;
  padding: 2.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal address { font-style: normal; }

/* ========== Footer ========== */
.site-footer {
  padding: 40px 0;
  background: #16211f;
  color: #b9c6c2;
  font-size: .95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a { color: #fff; text-decoration: none; margin-left: 1.2rem; }
.site-footer a:hover { color: var(--accent); }

/* ========== Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== Responsive ========== */
@media (max-width: 860px) {
  .about, .content-grid { grid-template-columns: 1fr; }
  .info-box { position: static; }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    padding: 1rem 4%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 1rem; }

  .hero { padding: 100px 0 170px; }
  .section { padding: 70px 0; }
  .legal { padding: 1.6rem; }
  .site-footer a { margin: 0 1.2rem 0 0; }
}