/**
 * Homepage-Styling für das Scharrtheme
 * Datei: /themes/scharrtheme/homepage.css
 */

/* =================== SECTION 1: BANNER VOLLBREITE =================== */
#page > .banner-vollbreite-aktion,
.banner-vollbreite-aktion {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  height: 80vh;
  background-image: url('https://scharrbuero.de/wp-content/uploads/2025/06/moll-Aktion-2025-Back-to-School-15-Prozent-Rabatt-2.webp');
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  z-index: 1;
}

.banner-overlay {
  background-color: rgba(245,245,245,0.75);
  padding: 20px 60px;
  border-radius: 12px;
  display: inline-block;
  max-width: 500px;
  width: 100%;
  line-height: 1.4;
  color: #000;
  box-sizing: border-box;
  transform: translateY(-150px); /* nach oben verschieben */
}

.banner-overlay h1,
.banner-overlay h3 {
  font-size: 20px;
  margin: 0 0 10px 0;
  font-family: inherit;
}

.banner-overlay h2 {
  font-family: 'Aguafina Script', cursive;
  font-size: 90px;
  margin: 0 0 10px 0;
}

.banner-overlay h3 { margin-bottom: 0; }

/* Mobile-Optimierungen für das Banner */
@media (max-width: 768px) {
  .banner-overlay      { padding: 15px 20px; max-width: 90%; }
  .banner-overlay h2   { font-size: 48px; }
  .banner-vollbreite-aktion { background-position: 65% 50% !important; }
}

/* =================== GLOBALE ABSTANDSREGEL FÜR SECTIONS =================== */
.bereich {
  margin-top: 100px !important;
  margin-bottom: 0 !important;
  padding: 0;
  box-sizing: border-box;
}
.bereich:first-child {
  margin-top: 0 !important;
}



/* =================== SECTION 2: ZWEISPALTEN-BEREICH =================== */
.hintergrund-voll {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f5f5f5;
  box-sizing: border-box;
  padding: 50px 0;
  overflow: hidden;
}

.container-inhalt {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10px;
  width: 100%;
}

.spalte {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 0 10px;
  box-sizing: border-box;
}

.bild-spalte {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bild-spalte img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.text-spalte {
  color: #333;
  text-align: left;
}
.text-spalte h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #2E4F20;
}
.text-spalte p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  background: #2E4F20;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta-btn:hover {
  background: #64a244;
}

/* Responsive für Section 2 */
@media (max-width: 900px) {
  .container-inhalt {
    flex-direction: column;
    padding: 0 10px;
  }
  .bild-spalte {
    order: 1;
    margin-bottom: 20px;
  }
  .text-spalte {
    order: 2;
    text-align: left;
  }
  .text-spalte h2 {
    font-size: 2rem;
  }
}
@media (max-width: 500px) {
  .container-inhalt {
    padding: 0 6px;
  }
  .text-spalte h2 {
    font-size: 1.2rem;
  }
}

/* =================== SECTION 3: KATEGORIEN-GITTER =================== */
.bereich-kategorien {
  padding: 20px 10px;
  box-sizing: border-box;
  max-width: 100%;
}

/* Kopf/Überschrift */
.kopf-kategorien {
  text-align: center;
  margin-bottom: 24px;
}
.untertitel-kategorien {
  color: #2E4F20;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 1em;
}
.titel-kategorien {
  margin: 0;
  font-size: 1.7em;
  font-weight: 600;
  color: #222;
}

