/* ======================================================
   style.css – FINAL PRO VERSION (KERNBOHR.INFO)
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary-bg: #fafafa;
  --header-bg: #000000;
  --text-main: #222222;
  --text-muted: #666666;
  --accent-blue: #4285F4;
  --white: #ffffff;
  --max-width-content: 1100px;
  --max-width-large: 1600px;
}

* { box-sizing: border-box; }
html { overflow-y: scroll; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: var(--primary-bg);
  color: var(--text-main);
  font-size: clamp(16px, 1.1vw, 20px); 
  line-height: 1.6;
}

/* --- HEADER & LOGO --- */
.site-header {
  background: var(--header-bg);
  padding: clamp(12px, 2vh, 20px) 0;
  color: #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo-Fix: Kein Unterstrich, Punkt weiß */
.logo-text {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  text-decoration: none !important;
  border-bottom: none !important;
}

.logo-text .info { color: #9ca3af; font-weight: 600; }
.logo-text .dot { color: inherit !important; margin: 0 1px; }

/* --- NAVIGATION --- */
.main-nav { display: flex; gap: clamp(10px, 1.5vw, 25px); }
.main-nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent-blue); }

/* --- MAIN CONTENT --- */
main {
  max-width: var(--max-width-content);
  margin: clamp(20px, 5vh, 60px) auto;
  padding: clamp(20px, 4vw, 50px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h1 { font-size: clamp(26px, 4vw, 48px); margin-bottom: 0.5em; line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(20px, 2.5vw, 32px); margin-top: 1.5em; margin-bottom: 0.8em; color: var(--header-bg); }

/* Info-Boxen (Regional/Statik) */
section[style*="background-color"], .region-info {
    border-radius: 6px;
    padding: 25px !important;
    border-left: 8px solid var(--accent-blue) !important;
    background-color: #f8fafc !important;
    margin: 30px 0;
}

/* --- BUTTONS & LINKS --- */
main a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
main a:hover { opacity: 0.7; }

.cta-button {
    background: var(--header-bg) !important;
    color: white !important;
    padding: 15px 30px !important;
    text-decoration: none !important;
    display: inline-block;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 10px;
}
.cta-button:hover { background: #222 !important; transform: translateY(-2px); }

/* --- RESPONSIVE --- */
@media (min-width: 2000px) { :root { --max-width-content: var(--max-width-large); } body { font-size: 22px; } }

@media (max-width: 900px) {
  .header-inner { flex-direction: column; text-align: center; gap: 15px; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
  main { margin: 15px; padding: 25px 15px; }
}

.site-footer { text-align: center; padding: 40px 20px; font-size: 0.85rem; color: var(--text-muted); }