:root {
  --cream: #F5EFE0;
  --ink: #2b2620;
  --muted: #6f6555;
  --tomato: #C8402F;
  --tomato-dark: #A32D20;
  --basil: #4C7A34;
  --dough: #73a861;
  --dough-dark: #4c7a3d;
  --card: #fffdf8;
  --line: #e7ddc8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  display: flex; align-items: center; gap: 12px;
  padding: 20px; max-width: 960px; margin: 0 auto;
}
.logo { font-size: 30px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.brand a { color: inherit; text-decoration: none; }
.langtoggle {
  display: inline-flex; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--card);
}
.langtoggle button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 6px 12px;
}
.langtoggle button.active { background: var(--tomato); color: #fff; }
.navlink { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 40px 20px 56px;
  background: linear-gradient(160deg, var(--tomato), var(--tomato-dark));
  color: #fff;
  border-radius: 0 0 28px 28px;
}
.hero h1 { font-size: clamp(28px, 6vw, 46px); line-height: 1.1; margin-bottom: 14px; }
.hero p { font-size: clamp(16px, 2.6vw, 19px); opacity: .95; max-width: 620px; margin: 0 auto 26px; }
.btn {
  display: inline-block; background: #fff; color: var(--tomato-dark);
  font-weight: 700; text-decoration: none; padding: 14px 26px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; box-shadow: none; border: 1.5px solid rgba(255,255,255,.7); }
.hero small { display: block; margin-top: 12px; opacity: .85; font-size: 13px; }
.hero small a { color: #fff; }

/* Sections */
section { padding: 48px 0; }
h2 { font-size: clamp(22px, 4vw, 30px); text-align: center; margin-bottom: 28px; }

.steps, .features { display: grid; gap: 18px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) {
  .steps, .features { grid-template-columns: 1fr; }
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px;
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--tomato); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.card .ic { font-size: 26px; margin-bottom: 8px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* Location */
.location {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; text-align: center;
}
.location .pin { font-size: 30px; }
.location h3 { margin: 8px 0 4px; }
.location p { color: var(--muted); }

/* Detailed walkthrough */
.detail { padding: 56px 0; }
.detail.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-inner.reverse .art { order: 2; }
.detail-inner.reverse .copy { order: 1; }
.detail .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--tomato); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.detail .copy h3 { font-size: 24px; margin-bottom: 12px; }
.detail .copy p { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.detail .copy p:last-child { margin-bottom: 0; }
.detail .copy strong { color: var(--ink); }
.art { display: flex; justify-content: center; }
.art img { width: 240px; height: auto; display: block; border-radius: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.16); }
.shot { width: 240px; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.shot img { width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.two-up figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.two-up figcaption { font-size: 14px; color: var(--muted); text-align: center; max-width: 240px; }
/* Narrower pair when two-up sits inside a detail's half-width .art column
   (rather than a full-width section) — two 240px shots would overflow it. */
.art.two-up { gap: 24px; }
.art.two-up .shot { width: 200px; }
@media (max-width: 700px) {
  .detail-inner, .detail-inner.reverse { grid-template-columns: 1fr; }
  .detail-inner.reverse .art, .detail-inner.reverse .copy { order: initial; }
  .two-up { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  border-top: 1px solid var(--line); margin-top: 24px;
  padding: 28px 20px 40px; text-align: center; color: var(--muted); font-size: 14px;
}
footer a { color: var(--tomato-dark); text-decoration: none; margin: 0 10px; }
footer a:hover { text-decoration: underline; }
footer .copy { margin-top: 14px; font-size: 13px; opacity: .8; }

/* ── Manual (anleitung.html) ─────────────────────────────────────────── */
.manual-hero {
  background: linear-gradient(160deg, var(--tomato), var(--tomato-dark));
  color: #fff; border-radius: 0 0 28px 28px;
  padding: 40px 20px 44px; text-align: center;
}
.manual-hero h1 { font-size: clamp(26px, 5vw, 38px); margin-bottom: 10px; }
.manual-hero p { opacity: .95; max-width: 640px; margin: 0 auto; }

.tabs { display: flex; justify-content: center; gap: 10px; margin: 28px 0 8px; flex-wrap: wrap; }
.tabs button {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
}
.tabs button.active { background: var(--tomato); color: #fff; border-color: var(--tomato); }

.manual { padding: 24px 0 48px; }
.manual .toc {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; margin-bottom: 28px; font-size: 15px;
}
.manual .toc a { color: var(--tomato-dark); text-decoration: none; display: block; padding: 3px 0; }
.manual .toc a:hover { text-decoration: underline; }

.manual article { margin-bottom: 30px; scroll-margin-top: 16px; }
.manual article > h3 {
  font-size: 20px; margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 2px solid var(--line);
}
.manual article p { color: var(--ink); margin-bottom: 10px; }
.manual article ul { margin: 0 0 10px 20px; color: var(--ink); }
.manual article li { margin-bottom: 5px; }
.manual article strong { color: var(--ink); }
.manual .tip {
  background: #fdf6e8; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; color: var(--muted); margin: 12px 0;
}
.manual .kbd {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 7px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
[hidden] { display: none !important; }
