/* =========================================================
   arni-womo.de – Startseite
   Zentrale bereinigte CSS-Datei

   Bereiche:
   0. Design-Basis
   1. Unsere Wohnmobile
   2. Gemeinsame Überschriften / Panels
   3. Warum Arni-Womo
   4. Weitere Informationen
   5. Gästebewertungen
   6. Unsere Gäste unterwegs
   7. Ansprechpartner
   8. Responsive Anpassungen
   ========================================================= */


/* =========================================================
   0. Design-Basis
   ========================================================= */

:root {
  --aw-start-blue: #17304f;
  --aw-start-text: #25364a;
  --aw-start-orange: #e87722;
  --aw-start-orange-hover: #c95f14;

  --aw-start-light: #f5f7fa;
  --aw-start-white: #ffffff;

  --aw-start-panel-max: 1100px;

  --aw-start-radius-section: 16px;
  --aw-start-radius-card: 14px;

  --aw-start-shadow:
    0 4px 14px
    rgba(0, 0, 0, 0.08);

  --aw-start-shadow-hover:
    0 10px 24px
    rgba(0, 0, 0, 0.14);
}


/* =========================================================
   1. Unsere Wohnmobile
   ========================================================= */

.startseite-wohnmobile-section {
  padding:
    40px 20px
    20px;
}


.startseite-wohnmobile-inner {
  width:
    100%;

  max-width:
    var(--aw-start-panel-max);

  margin:
    0 auto;

  box-sizing:
    border-box;
}


/* ---------------------------------------------------------
   Überschrift / Einleitung
   --------------------------------------------------------- */

.startseite-wohnmobile-head {
  max-width:
    1200px;

  margin:
    0 auto 34px;

  text-align:
    center;
}


.startseite-wohnmobile-head h2 {
  margin:
    0 0 18px;

  color:
    var(--aw-start-blue);
}


/* Einleitender Haupttext */

.startseite-wohnmobile-lead {
  max-width:
    1200px;

  margin:
    0 auto 34px;

  color:
    var(--aw-start-text);

  font-size:
    18px;

  line-height:
    1.75;

  text-align:
    center;

  hyphens:
    auto;

  -webkit-hyphens:
    auto;
}


/* Ergänzende Texte */

.startseite-wohnmobile-textgrid {
  display:
    grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    28px;

  max-width:
    1000px;

  margin:
    0 auto;
}


.startseite-wohnmobile-textgrid p {
  margin:
    0;

  padding:
    22px 24px;

  background:
    var(--aw-start-light);

  border:
    1px solid
    rgba(23, 48, 79, 0.08);

  border-radius:
    var(--aw-start-radius-card);

  color:
    var(--aw-start-text);

  font-size:
    16.5px;

  line-height:
    1.7;

  text-align:
    left;

  hyphens:
    auto;

  -webkit-hyphens:
    auto;

  box-sizing:
    border-box;
}
/* ---------------------------------------------------------
   Fahrzeugraster
   --------------------------------------------------------- */

.startseite-wohnmobile-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 28px;

  padding: 30px;

  background:
    var(--aw-start-light);

  border-radius:
    var(--aw-start-radius-section);

  box-sizing: border-box;
}


/* ---------------------------------------------------------
   Fahrzeugkarte
   --------------------------------------------------------- */

