/*
 Theme Name:   Wessel Theme
 Theme URI:    https://wessel-hydraulik.de
 Description:  Child Theme für Wessel Hydraulik auf Basis von GeneratePress
 Author:       Head & Code
 Template:     generatepress
 Version:      1.0
*/

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 767px) {

.site h2 {font-size: 27px;} 
.site-header .header-image {width: 170px !important;}
}


/* ================================
   Burger-Menü: Pill-Button Style
   ================================ */

/* Nur auf Mobile sichtbar */
@media (max-width: 900px) {


  /* === Header Layout === */
  .site-header.has-inline-mobile-toggle .inside-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .site-header.has-inline-mobile-toggle .site-logo {
    flex-shrink: 1;
  }

  /* === Wrapper: kompakt, kein Vollbreit === */
  .site-header.has-inline-mobile-toggle .mobile-menu-control-wrapper,
  .has-inline-mobile-toggle .mobile-menu-control-wrapper {
    flex: 0 0 auto !important;
    width: auto !important;
    flex-basis: auto !important;
    margin-left: auto;
  }

  /* === Pill-Button === */
  .mobile-menu-control-wrapper .menu-toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    min-width: unset !important;
    white-space: nowrap;
    background-color: #0b2d5c !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(11, 45, 92, 0.25);
  }

  .mobile-menu-control-wrapper .menu-toggle:hover,
  .mobile-menu-control-wrapper .menu-toggle:focus {
    background-color: #0f3d7a !important;
    transform: scale(1.03);
  }

  /* === Icon weiß === */
  .mobile-menu-control-wrapper .menu-toggle svg {
    fill: #ffffff;
    width: 18px;
    height: 18px;
  }

  /* === "Menü"-Text sichtbar machen === */
  .mobile-menu-control-wrapper .menu-toggle .screen-reader-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: unset !important;
    clip-path: unset !important;
    overflow: visible !important;
    font-size: 15px;
    color: #ffffff;
  }

   /* Primär-Nav auf Mobile verstecken (GP macht das per JS, 
     aber als Flex-Kind nimmt sie noch Platz) */
/* Nav verstecken aber GP-JS kann sie wieder einblenden */
  .site-header.has-inline-mobile-toggle #site-navigation:not(.toggled) {
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }

  .site-header.has-inline-mobile-toggle #site-navigation.toggled {
    visibility: visible !important;
    position: relative !important;
    pointer-events: auto !important;
  }

   /* Nav wenn geöffnet: volle Breite, sauber unter dem Header */
  .site-header.has-inline-mobile-toggle #site-navigation.toggled {
    visibility: visible !important;
    position: fixed !important;
    top: 114px; /* Höhe deines Headers — ggf. anpassen */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    pointer-events: auto !important;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* Nav geschlossen: komplett weg */
  .site-header.has-inline-mobile-toggle #site-navigation:not(.toggled) {
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }

   /* Zum Shop Button im Mobilmenü zentrieren */
  .main-navigation.toggled .menu-button-shop {
    text-align: center !important;
    margin-bottom: 10pxd;
  }

  .main-navigation.toggled .menu-button-shop a {
    display: inline-block;
  }

}

.inside-navigation.grid-container {
    justify-content: flex-end;
    margin-right: 0;
}


/* --- HEADER-ALIGNMENT: Logo links, Menü mittig, Button rechts --- */

.site-header .header-image {width: 255px;}

.site-header .inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}



p:empty {
    display: none;
}
/* Navigation bekommt den Platz zwischen Logo und Button */
.main-navigation {
}

/*WPML Fahnen gleiche Höhe*/

.wpml-language-switcher-block ul.isHorizontal li {margin-top: 5px !important;}

/* Menü-Links: zentriert und mit Abstand wie im Mockup */
.main-navigation .main-nav > ul {
    display: flex;
    justify-content: center;
    gap: 1px; /* Abstand zwischen den Menüpunkten, bei Bedarf anpassen */
}

/* Schriftstil Menü wie im Mockup */
.main-navigation .main-nav > ul > li > a {
    font-weight: 700;
    letter-spacing: 0.01em;
}

