/* Global */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* JoomGallery */
.jg-image-caption a { font-size: 14px;}

/* Startseite */

.starttext {
  background: #4a4a4a !important;
  color: #ffffff !important;
  padding: 50px 80px !important;
  text-align: left;
  margin-top: 0;
}

.starttext h1,
.starttext h2,
.starttext h3, 
.starttext strong {
  color: #ffffff !important;
}

.starttext p {
  color: #ffffff !important;
  font-size: 18px;
  line-height: 1.7;
  max-width: 980px;
}

/* =========================================================
   naturabavariae – Hero Startseite
   ========================================================= */

.nb-hero {
    position: relative;
    width: min(1130px, calc(100% - 40px));
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #0e1113;
}

.nb-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.nb-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.65) 32%,
            rgba(0, 0, 0, 0.18) 62%,
            rgba(0, 0, 0, 0) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(53, 57, 59, 0) 74%,
            rgba(53, 57, 59, 0.28) 85%,
            rgba(53, 57, 59, 0.70) 96%,
            rgba(53, 57, 59, 1) 100%
        );
}

.nb-hero-content {
    position: absolute;
    z-index: 2;
    top: 36%;
    left: 52%;
    width: min(600px, calc(100% - 104px));
    color: #f2eee6;
}

.nb-hero-content h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.nb-gold-line {
    width: 50px;
    height: 3px;
    margin: 0 0 18px;
    background: #b18a45;
}

.nb-hero-content p {
    max-width: 600px;
    margin: 0 0 9px;
    color: #eeeae3;
    font-size: 13px;
    line-height: 1.48;
}

.nb-hero-content strong {
    color: #ffffff;
}

.nb-signature {
    margin-top: 14px !important;
    color: #c69a4c !important;
    font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 1000px) {
    .nb-hero {
        width: calc(100% - 32px);
    }

    .nb-hero-content {
        top: 30%;
        left: 38px;
        width: min(560px, calc(100% - 76px));
    }

    .nb-hero-content h1 {
        font-size: 35px;
    }

    .nb-hero-content p {
        font-size: 12px;
    }
}

/* Smartphone */
@media (max-width: 700px) {
    .nb-hero {
        width: 100%;
        aspect-ratio: auto;
        overflow: visible;
    }

    .nb-hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .nb-hero-overlay {
        display: none;
    }

    .nb-hero-content {
        position: static;
        width: auto;
        padding: 30px 24px 34px;
        background: #15191b;
    }

    .nb-hero-content h1 {
        font-size: 30px;
    }

    .nb-hero-content p {
        font-size: 14px;
    }
}

/* =========================================================
   naturabavariae – Hero Startseite
   ========================================================= */

/* Modulposition ohne zusätzliche Innenabstände */
.home .wrapper-1,
.home .wrapper-1 .container-full-width,
.home .wrapper-1 .mod-custom {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Gesamter Hero */
.nb-hero {
    position: relative;
    width: calc(100% - 40px);
    aspect-ratio: 16 / 6;
    margin: 0 auto;
    overflow: hidden;
    background: #15191b;
}

/* Eibsee-Bild */
.nb-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Abdunklung für gute Lesbarkeit */
.nb-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 10, 0.90) 0%,
            rgba(5, 8, 10, 0.68) 34%,
            rgba(5, 8, 10, 0.20) 66%,
            rgba(5, 8, 10, 0.02) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(30, 34, 36, 0) 72%,
            rgba(30, 34, 36, 0.24) 84%,
            rgba(30, 34, 36, 0.72) 96%,
            rgba(30, 34, 36, 1) 100%
        );
}

/* Textblock */
.nb-hero-content {
    position: absolute;
    z-index: 2;
    top: 34%;
    left: 52px;
    width: min(610px, calc(100% - 104px));
    color: #f3efe8;
}

.nb-hero-content h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.nb-gold-line {
    width: 52px;
    height: 3px;
    margin: 0 0 18px;
    background: #c39a52;
}

.nb-hero-content p {
    max-width: 600px;
    margin: 0 0 10px;
    color: #f1ede6;
    font-size: 13px;
    line-height: 1.48;
}

.nb-hero-content strong {
    color: #ffffff;
}

.nb-signature {
    margin-top: 15px !important;
    color: #d0a252 !important;
    font-style: italic;
    font-weight: 700;
}

