/* =================================================
   Der Fahrradladen — gemeinsame Styles
   ================================================= */

:root {
  --ink: #0a2540;
  --ink-soft: #163a63;
  --blue: #1e4d8c;
  --blue-bright: #2563eb;
  --cream: #f5f0e6;
  --paper: #faf6ed;
  --rust: #b8542f;
  --gold: #c89b3c;
  --line: #d9cfb9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.serif { font-family: 'Fraunces', serif; }
.italic { font-style: italic; }

/* ===== NAV ===== */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 246, 237, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.main-nav.scrolled { border-bottom-color: var(--line); }
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo span { color: var(--rust); font-style: italic; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--rust);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rust); }

.call-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}
.call-btn:hover { background: var(--blue); }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
}

@media (max-width: 768px) {
  nav.main-nav { padding: 1rem 1.2rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .call-btn { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, background 0.2s;
  border: 0;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

/* ===== SECTION DEFAULTS ===== */
section { padding: 6rem 2.5rem; }
.wrap { max-width: 1300px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rust);
  margin-bottom: 1rem;
  font-weight: 600;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.section-title em { font-style: italic; color: var(--blue); }

@media (max-width: 900px) {
  section { padding: 4rem 1.2rem; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 2.5rem 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto 3rem;
}
.foot-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  text-decoration: none;
  color: var(--cream);
  display: inline-block;
}
.foot-logo span { color: var(--rust); font-style: italic; }
.foot-tagline {
  font-style: italic;
  opacity: 0.6;
  font-family: 'Fraunces', serif;
  max-width: 350px;
}
footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  color: var(--gold);
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a { color: var(--cream); text-decoration: none; opacity: 0.7; font-size: 0.9rem; transition: opacity 0.2s; }
footer a:hover { opacity: 1; }

.foot-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 3rem 1.2rem 1.5rem; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HEADER (für Unterseiten) ===== */
.page-head {
  padding: 10rem 2.5rem 4rem;
  background: var(--paper);
  position: relative;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(30, 77, 140, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(184, 84, 47, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-crumbs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.page-crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.page-crumbs a:hover { border-color: var(--rust); }
.page-crumbs .sep { margin: 0 0.5rem; opacity: 0.5; }
.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-title em { font-style: italic; color: var(--blue); }
.page-intro {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 600px;
}

@media (max-width: 900px) {
  .page-head { padding: 7rem 1.2rem 3rem; }
}
