/* Grundlayout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  margin: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.container_merkhilfe {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  #padding-top:10px;
  margin: 0 auto;
}

/* Farben */
:root {
  --green: #5a8c63;
  --dark-green: #305739;
  --peach: #f16854;
  --rose: #c48a8b;
  --light-brown: #b88b6b;
  --blue: #6a8fa5;
  --text-light: #fff7ec;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-img {
  margin-left:10px;
  margin-right:7px;
}

.logo_text {
  font-weight: 800;
  font-size:2.0em;
  color:#f16854;
  margin-top:-15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text span:nth-child(1) {
  color: var(--green);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  margin-right:20px;
  margin-left:10px;
  font-weight: 600;
}

.main-nav a {
  padding: 0.25rem 0;
  position: relative;
  color: var(--peach);
  font-size: 1.2em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: var(--peach);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--peach);
  color: #fff;
}

.btn-primary:hover {
  background: orange;
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark-green);
}

.btn-secondary:hover {
  background: #f7f3ec;
}

.btn-light {
  background: var(--peach);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

.btn-light:hover {
  background: orange;
}

/* HERO */
.hero {
  position: relative;
  min-height: 65vh;
  color: var(--text-light);
  display: flex;
  align-items: center;
  background-image: url("/images/header_bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero_merkhilfe {
  position: relative;
  min-height: 65vh;
  color: var(--text-light);
  display: flex;
  align-items: center;
  background-image: url("/images/header_merkhilfe1.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65), rgba(0,0,0,0.3), rgba(0,0,0,0.15));
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 5rem;
}

.hero-content-merkhilfe {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 4rem 1.5rem 5rem;
  line-height: 2.8em;

}

.hero-text {
  max-width: 480px;
  font-size: 1.3rem;
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-size: 2.8rem;
  line-height: 1.25;
}

.hero p {
  margin: 0 0 1.8rem;
  font-size: 0.95rem;
}

/* CLAIM */
.claim {
  background: #f6efe7;
  text-align: center;
  padding: rem 0 2.5rem;
}

.claim p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

/* 3 Feature-Karten */
.feature-section {
  padding: 2.5rem 0 3.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.fact-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  text-align: center;
  color:dimgrey;
}

.fact-number {
  font-size: 5rem;
  color: var(--peach);
  margin-bottom: -1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  color: #ffffff;
}

.card-image img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .card-image img {
  transform: scale(1.04);
}

.card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.card-content h3 {
  margin: 0;
  font-size: 1.3rem;
}

/* Info-Section */
.info-section {
  background: var(--green);
  color: var(--text-light);
  padding: 3.5rem 0 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.info-image img {
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.info-text h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.info-text p {
  margin: 0 0 2rem;
  font-size: 0.97rem;
}

/* Kleine Icon-Karten */
.icon-cards {
  padding: 3rem 0 4rem;
  padding-bottom:10px;
}

.icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.icon-card {
  padding-left: 0.5rem;
  padding-top:0.5rem;
  padding-bottom: 1.8rem;
  padding-right: 0.5rem;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  #gap: 0.6rem;
  line-height: 1.2;
  font-size: 1.9rem;
  font-weight: 600;
}

.icon-card-green { background: #f3ada2; }
.icon-card-blue  { background: #fbd9be; color:#f16a58; }
.icon-card-brown { background: #f9be8f; }
.icon-card-rose  { background: #fd8277; }

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.icon-card h4 {
  margin: 0;
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  background: #fbd9be; color:#f16a58;
  padding: 2rem 0 2.5rem;
  font-size: 1rem;
}

.footer-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

/* ---------------------------------------- */
/* Breakpoints */
/* ---------------------------------------- */

/* bis 992px */
@media (max-width: 992px) {
  .hero {
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-image {
    order: -1;
  }

  .icon-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* bis 768px */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-content {
    padding-top: 3.2rem;
    padding-bottom: 3.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .icon-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* bis 576px */
@media (max-width: 576px) {

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .card-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
