:root {
  --green: #064E3B;
  --green-dark: #043B2D;
  --green-light: #E7F3EF;

  --text: #1F2937;
  --muted: #5F6B67;

  --background: #F8E7C9;
  --card: #FFFDF9;

  --border: #E6D8BC;
  --shadow: 0 12px 30px rgba(6,78,59,.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.5;
}


/* Seiteninhalt */

.page-content {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.intro {
  max-width: 900px;
  margin: 0 auto 55px;
  padding: 40px;
  text-align: center;

  background: #F8E7C9;
  border-radius: var(--radius);
}

.intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #064E3B;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Tourenraster */

.tour-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Einzelne Tourenkarte */

.tour-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(31, 50, 35, 0.17);
}

.tour-card-image-link {
  display: block;
  overflow: hidden;
  background: var(--green-light);
}

.tour-card-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.tour-card:hover .tour-card-image {
  transform: scale(1.025);
}

.tour-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.tour-card-title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.tour-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tour-card-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;

  color: #064E3B;
  font-size: 0.9rem;
  font-weight: 700;

  background: #E7F3EF;
  border: 1px solid #C8DED6;
  border-radius: 999px;
}

.tour-card-description {
  margin: 0 0 16px;
  font-size: 1rem;
}

.tour-card-surface {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.93rem;
}

.tour-card-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-top: auto;
  padding: 11px 19px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  background: #064E3B;
  border-radius: 999px;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.tour-card-button:hover,
.tour-card-button:focus-visible {
  background: #043B2D;
  transform: translateX(2px);
}

/* Lade- und Fehlermeldungen */

.loading-message,
.error-message {
  grid-column: 1 / -1;
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.error-message h2 {
  margin-top: 0;
}

/* Tablet */

@media (max-width: 850px) {
  .tour-card-image {
    height: 300px;
  }
}

/* Smartphone */

@media (max-width: 600px) {
  .page-content {
    width: min(100% - 24px, 1200px);
    padding: 48px 0 65px;
  }

  .intro {
    margin-bottom: 30px;
  }

  .tour-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tour-card-image {
    height: 220px;
  }

  .tour-card-content {
    padding: 22px;
  }

  .tour-card-button {
    width: 100%;
  }
}
/* --------------------------
   Dorfkarten-Teaser
-------------------------- */

.dorfkarte-teaser {
  margin: 0 0 40px;
}

.dorfkarte-teaser-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  padding: 24px 30px;

  color: #ffffff;
  background:
    linear-gradient(
      120deg,
      rgba(6, 78, 59, 0.98),
      rgba(4, 59, 45, 0.92)
    );

  border: 1px solid rgba(248, 231, 201, 0.35);
  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.dorfkarte-teaser-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 68px;
  height: 68px;

  font-size: 2rem;

  background: rgba(248, 231, 201, 0.16);
  border: 1px solid rgba(248, 231, 201, 0.35);
  border-radius: 50%;
}

.dorfkarte-teaser-label {
  margin: 0 0 6px;

  color: #f8e7c9;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dorfkarte-teaser h2 {
  margin: 0 0 8px;

  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.dorfkarte-teaser-text > p:last-child {
  max-width: 680px;
  margin: 0;

  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.dorfkarte-teaser-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 48px;
  padding: 12px 20px;

  color: var(--green);
  background: var(--background);

  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.dorfkarte-teaser-button:hover,
.dorfkarte-teaser-button:focus-visible {
  background: #ffffff;
  transform: translateY(-2px);
}

.dorfkarte-teaser-button:focus-visible {
  outline: 3px solid rgba(248, 231, 201, 0.55);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .dorfkarte-teaser-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .dorfkarte-teaser-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .dorfkarte-teaser-button {
    width: 100%;
  }
}