#primary-menu .menu-item a {font-size: 18px !important;}

/* Feine Linie unter dem Header */
.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}


/* Button "Zum Shop" im Header-Menü */
.main-navigation .menu-button-shop > a {
    padding: 10px 20px;
    border-radius: 999px;        /* macht aus dem Button eine Kapsel, nicht mehr den Kreis */
    background: #DDE1EC;         /* helles Blau wie im Mockup */
    color: #0169AE !important;  
    font-size: 20px !important;            /* dunkles Blau für Text */
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* (Optional) Einkaufswagen-Icon als Emoji – bis du ein echtes SVG/Icon einbaust */
.main-navigation .menu-button-shop > a::after {
    content: url('/wp-content/themes/wessel/einkaufswagen.svg');
    font-size: 0.95em;
}

/* Hover-Zustand */
.main-navigation .menu-button-shop > a:hover {
    background: #bfd635;
  
}



/* Top-Bar etwas kompakter machen */
.gb-element-f3321a21{ 
    height: 40px;
}r


/* Karriere-Teaser: Grundlayout */
.wessel-career-teaser {
    background: #f7f8f9;
    padding: 80px 0;
}

.wessel-career-teaser .wessel-career-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Spaltengrößen – zur Sicherheit, falls in GB nicht gesetzt */
.wessel-career-teaser .career-col-text {
    flex: 0 0 55%;
}

.wessel-career-teaser .career-col-image {
    flex: 0 0 45%;
}

/* Bild rechts */
.wessel-career-teaser .career-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}

/* Vorteile-Block mit vertikaler Linie links */
.career-benefits {
    border-left: 4px solid rgba(0, 25, 69, 0.15);
    padding-left: 24px;
    margin: 32px 0 24px;
}

.career-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
}

.career-benefit img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Button-Styling (falls du eine eigene Klasse nutzt) */
.career-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    background: #bfd635;
    color: #001945;
    text-decoration: none;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.career-cta-btn:hover,
.career-cta-btn:focus {
    background: #d2e544;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    color: #001945;
}

@media (max-width: 767px) {
  .career-benefits .gb-text {font-size: 17px;}
}
/*post type produkte*/

/* Standard Button */
.wh-product-shop-button {
    background: #003a6d;
    color: #fff;
    transition: all 0.2s ease;
}

/* Hover Zustand FIX */
.wh-product-shop-button:hover,
.wh-product-shop-button:focus,
.wh-product-shop-button:active {
    background: #bfd635 !important;
    }

.wh-product-schema a.wh-schema-lightbox-trigger {
    display: inline-block;
    cursor: zoom-in;
}

.wh-product-schema a.wh-schema-lightbox-trigger img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.wh-lightbox.is-active {
    display: block;
}

.wh-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.wh-lightbox-content {
    position: relative;
    z-index: 2;
    width: 90vw;
    height: 90vh;
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.wh-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    background: #fff;
}

 .wh-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
}


.wh-lightbox-close:hover {
    font-size: 32px;
}

body.wh-lightbox-open {
    overflow: hidden;
}


.wh-product-tech-table td p {
    margin: 0 0 8px;
}

.wh-product-tech-table td p:last-child {
    margin-bottom: 0;
}

.wh-product-tech-table td a {
    text-decoration: underline;
}

/*post type produkte – ARCHIV
----------------------------------------*/

.wh-product-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wh-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.wh-product-card {
    border: 1px solid #e1e4eb;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Bild NUR im Archiv-Grid */
.wh-product-card .wh-product-image {
    padding: 15px;
    border-bottom: 1px solid #e1e4eb;
    text-align: center;
}

.wh-product-card .wh-product-image img {
    max-width: 100%;
    height: auto;
}

.wh-product-title-bar {
    padding: 8px 15px;
    text-align: center;
    font-weight: 700;
    color: #00539b;
    border-bottom: 1px solid #e1e4eb;
}

.wh-product-title-bar a {
    text-decoration: none;
    color: inherit;
}

.wh-product-details {
    padding: 15px;
    font-size: 14px;
}

.wh-product-qmax-pmax {
    margin-top: 10px;
}

.wh-product-shop-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #00539b;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.wh-product-shop-button:hover {
    background: #003a6d;
}

