/*
Theme Name: Ausflugsziele
Theme URI: https://example.com/ausflugsziele-theme
Author: Dein Name
Author URI: https://example.com
Description: Ein lebendiges Theme für regionale Ausflugsziele – mit Verzeichnis, Karte und Blog für Kinder, Jugendliche und junge Erwachsene.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ausflugsziele
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================= */
:root {
  /* Hauptfarben */
  --color-primary:     #00B4CC;   /* Türkis/Cyan */
  --color-primary-dark:#008FA3;
  --color-primary-light:#E0F7FA;
  --color-accent:      #FF6B2B;   /* Orange */
  --color-accent-dark: #E55A1F;
  --color-secondary:   #2EC486;   /* Grün */
  --color-bg:          #F8FEFF;
  --color-surface:     #FFFFFF;
  --color-text:        #1A2B35;
  --color-text-muted:  #5A7280;
  --color-border:      #D0ECF0;
  --color-tag-bg:      #E0F7FA;
  --color-tag-text:    #006B7A;

  /* Typografie */
  --font-display: 'Nunito', 'Fredoka One', sans-serif;
  --font-body:    'Nunito', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;

  /* Abstände */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-xxl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 999px;

  /* Schatten */
  --shadow-sm: 0 2px 8px rgba(0,180,204,0.08);
  --shadow-md: 0 4px 20px rgba(0,180,204,0.15);
  --shadow-lg: 0 8px 40px rgba(0,180,204,0.20);
  --shadow-card: 0 2px 12px rgba(26,43,53,0.08);

  /* Übergänge */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
}

ul { list-style: none; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section { padding: var(--space-xxl) 0; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: var(--space-xl);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50%;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.1;
}
.site-logo .logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Navigation */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: var(--space-xs); }
.main-nav a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.header-actions { display: flex; align-items: center; gap: var(--space-sm); }

.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition);
  color: var(--color-text-muted);
}
.btn-search:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}
.burger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #00B4CC 0%, #2EC486 50%, #00B4CC 100%);
  background-size: 200% 200%;
  animation: heroGradient 8s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: white;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero-shapes {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  pointer-events: none;
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.shape-1 { width: 300px; height: 300px; top: -80px; right: -60px; }
.shape-2 { width: 180px; height: 180px; bottom: 40px; right: 120px; background: rgba(255,107,43,0.3); }
.shape-3 { width: 100px; height: 100px; top: 50%; right: 260px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(255,107,43,0.4);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,43,0.5);
}
.btn-white {
  background: white;
  color: var(--color-primary-dark);
}
.btn-white:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* =========================================
   TAG FILTER
   ========================================= */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  align-items: center;
}
.tag-filter-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-right: var(--space-sm);
}
.tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.tag-btn:hover,
.tag-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,180,204,0.3);
}
.tag-btn .tag-icon { font-size: 1rem; }

/* =========================================
   AUSFLUGSZIELE KARTE
   ========================================= */
#ausflugsziele-karte {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  border: none !important;
  font-family: var(--font-body) !important;
}
.leaflet-popup-tip { background: white !important; }
.popup-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 4px;
}
.popup-address { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 8px; }
.popup-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.popup-tag {
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}
.popup-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* =========================================
   AUSFLUGSZIEL CARDS (LIST VIEW)
   ========================================= */
.ausflugsziele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.ausflugsziel-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.ausflugsziel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.ausflugsziel-card.hidden { display: none; }

.card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-border));
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ausflugsziel-card:hover .card-image img { transform: scale(1.05); }

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--color-primary-light), #b2ebf2);
}

.card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-sm); }
.card-tag {
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-primary-dark); }

.card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.card-address svg { flex-shrink: 0; margin-top: 2px; }

.card-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.card-meta a {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-meta a:hover { color: var(--color-accent); }

/* =========================================
   VIEW TOGGLE (Karte / Liste)
   ========================================= */
.view-toggle {
  display: flex;
  gap: var(--space-sm);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  padding: 4px;
}
.view-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0,180,204,0.3);
}

/* =========================================
   KEINE ERGEBNISSE
   ========================================= */
.no-results {
  text-align: center;
  padding: var(--space-xxl);
  color: var(--color-text-muted);
  display: none;
}
.no-results .no-results-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.no-results h3 { font-size: 1.2rem; margin-bottom: var(--space-sm); }

/* =========================================
   BLOG SECTION
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-border);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-primary-light);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: var(--space-lg); }

.blog-card-category {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.blog-card-title a { color: var(--color-text); }
.blog-card-title a:hover { color: var(--color-primary-dark); }

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary-light);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-meta { flex: 1; }
.blog-card-author { font-size: 0.82rem; font-weight: 700; color: var(--color-text); }
.blog-card-date { font-size: 0.78rem; color: var(--color-text-muted); }
.blog-card-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.blog-card-readmore:hover { color: var(--color-accent); }

/* =========================================
   EINZELNER BLOG-POST
   ========================================= */
