/* Moderner, naturverbundener Style */
/* Fonts are now loaded locally - custom-fonts.css */

:root {
  --primary-color: #0f5e3f;
  --primary-light: #1e7a55;
  --primary-dark: #08462c;
  --secondary-color: #f5f0e8;
  --accent-color: #c76d4e;
  --accent-hover: #b0583c;
  --text-dark: #2d3748;
  --text-light: #596575;
  --bg-light: #faf9f6;
  --border-color: #e2e8f0;
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 94, 63, 0.1);
  --shadow-md: 0 4px 16px rgba(15, 94, 63, 0.15);
  --shadow-lg: 0 8px 24px rgba(15, 94, 63, 0.2);
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #fff;
}

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

a:hover { color: var(--primary-dark); text-decoration: none; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top { padding: 15px 0; }

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  transition: var(--transition);
  color: var(--text-dark);
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hero {
  background: linear-gradient(135deg, #f8f5f0 0%, #ffffff 100%);
  padding: 120px 0;
  position: relative;
  /* Prevent the decorative ::before orb from causing horizontal overflow
     on narrow viewports (it sits at right:-50px). */
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15,94,63,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.1;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero p {
  font-size: 22px;
  line-height: 1.8;
  color: var(--text-dark);
  max-width: 700px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(15, 94, 63, 0.3);
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 94, 63, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-color);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

section { padding: 80px 0; }

section h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}

section h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-color);
  margin: 40px 0 20px;
  font-weight: 600;
}

.markdown-content h1 { font-size: 36px; margin-bottom: 30px; font-weight: 700; }
.markdown-content h2 { font-size: 30px; margin-top: 40px; margin-bottom: 20px; }
.markdown-content h3 { font-size: 24px; margin-top: 30px; margin-bottom: 15px; }
.markdown-content p { line-height: 1.8; margin-bottom: 20px; }
.markdown-content ul { margin-left: 20px; margin-bottom: 20px; }
.markdown-content ol { margin-left: 20px; margin-bottom: 20px; }
.markdown-content li { margin-bottom: 10px; line-height: 1.6; }
.markdown-content strong { font-weight: 700; color: var(--text-dark); }
.markdown-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-dark);
}
.markdown-content hr {
  border: none;
  border-top: 2px solid var(--border-color);
  margin: 40px 0;
}
.markdown-content a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 2px; }
.markdown-content a:hover { color: var(--primary-dark); text-decoration: none; }

section p { margin-bottom: 24px; color: var(--text-dark); line-height: 1.7; }

.highlights { background: var(--bg-light); }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 30px;
}

.highlight-card {
  background: white;
  padding: 45px 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.highlight-card h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.highlight-card p { margin-bottom: 30px; color: var(--text-light); }

.map-section { background: var(--bg-light); }

.map-container {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.map { width: 100%; height: 100%; }

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.region-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.region-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.region-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.region-card:hover .region-image { transform: scale(1.1); }

.region-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15,94,63,0.9));
  padding: 30px;
}

.region-overlay h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: white;
  margin: 0;
  font-weight: 700;
}

.store-list-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
  gap: 30px;
}

.store-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.store-card h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.store-info p { margin-bottom: 15px; color: var(--text-dark); line-height: 1.6; }

.store-info p strong { color: var(--primary-color); font-weight: 600; }

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 35px;
}

.blog-post {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-content { padding: 35px; }

.blog-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-meta { font-size: 14px; color: var(--text-light); margin-bottom: 15px; font-weight: 600; }

.blog-content p { margin-bottom: 25px; color: var(--text-dark); }

.site-footer {
  background: var(--text-dark);
  color: #e2e8f0;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 45px;
  margin-bottom: 45px;
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-section p { color: #a0aec0; margin-bottom: 15px; font-size: 15px; }

.footer-section ul { list-style: none; }

.footer-section ul li { margin-bottom: 12px; }

.footer-section a { color: #e2e8f0; font-size: 15px; transition: var(--transition); }

.footer-section a:hover {
  color: var(--primary-color);
  text-decoration: none;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p { color: #dce5ef; font-size: 14px; }

.breadcrumb {
  margin-bottom: 40px;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
}

.breadcrumb ol li::before { content: ">"; margin: 0 12px; color: var(--primary-color); }

.breadcrumb ol li:first-child::before { content: ""; margin: 0; }

.breadcrumb ol li a { color: var(--text-light); }

.breadcrumb ol li a:hover, .breadcrumb ol li span { color: var(--primary-color); }

.legal { padding: 80px 0; }

.legal h1, .legal h2, .legal h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}

.legal h2 { font-size: 32px; margin-top: 50px; margin-bottom: 25px; border-bottom: 2px solid var(--border-color); padding-bottom: 20px; }

.legal p { line-height: 1.8; margin-bottom: 25px; }

/* === Content-Qualität: Lesbarkeit, A11y, Tabellen ================== */

body { font-size: 18px; }

/* Klarer Tastatur-Fokus (Keyboard-Navigation) – ersetzt unsichtbaren Focus-Lost */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Barrierefreiheit: Bewegungsmuster reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Tabellen in Markdown-Guides: sichtbar, sauber, mobil-responsive */
.markdown-content table,
.md-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 15.5px;
  display: block;              /* mobil: horizontale Scroll statt Overflow */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.markdown-content thead { display: table-header-group; }
.markdown-content tr { display: table-row; }
.markdown-content th,
.markdown-content td { display: table-cell; }

.markdown-content th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.2px;
}

.markdown-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.markdown-content tbody tr:nth-child(even) { background: var(--bg-light); }

.markdown-content tbody tr:hover { background: #eef4f0; }

/* Checkbox-Checklisten (Reise-Checkliste) sauber ausrichten */
.markdown-content li:has(> input[type="checkbox"]) { padding-left: 4px; }
.markdown-content input[type="checkbox"] { margin-right: 8px; accent-color: var(--primary-color); }

@media (max-width: 992px) {
  .hero h1 { font-size: 46px; }
  .store-list-inner { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
}

@media (max-width: 768px) {
  .logo { font-size: 26px; }
  .header-top .container { flex-wrap: wrap; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
  .main-nav a:hover, .main-nav a.active { padding-bottom: 13px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 20px; }
  .hero { padding: 80px 0; }
  section { padding: 60px 0; }
  section h2 { font-size: 34px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .map-container { height: 400px; }
  .region-grid { grid-template-columns: 1fr; }
  .region-image { height: 250px; }
  .store-list-inner { grid-template-columns: 1fr; }
  .store-card { padding: 30px; }
  .store-card h3 { font-size: 26px; }
  .blog-list { grid-template-columns: 1fr; }
  .blog-content h2 { font-size: 26px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .breadcrumb { margin-bottom: 25px; }
  .breadcrumb ol { font-size: 14px; }
  .breadcrumb ol li::before { margin: 0 8px; }
  .legal h1, .legal h2 { font-size: 28px; }
}