.startseite-wohnmobil-card {
  display: flex;

  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  background:
    var(--aw-start-white);

  border-radius:
    var(--aw-start-radius-card);

  box-shadow:
    0 4px 14px
    rgba(0, 0, 0, 0.10);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.startseite-wohnmobil-card:hover,
.startseite-wohnmobil-card:focus-within {
  transform:
    translateY(-5px);

  box-shadow:
    0 12px 28px
    rgba(0, 0, 0, 0.16);
}


/* ---------------------------------------------------------
   Fahrzeugbild
   --------------------------------------------------------- */

.startseite-wohnmobil-image-link {
  display: block;
}


.startseite-wohnmobil-image-link img {
  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;
}


/* ---------------------------------------------------------
   Karteninhalt
   --------------------------------------------------------- */

.startseite-wohnmobil-content {
  display: flex;

  flex: 1;

  flex-direction: column;

  padding:
    20px 20px
    22px;
}


.startseite-wohnmobil-content h3 {
  margin:
    0 0
    14px;

  color: var(--aw-start-blue);

  font-size: 1.35rem;
  line-height: 1.3;
}


/* ---------------------------------------------------------
   Fakten
   --------------------------------------------------------- */

.startseite-wohnmobil-facts {
  margin-bottom: 4px;
}


.startseite-wohnmobil-facts p {
  display: flex;

  align-items: center;

  gap: 7px;

  margin:
    0 0
    8px;

  line-height: 1.45;
}


.startseite-wohnmobil-icon {
  flex: 0 0 auto;
}


/* ---------------------------------------------------------
   Preis
   --------------------------------------------------------- */

.startseite-wohnmobil-price {
  margin:
    12px 0
    18px;

  color: var(--aw-start-orange);

  font-size: 1.05rem;
  font-weight: 700;
}


/* ---------------------------------------------------------
   Fahrzeugbutton
   --------------------------------------------------------- */

.startseite-wohnmobil-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  margin-top: auto;

  padding:
    10px 18px;

  background:
    var(--aw-start-orange);

  color: var(--aw-start-white);

  border-radius: 999px;

  font-weight: 700;
  line-height: 1.3;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.startseite-wohnmobil-card
a.startseite-wohnmobil-button,

.startseite-wohnmobil-card
a.startseite-wohnmobil-button:visited {
  color:
    var(--aw-start-white) !important;
}


.startseite-wohnmobil-card
a.startseite-wohnmobil-button:hover,

.startseite-wohnmobil-card
a.startseite-wohnmobil-button:focus,

.startseite-wohnmobil-card
a.startseite-wohnmobil-button:focus-visible {
  background:
    var(--aw-start-blue);

  color:
    var(--aw-start-white) !important;

  transform:
    translateY(-2px);

  box-shadow:
    0 6px 16px
    rgba(23, 48, 79, 0.22);
}


.startseite-wohnmobil-button:focus-visible {
  outline:
    3px solid
    rgba(232, 119, 34, 0.35);

  outline-offset: 3px;
}


/* =========================================================
   2. Gemeinsame Überschriften / Einleitungen
   ========================================================= */

.start-headline {
  margin-top: 0;
  margin-bottom: 14px;

  color: var(--aw-start-blue);

  text-align: center;
}


.startseiten-einleitung {
  max-width: 820px;

  margin:
    0 auto
    18px;

  line-height: 1.7;

  text-align: center;
}


/* =========================================================
   Gemeinsame Panels
   ========================================================= */

/*
 * Diese Regel legt die Außenbreite ALLER Startseiten-Panels
 * verbindlich fest.
 *
 * Das !important ist hier bewusst gesetzt, weil Gutenberg
 * Gruppen über alignwide/alignfull eigene Breiten geben kann.
 */

body .entry-content .startseiten-panel {
  width:
    calc(100% - 60px) !important;

  max-width:
    var(--aw-start-panel-max) !important;

  margin-left:
    auto !important;

  margin-right:
    auto !important;

  padding: 30px;

  border-radius:
    var(--aw-start-radius-section);

  box-sizing: border-box;

  left: auto !important;
  right: auto !important;

  transform: none !important;
}


/* Graues Panel */

.startseiten-panel-grau {
  background:
    var(--aw-start-light);
}


/* Weißes Panel mit orangem Akzent */

.startseiten-panel-orange {
  background:
    var(--aw-start-white);

  border-left:
    6px solid
    var(--aw-start-orange);

  box-shadow:
    var(--aw-start-shadow);
}


/* =========================================================
   3. Warum Arni-Womo
   ========================================================= */

/*
 * Hauptgruppe besitzt:
 *
 * startseiten-panel
 * startseiten-panel-orange
 * warum-arni-panel
 */

.startseiten-panel.startseiten-panel-orange.warum-arni-panel {
  background:
    var(--aw-start-white);

  border-left:
    6px solid
    var(--aw-start-orange);

  box-shadow:
    var(--aw-start-shadow);
}


/* ---------------------------------------------------------
   Vorteilskacheln
   --------------------------------------------------------- */

.vorteile-grid.wohnmobile-selection {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 18px;

  margin-top: 0;
  margin-bottom: 34px;

  background: transparent;
}
.vorteile-grid.wohnmobile-selection
.vorteilskacheln-spalte p {
  hyphens: auto;
  -webkit-hyphens: auto;

  word-break: normal;
  overflow-wrap: normal;
}

.vorteile-grid.wohnmobile-selection
.vorteilskacheln-spalte {
  min-width: 0;

  padding:
    22px 18px;

  background:
    var(--aw-start-light);

  border:
    1px solid
    rgba(23, 48, 79, 0.08);

  border-radius:
    var(--aw-start-radius-card);

  box-shadow:
    var(--aw-start-shadow);

  text-align: center;

  box-sizing: border-box;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.vorteile-grid.wohnmobile-selection
.vorteilskacheln-spalte:hover,

.vorteile-grid.wohnmobile-selection
.vorteilskacheln-spalte:focus-within {
  transform:
    translateY(-4px);

  box-shadow:
    var(--aw-start-shadow-hover);
}


/* ---------------------------------------------------------
   Persönliche Wohnmobilvermietung
   --------------------------------------------------------- */

.warum-arni-panel
> .start-headline {
  margin-top: 6px;
  margin-bottom: 12px;

  text-align: center;
}


.warum-arni-panel
> p {
  max-width: 780px;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;

  line-height: 1.7;

  text-align: center;
}


.warum-arni-panel
.wp-block-buttons {
  justify-content: center;
}


/* =========================================================
   4. Weitere Informationen
   ========================================================= */

.startseiten-block {
  margin-top: 0;
  margin-bottom: 10px;
}


/* ---------------------------------------------------------
   Kartenpanel
   --------------------------------------------------------- */

.wp-block-columns.info-links-grid.startseiten-panel {
  display: flex;

  align-items: stretch;

  gap: 24px;

  margin-top: 0;

  background:
    var(--aw-start-light);
}


/* ---------------------------------------------------------
   Einzelne Infokarte
   --------------------------------------------------------- */

.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card {
  display: flex;

  flex-direction: column;

  min-width: 0;

  padding:
    28px 24px;

  background:
    var(--aw-start-white);

  border-radius:
    var(--aw-start-radius-card);

  box-shadow:
    0 4px 14px
    rgba(0, 0, 0, 0.10);

  text-align: center;

  box-sizing: border-box;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card:hover,

.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card:focus-within {
  transform:
    translateY(-4px);

  box-shadow:
    var(--aw-start-shadow-hover);
}


.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card h3,

.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card p {
  text-align: center;
}


.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card p {
  flex-grow: 1;

  line-height: 1.6;
}


.wp-block-columns.info-links-grid
> .wp-block-column.info-links-card
.wp-block-buttons {
  justify-content: center;

  margin-top: auto;
}


/* =========================================================
   5. Gästebewertungen
   ========================================================= */

.google-bewertung.startseiten-panel.startseiten-panel-orange {
  background:
    var(--aw-start-white);

  border-left:
    6px solid
    var(--aw-start-orange);

  box-shadow:
    var(--aw-start-shadow);

  text-align: center;
}

/* =========================================================
   Gästebuch-Vorschau auf der Startseite
   Optik wie auf der Gästebuchseite
   ========================================================= */

.startseite-gaestebuch-vorschau {
  width: 100%;
  max-width: 1100px;

  margin:
    30px auto 0;

  box-sizing:
    border-box;
}


/* Widget-Liste */

.startseite-gaestebuch-vorschau ul {
  margin: 0;
  padding: 0;

  list-style: none;
}


/* Einzelner Eintrag = Optik von .gb-entry */

.startseite-gaestebuch-vorschau
li.gwolle_gb_widget,
.startseite-gaestebuch-vorschau
li.gwolle-gb-widget {
  width: 100%;

  margin: 0 0 20px;
  padding: 0;

  background: #ffffff;

  border:
    1px solid #d9e1e8;

  border-radius:
    18px;

  box-shadow:
    0 8px 25px
    rgba(23, 48, 79, 0.10);

  overflow:
    hidden;

  box-sizing:
    border-box;
}


/* letzter Eintrag ohne Extra-Abstand */

.startseite-gaestebuch-vorschau
li.gwolle_gb_widget:last-child,
.startseite-gaestebuch-vorschau
li.gwolle-gb-widget:last-child {
  margin-bottom:
    0;
}


/* Artikel ohne eigenes Padding */

.startseite-gaestebuch-vorschau article {
  padding:
    0;
}


/* Kopfbereich wie .gb-author-info */

.startseite-gaestebuch-vorschau
.gb-author-name,
.startseite-gaestebuch-vorschau
.gb-date {
  background:
    #f3f6f9;
}


/* Name */

.startseite-gaestebuch-vorschau
.gb-author-name {
  display:
    block;

  margin:
    0;

  padding:
    18px 28px 5px;

  color:
    #17304f;

  font-size:
    20px;

  font-weight:
    700;
}


/* Datum */

.startseite-gaestebuch-vorschau
.gb-date {
  display:
    block;

  margin:
    0;

  padding:
    0 28px 18px;

  color:
    #526273;

  font-size:
    15px;

  border-bottom:
    1px solid #d9e1e8;
}


/* Nachricht wie .gb-entry .gb-entry-content */

.startseite-gaestebuch-vorschau
.gb-entry-content {
  display:
    block;

  padding:
    20px 28px;

  color:
    #273747;

  font-size:
    17px;

  line-height:
    1.7;

  hyphens:
    auto;

  -webkit-hyphens:
    auto;

  word-break:
    normal;

  overflow-wrap:
    normal;
}
.startseite-gaestebuch-titel {
  margin:
    0 0 18px;

  color:
    #17304f;

  font-size:
    24px;

  font-weight:
    800;

  line-height:
    1.3;
}
.startseite-gaestebuch-feedback {
  max-width: 1200px;

  margin:
    28px auto 0;

  text-align:
    left;
}


.startseite-gaestebuch-feedback p {
  margin:
    0 0 20px;

  color:
    var(--aw-start-text);

  font-size:
    18px;

  line-height:
    1.7;

  hyphens:
    auto;

  -webkit-hyphens:
    auto;
}


.startseite-gaestebuch-button {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  min-height:
    48px;

  padding:
    13px 26px;

  background:
    var(--aw-start-orange);

  color:
    #ffffff;

  border:
    2px solid
    var(--aw-start-orange);

  border-radius:
    999px;

  font-size:
    18px;

  font-weight:
    700;

  text-decoration:
    none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.startseite-gaestebuch-button-wrap {
  display: flex;

  justify-content: center;

  margin-top: 28px;
}

.startseite-gaestebuch-button:visited {
  color:
    #ffffff;
}


.startseite-gaestebuch-button:hover,
.startseite-gaestebuch-button:focus-visible {
  background:
    var(--aw-start-blue);

  border-color:
    var(--aw-start-blue);

  color:
    #ffffff;

  transform:
    translateY(-1px);

  text-decoration:
    none;
}
/*
 * Der bisherige gewünschte enge Übergang
 * Weitere Informationen → Gästebewertungen
 */

.google-bewertung {
  margin-top: 1px;
}


.google-bewertung p {
  text-align: center;
}


.google-bewertung strong {
  color:
    var(--aw-start-blue);
}

/* ---------------------------------------------------------
   Bewertungsbild
   --------------------------------------------------------- */

.google-review-bild {
  max-width: 800px;

  margin:
    28px auto
    24px;
}


.google-review-bild img {
  display: block;

  width: 100%;
  height: auto;

  border-radius:
    var(--aw-start-radius-card);

  box-shadow:
    0 6px 20px
    rgba(0, 0, 0, 0.14);
}


.google-bewertung
.wp-block-buttons {
  justify-content: center;
}


/* =========================================================
   6. Unsere Gäste unterwegs
   ========================================================= */

/*
 * Wichtig:
 * Nur die äußere Gutenberg-Gruppe trägt startseiten-panel.
 * Dadurch wird der graue Hintergrund auf dieselbe Breite
 * wie alle übrigen Panels begrenzt.
 */

body .entry-content
.kundenbilder-startseite.startseiten-panel.startseiten-panel-grau {
  width:
    calc(100% - 60px) !important;

  max-width:
    var(--aw-start-panel-max) !important;

  margin-left:
    auto !important;

  margin-right:
    auto !important;

  background:
    var(--aw-start-light);

  box-sizing: border-box;

  left: auto !important;
  right: auto !important;

  transform: none !important;
}


/* ---------------------------------------------------------
   Bilderraster
   --------------------------------------------------------- */

.kundenbilder-startseite
.wp-block-columns {
  gap: 20px;
}


.kundenbilder-startseite img {
  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 12px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.kundenbilder-startseite img:hover {
  transform:
    scale(1.03);

  box-shadow:
    0 8px 20px
    rgba(0, 0, 0, 0.12);
}


.kundenbilder-startseite
.wp-block-buttons {
  justify-content: center;

  margin-top: 24px;
}


/* =========================================================
   7. Ansprechpartner
   ========================================================= */

.ansprechpartner-section.startseiten-panel.startseiten-panel-orange {
  background:
    var(--aw-start-white);

  border-left:
    6px solid
    var(--aw-start-orange);

  box-shadow:
    var(--aw-start-shadow);

  margin-bottom: 70px;
}


/* ---------------------------------------------------------
   Ansprechpartner-Inhalt
   --------------------------------------------------------- */

.ansprechpartner-block {
  align-items: center;
}


.ansprechpartner-block h2,
.ansprechpartner-block h3,
.ansprechpartner-block h4 {
  color:
    var(--aw-start-blue);
}


.ansprechpartner-block img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 12px;
}


/* ---------------------------------------------------------
   Kontaktbox
   --------------------------------------------------------- */

.kontaktbox-ansprechpartner {
  margin-top: 22px;

  padding:
    18px 22px;

  background:
    var(--aw-start-light);

  border:
    1px solid
    rgba(23, 48, 79, 0.10);

  border-radius: 12px;

  box-shadow:
    0 3px 10px
    rgba(0, 0, 0, 0.06);
}


.kontaktbox-ansprechpartner p {
  margin-bottom: 8px;
}


.kontaktbox-ansprechpartner p:last-child {
  margin-bottom: 0;
}


.kontaktbox-ansprechpartner a {
  color:
    var(--aw-start-blue);

  font-weight: 700;

  text-decoration: none;
}


.kontaktbox-ansprechpartner a:hover,
.kontaktbox-ansprechpartner a:focus {
  color:
    var(--aw-start-orange);
}


/* =========================================================
   8. Responsive Anpassungen
   ========================================================= */


/* ---------------------------------------------------------
   Bis 1100px
   --------------------------------------------------------- */

@media (max-width: 1100px) {

  .vorteile-grid.wohnmobile-selection {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------
   Bis 1000px
   --------------------------------------------------------- */

@media (max-width: 1000px) {

  .startseite-wohnmobile-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------
   Bis 900px
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .wp-block-columns.info-links-grid {
    flex-wrap: wrap;
  }


  .wp-block-columns.info-links-grid
  > .wp-block-column.info-links-card {
    flex-basis:
      calc(50% - 12px) !important;
  }
}


/* ---------------------------------------------------------
   Bis 768px
   --------------------------------------------------------- */

@media (max-width: 768px) {

  body .entry-content
  .startseiten-panel {
    width:
      calc(100% - 32px) !important;

    max-width:
      calc(100% - 32px) !important;

    margin-left:
      auto !important;

    margin-right:
      auto !important;

    padding:
      28px 18px;
  }


  .startseiten-panel-orange {
    border-left-width: 5px;
  }


  .startseiten-einleitung {
    margin-bottom: 20px;

    padding-left: 8px;
    padding-right: 8px;
  }


  .vorteile-grid.wohnmobile-selection {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 28px;
  }


  .ansprechpartner-section.startseiten-panel.startseiten-panel-orange {
    margin-bottom: 45px;
  }
}


/* ---------------------------------------------------------
   Bis 600px
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .startseite-wohnmobile-section {
    padding:
      30px 16px
      16px;
  }


  .startseite-wohnmobile-inner {
    width: 100%;
  }


  .startseite-wohnmobile-grid {
    grid-template-columns: 1fr;

    gap: 20px;

    padding: 18px;
  }


  .startseite-wohnmobil-content {
    padding: 18px;
  }


  .vorteile-grid.wohnmobile-selection {
    grid-template-columns: 1fr;
  }


  .wp-block-columns.info-links-grid
  > .wp-block-column.info-links-card {
    flex-basis:
      100% !important;
  }
}


/* ---------------------------------------------------------
   Bewegung reduzieren
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .startseite-wohnmobil-card,
  .startseite-wohnmobil-button,

  .vorteile-grid.wohnmobile-selection
  .vorteilskacheln-spalte,

  .wp-block-columns.info-links-grid
  > .wp-block-column.info-links-card,

  .kundenbilder-startseite img {
    transition: none;
  }


  .startseite-wohnmobil-card:hover,
  .startseite-wohnmobil-card:focus-within,

  .vorteile-grid.wohnmobile-selection
  .vorteilskacheln-spalte:hover,

  .vorteile-grid.wohnmobile-selection
  .vorteilskacheln-spalte:focus-within,

  .wp-block-columns.info-links-grid
  > .wp-block-column.info-links-card:hover,

  .wp-block-columns.info-links-grid
  > .wp-block-column.info-links-card:focus-within,

  .kundenbilder-startseite img:hover {
    transform: none;
  }
}