/* ============================================
   Stadtführung Soest – App Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Farben – abgeleitet vom Grünsandstein & Fachwerk der Soester Altstadt */
  --stone-green: #6E7858;
  --stone-green-light: #8B9470;
  --stone-dark: #2E3524;
  --parchment: #EFE7D6;
  --parchment-light: #F7F2E7;
  --brick: #7A3226;
  --brick-dark: #5E2119;
  --brass: #B08D3E;
  --ink: #2A2620;
  --ink-soft: #55503f;
  --white: #FFFDF8;
  --line: rgba(42, 38, 32, 0.12);

  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --nav-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body {
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 8px);
  min-height: 100dvh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--stone-dark);
  line-height: 1.15;
  margin: 0 0 .4em;
  font-weight: 600;
}

h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
h3 { font-size: 1.15rem; }

p { line-height: 1.55; margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--brick); }

img { max-width: 100%; display: block; }

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Steinfries: das Signatur-Element ---------- */
.stone-frieze {
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
      90deg,
      var(--stone-green) 0px, var(--stone-green) 38px,
      var(--stone-green-light) 38px, var(--stone-green-light) 40px
    );
  background-size: 40px 14px;
  position: relative;
  overflow: hidden;
}
.stone-frieze::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 18px, rgba(0,0,0,.08) 18px 20px,
    transparent 20px 38px, rgba(0,0,0,.08) 38px 40px
  );
}
.stone-frieze.reverse {
  background-position: 20px 0;
}

/* ---------- Header ---------- */
.app-header {
  background: var(--stone-dark);
  color: var(--parchment-light);
  padding: 22px 18px 18px;
}
.app-header .eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 6px;
}
.app-header h1 { color: var(--white); margin-bottom: .2em; }
.app-header p { color: rgba(247,242,231,.78); margin: 0; }
.app-header.compact { padding: 16px 18px; }
.app-header.compact h1 { font-size: 1.4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--brick);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(122,50,38,.35);
}
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost {
  background: transparent;
  color: var(--stone-dark);
  border: 1.5px solid var(--stone-green);
}
.btn-block { width: 100%; }
.btn-readmore { margin: 4px 0 18px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(42,38,32,.08);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.card img { width: 100%; height: 160px; object-fit: cover; background: var(--stone-green-light); }
.card-body { padding: 16px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { font-size: .92rem; margin-bottom: 10px; }
.card-meta {
  display: flex;
  gap: 12px;
  font-size: .78rem;
  color: var(--stone-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------- Sections ---------- */
.section { padding: 24px 0; }
.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title-row a { font-size: .85rem; font-weight: 700; text-decoration: none; }

/* ---------- Bottom nav (App-Gefühl) ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--stone-dark);
  display: flex;
  padding-bottom: var(--safe-bottom);
  z-index: 50;
  box-shadow: 0 -2px 14px rgba(0,0,0,.18);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 2px 8px;
  color: rgba(247,242,231,.55);
  text-decoration: none;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--brass); }

/* ---------- Booking box (auf jeder Tour) ---------- */
.booking-box {
  background: linear-gradient(135deg, var(--stone-dark), #3a4530);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.booking-box h3 { color: var(--white); }
.booking-box p { color: rgba(247,242,231,.8); font-size: .9rem; }
.booking-box .btn-primary { margin-top: 6px; }
.booking-contact-line {
  margin-top: 12px;
  font-size: .82rem;
  color: rgba(247,242,231,.65);
}
.booking-contact-line a { color: var(--brass); }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 6px;
  color: var(--stone-dark);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--stone-green);
  outline-offset: 1px;
}

/* ---------- Misc ---------- */
.badge {
  display: inline-block;
  background: rgba(176,141,62,.15);
  color: var(--brass);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stars { color: var(--brass); letter-spacing: 1px; }
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--stone-dark);
  border-left: 3px solid var(--stone-green);
  padding-left: 14px;
  margin: 16px 0;
}
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }

.install-banner {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--brass);
  color: var(--stone-dark);
  padding: 12px 16px;
  font-size: .85rem;
  font-weight: 600;
}
.install-banner button {
  margin-left: auto;
  background: var(--stone-dark);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: .8rem;
}
.install-banner.show { display: flex; }

footer.legal {
  text-align: center;
  font-size: .75rem;
  color: var(--ink-soft);
  padding: 20px 18px 10px;
}
footer.legal a { color: var(--ink-soft); }

@media (min-width: 700px) {
  .bottom-nav { max-width: 640px; left: 50%; transform: translateX(-50%); border-radius: 20px 20px 0 0; }
}
