/* =========================================================
   Grundlayout & Typografie
   ========================================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  background: #f4f6f8;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Container & Abstände
   ========================================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page {
  padding: 40px 0 70px 0;
}

.section {
  padding: 60px 0;
}

.spacer-nav {
  height: 90px;
}

/* =========================================================
   Navigation
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #ccc;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* Logo + Textblock */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 56px;
}

/* === NEUER BRANDTEXT === */

.brandtext {
  line-height: 1.2;
}

.brandtext .t1 {
  font-weight: 600;
  display: block;
}

.brandtext .t2 {
  font-size: 14px;
  color: #333;
  display: block;
}

.brandtext .t3 {
  font-size: 12px;
  color: #666;
  display: block;
}

/* Navigation Links */

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  padding: 6px 0;
  font-weight: 500;
}

.nav a.active {
  border-bottom: 2px solid #000;
}

/* Mobile Nav Button */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #000;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

/* Mobile Navigation */

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ccc;
    display: none;
    flex-direction: column;
    padding: 20px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
  }
}

/* =========================================================
   Überschriften & Texte
   ========================================================= */

h1, h2, h3 {
  line-height: 1.3;
}

.h1 {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.subline {
  max-width: 820px;
  color: #444;
  margin-bottom: 40px;
}

.note {
  color: #555;
  max-width: 820px;
}

/* Breadcrumb */

.breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #666;
}

/* =========================================================
   Grid & Kacheln
   ========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.tile {
  background: #ffffff;
  border: 1px solid #ddd;
  transition: transform 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
}

.tile .thumb {
  border-bottom: 1px solid #ddd;
}

.tile .body {
  padding: 20px;
}

.tile h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
}

.tile p {
  margin: 0;
  color: #444;
}

/* =========================================================
   Karten (Detailseiten)
   ========================================================= */

.card {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 28px;
  max-width: 900px;
}

.ul {
  padding-left: 18px;
  margin: 12px 0 18px 0;
}

.ul li {
  margin-bottom: 6px;
}

/* =========================================================
   Hero (Startseite)
   ========================================================= */

.hero {
  background: #ffffff;
  padding: 90px 0 70px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 20px;
}

.hero .lead {
  max-width: 860px;
  margin: 0 auto;
  color: #333;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: #ffffff;
  border-top: 1px solid #ccc;
  padding: 30px 0;
  font-size: 14px;
  color: #444;
}

.footer .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a {
  color: #000;
}
