/* Replacing all colors with exact colors from original Next.js design */
/* Root Variables - EXACT colors from original globals.css */
:root {
  /* Exact color conversions from oklch to hex */
  --color-background: #ffffff; /* oklch(1 0 0) */
  --color-foreground: #252525; /* oklch(0.145 0 0) */
  --color-primary: #343434; /* oklch(0.205 0 0) */
  --color-primary-foreground: #fcfcfc; /* oklch(0.985 0 0) */
  --color-secondary: #f7f7f7; /* oklch(0.97 0 0) */
  --color-secondary-foreground: #343434; /* oklch(0.205 0 0) */
  --color-muted: #f7f7f7; /* oklch(0.97 0 0) */
  --color-muted-foreground: #8e8e8e; /* oklch(0.556 0 0) */
  --color-border: #ebebeb; /* oklch(0.922 0 0) */
  --color-accent: #f7f7f7; /* oklch(0.97 0 0) */
  --color-accent-foreground: #343434; /* oklch(0.205 0 0) */

  /* Fonts - exact from original */
  --font-heading: "Crimson Text", serif;
  --font-body: "Inter", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);

  /* Radius - exact from original */
  --radius: 0.625rem; /* 10px */
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-foreground);
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

/* Header - matching original sticky header with backdrop blur */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(235, 235, 235, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-style: normal;
}

.nav-link {
  color: rgba(37, 37, 37, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-foreground);
}

/* Hero Section - matching original gradient */
.hero {
  padding: 5rem 0 8rem;
  background: linear-gradient(to bottom, rgba(247, 247, 247, 0.3), var(--color-background));
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Buttons - matching original primary button style */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-foreground);
  border-color: var(--color-foreground);
  color: var(--color-primary-foreground);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-border);
  color: var(--color-foreground);
}

/* Properties Section */
.properties-section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 3rem;
}

/* Property Cards - matching original card design */
.property-card {
  background-color: var(--color-background);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  height: 100%;
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.property-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image {
  transform: scale(1.05);
}

.property-content {
  padding: 1.5rem;
}

.property-badge {
  display: inline-block;
  background-color: rgba(52, 52, 52, 0.1);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.property-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.property-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.property-price {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.price-period {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--color-background);
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-muted-foreground);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-form .form-label,
.booking-form .form-label {
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.contact-form .form-control,
.contact-form .form-select,
.booking-form .form-control,
.booking-form .form-select {
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.75rem;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  background-color: var(--color-background);
  color: var(--color-foreground);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--color-foreground);
  box-shadow: 0 0 0 3px rgba(52, 52, 52, 0.1);
  outline: none;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary-foreground);
}

.footer-text {
  color: rgba(252, 252, 252, 0.8);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(252, 252, 252, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-primary-foreground);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(252, 252, 252, 0.2);
  text-align: center;
  color: rgba(252, 252, 252, 0.6);
  font-size: 0.875rem;
}

/* Property Details Page */
.property-details-section {
  padding: 3rem 0;
}

.back-link {
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-foreground);
}

.property-gallery img {
  width: 100%;
  object-fit: cover;
}

.property-info {
  background-color: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.property-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.property-detail-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

.property-features-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item svg {
  color: var(--color-muted-foreground);
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.feature-item p {
  margin: 0;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
}

.amenities {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.amenities-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.amenities-list {
  list-style: none;
  padding: 0;
}

.amenities-list li {
  padding: 0.5rem 0;
  color: var(--color-muted-foreground);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
}

.amenities-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-foreground);
  font-weight: bold;
}

.surroudings {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}


.read-more-link {
    color: #000 !important;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    margin-left: 6px;
}

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

.seo-img-left,
.seo-img-right {
    max-width: 40%;
    border-radius: 8px;
    margin: 10px 20px;
}

.seo-img-left {
    float: left;
}

.seo-img-right {
    float: right;
}

.clearfix {
    clear: both;
}

/* Für Mobile: Bild zentrieren statt float */
@media (max-width: 768px) {
    .seo-img-left,
    .seo-img-right {
        float: none;
        display: block;
        max-width: 100%;
        margin: 20px auto;
    }
}


/* Booking Card */
.booking-card {
  background-color: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  top: 2rem;
}

.booking-price {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.booking-price .price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-foreground);
  display: block;
}

