/* Kasseler Hütte - Responsive CSS */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    background-color: #8C8A64;
    background-image: url("/img/sfondo.jpg");
    background-size: cover;
}

/* Navigation Menu */
.navbar {
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgb(140, 138, 100);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.nav-lang {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-lang a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid white;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.nav-lang a:hover,
.nav-lang a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 14px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: background-color 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;

}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.nav-logo:hover {
    background-color: transparent;
}

.navbar a:has(.nav-logo):hover {
    background-color: transparent;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-logo {
        height: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(140, 138, 100, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        margin: 5px 0;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero > div {
    position: relative;
    z-index: 3;
}

.hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

/* Sections */
.section {
    padding: 100px 5%;
    background-color: #F8F6F0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', Impact, sans-serif;
    letter-spacing: 2px;
    color: rgb(140, 138, 100);
}

h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight {
    color: rgb(140, 138, 100);
}

.explore-text p {
    color: #000;
    margin-bottom: 15px;
}

/* Destinations */
.destinations {
    background-color: rgb(140, 138, 100);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.destination-image {
    background: url('https://kasseler-huette.altea-service.com/img/sfondo-1.jpg') center/cover;
    min-height: 600px;
}

.destination-content {
    padding: 80px 60px;
    color: white;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 40px 5%;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Anton', Impact, sans-serif;
    letter-spacing: 1.5px;
}

.footer-section p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: rgb(140, 138, 100);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 32px;
        color: #000;
    }

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

    h2 {
        font-size: 28px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    color: black;
    font: 10pt verdana, arial;
    margin-bottom: 25%;
    font-size: 14px;
}

tr.subhead {
    background-color: #cccccc;
}

th {
    padding: 0 3%;
}

th.alt {
    background-color: black;
    color: white;
    padding: 3% 3% 2%;
}

td {
    padding: 0 3%;
}

tr.alt {
    background-color: #eeeeee;
}


th a {
    color: #8A3332;
    font: 8pt verdana, arial;
}

a {
    color: #8A3332;
    text-decoration: none;
}

a:hover {
    color: #6A1312;
    text-decoration: underline;
}

div.outer {
    width: 90%;
    margin: 15%;
}

table.viewmenu td {
    background-color: #006699;
    color: white;
    padding: 0 5%;
}

table.viewmenu td.end {
    padding: 0;
}

table.viewmenu a {
    color: white;
    font: 8pt verdana, arial;
}

table.viewmenu a:hover {
    color: white;
    font: 8pt verdana, arial;
}

a.tinylink {
    color: #8A3332;
    font: 8pt verdana, arial;
    text-decoration: underline;
}

a.link {
    color: #8A3332;
    text-decoration: underline;
}

div.buffer {
    padding-top: 7%;
    padding-bottom: 17%;
}

.small {
    font: 8pt verdana, arial;
}

table td {
    padding-right: 20%;
}

table td.nopad {
    padding-right: 5%;
}


/* Container principale */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

/* Header con navigazione icone */
.top-nav {
    position: relative;
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Horizontal navigation menu */
.top-nav nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.top-nav nav a {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(to bottom, #e8e6d4 0%, #d4d2c0 100%);
    color: #000;
    text-decoration: none;
    border: 1px solid #a8a68e;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
}

.top-nav nav a:hover {
    background: linear-gradient(to bottom, #f4f2e0 0%, #e0dec8 100%);
    color: #6A1312;
}

.top-nav a {
    display: inline-block;
    margin: 0 5px;
}

.top-nav img {
    max-width: 100%;
    height: auto;
}

/* Language switcher */
.top-nav div[style*="float:right"] {
    float: right !important;
    margin: 5px 10px;
}

@media screen and (max-width: 768px) {
    .top-nav div[style*="float:right"] {
        float: none !important;
        display: block;
        text-align: center;
        margin: 5px auto;
    }
}

/* Slider */
.slider-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 0 20px;
}

.slider-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header image */
.header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Layout principale */
.main-layout {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: transparent;
}

/* Sidebar sinistra */
.sidebar-left {
    display: none;
}

.sidebar-left img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text navigation */
.sidebar-left nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-left nav a {
    display: block;
    padding: 10px 15px;
    background: linear-gradient(to bottom, #e8e6d4 0%, #d4d2c0 100%);
    color: #000;
    text-decoration: none;
    border: 1px solid #a8a68e;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-left nav a:hover {
    background: linear-gradient(to bottom, #f4f2e0 0%, #e0dec8 100%);
    color: #6A1312;
    transform: translateX(3px);
}

.sidebar-left nav a.active {
    background: linear-gradient(to bottom, #c8c6b4 0%, #b4b2a0 100%);
    color: #4A0302;
}

/* Bordo sinistro */
.border-left {
    flex: 0 0 28px;
    background: url('../bilder/main-li.jpg') repeat-y;
    background-size: contain;
}

/* Contenuto principale */
.main-content {
    flex: 1 1 400px;
    padding: 20px;
    background-color: #fdecd0;
    background-size: cover;
    min-height: 600px;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-title img {
    max-width: 100%;
    height: auto;
}

.content-text {
    /*    color: #8A3332;*/
    margin-top: 15px;
}

.content-text strong {
    font-weight: bold;
}

/* Sidebar destra */
.sidebar-right {
    flex: 0 0 291px;
    min-height: 600px;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar-left {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .sidebar-left a,
    .sidebar-left img[src*="oben.gif"],
    .sidebar-left img[src*="zwischen.gif"] {
        flex: 0 0 auto;
    }

    .border-left {
        display: none;
    }

    .main-content {
        flex: 1 1 auto;
        width: 100%;
        order: 2;
    }

    .sidebar-right {
        flex: 1 1 auto;
        width: 100%;
        min-height: 300px;
        order: 3;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .top-nav {
        padding: 8px;
    }

    .top-nav a {
        margin: 0 3px;
    }

    .slider-container {
        padding: 0 10px;
        margin: 10px auto;
    }

    .sidebar-left {
        padding: 5px;
    }

    .sidebar-left a {
        flex: 0 0 auto;
        max-width: 48%;
    }

    .sidebar-left img {
        width: 100%;
    }

    .main-content {
        padding: 15px;
        font-size: 13px;
    }

    .content-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .sidebar-right {
        min-height: 200px;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .top-nav a {
        margin: 0 2px;
    }

    .top-nav img {
        width: auto;
        max-height: 12px;
    }

    .main-content {
        padding: 10px;
    }

    .content-text {
        font-size: 12px;
    }

    .sidebar-left a {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* Utilities */
.hide-on-mobile {
    display: block;
}

@media screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}

/* Immagini responsive */
img {
    max-width: 100%;
    height: auto;
}

.alteaForm {
    background: #d4c6ac;

}

.af-container-fluid {
    padding-top: 20px;
    margin-top: 5px;
}

.alteaForm *:not(i) {
    font-size: 13px;
}

.af-row .af-col {
    flex-grow: 1;
    flex-basis: 0;
    padding: 0 0.6rem;
}

.af-form-group-row {
    margin-bottom: 5px;
}

.af-form-control, .af-fake-input {
    background-color: #ffffff;
}

.af-form-control {
    padding: .075rem .25rem;
}

.af-fake-input .af-fake-label {
    left: 12px;
}

.newbg-l {
    background: url(/bilder/main-li-extra.jpg) repeat-x;
    height: 340px;
    width: 28px;
    display: block;
}

.newbg-r {
    background: url(/bilder/main-re-extra.jpg) repeat-x;
    height: 340px;
    width: 291px;
    display: block;
}

@media screen and (max-width: 810px) {
    .newbg-l {
        height: 600px;
    }

    .newbg-r {
        height: 600px;
    }
}


#screenTabs {
    float: left;
    width: 100%;
    min-height: 1px;
    height: 1px;
    background: #ffffff url("../img/icons/tabs/bg.gif") repeat-x bottom;
}

td > #screenTabs {
    height: auto;
}

#tabs {
    float: left;
    width: 620px;
    line-height: normal;
    white-space: nowrap;
    background: #ffffff url("../img/icons/tabs/bg.gif") repeat-x bottom;
}

#tabs ul {
    margin: 0;
    padding: 0px 10px 10px 10px;
    list-style: none;
}

#tabs a {
    display: block;
    background: url("../img/icons/tabs/right.gif") no-repeat right top;
    padding: 5px 9px 4px 4px;
    vertical-align: baseline;
    text-decoration: none;
    color: #000000;
    width: .1em;
}

#tabs > ul a {
    width: auto;
}

#tabs a:hover,
#tabs a:visited,
#tabs a:active {
    text-decoration: none;
    color: #000000;
}

#tabs li {
    float: left;
    background: url("../img/icons/tabs/left.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 2px;
    border-bottom: solid 1px #776655;
}

#tabs li#current {
    border-width: 0;
}

#tabs #current {
    background-image: url("../img/icons/tabs/left_on.gif");
    margin-left: -3px;
}

#tabs #current a {
    background-image: url("../img/icons/tabs/right_on.gif");
    padding: 3px 9px 7px 6px;
    vertical-align: baseline;
}

#tabs .last a {
    background-image: url("../img/icons/tabs/right_last.gif");
}

#tabs .first {
    background-image: url("../img/icons/tabs/left_first.gif");
}

#tabs .first#current {
    margin-left: 0;
}

#tabs li:hover {
    background-position: 0% -150px;
    cursor: pointer;
}

