/* ===============================
   GRUNDLAGEN
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Merriweather', serif;
  background: #f4f5f7;
  color: #222;
  line-height: 1.7;
}

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

/* ===============================
   HEADER & NAVIGATION
================================ */

#site-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 22px 30px;
}

.header-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;          /* FIX */
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap;            /* FIX – kein Umbruch */
}

/* BRAND */

.header-brand h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;              /* FIX – kleiner */
  margin: 0;
  white-space: nowrap;          /* FIX */
}

.header-brand p {
  margin: 5px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

/* NAVIGATION */

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;            /* FIX */
}

.main-nav li {
  white-space: nowrap;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.2);
}

/* ===============================
   HERO
================================ */

.hero {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero.small {
  padding: 40px 20px;
}

.hero h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color: #555;
}

/* ===============================
   CONTENT
================================ */

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.content.narrow {
  max-width: 900px;
}

h1, h2, h3 {
  font-family: 'Archivo Black', sans-serif;
  color: #2c2c2c;
}

h3 {
  margin-top: 0;
}

/* ===============================
   BILDER (STARTSEITE)
================================ */

.float-left {
  float: left;
  max-width: 280px;             /* FIX – Mikro kleiner */
  margin: 0 30px 20px 0;
  border-radius: 10px;
}

.float-right {
  float: right;
  max-width: 340px;             /* FIX – Gründer kleiner */
  margin: 0 0 20px 30px;
  border-radius: 10px;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ===============================
   BLOG
================================ */

.blog-post {
  background: #fff;
  padding: 30px;
  margin-bottom: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.blog-meta {
  font-size: 14px;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.blog-meta .category {
  background: #667eea;
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: #667eea;
  font-weight: 700;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ===============================
   SIDEBAR
================================ */

.sidebar {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: #667eea;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s, background 0.3s;
}

.social-icons a:hover {
  background: #764ba2;
  transform: scale(1.1);
}

/* ===============================
   FOOTER
================================ */

footer {
  background: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

footer a {
  color: #9aa7ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

  .header-row {
    flex-direction: column;
    text-align: center;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .float-left,
  .float-right {
    float: none;
    max-width: 100%;
    margin: 0 0 20px 0;
  }

  .hero h2 {
    font-size: 28px;
  }
}
