/* ============================================================
   Sonja's Garten-Kafi – Stylesheet
   Farben: Tomato Red #BB2424 / Weiss #FFFFFF
   Fonts:  AllRoundGothic (Headlines) / Lobster (Fliesstext)
   ============================================================ */

@font-face {
  font-family: 'Lobster';
  src: url('fonts/Lobster-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'AllRoundGothic';
  src: url('fonts/AllRoundGothic-Medium.ttf') format('truetype');
  font-display: swap;
}

/* ---------- CSS VARIABLES (Light / Dark) ---------- */
:root {
  --bg: #fff;
  --bg-alt: #f7f7f7;
  --text: #2b2b2b;
  --text-muted: #555;
  --header-bg: #fff;
  --header-shadow: rgba(0,0,0,0.07);
  --nav-bg: #fff;
  --nav-shadow: rgba(0,0,0,0.1);
  --story-text: #3a3a3a;
  --border: #f0f0f0;
  --section-intro: #444;
  --adresse: #555;
  --footer-bg: #fff;
}
[data-theme="dark"] {
  --bg: #1a1a1a;
  --bg-alt: #242424;
  --text: #e8e8e8;
  --text-muted: #aaa;
  --header-bg: #111;
  --header-shadow: rgba(0,0,0,0.4);
  --nav-bg: #111;
  --nav-shadow: rgba(0,0,0,0.5);
  --story-text: #d0d0d0;
  --border: #333;
  --section-intro: #bbb;
  --adresse: #aaa;
  --footer-bg: #111;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lobster', cursive;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3, .claim, .btn, nav a, .section-title, .label, .info-card h3 {
  font-family: 'AllRoundGothic', sans-serif;
}

a { text-decoration: none; color: inherit; }

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

/* ---------- HEADER / NAV ---------- */
header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  box-shadow: 0 2px 10px var(--header-shadow);
  transition: background 0.3s, box-shadow 0.3s;
}

header .logo { height: 54px; }

nav {
  display: flex;
  gap: 28px;
}
nav a {
  color: #BB2424;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
nav a:hover { opacity: 0.7; }

/* Header actions (theme toggle + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dark mode toggle */
.theme-toggle {
  background: none;
  border: 2px solid #BB2424;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BB2424;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: #BB2424; color: #fff; }

/* Show sun in dark mode, moon in light mode */
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #BB2424;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.48) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-content .claim {
  font-size: 54px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  line-height: 1.1;
}
.hero-content .sub {
  font-family: 'Lobster', cursive;
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ---------- BUTTON ---------- */
.btn {
  display: inline-block;
  background: #BB2424;
  color: #fff;
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(187,36,36,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(187,36,36,0.5);
}

/* ---------- SECTIONS ---------- */
section {
  padding: 90px 8%;
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  color: #BB2424;
  font-size: 38px;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.section-intro {
  text-align: center;
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--section-intro);
}

/* ---------- STORY ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.story-img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: 420px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.story-text p {
  margin-bottom: 18px;
  font-size: 19px;
  color: var(--story-text);
}
.motto {
  margin-top: 28px;
  font-family: 'AllRoundGothic', sans-serif;
  color: #BB2424;
  font-size: 17px;
  font-style: italic;
  border-left: 4px solid #BB2424;
  padding-left: 16px;
  line-height: 1.5;
}

/* ---------- ANGEBOT ---------- */
.angebot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  margin-top: 12px;
}
.angebot-item {
  text-align: center;
  width: 180px;
}
.angebot-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.label {
  color: #BB2424;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.angebot-desc {
  font-family: 'AllRoundGothic', sans-serif;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 6px;
}
.angebot-price {
  font-family: 'AllRoundGothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #BB2424;
  margin-top: 8px;
}

/* ---------- BANNER ILLUSTRATION ---------- */
[data-theme="dark"] .banner-strip { background-color: #fff; }

.banner-strip {
  width: 100%;
  height: 140px;
  background-image: url('images/banner-illustration.png');
  background-size: auto 140px;
  background-repeat: repeat-x;
  background-position: center bottom;
  margin-top: 20px;
}

/* ---------- INFO ---------- */
#info { padding-bottom: 30px; }

.info-strip {
  background: #BB2424;
  padding: 50px 8%;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.info-card { color: #fff; }
.info-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.info-card p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.92;
}
.info-link {
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
  font-family: 'AllRoundGothic', sans-serif;
  font-size: 15px;
}
.info-link:hover { opacity: 1; }

/* ---------- LAGE ---------- */
.lage { padding-bottom: 60px; }

.adresse {
  text-align: center;
  font-family: 'AllRoundGothic', sans-serif;
  font-size: 17px;
  color: var(--adresse);
  margin-bottom: 28px;
  line-height: 1.6;
}

.maps-wrap {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.maps-frame {
  display: block;
  width: 100%;
  border: 0;
  /* Karte ins Marken-Rot #BB2424 tönen (Rot-Weiss-System) */
  filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(-37deg) brightness(0.95) contrast(1.05);
  transition: filter 0.4s ease;
}
/* Beim Drüberfahren Originalfarben zeigen – erleichtert das Navigieren */
.maps-frame:hover { filter: none; }

.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.galerie img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.35s ease;
}
.galerie img:hover { transform: scale(1.03); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--footer-bg);
  border-top: 2px solid var(--border);
  text-align: center;
  padding: 40px 5% 30px;
  transition: background 0.3s;
}
footer .logo-icon {
  height: 54px;
  margin: 0 auto 16px;
}
.claim-footer {
  font-family: 'AllRoundGothic', sans-serif;
  color: #BB2424;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.footer-contact {
  margin-bottom: 8px;
}
.footer-contact a {
  color: #BB2424;
  font-family: 'AllRoundGothic', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.footer-contact a:hover { text-decoration: underline; }
.copy {
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'AllRoundGothic', sans-serif;
  margin-bottom: 8px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'AllRoundGothic', sans-serif;
}
.footer-legal a:hover { color: #BB2424; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-img { height: 280px; }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie img { height: 200px; }
  section { padding: 60px 6%; }
}

@media (max-width: 620px) {
  header { padding: 10px 5%; }
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 16px 5%;
    gap: 4px;
    box-shadow: 0 8px 20px var(--nav-shadow);
    z-index: 99;
  }
  nav.open { display: flex; }
  nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-toggle { display: flex; }
  .hero-content .claim { font-size: 36px; }
  .hero-content .sub { font-size: 18px; }
  .section-title { font-size: 28px; }
  .angebot-grid { gap: 20px; }
  .angebot-item { width: 110px; }
  .hero { background-position: center center; }
  .story-img { height: 220px; }
}

@media (max-width: 480px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie img { height: 220px; }
  .hero-content .claim { font-size: 28px; }
  .hero { min-height: 460px; }
  .angebot-item { width: 90px; }
  .angebot-item img { width: 70px; height: 70px; }
}