#tabs li:hover a {
    background-position: 100% -150px;
}

#tabs li.first:hover {
    background-position: top left;
}

#tabs a:hover {
    background-position: 100% -150px;
}

/* ============================================================
   CSS CONSOLIDATO DALLE PAGINE INTERNE
   Condiviso da: dt-willkommen.htm, dt-anfrage.htm, dt-huette.htm,
   dt-angebot.htm, dt-lage.htm, dt-kontakt.htm, dt-preise.htm,
   dt-links.htm, dt-sommer.htm, dt-winter.htm, it-willkommen.htm,
   it-huette.htm, it-angebot.htm, it-anfrage.htm, it-kontakt.htm,
   it-links.htm, it-lage.htm, it-sommer.htm, it-preise.htm,
   it-winter.htm, test.html
   ============================================================ */

/* Grid per immagini multiple - usato in test.html */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.images img:first-child {
    grid-column: span 2;
    height: 300px;
}

/* Services Section - usato in test.html */
.services {
    background-color: rgb(140, 138, 100);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-box {
    padding: 60px 40px;
    text-align: center;
    background-color: rgba(140, 138, 100, 0.7);
    border-right: 3px solid rgb(140, 138, 100);
}

.service-box:last-child {
    border-right: none;
}

.service-box svg {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Guides Section - usato in test.html */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.guide-card {
    text-align: center;
}

.guide-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.guide-card h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-card p {
    color: #8B7355;
    font-size: 14px;
}

/* Destination cards - usato in test.html */
.destination-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.destination-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Media queries aggiuntive per test.html */
@media (max-width: 968px) {
    .grid, .services, .destinations {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .guides-grid, .images {
        grid-template-columns: 1fr;
    }
}

.dark {
      background-color: rgb(140, 138, 100);
}

.dark p{
   color:#fff;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6{
    color:#fff !important;
}

.dark .highlight {
    color: #fff;
}