/* Tablet */
@media (max-width: 1000px) {
    .nb-hero {
        width: calc(100% - 30px);
    }

    .nb-hero-content {
        top: 29%;
        left: 38px;
        width: min(560px, calc(100% - 76px));
    }

    .nb-hero-content h1 {
        font-size: 34px;
    }

    .nb-hero-content p {
        font-size: 12px;
    }
}

/* Smartphone */
@media (max-width: 700px) {
    .nb-hero {
        width: 100%;
        aspect-ratio: auto;
        overflow: visible;
    }

    .nb-hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .nb-hero-overlay {
        display: none;
    }

    .nb-hero-content {
        position: static;
        width: auto;
        padding: 30px 24px 34px;
        background: #15191b;
    }

    .nb-hero-content h1 {
        font-size: 29px;
    }

    .nb-hero-content p {
        font-size: 14px;
    }
}

/* =========================================================
   naturabavariae – Naturwelten Startseite
   ========================================================= */

.nb-naturwelten {
    width: calc(100% - 40px);
  max-width: none;
    margin: 0 auto;
    padding: 18px 0 18px;
    color: #f2eee6;
}

.nb-naturwelten-header {
    margin-bottom: 0px;
  text-align: center;
}

/*
.nb-section-label {
    margin: 0 0 5px;
    color: #b89252;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
*/

.nb-naturwelten-header h2 {
    margin: 0;
    color: #b18a45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
}

.nb-world-grid {
    display: grid;
  width: 90%;
  margin: -18px auto 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.nb-world-card {
    display: block;
    overflow: hidden;
    background: #282d30;
    color: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nb-world-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #171a1c;
}

.nb-world-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.45s ease;
}

.nb-world-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 46%,
        rgba(0, 0, 0, 0.38) 100%
    );
}

.nb-world-caption {
    min-height: 91px;
    padding: 16px 17px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nb-world-caption h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.nb-world-link {
    color: #c39a56;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nb-world-card:hover,
.nb-world-card:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.32);
}

.nb-world-card:hover .nb-world-image img,
.nb-world-card:focus .nb-world-image img {
    transform: scale(1.045);
}