/* Responsiv Archiv */
@media (max-width: 900px) {
    .wh-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) ;}
    .wh-product-archive {padding: unset !important;}
    .wh-product-filter label{display: none;}
    .wh-product-filter {margin-top: 10px;
                        margin-left: 10px;}
    .wh-product-grid .wh-product-card {margin-left: 10px !important; 
                                         margin-right: 10px !important;}

    .wh-product-single {width: 80% !important;}
    .wh-product-single .wh-product-top {flex-wrap: wrap !important;}
    .wh-product-filter a {display: none;}

}

@media (max-width: 600px) {
    .wh-product-grid {
        grid-template-columns: 1fr;
    }
}

.wh-product-card.is-shop-available{
  border: 3px solid #bfd635; /* Wesselgrün */
}


.wh-hero__title {    color: white;
    font-weight: 800;}

    @media (max-width: 900px) {
    .wh-hero__subtitle {padding-bottom: 20px !important; }
    }

/* Filter Produkte
----------------------------------------*/

/* --- Filter Container Styling --- */
.wh-product-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* --- Label --- */
.wh-product-filter label {
    font-weight: 600;
    color: #333;
}

/* --- Dropdown --- */
.wh-product-filter select {
    background: #fff;
    border: 2px solid #dcdcdc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

/* Blau beim Fokus */
.wh-product-filter select:focus {
    border-color: #005BAC;
    outline: none;
}

/* --- Filter Button --- */
.wh-product-filter button {
    background: #005BAC;          /* Wessel-Blau */
    color: #fff;                  /* weiße Schrift */
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.wh-product-filter button:hover {
    background: #004a94;          /* dunkleres Blau */
    transform: translateY(-2px);
}

.wh-product-filter button:active {
    transform: translateY(0);
}

/* Reset-Link optional anpassen */
.wh-product-filter a {
    text-decoration: underline;
    font-size: 14px;
    color: #005BAC;
}


/* Pagination Produktarchiv
----------------------------------------*/

.wh-product-pagination,
.pagination,
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-numbers:hover {
    background: #005BAC;
    color: #fff;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: #005BAC;
    color: #fff;
}

/* Pfeile im Kreis */
.page-numbers.prev,
.page-numbers.next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    background: #e5e5e5;
    position: relative;
    font-size: 0;
    color: transparent; /* Text "Vorherige/Nächste" ausblenden */
}

/* Pfeil links */
.page-numbers.prev::before {
    content: "‹";
    font-size: 22px;
    color: #333;
}

/* Pfeil rechts */
.page-numbers.next::before {
    content: "›";
    font-size: 22px;
    color: #333;
}

/* Hover: Pfeile weiß */
.page-numbers.prev:hover::before,
.page-numbers.next:hover::before {
    color: #fff;
}


/* SINGLE PRODUKT
----------------------------------------*/

/* Wrapper */
.wh-product-single {
    max-width: 1160px;
    margin: 0 auto 60px;
}

/* Zurück zur Übersicht ganz oben, zentriert */
.wh-product-back {
    text-align: center;
    margin: 20px 0 10px;
}

/* Zentrierter Produkttitel */
.wh-product-title-center {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

/* TOP-Bereich: Bild links, Inhalt rechts */
.wh-product-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Linke Spalte: Bild + Shop-Button darunter */
.wh-product-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Bild im Single-Kontext sauber begrenzen */
.wh-product-single .wh-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Shop-Button unter Bild */
.wh-product-shop-under-image {
    margin-top: 15px;
}

/* Rechte Spalte: Beschreibung + Merkmale */
.wh-product-main-right {
    flex: 1;
}

.wh-product-description {
    margin-bottom: 25px;
}

/* Merkmale-Liste */
.wh-product-features h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.wh-product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wh-product-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.wh-product-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #005BAC;
    font-size: 14px;
}

/* TECHNISCHE DATEN */
.wh-product-tech {
    margin-bottom: 40px;
}

.wh-product-tech h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.wh-product-tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.wh-product-tech-table th,
.wh-product-tech-table td {
    border-bottom: 1px solid #e1e1e1;
    padding: 8px 10px;
    text-align: left;
}

.wh-product-tech-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* Extra-Text (Anwendung/Ausführung) */
.wh-product-extra-text p {
    margin: 4px 0;
}

/* BOTTOM: Schaltschema + Downloads */
.wh-product-bottom {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.wh-product-schema,
.wh-product-downloads {
    flex: 1;
}

.wh-product-bottom h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Download-Liste */
.wh-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wh-download-link {
    display: block;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #f5f5f5;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.wh-download-link:hover {
    background: #005BAC;
    color: #fff;
}

/* Globale Buttons für Single (werden auch oben "Zurück" und Shop verwendet) */
.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

/* Primärer CTA: Shop */
.wh-btn-primary {
    background: #005BAC;
    color: #fff;
    border-color: #005BAC;
}

.wh-btn-primary:hover {
    background: #004a94;
    border-color: #004a94;
    color: #fff;
    transform: translateY(-1px);
}

/* Sekundärer Button: Zurück zur Übersicht */
.wh-btn-secondary {
    background: #ffffff;
    color: #333;
    border-color: #d0d0d0;
}

.wh-btn-secondary:hover {
    border-color: #005BAC;
    color: #005BAC;
    background: #f5f5f5;
    transform: translateY(-1px);
}


/* ===== Tiles Wrapper ===== */
.wh-tiles__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.wh-tiles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 1024px) {
  .wh-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wh-tiles__grid { grid-template-columns: 1fr; }
}

/*@media (max-width: 900px) {
  .inside-article .wh-tiles {padding-left: unset;
  padding-right: unset;
  margin-left: 40px;
  margin-right: 40px;}
  .inside-article .wh-contact__left {margin-bottom: 10px;}
}*/

@media (max-width: 900px) {
.wh-doc {margin-left: -30px;}
.wh-contact {margin-left: -30px;}
.wh-contact .wh-contact__left {margin-bottom: 10px;}
}
/* ===== Single Tile (Dachdecker-Style) ===== */
.wh-tile {
  border-radius: 20px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f5f8;
  aspect-ratio: 16 / 10;
  text-decoration: none;
  color: inherit;
}

/* Bild */
.wh-tile__img,
.wh-tile__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.wh-tile:hover .wh-tile__img img {
  transform: scale(1.06);
}

/* Label oben */
.wh-tile__label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #0169AE;
  color: #d3ff2f;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
  max-width: calc(100% - 36px);
}

