/* ============================================
   Sport Schönherr — Stylesheet
   Logofarben (Navy & Rot) auf gedeckten Neutraltönen
   ============================================ */

:root {
  --forest: #1f4488;
  --forest-dark: #142a54;
  --forest-light: #3f68b0;
  --terracotta: #c8101a;
  --terracotta-dark: #960e16;
  --sand: #efe9dd;
  --sand-dark: #e2d9c6;
  --stone: #6f6d63;
  --stone-light: #a9a696;
  --paper: #faf8f3;
  --text: #292722;
  --white: #ffffff;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(20, 42, 84, 0.28);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.4vw + 0.7rem, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
  margin-bottom: 0.6em;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.section-alt {
  background: var(--sand);
}

.section-dark {
  background: var(--forest-dark);
  color: var(--sand);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--terracotta); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--forest-dark);
}
.btn-outline:hover { background: var(--forest-dark); color: var(--white); border-color: var(--forest-dark); }

.btn-on-dark {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-on-dark:hover { background: var(--white); color: var(--forest-dark); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--terracotta);
  box-shadow: 0 1px 0 var(--sand-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  border-radius: 6px;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--forest-dark);
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--terracotta);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--forest-dark);
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--forest-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    z-index: 90;
    inset: 68px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--sand-dark);
    font-size: 1.05rem;
  }
  .main-nav .btn { margin-top: 1rem; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .phone-link { display: inline-flex; }
  .main-nav .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  min-height: clamp(420px, 78vh, 720px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,26,50,0.30) 0%, rgba(16,26,50,0.58) 65%, rgba(16,26,50,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 20px 56px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero-sub {
  font-size: clamp(1rem, 1.3vw + 0.6rem, 1.2rem);
  max-width: 46ch;
  color: var(--sand);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.hero-note {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  background: rgba(250,248,243,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5em 1em;
  border-radius: 999px;
}

.hero-sm {
  min-height: clamp(280px, 48vh, 460px);
  align-items: center;
  text-align: left;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body p { flex: 1; color: var(--stone); }
.card-link {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.simple-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.simple-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.simple-card p { color: var(--stone); margin-bottom: 0; }

/* ---------- Brand strip ---------- */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.brand-chip {
  padding: 0.5em 1.1em;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest);
}

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
}
th, td {
  text-align: left;
  padding: 0.85em 1.1em;
  border-bottom: 1px solid var(--sand-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}
th {
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--sand); }

.price-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.price-tab {
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.price-tab[aria-selected="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.price-panel { display: none; }
.price-panel.is-active { display: block; }

/* ---------- Accordion (details/summary) ---------- */
.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.accordion-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--forest-dark);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-body {
  padding: 0 1.4rem 1.4rem;
  color: var(--stone);
}
.accordion-body ul { padding-left: 1.2em; }
.accordion-body li { margin-bottom: 0.4em; }

/* ---------- Route cards (Strecken) ---------- */
.route-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  border-left: 5px solid var(--terracotta);
}
.route-card .route-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 1rem;
  font-size: 0.85rem;
}
.route-meta span {
  background: var(--sand);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  color: var(--forest);
  font-weight: 600;
}
.route-card ul { color: var(--stone); padding-left: 1.2em; margin: 0; }
.route-card li { margin-bottom: 0.4em; }

/* ---------- Contact / Info blocks ---------- */
.info-row {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
  align-items: flex-start;
}
.info-row .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.info-row a { color: var(--forest); text-decoration: none; font-weight: 600; }
.info-row a:hover { text-decoration: underline; }

.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.55em 0;
  border-bottom: 1px dashed var(--sand-dark);
  font-size: 0.95rem;
}
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--forest); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-banner h3 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: var(--sand-dark);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.9em;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--sand-dark);
  margin-bottom: 0.6em;
  font-size: 0.92rem;
}
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { color: var(--stone-light); font-size: 0.9rem; margin-top: 0.8em; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--stone-light);
}
.footer-bottom a { text-decoration: none; color: var(--stone-light); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--stone); }
.legal-body h2 { margin-top: 1.6em; }
.legal-body h3 { margin-top: 1.2em; }
.legal-body p, .legal-body li { color: var(--stone); }
.legal-body { max-width: 760px; }