@media (max-width: 1050px) {
    .nb-world-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .nb-naturwelten {
        width: calc(100% - 32px);
        padding: 44px 0 50px;
    }

    .nb-world-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .nb-naturwelten-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 460px) {
    .nb-world-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   naturabavariae – Naturwelten Startseite
   ========================================================= */

.nb-naturwelten {
    width: calc(100% - 40px);
  max-width: none;
    margin: 70px auto 80px;
}

.nb-naturwelten-header {
    margin-bottom: 28px;
}

.nb-section-label {
    margin: 0 0 6px;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nb-naturwelten-header h2 {
    margin: 0;
    color: #2f3335;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.nb-world-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.nb-world-card {
    display: block;
    overflow: hidden;
    background: #ffffff;
    color: #2f3335;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nb-world-card:hover,
.nb-world-card:focus {
    color: #2f3335;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.nb-world-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #d9d9d9;
}

.nb-world-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nb-world-card:hover .nb-world-image img,
.nb-world-card:focus .nb-world-image img {
    transform: scale(1.045);
}

.nb-world-caption {
    padding: 18px 18px 20px;
}

.nb-world-caption h3 {
    margin: 0 0 8px;
    color: #2f3335;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.nb-world-link {
    color: #9a7438;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
    .nb-world-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nb-naturwelten {
        width: calc(100% - 32px);
        margin-top: 48px;
    }

    .nb-naturwelten-header h2 {
        font-size: 32px;
    }

    .nb-world-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .nb-world-grid {
        grid-template-columns: 1fr;
    }
}

/* Hintergrund aller Naturwelten-Karten */
.nb-world-card{
    display:block;
    background:#f3f3f3;
    border-radius:0;
    overflow:hidden;
}

/* =====================================================
   NATURWELTEN – endgültige Gestaltung
   ===================================================== */

.home .nb-naturwelten {
    width: calc(100% - 40px) !important;
    margin: 0 auto !important;
    padding: 8px 32px 18px !important;
    background: #35393b !important;
}

.nb-naturwelten {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 48px 32px 56px !important;
    background: #35393b !important;
}

/* Überschrift – beide möglichen HTML-Klassen erfassen */
.nb-section-heading,
.nb-naturwelten-header {
    margin: 0 0 30px !important;
    text-align: center !important;
}

.nb-section-heading h2,
.nb-naturwelten-header h2 {
    margin: 0 !important;
    color: #b18a45 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

/* Alle zehn Kacheln identisch */
.nb-world-card,
.nb-world-grid > .nb-world-card {
    display: block !important;
    overflow: hidden !important;
    background: #e7e7e4 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
    color: #2f3335 !important;
    text-decoration: none !important;
}

/* Textbereich jeder Kachel */
.nb-world-caption {
    min-height: 105px !important;
    padding: 16px 18px 18px !important;
    background: #e7e7e4 !important;
}

.nb-world-caption h3 {
    color: #2f3335 !important;
}

.nb-world-caption span {
    color: #6e6251 !important;
}

/* Smartphone */
@media (max-width: 760px) {
    .nb-naturwelten {
        padding: 36px 16px 42px !important;
    }

    .nb-section-heading h2,
    .nb-naturwelten-header h2 {
        font-size: 30px !important;
    }
}

/* ==========================================================
   03 – BLOG STARTSEITE
   ========================================================== */

.nb-blog {
    width: 100%;
    padding: 70px 32px 80px;
    background: #ffffff;
}

.nb-blog-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.nb-blog-header {
    margin-bottom: 48px;
}

.nb-blog-header h2 {
    margin: 0 0 16px;
    font-size: 38px;
    font-weight: 700;
    color: #2f3335;
    text-transform: none;
    letter-spacing: 1px;
}

.nb-blog-header p {
    max-width: 760px;
    color: #666;
    line-height: 1.7;
    font-size: 17px;
    margin-bottom: 16px;
}

.nb-button {
    display: inline-block;
    padding: 12px 26px;
    background: #b78956;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: .3s;
}

.nb-button:hover {
    background: #966d41;
    text-decoration: none;
}

.nb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}

.nb-blog-card {
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
    transition: .35s;
}

.nb-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.nb-blog-image-link {
    display:block;
    overflow:hidden;
}

.nb-blog-image-link img {
    width:100%;
    height:190px;
    object-fit:cover;
    display:block;
    transition:transform .4s ease;
}

.nb-blog-card:hover img {
    transform:scale(1.05);
}

.nb-blog-card-body {
    padding:22px;
}

.nb-blog-card-body h3 {
    margin:0 0 10px;
    font-size:24px;
    color:#2f3335;
}

.nb-blog-card-body p {
    color:#666;
    line-height:1.6;
    margin-bottom:18px;
}

.nb-read-more {
    color:#b78956;
    font-weight:600;
    text-decoration:none;
}

.nb-read-more:hover {
    text-decoration:underline;
}

@media (max-width:1100px){

    .nb-blog-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:760px){

    .nb-blog{
        padding:50px 18px;
    }

    .nb-blog-header h2{
        font-size:34px;
    }

    .nb-blog-grid{
        grid-template-columns:1fr;
    }

}

/* BLOG – Layoutkorrektur für das T3-Template */
.home .nb-blog .nb-blog-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
}

.home .nb-blog .nb-blog-intro {
    flex: 0 0 28% !important;
    min-width: 0 !important;
}

.home .nb-blog .nb-blog-card {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* Tablet */
@media (max-width: 1000px) {
    .home .nb-blog .nb-blog-layout {
        flex-wrap: wrap !important;
    }

    .home .nb-blog .nb-blog-intro,
    .home .nb-blog .nb-blog-card {
        flex: 1 1 calc(50% - 18px) !important;
    }
}

/* Smartphone */
@media (max-width: 700px) {
    .home .nb-blog .nb-blog-layout {
        display: block !important;
    }

    .home .nb-blog .nb-blog-intro,
    .home .nb-blog .nb-blog-card {
        width: 100% !important;
        margin-bottom: 18px !important;
    }
}

/* Hero-Textblock tiefer positionieren */
.home .nb-hero .nb-hero-content {
    top: 42% !important;
}

.nb-hero .nb-signature {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.home .nb-naturwelten {
    padding-top: 25px !important;
}

.home .nb-section-heading > span {
    display: none !important;
}

.home #nb-blog-title {
    text-transform: none !important;
}