.post-header {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg));
  padding: var(--space-xxl) 0 var(--space-xl);
}
.post-header .post-category {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.post-header h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: var(--space-lg); }
.post-author-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.post-author-bar .author-avatar { width: 44px; height: 44px; }
.post-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}
.post-content h2 { font-size: 1.6rem; margin: var(--space-xl) 0 var(--space-md); }
.post-content h3 { font-size: 1.3rem; margin: var(--space-lg) 0 var(--space-sm); }
.post-content p { margin-bottom: var(--space-md); }
.post-content ul, .post-content ol { padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.post-content li { margin-bottom: var(--space-sm); }
.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-style: italic;
}
.post-content figure { margin: var(--space-lg) 0; }
.post-content figure img { border-radius: var(--radius-md); width: 100%; }
.post-content figcaption { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: var(--space-sm); }

.post-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-xl) 0; }
.post-tag {
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--color-border);
}
.post-tag:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* =========================================
   EINZELNES AUSFLUGSZIEL (DETAIL)
   ========================================= */
.ausflugsziel-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: var(--space-xxl) 0;
  color: white;
}
.ausflugsziel-header h1 { color: white; font-size: clamp(2rem, 5vw, 3rem); }

.ausflugsziel-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  align-items: start;
}

.detail-main .featured-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  max-height: 440px;
  object-fit: cover;
}

.detail-sidebar { position: sticky; top: calc(var(--header-height) + var(--space-lg)); }

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  margin-bottom: var(--space-lg);
}
.info-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.info-row {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row-label { font-weight: 700; color: var(--color-text-muted); min-width: 100px; }
.info-row-value { color: var(--color-text); }
.info-row-value a { color: var(--color-primary-dark); font-weight: 600; }

#detail-map {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
}

/* =========================================
   SUCHFORMULAR / SEARCH
   ========================================= */
.search-bar {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.search-input {
  flex: 1;
  padding: 0.75rem 1.2rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--color-surface);
}
.search-input:focus { border-color: var(--color-primary); }
.search-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.search-btn:hover { background: var(--color-primary-dark); }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 2px solid var(--color-border);
  color: var(--color-text);
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.page-numbers.dots { border: none; width: auto; }

/* =========================================
   SIDEBAR (BLOG)
   ========================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}

.widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-border);
  margin-bottom: var(--space-lg);
}
.widget-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}
.widget ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.widget li { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-sm); }
.widget li:last-child { border-bottom: none; padding-bottom: 0; }
.widget a { font-size: 0.9rem; color: var(--color-text); font-weight: 600; }
.widget a:hover { color: var(--color-primary-dark); }

/* =========================================
   KOMMENTARE
   ========================================= */
.comments-area {
  max-width: 780px;
  margin: 0 auto var(--space-xxl);
}
.comments-title { font-size: 1.4rem; margin-bottom: var(--space-lg); }

.comment {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-primary-light);
}
.comment-body {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  flex: 1;
}
.comment-meta { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.comment-author-name { font-weight: 700; color: var(--color-text); }

.comment-form { margin-top: var(--space-xl); }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: var(--space-sm); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--color-surface);
}
.form-control:focus { border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding: var(--space-xxl) 0 var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-description {
  font-size: 0.88rem;
  margin-top: var(--space-md);
  line-height: 1.7;
}

.footer-col-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-bottom-links { display: flex; gap: var(--space-lg); }
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}
.footer-bottom-links a:hover { color: var(--color-primary); }

/* =========================================
   ADMIN: AUSFLUGSZIEL EINGABE
   ========================================= */
.ausflugsziel-meta-box { padding: var(--space-md); }
.ausflugsziel-meta-box table { width: 100%; border-collapse: collapse; }
.ausflugsziel-meta-box th {
  text-align: left;
  font-weight: 600;
  padding: 8px 12px 8px 0;
  width: 160px;
  vertical-align: top;
  padding-top: 12px;
}
.ausflugsziel-meta-box td { padding: 6px 0; }
.ausflugsziel-meta-box input[type=text],
.ausflugsziel-meta-box input[type=url],
.ausflugsziel-meta-box input[type=email],
.ausflugsziel-meta-box input[type=tel] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.geo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.geo-btn {
  margin-top: 8px;
  padding: 6px 14px;
  background: #00B4CC;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}
.geo-btn:hover { background: #008FA3; }
.geo-status { font-size: 0.8rem; color: #666; margin-top: 4px; font-style: italic; }

/* =========================================
   NOTICES & BADGES
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-new { background: var(--color-accent); color: white; }
.badge-tip { background: var(--color-secondary); color: white; }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ausflugsziel-detail { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .blog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-xxl: 2.5rem; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; position: absolute; top: var(--header-height); left: 0; right: 0; background: white; padding: var(--space-md); box-shadow: var(--shadow-md); }
  .main-nav.open ul { flex-direction: column; width: 100%; }
  .burger-menu { display: flex; }
  .hero { min-height: 400px; }
  .hero-shapes { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .form-row { grid-template-columns: 1fr; }
  .ausflugsziele-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  #ausflugsziele-karte { height: 350px; }
}
