/* =========================================
   OFFICIAL.CSS (DOMAIN A - OUTDOOR-FACHBETRIEB)
   100% KOMPLETT - Rechte Kante strikt auf 1000px begrenzt
   ========================================= */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-hero: #0f2942;
  --text-main: #1e293b;
  --text-light: #ffffff;
  --accent: #d97706;
  --accent-hover: #b45309;
  --border: #e2e8f0;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  
  /* Zentrale Layout-Breiten */
  --width-content: 1000px; /* Breite für Text, Boxen und Grids */
  --width-layout: 1200px;  /* Harte Kante für das gesamte Layout */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

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

/* Typografie */
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.2; margin-top: 0; margin-bottom: 1rem; color: var(--bg-hero); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.3; color: var(--bg-hero); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.4; color: var(--bg-hero); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.content-area { flex: 1; }

/* --- 1. HEADER --- */
.off-site-header { background-color: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; position: relative; width: 100%; z-index: 100; }
.off-header-container { max-width: var(--width-layout); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.off-logo { font-size: 1.5rem; font-weight: 800; color: var(--bg-hero); text-decoration: none; letter-spacing: -0.5px; }
.off-nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 1.5rem; align-items: center; }
.off-nav-list a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.off-nav-list a:hover { color: var(--accent); text-decoration: none; }
.off-btn-outline { border: 2px solid var(--accent); color: var(--accent); padding: 0.5rem 1.2rem; border-radius: var(--radius); font-weight: 600; transition: all 0.2s; }
.off-btn-outline:hover { background: var(--accent); color: var(--text-light); text-decoration: none; }

/* HEADER DROPDOWN */
.off-has-submenu { position: relative; }
.off-submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); list-style: none; padding: 0.5rem 0; min-width: 260px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.off-has-submenu:hover .off-submenu { display: block; }
.off-submenu li a { display: block; padding: 0.75rem 1.2rem; font-weight: 400; }
.off-submenu li a:hover { background: var(--bg-secondary); color: var(--accent); }

@media (max-width: 768px) {
  .off-header-container { flex-direction: column; gap: 1rem; }
  .off-nav-list { flex-wrap: wrap; justify-content: center; }
}

/* --- 2. HERO SECTION --- */
.off-hero-section { background-color: var(--bg-hero); color: var(--text-light); padding: 4rem 1.5rem; border-bottom: 4px solid var(--accent); }
.off-hero-layout { max-width: var(--width-layout); margin: 0 auto; display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .off-hero-layout { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.off-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--text-light); font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: var(--radius); text-transform: uppercase; margin-bottom: 1rem; letter-spacing: 0.5px; }
.off-hero-text h1 { color: var(--text-light); margin-bottom: 1.5rem; }
.off-hero-text p { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.6; }
.off-checklist { list-style: none; padding: 0; margin: 0; }
.off-checklist li { font-size: 1.05rem; color: var(--text-light); margin-bottom: 10px; font-weight: 500; display: flex; align-items: center; gap: 8px; }

/* --- 3. GLOBALE INHALTS-BEGRENZUNG (Die Problemlösung) --- */
/* Zwingt ausnahmslos ALLE Elemente innerhalb der Wrapper auf 1000px max-width */
.off-content-wrapper > *,
.off-hub-wrap > *,
.off-guide-wrap > * {
  max-width: var(--width-content);
}

