/* =============================================
   brunoundsven – Shared Stylesheet
   ============================================= */

/* Google Fonts entfernt – DSGVO-konform: System-Schriftarten werden verwendet */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
}

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

.header-logo img {
  height: 90px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 44px;
  align-items: center;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
  letter-spacing: 0.3px;
}

.header-nav a:hover {
  border-bottom-color: #555;
}

.header-nav a.active {
  border-bottom-color: #1a1a1a;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111;
  color: #fff;
  padding-top: 80px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1.1fr;
  gap: 52px;
}

.footer-col .company-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-col .tagline {
  font-size: 15px;
  color: #888;
  font-style: italic;
}

.footer-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
  margin-top: 20px;
  display: block;
}

.footer-label:first-child {
  margin-top: 0;
}

.footer-col p,
.footer-col address {
  font-size: 15px;
  color: #aaa;
  font-style: normal;
  line-height: 1.75;
}

.footer-col a {
  color: #aaa;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: #aaa;
  margin-bottom: 7px;
}

.footer-hours-row .day {
  color: #ccc;
  font-weight: 500;
  min-width: 96px;
  white-space: nowrap;
}

.footer-hours-row span:last-child {
  white-space: nowrap;
}

.footer-hours-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  display: block;
}

/* Footer bottom bar */
.footer-bottom-bar {
  border-top: 1px solid #2a2a2a;
  margin-top: 64px;
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 14px;
  color: #555;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legal-links a {
  font-size: 14px;
  color: #777;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-legal-links .sep {
  color: #444;
  font-size: 14px;
}

/* =============================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   ============================================= */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #111;
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: #222;
}

.legal-page h4 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #333;
}

.legal-page p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-page ul {
  margin: 10px 0 16px 24px;
}

.legal-page ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 123px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .header-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .legal-page {
    padding: 48px 20px 72px;
  }
}
