/* ---------------------------------------------------
   VARIABLES & FONTS
--------------------------------------------------- */
:root {
  /* Fonts */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-heading: 'Fredoka', sans-serif;

  /* Colors */
  --bg-dark: #111111;
  --text-light: #ffffff;
  --blue: #1985c2;
  --darkblue: #2e5690;
}

/* Global */
html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-primary);
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.subtitle, small, .note {
  font-family: var(--font-secondary);
  font-weight: 300;
}

.subtitle {
  font-size: 1rem;
  color: var(--darkblue);
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn-main {
  display: inline-block;
  background-color: var(--blue);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 1rem;
}

.btn-main:hover {
  opacity: 0.9;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero-image {
  background-size: cover;
  background-position: center;
  height: 40vh;
  position: relative;
  filter: saturate(0.9) contrast(0.95);
}

@media (max-width: 767px) {
  .hero-image {
    height: 55vh; /* etwas mehr Höhe für Bild + Text (45 wär auch möglich) */
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.35);
}

.hero-content {
  position: relative;
  text-align: center;
  padding-top: 8vh;
}

/* ---------------------------------------------------
   GENERIC ELEMENTS
--------------------------------------------------- */
section, .container, .container-fluid {
  background: transparent;
}

.img-fluid {
  object-fit: cover;
  height: 220px;
  width: 100%;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ---------------------------------------------------
   TRENNELEMENTE
--------------------------------------------------- */
.section-divider {
  width: 60%;
  height: 2px;
  background: var(--blue);
  opacity: 0.6;
  margin: 3rem auto;
  border-radius: 2px;
}

.section-gradient {
  width: 80%;
  height: 2px;
  margin: 3rem auto;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
  opacity: 0.6;
}

/* ---------------------------------------------------
   EXKURSIONEN (Bild links, Wrapper rechts)
--------------------------------------------------- */
.exkursion-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.exkursion-img-container {
  flex: 0 1 430px;
  min-width: 0;
}

.exkursion-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.exkursion-wrapper {
  flex: 1;
  background-color: #111;
  border: 1px solid var(--darkblue);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.2s ease;
}

.exkursion-wrapper:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .exkursion-row {
    flex-direction: column;
  }
  .exkursion-img-container {
    width: 100%;
    height: 200px;
  }
}

/* ---------------------------------------------------
   ÜBER-MICH RASTER
--------------------------------------------------- */
.uebermich-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .uebermich-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.uebermich-card {
  background-color: #111;
  border: 1px solid var(--darkblue);
  border-radius: 10px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  transition: 0.2s ease;
  overflow-wrap: break-word;
}

.uebermich-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.uebermich-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei gleich breite Boxen */
  gap: 2rem;
  width: 100%;          /* ⬅️ ganz wichtig */
}

.uebermich-card {
  width: 100%;          /* ⬅️ verhindert Schrumpfen */
  box-sizing: border-box;
}


/* ---------------------------------------------------
   BLOG CARD GRID
--------------------------------------------------- */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: #111;
  border: 1px solid var(--darkblue);
  border-radius: 12px;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
  transition: 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Blog text styles */
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.blog-card-desc {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0;
}

/* ---------------------------------------------------
   FOOTNOTES
--------------------------------------------------- */
.footnote {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.4;
  margin-top: 0.5rem;
}

.footnote a,
.footnote-link {
  font-size: 0.75rem;
  color: var(--blue);
  text-decoration: none;
}

.footnote a:hover,
.footnote-link:hover {
  text-decoration: underline;
}

/* Startseiten-Karten / Angebote */
.link-card {
  background-color: #111;                   /* dunkler Hintergrund */
  border: 1px solid var(--darkblue);        /* dezenter Rahmen */
  border-radius: 10px;                      /* runde Ecken wie restliche Seite */
  padding: 1.5rem;
  transition: 0.25s ease;
  color: var(--text-light);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);     /* leichte Tiefe */
}

/* Hover-Effekt */
.link-card:hover {
  border-color: var(--blue);                /* helleres Blau auf Hover */
  transform: translateY(-4px);              /* Karten heben sich leicht */
  text-decoration: none;
}

.kontakt-card {
  background-color: #111;
  border: 1px solid var(--darkblue);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: 0.25s ease;
  color: #fff;
}

.kontakt-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--blue);
  text-decoration: none;
  transition: 0.25s ease;
  opacity: 0.85;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon .icon {
  width: 24px;
  height: 24px;
  fill: var(--blue);
  transition: 0.25s ease;
}

.social-icon:hover .icon {
  fill: var(--blue);
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
}

.intro-text strong {
  font-weight: 600;          /* deutlich stärker als Fließtext */
  color: #ffffff;            /* heller als restlicher Text */
}

@media (min-width: 992px) {
  .intro-text {
    font-size: 1.05rem;
  }
}

.uebermich-portrait {
  width: 160px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ---------------------------------------------------
   Smartphone Optimierung
--------------------------------------------------- */
body {
  font-size: 16px; /* Basis für Mobile */
}

@media (min-width: 768px) {
  body {
    font-size: 16px; /* gleich lassen, dein Stil ist ruhig */
  }
}

/* Lead-Text auf Mobile etwas reduzieren */
@media (max-width: 767px) {
  .lead {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

@media (max-width: 767px) {
  .link-card,
  .exkursion-wrapper {
    margin-bottom: 1.5rem;
  }
}

a {
  padding: 0.2rem 0;
}

.hero-content h1 {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
}

/* Verhindert Überstand der Boxen */
.content-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

/* Raster sauber begrenzen */
.exkursionen-raster {
  width: 100%;
  box-sizing: border-box;
}

/* Jede Zeile darf nicht breiter als die Spalte sein */
.exkursion-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap: 1.5rem;
}

/* Text-Box bleibt innerhalb */
.exkursion-wrapper {
  flex: 1;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
}

/* Falls von oben Text-Zentrierung vererbt wird */
.exkursion-wrapper * {
  text-align: left;
}

.blog-date {
  display: block;
  margin-top: 0.3rem;
  margin-bottom: 1.8rem;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 0.1px;
}