/* Grid für die Kategorien */
.gitter-kategorien {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.kategorie-karte {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(46,79,32,0.08);
  overflow: hidden;
  transition: box-shadow .2s;
  border: 1px solid #f3f3f3;
}
.kategorie-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}
.kategorie-bild {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.inhalt-kategorie {
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
}
.titel-kategorie {
  color: #2E4F20;
  font-size: 1.13em;
  margin: 0 0 4px 0;
  font-weight: 600;
  transition: color .22s;
}
.kategorie-karte:hover,
.kategorie-karte:focus-within {
  box-shadow: 0 8px 32px rgba(46,79,32,0.13);
  border-color: #64a244;
}
.kategorie-link:hover .titel-kategorie,
.kategorie-link:focus .titel-kategorie {
  color: #64a244;
}
.kategorie-link:hover .kategorie-bild,
.kategorie-link:focus .kategorie-bild {
  transform: scale(1.05);
}

/* Tablet: 3 Spalten */
@media (max-width: 1024px) {
  .gitter-kategorien {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Mobil: 2 Spalten */
@media (max-width: 700px) {
  .gitter-kategorien {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .inhalt-kategorie {
    align-items: center;
    text-align: center;
  }
}

/* =================== SECTION 4: welcher Stoff =================== */

.bereich-ratgeber {
  background: #f8f9f8;
}

.container-ratgeber {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
  padding: 10px;
  gap: 40px;
}

.ratgeber-bildspalte {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Bild (optional, wenn du spezielle Größe willst) */
.ratgeber-bild {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(46,79,32,0.07);
  object-fit: cover;
  display: block;
}

/* Button */
.ratgeber-btn {
  display: inline-block;
  background: #2E4F20;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s;
  margin-top: 16px;
}

.ratgeber-btn:hover,
.ratgeber-btn:focus {
  background: #64a244;
  color: #fff;
}

.ratgeber-textspalte {
  flex: 1 1 50%;
  min-width: 300px;
  box-sizing: border-box;
  padding: 0 10px;
  color: #222;
}

.ratgeber-ueberschrift {
  font-size: 1.8em;
  color: #2E4F20;
  margin-bottom: 18px;
  font-weight: 700;
}

.ratgeber-text p {
  margin-top: 0;
  margin-bottom: 13px;
  color: #444;
}
.ratgeber-text ul {
  padding-left: 20px;
  margin-bottom: 13px;
}
.ratgeber-text li {
  margin-bottom: 7px;
}

/* Responsive: Bild oben, Text unten */
@media (max-width: 900px) {
  .container-ratgeber {
    flex-direction: column;
    gap: 28px;
    padding: 10px;
  }
  .ratgeber-bildspalte, .ratgeber-textspalte {
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .ratgeber-bild {
    max-width: 100%;
  }
  .ratgeber-ueberschrift {
    font-size: 1.25em;
    margin-top: 0;
  }
}
/* ======= Bestseller Section: Headline & Intro ======= */
/* Genereller Container für den Bereich */
.bereich {
    max-width: 1200px; /* Oder eine andere maximale Breite, die zu deinem Layout passt */
    margin: 50px auto; /* Zentriert den Bereich und gibt etwas Abstand nach oben/unten */
    padding: 0 20px; /* Etwas Innenabstand, falls der Bildschirm schmaler wird */
}

/* Kopfbereich mit Titel und Beschreibung */
.bereich-bestseller-head {
    text-align: center; /* Zentriert den Text */
    margin-bottom: 40px; /* Abstand nach unten zu den Produkten */
}

.bestseller-titel {
    font-size: 2em; /* Oder eine Größe, die du bevorzugst */
    font-weight: bold;
    color: #333; /* Dunkle Farbe für den Titel */
    margin-bottom: 10px; /* Abstand zwischen Titel und Beschreibung */
}

.bestseller-beschreibung {
    font-size: 1.1em; /* Größe für die Beschreibung */
    color: #666; /* Etwas hellere Farbe für die Beschreibung */
}

/* Hier wurden die WooCommerce-Produktlisten-Stile entfernt,
   da diese nun von der style.css verwaltet werden. */


/* =================== SECTION 6: Simenarräumen =================== */
.bereich-miete-zeile {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 20px;         /* Abstand zwischen Spalten */
  padding: 0 10px;   /* 10px vom Rand auf allen Geräten */
}

.bereich-miete-block {
  flex: 1 1 50%;
  min-width: 280px;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 18px rgba(46,79,32,0.09);
}

/* Overlay für Text und Button */
.bereich-miete-overlay {
  background: rgba(255,255,255,0.75);
  padding: 36px 30px 28px 30px;
  border-radius: 18px;
  text-align: center;
  width: 85%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bereich-miete-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #2E4F20;
  margin-bottom: 22px;
  margin-top: 0;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.bereich-miete-btn {
  display: inline-block;
  background: #2E4F20;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1em;
  border: none;
  margin-top: 0;
  transition: background 0.2s;
  box-shadow: 0 2px 9px rgba(46,79,32,0.06);
  cursor: pointer;
}
.bereich-miete-btn:hover,
.bereich-miete-btn:focus {
  background: #64a244;
  color: #fff !important;
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .bereich-miete-zeile {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }
  .bereich-miete-block {
    min-height: 500px;
    width: 100%;
  }
  .bereich-miete-overlay {
    padding: 18px 6px;
  }
}
@media (max-width: 600px) {
  .bereich-miete-block {
    min-height: 500px;
  }
  .bereich-miete-title { font-size: 1.1em; }
  .bereich-miete-overlay {
    padding: 12px 2px;
  }
}
/* =================== Newsletter =================== */
/* ===========================
   Gesamter Newsletter-Bereich
   =========================== */
.bereich-newsletter {
  margin-top: 100px !important;
  margin-bottom: 0 !important;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 32px 0 rgba(30,40,60,0.10);
  border-radius: 16px;
  background: #fff;
}

/* Grid-Layout für zwei Spalten */
.bereich-newsletter-zeile {
  display: flex;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  padding: 0 10px;
}

.bereich-newsletter-links,
.bereich-newsletter-rechts {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Linke Spalte */
.bereich-newsletter-titel {
  color: #2E4F20;
  font-weight: 800;
  font-size: 2em;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bereich-newsletter-links p {
  margin: 0 0 14px 0;
  color: #222;
}
.bereich-newsletter-links ul,
.bereich-newsletter-links ol {
  margin: 0 0 14px 18px;
  padding: 0;
  color: #222;
}
.bereich-newsletter-links li {
  margin-bottom: 4px;
}
.bereich-newsletter-links strong {
  font-weight: 600;
}
.bereich-newsletter-links .nl-vorteile {
  margin-bottom: 10px;
}
.bereich-newsletter-links .nl-steps {
  margin-bottom: 12px;
}
.bereich-newsletter-links .nl-important {
  margin-top: 16px;
  color: #2E4F20;
  font-size: 0.97em;
  font-weight: 600;
}

/* Rechte Spalte/Box */
.bereich-newsletter-rechts {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

/* Die Newsletter-Box füllt die Spalte */
.newsletter-section {
  width: 100%;
  max-width: 100%;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px 0 rgba(30,40,60,0.08);
  border-radius: 12px;
  padding: 36px 24px;
  box-sizing: border-box;
  margin: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Cleverreach Formular-Grid */
.cr-form-grid { width: 100%; }
.cr-grid-row {
  display: flex;
  gap: 14px;
  margin-bottom: 0;
}
.cr-grid-row > .cr_ipe_item {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.cr-grid-row.row-1 > .cr_ipe_item { width: 33.333%; }
.cr-grid-row.row-2 > .cr_ipe_item { width: 50%; }
.cr-grid-row.row-3 > .cr_ipe_item { width: 33.333%; }
.cr-form-grid .cr-grid-row { margin-bottom: 14px; }
.cr-form-grid .cr_ipe_item:not(.cr-grid-row .cr_ipe_item) {
  width: 100%;
  margin-bottom: 10px;
}

.cr_ipe_item input,
.cr_ipe_item select {
  margin-bottom: 0 !important;
}
.cr_form-block.cr_button {
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.2s;
  margin-top: 10px;
  padding: 10px 30px;
}
.cr_form-block.cr_button:hover {
  opacity: 0.9;
}
.cr_ipe_item label,
.cr_ipe_item .no-label {
  font-weight: 500;
  margin-bottom: 3px;
}
.cr_ipe_item .no-label a {
  text-decoration: underline;
  font-weight: 600;
}
.editable_content { padding: 20px 0; }

/* ====== Button in Zeile 3: immer in eigener Zeile ====== */
.cr-grid-row.row-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  width: 100%;
}
.cr-grid-row.row-3 > .cr_form-component--submit,
.cr-grid-row.row-3 > .submit_container {
  flex-basis: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  order: 99;
  display: flex;
  justify-content: flex-end;
}

/* ================================================
   FEHLERMELDUNG: Fehler unter dem Feld anzeigen
   ================================================ */
.nl-error {
  color: #b30000;
  font-size: 0.96em;
  margin-top: 3px;
  margin-bottom: 4px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  /* Optional für Barrierefreiheit: */
  /* border-left: 3px solid #b30000; padding-left: 6px; */
  /* background: #ffeaea; */
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .bereich-newsletter-zeile {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 6px;
  }
  .bereich-newsletter-links,
  .bereich-newsletter-rechts {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px 6px;
    box-sizing: border-box;
  }
  .cr-grid-row.row-3 {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .cr-grid-row.row-3 > .cr_ipe_item,
  .cr-grid-row.row-3 > .cr_form-component--submit,
  .cr-grid-row.row-3 > .submit_container {
    width: 100% !important;
    flex-basis: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    justify-content: stretch !important;
  }
  .cr_form-block.cr_button {
    width: 100% !important;
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .cr-grid-row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .cr-grid-row > .cr_ipe_item {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .cr_form-block.cr_button {
    width: 100% !important;
    margin-top: 8px;
  }
}



/* ============= Bereich Artenvielfalt Section ============= */
.banner-fullwidth-force {
  margin-top: 100px !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  background-image: url('https://scharrbuero.de/wp-content/uploads/2024/10/Scharr-Bueromarkt-Weilimdorf-Teich-Motorstrasse-52-Stuttgart.webp');
  background-size: cover !important;
  background-position: center right !important;
  min-height: 600px;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}
.banner-container {
  width: 100%;
  max-width: 1200px;      /* an dein Theme anpassen */
  margin: 0 auto;
  padding: 0 16px;        /* etwas Abstand links/rechts */
  display: flex;
  align-items: center;
  height: 100%;
}
.banner-cover-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: rgba(245, 245, 245, 0.84);   /* NEU: Hellgrau, schön transparent */
  padding: 36px 30px 36px 26px;
  border-radius: 14px;
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  margin-left: 0;
}

/* Button kann so bleiben */
.cover-banner-btn {
  display: inline-block;
  background: #2E4F20;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.18em;
  padding: 12px 32px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 16px 0 rgba(30,40,60,0.13);
}
.cover-banner-btn:hover,
.cover-banner-btn:focus {
  background: #64a244;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}


/* Responsive */
@media (max-width: 900px) {
  .banner-fullwidth-force {
    min-height: 400px;
    height: 38vh;
  }
  .banner-container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .banner-cover-overlay {
    padding: 18px 14px 18px 10px;
    border-radius: 10px;
  }
  .cover-banner-headline {
    font-size: 1.5em;
    margin-bottom: 11px;
  }
  .cover-banner-btn {
    font-size: 1em;
    padding: 9px 18px;
  }
}
@media (max-width: 600px) {
  .banner-fullwidth-force {
    min-height: 400px;
    height: 32vh;
  }
  .banner-container {
    max-width: 99vw;
    padding: 0 3px;
  }
  .banner-cover-overlay {
    padding: 9px 7px 9px 10px;
    border-radius: 7px;
  }
  .cover-banner-headline {
    font-size: 1.02em;
    margin-bottom: 9px;
  }
  .cover-banner-btn {
    font-size: 1em;
    padding: 7px 13px;
  }
}

/* ================================================
   letzte Beiträge
   ================================================ */
.bereich-news-latest {
  margin-top: 100px !important;
  margin-bottom: 0 !important;
  padding: 0 0 0 0;
  background: none;
}
.bereich-news-headline {
  text-align: center;
  margin-bottom: 36px;
}
.bereich-news-headline h2 {
  color: #2E4F20;
  font-weight: 800;
  margin: 0 0 8px 0;
  font-size: 2em;
  letter-spacing: -0.01em;
}
.bereich-news-headline p {
  color: #222;
  font-size: 1.1em;
  margin: 0;
  font-weight: 400;
}

.bereich-news-wrapper {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;   /* wichtig: verhindert Umbruch */
  overflow-x: auto;    /* optional: falls Viewport schmaler als 3 Karten */
  overflow-y: visible !important;   /* oder: overflow-y: unset; */
}

/* News Card Design */
.news-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(46,79,32,0.08);
  border: 1px solid #f3f3f3;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  max-width: 300px;  /* <--- HIER KLEINER! */
  display: flex;
  flex-direction: column;
  height: 400px;
  transition: box-shadow .22s, border-color .18s, transform .18s;
  position: relative;
  z-index: 1;
}
.news-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  height: 100%;
  color: inherit;
}
.news-card-thumb {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform .18s;
}
.news-card-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 18px 15px 18px;
}
.news-card-title {
  font-size: 1.22em;
  color: #2E4F20;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.22;
  min-height: 2.4em;
}
.news-card-meta {
  font-size: 0.99em;
  color: #888;
  margin-bottom: 9px;
}
.news-card-excerpt {
  color: #222;
  font-size: 1em;
  margin-bottom: 17px;
  line-height: 1.4;
  flex: 1;
}
.news-card-btn {
  display: inline-block;
  background: #2E4F20;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  padding: 7px 18px;
  font-size: 1em;
  margin-top: auto;
  transition: background 0.2s;
  text-align: center;
}
.news-card-link:hover .news-card-btn,
.news-card-link:focus .news-card-btn {
  background: #64a244;
  color: #fff;
}
.news-card-link:hover .news-card-thumb img {
  transform: scale(1.04);
}
.news-card:hover,
.news-card-link:focus {
  box-shadow: 0 8px 32px rgba(46,79,32,0.14);
  border-color: #64a244;
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 1200px) {
  .bereich-news-wrapper {
    gap: 18px;
    max-width: 98vw;
    padding: 0 10px;
  }
  .news-card {
    max-width: 340px;
  }
}
@media (max-width: 900px) {
  .bereich-news-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .news-card {
    max-width: 370px;
    height: 360px;
  }
  .news-card-thumb { height: 145px; }
}
@media (max-width: 600px) {
  .bereich-news-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 0 3px;
  }
  .news-card {
    max-width: 99vw;
    width: 100%;
    height: 320px;
  }
  .news-card-thumb { height: 110px; }
  /* Nur den ersten/letzten Beitrag auf Mobil zeigen: */
  .news-card:not(:first-child) {
    display: none;
  }
}