*{
    margin: 0;
    padding: 0;
}
:root{
    --main: #2D5A27;
    --mainTransparent: rgba(46,117,182, .5);
    --mainlight: #deebf7;
    --maindark: #1A2E19;
    --secondary: #f2bc52;
    --secondaryRGB: 242, 188, 82;
    --sand: #fff8e5;
    --yellow: #f69800;
    --orange: #ea3814;
    --olive: #378773;
    --textcolor: #2C332B;
    --grey: #969696;;
    --light: #F3F6F3;
    --dark: #272727;
    --darkSemi:  rgba(50,50,50,.8);
    --boxshadow: 0 0 10px rgba(0,0,0,.2);
    --textshadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);
    --transition: all .4s;
    --border-radius: 8px;
}
.relative{
    position: relative!important;
}
.textcolor{
    color: var(--textcolor);
}
.maincolor{
    color: var(--main);
}
.bg-white{
    background-color: #fff;
}
.bg-light{
    background-color: var(--light);
}
.bg-dark{
    background-color: var(--dark);
    color: #fff;
}
.bg-sand{
    background-color: var(--sand);
    color: #fff;
}

.bg-dark > p,
.bg-dark > li,
.bg-dark > li,
.darkbox > p,
.darkbox > li,
.darkbox > li, 
.darkbox > h2 {
    color: #fff;
}
.bg-main > p,
.bg-main > li,
.bg-main > li{
    color: var(--textcolor);
}
html{
    font-size: 100%;
	scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body{
    font-size: 16px; font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--textcolor);
    background-color: white;
}
h1 {font-weight:500; font-size: 36px; font-size: 2.25rem; line-height: 1.1; padding-bottom: 2rem;}
h2 {font-weight:400; font-size: 28px; font-size: 1.75rem; line-height: 1.1; padding: 1rem 0;}
h3 {font-weight:600; font-size: 24px; font-size: 1.5rem; line-height: 1.1; margin: 0 0 12px 0  }
h4 {font-weight:600; font-size: 24px; font-size: 1.15rem; line-height: 1.1; padding: .75rem 0}
p{ font-size: 16px; font-size: 1rem; 
    /* line-height: 1.65;   */
     line-height: 1.8;
    color: var(--textcolor);}

.post h3{
    padding: 40px 0 24px;
}
h1 + h2{
    margin-top: -1.5rem;
    padding-bottom: 0;
    color: var(--main);
}
a.mailto,
a{ 
  text-decoration: none;
  color: var(--main);
  text-decoration: underline;
}
a:hover{
    color: var(--main);
    text-decoration: underline;
  
}
#navtrigger{
    position: absolute;
    right: 32px;
    top: 32px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    z-index: 9999;
    display: none;
}
#navtrigger div{
    position: absolute;
    width: 36px;
    height: 3px;
    z-index: 9999;
    transition: 0.4s;
    background-color: var(--main);
    transition: var(--transition);
}
.transparent #navtrigger div{
    background-color: #fff;
}
.scrolled #navtrigger div{
    background-color: var(--main);
}
#navtrigger div:nth-child(1){
    top: 0;
    transition: all .2s;
}
#navtrigger div:nth-child(2), 
#navtrigger div:nth-child(3){
    top: 12px;
    transition: all .15s;
}
#navtrigger div:nth-child(4){
    top: 24px;
    transition: all .2s;
}
#navtrigger.close div:nth-child(2){
    -webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
transition: all .25s;  
}
#navtrigger.close div:nth-child(3){
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
transition: all .25s;
}
#navtrigger.close div:nth-child(4),
#navtrigger.close div:nth-child(1){
    width: 0;
    opacity: 0;
    right: 50%;
    top: 8px;
 }
#navtrigger.close div{
    background-color: #fff;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--dark)!important;
}
.logo a {
    text-decoration: none;
     color: var(--dark)!important;
}
.logo span { color: var(--main)!important; }

nav ul { display: flex; list-style: none; margin: 0}
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: var(--dark); font-weight: 400; }

a#totop{
    display: block;
    background-color: var(--darkSemi);
    border: 1px solid #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    bottom: 24px;
    right: 24px;
    transition: background-color .3s, 
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#totop::after {
    width: 0; 
    height: 0; 
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    content: ' ';
    position:relative;
    top: -10px;
}
#totop:hover {
    cursor: pointer;
    background-color: var(--main);
}
#totop.show {
    opacity: 1;
    visibility: visible;
}



/* Buttons */
.btn-main {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-main:hover { opacity: 0.9; transform: translateY(-2px); }

/* Features */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 80px 10%;
}

.card {
    /* padding: 30px; */
    /* border: 1px solid #e2e8f0; */
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover, .card.mod:hover { border-color: var(--primary); }


.card.mod{
        /* background: var(--light)!important; */
     border: 1px solid var(--light)!important;;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}


/* Booking Placeholder */
.booking-placeholder {
    padding: 80px 10%;
    text-align: center;
    background: var(--light);
}
.placeholder-box {
    margin-top: 40px;
    padding: 60px;
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    background: white;
}

.placeholder-box button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #cbd5e1;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
}

