/* ============================================================
   Löschgruppe Hausberge-Lohfeld – Hauptstylesheet
   ============================================================ */

/* --- Basis & Reset ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rot:        #cc1111;
  --rot-dunkel: #991010;
  --dunkel:     #1a1a1a;
  --grau:       #3a3a3a;
  --grau-hell:  #f5f5f5;
  --weiss:      #ffffff;
  --text:       #222222;
  --akzent:     #e8c840;   /* Gelb wie Feuerwehr-Reflexstreifen */
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.6;
}

a {
  color: var(--rot);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* --- Navigationsleiste ------------------------------------ */
header {
  background: var(--dunkel);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-text {
  color: var(--weiss);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.nav-logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: #aaa;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav ul li a {
  color: #ccc;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover {
  background: var(--rot);
  color: var(--weiss);
  text-decoration: none;
}

/* --- Hero-Bereich ----------------------------------------- */
.hero {
  position: relative;
  min-height: 480px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.7) 100%),
    url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--weiss);
  padding: 3rem 1.5rem;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--rot);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero h1 span {
  color: var(--akzent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: inline-block;
  background: var(--rot);
  color: var(--weiss);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(204,17,17,0.4);
}

.hero-cta:hover {
  background: var(--rot-dunkel);
  transform: translateY(-2px);
  text-decoration: none;
}

/* --- Willkommen-Streifen ---------------------------------- */
.willkommen {
  text-align: center;
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dunkel);
  letter-spacing: 0.01em;
}

/* --- Hinweis-Banner --------------------------------------- */
.hinweis-banner {
  background: var(--akzent);
  color: var(--dunkel);
  text-align: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.hinweis-banner a {
  color: var(--dunkel);
  text-decoration: underline;
}

/* --- Sektionen allgemein ---------------------------------- */
section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dunkel);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 50px;
  background: var(--rot);
  border-radius: 2px;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.section-sub {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* --- Über uns / Begrüßung --------------------------------- */
.ueber-uns {
  background: var(--weiss);
}

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ueber-bild {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

.ueber-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ueber-text p {
  margin-bottom: 1rem;
  color: #444;
}

/* --- Termine ---------------------------------------------- */
.termine {
  background: var(--grau-hell);
}

.termine-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.termine-tabelle thead {
  background: var(--rot);
  color: var(--weiss);
}

.termine-tabelle th {
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.termine-tabelle td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.termine-tabelle tr:last-child td {
  border-bottom: none;
}

.termine-tabelle tbody tr:hover {
  background: #fdf3f3;
}

.termin-datum {
  font-weight: 700;
  color: var(--rot);
  white-space: nowrap;
  font-size: 0.9rem;
}

.termin-uhrzeit {
  color: #666;
  font-size: 0.85rem;
  white-space: nowrap;
}

.termin-art {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  margin-top: 0.3rem;
}

.art-uebung        { background: #ddeeff; color: #1155aa; }
.art-dienst        { background: #ddf5e0; color: #1a7a30; }
.art-versammlung   { background: #fff0cc; color: #886600; }
.art-jugend        { background: #f0ddff; color: #6600aa; }
.art-kameradschaft { background: #ffe8dd; color: #aa3300; }
.art-drehleiter    { background: #d0f0f0; color: #006666; }

/* --- Kontakt ---------------------------------------------- */
.kontakt {
  background: var(--weiss);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.kontakt-karte {
  background: var(--grau-hell);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--rot);
  box-shadow: var(--shadow);
}

.kontakt-karte h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--dunkel);
}

.kontakt-karte p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.kontakt-karte a {
  color: var(--rot);
  font-weight: 600;
}

/* --- Footer ----------------------------------------------- */
footer {
  background: var(--dunkel);
  color: #aaa;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: #ccc;
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--weiss);
  text-decoration: none;
}

.footer-links {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-links a:hover {
  background: rgba(255,255,255,0.08);
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: 360px;
  }

  .ueber-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }


}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}