.booking-price .price-period {
  font-size: 1rem;
  color: var(--color-muted-foreground);
}

/* Calendar */
.calendar-container {
  margin-bottom: 2rem;
}

.calendar-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

#calendar {
  background-color: var(--color-background);
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header button {
  background: none;
  border: none;
  color: var(--color-foreground);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
  border-radius: 0.25rem;
}

.calendar-header button:hover {
  color: var(--color-muted-foreground);
  background-color: var(--color-secondary);
}

.calendar-month {
  font-weight: 600;
  color: var(--color-foreground);
  font-size: 1rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.calendar-weekday {
  text-align: center;
  font-weight: 600;
  color: var(--color-muted-foreground);
  font-size: 0.75rem;
  padding: 0.5rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--color-background);
  color: var(--color-foreground);
  border: 1px solid transparent;
}

.calendar-day:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-border);
}

.calendar-day.empty {
  background-color: transparent;
  cursor: default;
  border: none;
}

.calendar-day.empty:hover {
  background-color: transparent;
}

.calendar-day.booked {
  background-color: #dc3545;
  color: white;
  cursor: not-allowed;
  border-color: #dc3545;
}

.calendar-day.booked:hover {
  background-color: #c82333;
  border-color: #c82333;
}

.calendar-day.today {
  border: 2px solid var(--color-foreground);
  font-weight: 600;
}

.calendar-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-color.available {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
}

.legend-color.booked {
  background-color: #e0e0e0;
}

/* Price Breakdown */
.price-breakdown {
  background-color: var(--color-secondary);
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--color-foreground);
}

.price-row.total {
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Alert */
.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    padding: 3rem 0 5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .property-detail-title {
    font-size: 2rem;
  }

  .booking-card {
    position: static !important;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 3rem 0;
  }

  .properties-section,
  .about-section,
  .contact-section {
    padding: 3rem 0;
  }

  .property-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .property-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}


/*--------------------------------------------------------------
# Cookie Consent Banner
--------------------------------------------------------------*/

.cc-window{
  opacity:1;
  transition:opacity 1s ease}
  
  .cc-window.cc-invisible{
  opacity:0}
  
  .cc-animate.cc-revoke{
  transition:transform 1s ease}
  
  .cc-animate.cc-revoke.cc-top{
  transform:translateY(-2em)}
  
  .cc-animate.cc-revoke.cc-bottom{
  transform:translateY(2em)}
  
  .cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{
  transform:translateY(0)}
  
  .cc-grower{
  max-height:0;
  overflow:hidden;
  transition:max-height 1s}
  
  
  .cc-link,.cc-revoke:hover{
  text-decoration:underline}
  
  .cc-revoke,.cc-window{
  position:fixed;
  overflow:hidden;
  box-sizing:border-box;
  font-family:"Montserrat", sans-serif;
  font-size:10px;
  line-height:1.5em;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:nowrap;
  flex-wrap:nowrap;
  z-index:9999}
  
  .cc-window.cc-static{
  position:static}
  
  .cc-window.cc-floating{
  padding:2em;
  max-width:24em;
  -ms-flex-direction:column;
  flex-direction:column}
  
  .cc-window.cc-banner{
  padding:1em 1.8em;
  width:100%;
  -ms-flex-direction:row;
  flex-direction:row}
  
  .cc-revoke{
  padding:.5em}
  
  .cc-header{
  font-size:18px;
  font-weight:700}
  
  .cc-btn,.cc-close,.cc-link,.cc-revoke{
  cursor:pointer}
  
  .cc-link{
  opacity:.8;
  display:inline-block;
  padding:.2em}
  
  .cc-link:hover{
  opacity:1}
  
  .cc-link:active,.cc-link:visited{
  color:initial}
  
  .cc-btn{
  display:block;
  padding:.4em .8em;
  font-size:.9em;
  font-weight:700;
  border-width:2px;
  border-style:solid;
  text-align:center;
  white-space:nowrap}
  
  .cc-banner .cc-btn:last-child{
  min-width:140px}
  
  .cc-highlight .cc-btn:first-child{
  background-color:transparent;
  border-color:transparent}
  
  .cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{
  background-color:transparent;
  text-decoration:underline}
  
  .cc-close{
  display:block;
  position:absolute;
  top:.5em;
  right:.5em;
  font-size:1.6em;
  opacity:.9;
  line-height:.75}
  
  .cc-close:focus,.cc-close:hover{
  opacity:1}
  
  
  .cc-revoke.cc-top{
  top:0;
  left:3em;
  border-bottom-left-radius:.5em;
  border-bottom-right-radius:.5em}
  
  .cc-revoke.cc-bottom{
  bottom:0;
  left:3em;
  border-top-left-radius:.5em;
  border-top-right-radius:.5em}
  
  .cc-revoke.cc-left{
  left:3em;
  right:unset}
  
  .cc-revoke.cc-right{
  right:3em;
  left:unset}
  
  .cc-top{
  top:1em}
  
  .cc-left{
  left:1em}
  
  .cc-right{
  right:1em}
  
  .cc-bottom{
  bottom:1em}
  
  .cc-floating>.cc-link{
  margin-bottom:1em}
  
  .cc-floating .cc-message{
  display:block;
  margin-bottom:1em}
  
  .cc-window.cc-floating .cc-compliance{
  -ms-flex:1;
  flex:1}
  
  .cc-window.cc-banner{
  -ms-flex-align:center;
  align-items:center}
  
  .cc-banner.cc-top{
  left:0;
  right:0;
  top:0}
  
  .cc-banner.cc-bottom{
  left:0;
  right:0;
  bottom:0}
  
  .cc-banner .cc-message{
  -ms-flex:1;
  flex:1}
  
  .cc-compliance{
  display:-ms-flexbox;
  display:flex;
  -ms-flex-align:center;
  align-items:center;
  -ms-flex-line-pack:justify;
  align-content:space-between}
  
  .cc-compliance>.cc-btn{
  -ms-flex:1;
  flex:1}
  
  .cc-btn+.cc-btn{
  margin-left:.5em}
  
  
  @media print{
  .cc-revoke,.cc-window{
  display:none}
  
  }
  
  @media screen and (max-width:900px){
  .cc-btn{
  white-space:normal}
}
  
  @media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){
  .cc-window.cc-top{
  top:0}
  
  .cc-window.cc-bottom{
  bottom:0}
  
  .cc-window.cc-banner,.cc-window.cc-left,.cc-window.cc-right{
  left:0;
  right:0}
  
  .cc-window.cc-banner{
  -ms-flex-direction:column;
  flex-direction:column}
  
  .cc-window.cc-banner .cc-compliance{
  -ms-flex:1;
  flex:1}
  
  .cc-window.cc-floating{
  max-width:none}
  
  .cc-window .cc-message{
  margin-bottom:1em}
  
  .cc-window.cc-banner{
  -ms-flex-align:unset;
  align-items:unset}
  
  }
  
  
  .cc-floating.cc-theme-classic{
  padding:1.2em;
  border-radius:5px}
  
  .cc-floating.cc-type-info.cc-theme-classic .cc-compliance{
  text-align:center;
  display:inline;
  -ms-flex:none;
  flex:none}
  
  .cc-theme-classic .cc-btn{
  border-radius:5px}
  
  .cc-theme-classic .cc-btn:last-child{
  min-width:140px}
  
  .cc-floating.cc-type-info.cc-theme-classic .cc-btn{
  display:inline-block}
  
  
  .cc-theme-edgeless.cc-window{
  padding:0}
  
  .cc-floating.cc-theme-edgeless .cc-message{
  margin:2em 2em 1.5em}
  
  .cc-banner.cc-theme-edgeless .cc-btn{
  margin:0;
  padding:.8em 1.8em;
  height:100%}
  
  .cc-banner.cc-theme-edgeless .cc-message{
  margin-left:1em}
  
  .cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{
  margin-left:0}
  
  