footer {
    padding: 40px;
    font-size: 0.9rem;
    color: #fff;
    background-color: #2D5A27;
    background-color: #1A1C1A;
}
footer a,
footer p{
    color: #fff;
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../font/inter-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../font/inter-v20-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../font/inter-v20-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../font/inter-v20-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../font/inter-v20-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../font/inter-v20-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}



.iconbox{
width: 100%;
height: 0;
padding-bottom: 100%;
background: url(../img/wifi.svg) 50% 20% no-repeat;
background-size: 48px auto;

position: relative;
transition: var(--transition);
}
.iconbox h3{
    position: absolute;
    top: 44%;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    width: 100%;
    text-align: center;  
}
.iconbox h3 + p{
    position: absolute;
    top: 54%;  
    padding: 0 16px;
    color: #fff;
    text-align: center;
}

.iconbox.wifi{
background-image:  url(../img/wifi.svg);

}
.iconbox.lock{
background-image:  url(../img/lock.svg);

}
.iconbox.videoCamera{
background-image:  url(../img/videoCamera.svg);

}
.iconbox.coffee{
background-image:  url(../img/coffee.svg);

}



.iconbox h3 {
  position: absolute;
  top: 44%;
  color: var(--textcolor);
  font-size: 20px;
  font-weight: 400;
  width: 100%;
  text-align: center;
}

/* Erweitere deine bestehende .iconbox */
.iconbox {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: url(../img/wifi.svg) 50% 20% no-repeat;
  background-size: 48px auto;
  position: relative;
  
  /* Übergang für Position und Farbe */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  
  /* Kleiner Schatten für bessere Haptik */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 15px;
}

/* Der Hover-Zustand */
.iconbox:hover {
  /* Box hebt sich leicht an */
  transform: translateY(-10px);
  /* Schatten wird größer/weicher */
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  /* Icon "springt" ein Stück nach oben */
  background-position: 50% 15%; 
  /* Hintergrundfarbe leicht ändern (optional) */
  background-color: #f8f9fa;
}

/* Anpassung der Überschrift beim Hover */
.iconbox:hover h3 {
  /* Optional: Text wird leicht skaliert oder die Farbe ändert sich */
  color: var(--primary-color); /* Falls du eine Primary-Color definiert hast */
  transform: scale(1.02);
}



.icon{
    padding-left: 48px;
    min-height: 31px;
    background: url(../img/wifi.svg) left center no-repeat;
    background-size: 24px auto;
    margin: 0 0 0 8px;
}
.icon.location{
    background-image: url(../img/location.svg);
}
.icon.phone{
    background-image: url(../img/phone.svg);
}
.mainimage {
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  position: relative;
  background-position: 50% 50%;
  background-size: cover;
}



/* ── Raumkarte ── */
.room {
    margin-bottom: 24px;
}
 
.room-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}
 
/* Bildbereich */
.room-card__img-wrap {
    position: relative;
    overflow: hidden;
      height: 220px; 
}
.room-card__img-wrap img {
    width: 100%;
    /* height: auto; */
  
    /* object-fit: cover;  */
    display: block;
    transition: transform 0.35s ease;
}
.room-card:hover .room-card__img-wrap img {
    transform: scale(1.04);
}
 
/* Verfügbarkeits-Badge */
.room-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    pointer-events: none;
}
.room-badge--available {
    background: rgba(61, 107, 79, 0.92); /* --main mit Transparenz */
    color: #fff;
}
.room-badge--occupied {
    background: rgba(80, 80, 80, 0.80);
    color: #fff;
}
 
/* Card Body */
.card-body {
    padding: 18px 20px 20px;
}
.card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}
.room-meta {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 10px;
}
 
/* Preis */
.room-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--main, #3d6b4f);
    margin-bottom: 14px;
}
.room-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
}
 
/* CTA-Link */
.room-cta {
    display: inline-block;
    background: var(--main, #3d6b4f);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s;
}
.room-cta:hover {
    background: var(--maindark, #2d5040);
    color: #fff;
    text-decoration: none;
}



/* ── Hero ── */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 520px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
 
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.45) 60%,
        rgba(0,0,0,0.30) 100%
    );
    z-index: 1;
}
 
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 60px 0;
}
 
/* Badges */
.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
 
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 5px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
 
/* Headline */
.hero-content h1 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
 
/* Subtext */
.hero-content p {
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}
 
/* Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
 
.btn-primary-hero {
    display: inline-block;
    background: var(--main, #3d6b4f);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary-hero:hover {
    background: var(--maindark, #2d5040);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
 
.btn-secondary-hero {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.15s;
}
.btn-secondary-hero:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
 
/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 12px 22px;
        font-size: 0.95rem;
    }
}