/* --- 4. LEAD FORMULAR WIDGET --- */
.off-form-widget { background: var(--bg-primary); color: var(--text-main); padding: 2rem; border-radius: var(--radius); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); border: 1px solid var(--border); max-width: var(--width-content); margin: 3rem 0; }
.off-form-header h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.4rem; }
.off-form-header p { font-size: 0.95rem; margin-bottom: 1.5rem; color: #64748b; }
.off-form-group { margin-bottom: 1.25rem; }
.off-form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.off-form-group input, .off-form-group select { width: 100%; padding: 0.875rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: var(--font-base); background: var(--bg-secondary); color: var(--text-main); }
.off-form-group input:focus, .off-form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.1); }
.off-btn-submit { background-color: var(--accent); color: #ffffff; padding: 1rem 1.5rem; border-radius: var(--radius); border: none; font-weight: 700; cursor: pointer; display: block; width: 100%; text-align: center; font-size: 1.1rem; transition: background 0.2s; }
.off-btn-submit:hover { background-color: var(--accent-hover); }
.off-form-footer { display: block; margin-top: 1rem; font-size: 0.8rem; color: #64748b; text-align: center; }

/* --- 5. BREADCRUMBS --- */
.off-breadcrumb { max-width: var(--width-layout); margin: 0 auto; padding: 1rem 1.5rem; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.off-bc-link { color: var(--text-main); font-weight: 500; }
.off-bc-link:hover { color: var(--accent); }
.off-bc-divider { color: #94a3b8; font-size: 0.8rem; }
.off-bc-active { font-weight: 700; color: var(--bg-hero); }

/* --- 6. HAUPTINHALT (City & Startseite) --- */
.off-content-wrapper { max-width: var(--width-layout); margin: 0 auto; padding: 3rem 1.5rem; }
.off-text-body { font-size: 1.1rem; color: var(--text-main); line-height: 1.7; }
.off-text-body h2 { margin-top: 2.5rem; margin-bottom: 1.25rem; }
.off-text-body ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.off-text-body li { margin-bottom: 0.5rem; }

/* --- 7. BUNDESLAND HUB / SILO (A-Z Verzeichnis) --- */
.off-hub-wrap { max-width: var(--width-layout); margin: 0 auto; padding: 2rem 1.5rem; }
.off-hub-head { margin: 3rem 0 2rem 0; text-align: left; }
.off-hub-badge { display: inline-block; background: var(--bg-secondary); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: bold; color: var(--accent); margin-bottom: 1rem; }
.off-hub-head h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--bg-hero); }
.off-hub-head p { font-size: 1.15rem; color: #64748b; margin: 0; line-height: 1.6; }

.off-az-index, .off-letter-block, .off-az-directory { margin-top: 4rem; max-width: var(--width-content); }
.off-az-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.5rem; background: var(--bg-secondary); padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); max-width: var(--width-content); }
.off-az-link { background: var(--bg-primary); border: 1px solid var(--border); color: var(--text-main); padding: 0.4rem 0.8rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.off-az-link:hover { background: var(--accent); color: var(--text-light); border-color: var(--accent); }

.off-az-group { margin-bottom: 3rem; scroll-margin-top: 100px; max-width: var(--width-content); }
.off-az-group h3 { font-size: 1.3rem; color: var(--bg-hero); border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1.5rem; text-align: left; }
.off-az-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.off-city-card { display: flex; justify-content: space-between; align-items: center; background: var(--bg-secondary); border: 1px solid var(--border); padding: 0.8rem 1.2rem; color: var(--text-main); text-decoration: none; font-weight: 500; border-radius: var(--radius); transition: all 0.2s; font-size: 0.95rem; }
.off-city-card:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* --- 8. CITY LAYOUT (Verwandte Orte) --- */
.off-neighbor-box { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); max-width: var(--width-content); }
.off-neighbor-title { font-size: 1.2rem; font-weight: 600; color: var(--bg-hero); margin-bottom: 1rem; text-align: left; }
.off-neighbor-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.off-neighbor-link { display: inline-block; background: var(--bg-primary); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: var(--radius); color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
.off-neighbor-link:hover { background: var(--bg-hero); color: var(--text-light); border-color: var(--bg-hero); }

/* --- 9. RATGEBER (Guides) --- */
.off-guide-wrap { max-width: var(--width-content); margin: 2rem auto; padding: 0 1.5rem; }
.off-guide-head { margin-bottom: 2.5rem; }
.off-guide-badge { display: inline-block; background: var(--bg-secondary); border: 1px solid var(--border); padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.825rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.off-guide-title { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.2; margin-top: 1rem; }
.off-guide-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #64748b; line-height: 1.6; margin-top: 1rem; }
.off-guide-body { line-height: 1.8; font-size: 1.05rem; margin-bottom: 3rem; }
.off-guide-form-wrap { margin: 3.5rem 0; }
.off-guide-related { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); max-width: var(--width-content); }
.off-guide-related h3 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.off-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.off-related-card { display: flex; justify-content: space-between; align-items: center; background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.15rem; border-radius: var(--radius); text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.off-related-card:hover { transform: translateY(-2px); border-color: var(--accent); }

/* --- 10. TRUST & AUTHOR BOX --- */
.off-seal-container { background-color: var(--bg-secondary); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius); margin-top: 3rem; display: flex; align-items: center; gap: 20px; max-width: var(--width-content); }
.off-seal-badge { background-color: var(--bg-hero); color: var(--text-light); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; flex-shrink: 0; }
.off-seal-text h4 { margin: 0 0 5px 0; font-size: 1.15rem; color: var(--bg-hero); }
.off-seal-text p { margin: 0; font-size: 0.95rem; color: #64748b; line-height: 1.5; }

/* --- 11. FAQ --- */
.off-faq-wrapper { margin: 4rem 0; max-width: var(--width-content); }
.off-faq-title { font-size: 1.6rem; color: var(--bg-hero); margin-bottom: 2rem; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.off-faq-list { display: flex; flex-direction: column; gap: 1.5rem; }
.off-faq-box { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.off-faq-q { margin: 0 0 10px 0; font-size: 1.15rem; color: var(--bg-hero); font-weight: 600; }
.off-faq-a { margin: 0; color: var(--text-main); line-height: 1.6; }

/* --- 12. LOCATION MAP --- */
.off-location-widget { margin: 3rem 0; background: var(--bg-secondary); border: 1px solid var(--border); padding: 1.5rem; border-radius: var(--radius); max-width: var(--width-content); }
.off-map-title { font-size: 1.25rem; color: var(--bg-hero); margin-bottom: 1rem; font-weight: bold; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.off-iframe-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; }
.off-iframe-wrap iframe { border: none; flex-grow: 1; width: 100%; }

/* --- 13. QUIZ --- */
.off-q-container { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; margin: 3rem 0; max-width: var(--width-content); }
.off-q-header h3 { margin: 0 0 1rem 0; font-size: 1.4rem; color: var(--bg-hero); }
.off-q-progress { background: var(--border); height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 2rem; }
#off-q-bar { background: var(--accent); height: 100%; width: 10%; transition: width 0.3s ease; }
.off-q-view h4 { font-size: 1.2rem; color: var(--bg-hero); margin-bottom: 1.5rem; }
.off-q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.off-q-opt { border: 1px solid var(--border); background: var(--bg-primary); padding: 1.2rem; border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 500; transition: border-color 0.2s; }
.off-q-opt:hover { border-color: var(--accent); }
.off-q-opt input { margin: 0; }
.off-q-back { background: transparent; border: none; color: #64748b; text-decoration: underline; cursor: pointer; margin-top: 1.5rem; padding: 0; font-weight: 600; }
.off-q-inputs { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.off-q-inputs input { padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); width: 100%; font-size: 1rem; font-family: var(--font-base); }
.off-q-submit { background: var(--accent); color: #ffffff; border: none; padding: 1.2rem 2rem; border-radius: var(--radius); font-weight: bold; cursor: pointer; width: 100%; font-size: 1.1rem; transition: background 0.2s; }
.off-q-submit:hover { background: var(--accent-hover); }

/* --- 14. ROADMAP TIMELINE --- */
.off-roadmap-box { background: var(--bg-secondary); border: 1px solid var(--border); border-left: 4px solid var(--accent); padding: 2rem; margin: 3rem 0; border-radius: var(--radius); max-width: var(--width-content); }
.off-roadmap-title { margin: 0 0 2rem 0; font-size: 1.3rem; color: var(--bg-hero); }
.off-roadmap-list { list-style: none; padding: 0; margin: 0; }
.off-roadmap-item { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.5rem; }
.off-roadmap-node { background: var(--accent); color: #ffffff; font-weight: 700; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.off-roadmap-text strong { color: var(--bg-hero); display: block; margin-bottom: 4px; font-size: 1.05rem; }
.off-roadmap-text span { font-size: 0.95rem; color: var(--text-main); display: block; line-height: 1.6; }

/* --- 15. FOOTER --- */
.off-site-footer { background-color: var(--bg-hero); color: var(--text-light); padding: 4rem 0 2rem; margin-top: 4rem; }
.off-footer-container { max-width: var(--width-layout); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.off-footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; display: block; }
.off-footer-text { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.off-footer-heading { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.2rem; display: block; color: var(--text-light); }
.off-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.off-footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.off-footer-links a:hover { color: var(--accent); }
.off-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }