/*
Theme Name: Gelbei Statistiker
Theme URI: https://gelbei.de
Author: Mathias & Team
Description: Osterfanblog zur ffn-Hitparade „Das Gelbe vom Ei“
Version: 1.2
*/

/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------
   NAVIGATION
--------------------------------------------------- */
.main-header {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-nav .nav-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .nav-menu li a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* ---------------------------------------------------
   HERO-BEREICH
--------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 240px;
  background-image: url('img/header-eggs.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 220px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.6));
}

.title-text h1 {
  margin: 0;
  font-size: 46px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.title-text p {
  margin: 0;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ---------------------------------------------------
   BLOG-ÜBERSICHT
--------------------------------------------------- */
.posts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

.post-card {
  background-color: #FFFDE7;
  border: 1px solid #F0F4C3;
  border-radius: 8px;
  width: 300px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.post-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.post-card p {
  font-size: 16px;
  margin-bottom: 10px;
}

/* ---------------------------------------------------
   SINGLE-POST
--------------------------------------------------- */
.single-wrapper {
  max-width: 800px;
  margin: 40px auto;
  background: #FFFDE7;
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid #F0F4C3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.single-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #FBC02D;
}

/* --- Neuer Header: Text links, Bild rechts --- */
.post-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.post-header-text {
  flex: 2;
  font-size: 1.1rem;
  line-height: 1.6;
}

.post-header-image img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* --- Meta --- */
.single-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* --- Inhalt --- */
.single-content {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --- Zurück-Link --- */
.single-back a {
  text-decoration: none;
  font-weight: bold;
  color: #FBC02D;
}

/* ---------------------------------------------------
   SEITEN
--------------------------------------------------- */
.page-wrapper {
  max-width: 800px;
  margin: 40px auto;
  background: #FFFDE7;
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid #F0F4C3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.page-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #FBC02D;
}

.page-body {
  font-size: 18px;
  line-height: 1.6;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background-color: #FFF176;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* ---------------------------------------------------
   KONTAKT
--------------------------------------------------- */
.contact-wrapper {
  max-width: 700px;
  margin: 40px auto;
  background: #FFFDE7;
  padding: 30px 40px;
  border-radius: 10px;
  border: 1px solid #F0F4C3;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-wrapper h2 {
  margin-top: 0;
  font-size: 32px;
  color: #FBC02D;
}

.contact-wrapper p {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #CCC;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #FBC02D;
  outline: none;
}

.contact-button {
  background: #FBC02D;
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

.contact-button:hover {
  background: #F9A825;
}

.contact-success {
  margin-top: 20px;
  color: #33691E;
  font-weight: bold;
  font-size: 18px;
}

.contact-success-box {
  background: #E8F5E9;
  border-left: 5px solid #4CAF50;
  padding: 15px 20px;
  margin-top: 25px;
  border-radius: 6px;
  font-size: 18px;
  color: #2E7D32;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* --- Post Cards mit Bildheader --- */

.post-card {
  background-color: #FFFDE7;
  border: 1px solid #F0F4C3;
  border-radius: 8px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

/* Bild oben */
.post-card-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
}

/* Falls kein Bild vorhanden ist */
.post-card-image.no-image {
  background: linear-gradient(135deg, #FFF59D, #FBC02D);
  filter: brightness(1);
}

/* Textbereich */
.post-card-content {
  padding: 15px;
}

.post-card-content h2 {
  margin-top: 0;
  font-size: 20px;
}

.post-card-content p {
  margin-bottom: 10px;
}

.post-card-content a {
  font-weight: bold;
  color: #FBC02D;
  text-decoration: none;
}