.wh-tile__label::before {
  content: "";
  width: 18px;
  height: 12px;
  display: inline-block;
  background:
    linear-gradient(#fff,#fff) 0 2px / 18px 3px no-repeat,
    linear-gradient(#fff,#fff) 0 8px / 18px 3px no-repeat;
  transform: skewX(-28deg);
}

/* Pfeil unten rechts */
.wh-tile__cta {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 54px;
  height: 54px;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(10, 59, 111, .92);
  color: #fff;
  font-size: 20px;
  transition: transform .25s ease, background .25s ease;
}

.wh-tile:hover .wh-tile__cta {
  transform: translate(-6px, -6px);
  background: rgba(10, 59, 111, 1);
}


/* ===== Kontaktseite Layout via GenerateBlocks ===== */
.wh-contactpage {
  padding: 50px 0 70px;
}

.wh-contactpage__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.wh-contactpage__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .wh-contactpage__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Linke Seite */
.wh-contactpage__left h2 {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 900;
  color: #061f44;
}

.wh-contactpage__left p {
  margin: 0 0 18px;
  line-height: 1.55;
  color: #061f44;
  opacity: .9;
}

.wh-contactpage__left a {
  color: #0169AE;
  text-decoration: none;
  font-weight: 700;
}

.wh-contactpage__left a:hover {
  text-decoration: underline;
}

/* Rechte Seite (Form Card) */
.wh-contactpage__right {
  background: #f3f5f8;
  border: 1px solid #e6e9ef;
  padding: 26px;
}

/* ===== CF7 Grid-System (deine wf-* Klassen) ===== */
.wh-contactpage__right .wf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0px;
}

.wh-contactpage__right .wf-col-6 { width: calc(50% - 9px); }
.wh-contactpage__right .wf-col-12 { width: 100%; }

@media (max-width: 640px) {
  .wh-contactpage__right .wf-col-6 { width: 100%; }
  .wh-contactpage__right .wf-row { gap: 12px; }
}

.wh-contactpage__right label {
  display: block;
  margin: 0 0 8px;
  font-weight: 800;
  color: #061f44;
  font-size: 14px;
}

/* Inputs */
.wh-contactpage__right input[type="text"],
.wh-contactpage__right input[type="email"],
.wh-contactpage__right input[type="tel"],
.wh-contactpage__right select,
.wh-contactpage__right textarea {
  width: 100%;
  border: 1px solid #cfd6e4;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
  color: #061f44;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.wh-contactpage__right textarea {
  min-height: 150px;
  resize: vertical;
}

.wh-contactpage__right input:focus,
.wh-contactpage__right select:focus,
.wh-contactpage__right textarea:focus {
  border-color: #0169AE;
  box-shadow: 0 0 0 4px rgba(1, 105, 174, .15);
}

/* Select arrow */
.wh-contactpage__right select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #061f44 50%),
    linear-gradient(135deg, #061f44 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

/* Submit */
.wh-contactpage__right input[type="submit"],
.wh-contactpage__right button[type="submit"] {
  background: #0169AE;
  color: #fff;
  border: 0;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
  width: auto;
  transition: transform .15s ease, background .15s ease;
}

.wh-contactpage__right input[type="submit"]:hover,
.wh-contactpage__right button[type="submit"]:hover {
  background: #0a3b6f;
  transform: translateY(-1px);
}

/* CF7 messages */
.wh-contactpage__right .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  border-width: 1px !important;
  color: #061f44;
}

.wh-contactpage__right .wpcf7-not-valid-tip {
  color: #b30000;
  font-weight: 700;
  margin-top: 6px;
  display: block;
}

/* Labels linksbündig über dem Feld */
.wh-contactpage__right label {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 14px;
  color: #061f44;
  margin-bottom: -10px;
  letter-spacing: 0.01em;
}


.page-id-541 .wh-tiles__inner {padding: 0px 20px 60px;}

/* Styling für die Beitragsseite */

body.single-post {
  background: #f4f6f9;
}

body.single-post .site-main,
body.single-post main,
body.single-post #primary,
body.single-post .content-area {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
}

body.single-post article.post,
body.single-post article.type-post {
  background: #fff;
  border: 1px solid #e1e4eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

body.single-post .entry-header {
  padding: 34px 34px 18px;
}

body.single-post .entry-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0f172a;
}

body.single-post .entry-meta,
body.single-post .post-meta,
body.single-post .byline,
body.single-post .posted-on {
  font-size: 14px;
  color: #64748b;
}

body.single-post .entry-meta a,
body.single-post .post-meta a {
  color: #00539b;
  text-decoration: none;
  font-weight: 600;
}

body.single-post .entry-meta a:hover,
body.single-post .post-meta a:hover {
  color: #003f78;
  text-decoration: underline;
}

body.single-post .post-thumbnail,
body.single-post .wp-post-image,
body.single-post .entry-content > figure.wp-block-post-featured-image,
body.single-post .entry-content > figure.wp-block-image:first-child {
  margin: 0;
}

body.single-post .post-thumbnail img,
body.single-post img.wp-post-image,
body.single-post figure.wp-block-post-featured-image img,
body.single-post .entry-content > figure.wp-block-image:first-child img {
  width: 100%;
  height: auto;
  display: block;
}

body.single-post .entry-content {
  padding: 0 34px 30px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.75;
}

body.single-post .entry-content > p:first-child {
  margin-top: 18px;
  font-size: 18px;
  color: #334155;
}

body.single-post .entry-content a {
  color: #00539b;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

body.single-post .entry-content a:hover {
  color: #003f78;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  margin: 32px 0 10px;
  line-height: 1.25;
  color: #0f172a;
}

body.single-post .entry-content h2 { font-size: 26px; }
body.single-post .entry-content h3 { font-size: 21px; }
body.single-post .entry-content h4 { font-size: 18px; }

body.single-post .entry-content ul,
body.single-post .entry-content ol {
  padding-left: 1.2em;
  margin: 14px 0 20px;
}

body.single-post .entry-content li {
  margin: 6px 0;
}

body.single-post .entry-content blockquote {
  margin: 24px 0;
  padding: 18px 18px 18px 16px;
  border-left: 4px solid #00539b;
  background: #f7fbff;
  border-radius: 10px;
  color: #0f172a;
}

body.single-post .entry-content blockquote p {
  margin: 0;
}

body.single-post .entry-content hr {
  border: 0;
  height: 1px;
  background: #e1e4eb;
  margin: 28px 0;
}

body.single-post .entry-content figure {
  margin: 22px 0;
}

body.single-post .entry-content figcaption {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

body.single-post .entry-footer,
body.single-post .post-footer {
  padding: 18px 34px 28px;
  border-top: 1px solid #e1e4eb;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

body.single-post .cat-links a,
body.single-post .tags-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e1e4eb;
  border-radius: 999px;
  background: #fff;
  color: #00539b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

body.single-post .cat-links a:hover,
body.single-post .tags-links a:hover {
  border-color: #00539b;
  background: #f7fbff;
  color: #003f78;
}

body.single-post .post-navigation,
body.single-post nav.navigation.post-navigation {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 0 20px 30px;
}

body.single-post .post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

body.single-post .post-navigation .nav-previous a,
body.single-post .post-navigation .nav-next a {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e1e4eb;
  border-radius: 14px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

body.single-post .post-navigation .nav-previous a:hover,
body.single-post .post-navigation .nav-next a:hover {
  border-color: #00539b;
  box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

body.single-post .post-navigation .meta-nav {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.type-post .cat-links {display: none;}

@media (max-width: 720px) {
  body.single-post .entry-header { padding: 24px 18px 12px; }
  body.single-post .entry-content { padding: 0 18px 22px; }
  body.single-post .entry-footer,
  body.single-post .post-footer { padding: 14px 18px 22px; }
  body.single-post .post-navigation .nav-links { grid-template-columns: 1fr; }
}


/* WESSEL – kompakte Post-Navigation */
body.single-post nav.post-navigation,
body.single-post #nav-below {
  margin: 18px 0 0;
}

body.single-post nav.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Links allgemein */
body.single-post nav.post-navigation .nav-previous a,
body.single-post nav.post-navigation .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid #e1e4eb;
  background: #fff;
  color: #00539b;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s ease;
}

/* Hover */
body.single-post nav.post-navigation .nav-previous a:hover,
body.single-post nav.post-navigation .nav-next a:hover {
  background: #f7fbff;
  border-color: #00539b;
  color: #003f78;
}

/* Icons */
body.single-post nav.post-navigation .gp-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Titel kürzen */
body.single-post nav.post-navigation .nav-previous a span:last-child,
body.single-post nav.post-navigation .nav-next a span:last-child {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: untereinander, aber weiterhin klein */
@media (max-width: 640px) {
  body.single-post nav.post-navigation .nav-links {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Erzwinge EIN-ZEILEN-Layout */
body.single-post nav.post-navigation .nav-links {
  flex-wrap: nowrap;
}

/* Beide Seiten dürfen schrumpfen */
body.single-post nav.post-navigation .nav-previous,
body.single-post nav.post-navigation .nav-next {
  flex: 1 1 0;
  min-width: 0;
}

/* Link darf schrumpfen */
body.single-post nav.post-navigation .nav-previous a,
body.single-post nav.post-navigation .nav-next a {
  max-width: 100%;
}

/* Titel wirklich kürzen */
body.single-post nav.post-navigation .nav-previous a span:last-child,
body.single-post nav.post-navigation .nav-next a span:last-child {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ausrichtung */
body.single-post nav.post-navigation .nav-next {
  text-align: right;
}

.post-navigation .nav-next {
    margin-top: -37px;}


/*footer Links*/

.footerlinks a{text-decoration: none;
color: var(--base-3); }


.page-id-699 .wh-doc__inner { grid-template-columns: 191px 1fr;}


/*partner archiv */ 
.partner-continent {
  margin-bottom: 4rem;
}

.partner-continent_title {
  margin-bottom: 1.5rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}


/* Partner Archiv: Icons immer unten */
.partner-grid .partner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-grid .partner-card_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-grid .partner-card_meta {
  margin-top: auto;
  padding-top: 1.5rem;
}


@media (max-width: 767px) {
  .wpt-layout__list .wpt-list {grid-template-columns: unset;
  flex-wrap: wrap;}
  .wpt-layout__list .partner-card {min-height: 197px;}
  .wpt-layout__list .wpt-list-link {font-size: 14px;
                                    margin-top: 13px;}
  .wpt-layout__list .wpt-list-title {margin-left: unset;}
  .gb-element-bced170b .wessel-partner-teaser {padding: unset;}
  }



/* Tablet */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.partner-archive-hero {
  position: relative;
  background-image: url('/wp-content/themes/wessel/assets/img/partner-header.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 24px;
  color: #fff;
  overflow: hidden;
}

/* Overlay */
.partner-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 60, 0.85) 0%,
    rgba(0, 30, 60, 0.65) 45%,
    rgba(0, 30, 60, 0.25) 100%
  );
  z-index: 1;
}


.partner-archive-hero_inner {
  position: relative;
  z-index: 2; 
  max-width: 1200px;
  margin: 0 auto;
}

.partner-archive-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
      font-weight: 800;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}


/* Wrapper der Footer-Link-Liste */
.wh-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Einzelner Footer-Link */
.wh-footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding-left: 34px; /* 25px Pfeil + Abstand */
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;

  transition: color 0.2s ease;
}

/* PNG-Pfeil */
.wh-footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 25px;
  height: 25px;

  background-image: url("/wp-content/uploads/2025/11/Arrow_right_wessel.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.2s ease;
}

/* Hover */
.wh-footer-link:hover {
  color: var(--wessel-green, #b7e100);
}

.wh-footer-link:hover::before {
  transform: translate(4px, -50%);
}


/* Wrapper */
.footerlinks {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* Abstand zwischen den Links */
}

/* Einzelne Links */
.footerlinks a {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding-left: 34px; /* 25px Pfeil + Luft */
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;

  transition: color 0.2s ease;
}

/* PNG-Pfeil */
.footerlinks a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 25px;
  height: 25px;

  background-image: url("/wp-content/uploads/2025/11/Arrow_right_wessel.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: transform 0.2s ease;
}

/* Hover */
.footerlinks a:hover {
  color: var(--wessel-green, #b7e100);
}

.footerlinks a:hover::before {
  transform: translate(4px, -50%);
}

@media (max-width: 767px) {
.site-footer .gb-element-8308e9a9 {margin-left: 70px;}
.site-footer .gb-element-17dbabbf {flex-wrap: wrap;
height: auto;}
.site-footer .footerlinks{flex-wrap: wrap;
gap: 0.5rem;}
.wpt-map__region {margin-top: 5px;}
}






@media (min-width: 1200px) and (max-width: 1538px) {
    
  .site-header .header-image {width: 177px;}
  #primary-menu .menu-item a {font-size: 12px !important; }
 

}

@media (max-width: 1215px) {
  element-e27447bb p {margin-left:-13px;}
}



@media (max-width: 900px) {

  /* Tabellen-Header ausblenden */
  .wh-product-tech-table thead {
    display: none;
  }

  /* Tabelle als Block darstellen */
  .wh-product-tech-table,
  .wh-product-tech-table tbody,
  .wh-product-tech-table tr,
  .wh-product-tech-table td {
    display: block;
    width: 100%;
  }

  /* Jede Zeile als Karte */
  .wh-product-tech-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }

  /* Jede Zelle: Label links, Wert rechts */
  .wh-product-tech-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    gap: 1rem;
  }

  .wh-product-tech-table td:last-child {
    border-bottom: none;
  }

  /* Label per data-label einfügen */
  .wh-product-tech-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    flex-shrink: 0;
  }
}