:root {
  --sky-blue: #0077B6;
  --sky-blue-light: #E0F2FE;
  --meadow-green: #10B981;
  --meadow-green-light: #D1FAE5;
  --sun-yellow: #F59E0B;
  --sun-yellow-light: #FEF3C7;
  --bg-body: linear-gradient(180deg, #E4F4F2 0%, #E8F5F8 100%);
  --bg-card: #FFFFFF;
  --body-font-size: 18px;
  --body-font-size-small: 14px;
  --body-font-weight: 400;
  --body-line-height: 1.6;
  --body-letter-spacing: -0.0125em;
  --body-color: #363F59;
  --heading-line-height: 1.25;
  --heading-letter-spacing: -0.03em;
  --heading-font-weight: 600;
  --heading-color: var(--color-pine-base);
  --heading-color-secondary: #016098;
  --card-heading-color: var(--heading-color);
  --cards-title-size: 23px;
  --color-gradient-icons: linear-gradient(0deg, #26735B 0%, #016098 100%);
  --color-gradient-badge: linear-gradient(0deg, #26735B 0%, #016098 100%);
  --body-size: var(--body-font-size);
  --text-main: var(--body-color);
  --text-muted: var(--body-color);
  --border: var(--color-pine-light);
  --shadow: 0 10px 25px -5px rgba(0, 119, 182, 0.08), 0 8px 10px -6px rgba(0, 119, 182, 0.04);
  --radius: 16px;
  --color-pine-base: #26735B;
  --color-pine-rich: #00B67A;
  --color-pine-medium: #3EBE96;
  --color-pine-light: #D6EFF1;
  --section-padding: 45px 26px // Default for xs (260px and up);
  --fs-h1: 27px;
  --fs-h2: 23px;
  --fs-h3: 19px;
  --fs-h4: 16px;
  --fs-h5: 14px;
  --fs-h6: 12px;
}
@media (min-width: 480px) {
  :root {
    --section-padding: 55px 26px;
  }
}
@media (min-width: 768px) {
  :root {
    --section-padding: 70px 26px;
  }
}
@media (min-width: 1290px) {
  :root {
    --section-padding: 90px 26px;
  }
}
@media (min-width: 768px) {
  :root {
    --fs-h1: 55px;
    --fs-h2: 44px;
    --fs-h3: 35px;
    --fs-h4: 28px;
    --fs-h5: 23px;
    --fs-h6: 20px;
  }
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/fontawesome/webfonts/fa-brands-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/fontawesome/webfonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fonts/fontawesome/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/fontawesome/webfonts/fa-v4compatibility.woff2") format("woff2");
}
.lang-switcher {
  display: flex;
  gap: 0.3rem;
}

.lang-btn {
  background: white;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--sky-blue);
  color: white;
  border-color: var(--sky-blue);
}

.navbar {
  background-color: white;
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--heading-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--heading-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.menu-toggle:hover {
  color: var(--sky-blue);
}

.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.side-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 80vw;
  height: 100vh;
  background: white;
  z-index: 1000;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.side-menu.open {
  right: 0;
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.menu-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--heading-color);
}

.close-menu-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.close-menu-btn:hover {
  color: var(--heading-color);
}

.side-menu-content {
  padding: 1.5rem;
  overflow-y: auto;
}

.lang-switcher-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.lang-label {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--sky-blue);
}

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

body {
  font-family: inter, sans-serif;
  background: var(--bg-body);
  color: var(--body-color);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: var(--body-font-size);
}

.page-section {
  padding: var(--section-padding);
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  color: var(--heading-color);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

h6 {
  font-size: var(--fs-h6);
}

.feature-card h1, .feature-card h2, .feature-card h3, .feature-card h4, .feature-card h5, .feature-card h6, .apt-card h1, .apt-card h2, .apt-card h3, .apt-card h4, .apt-card h5, .apt-card h6, .dest-card h1, .dest-card h2, .dest-card h3, .dest-card h4, .dest-card h5, .dest-card h6 {
  text-align: left;
  font-size: var(--cards-title-size);
  margin-bottom: 12px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  color: #FFFFFF;
  background-color: transparent;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.225px;
  border: 1px solid transparent;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 15px 32px;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(0deg, #26735B 0%, #016098 100%);
  color: #FFFFFF;
}

.btn-secondary {
  color: var(--color-pine-base);
  border-color: var(--color-pine-base);
  background-color: transparent;
}
.btn-secondary:hover {
  background: linear-gradient(0deg, #26735B 0%, #016098 100%);
  border-color: transparent;
  color: #FFFFFF;
}

.container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-badge {
  display: inline-block;
  background: var(--color-gradient-badge);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

span.lang-en {
  display: none;
}

body.lang-en span.lang-en {
  display: inline;
}

p.lang-en {
  display: none;
}

body.lang-en p.lang-en {
  display: block;
}

div.lang-en {
  display: none;
}

body.lang-en div.lang-en {
  display: block;
}

body.lang-en .lang-de {
  display: none !important;
}

.v-hidden {
  visibility: hidden;
}

.mt-large {
  margin-top: 3.5rem;
}

.btn-full {
  width: 100%;
}

.mini-text {
  font-size: var(--body-font-size-small);
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.new-banner {
  display: flex;
  flex-direction: row;
  background: var(--bg-card, #FFFFFF);
  border-radius: var(--radius, 16px);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.new-banner-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.new-banner-text .section-badge {
  align-self: flex-start;
  margin-bottom: 1rem;
}
.new-banner-text h1 {
  margin-bottom: 1rem;
  color: var(--heading-color);
  line-height: 1.2;
  text-align: left;
}
.new-banner-text p {
  margin-bottom: 1.5rem;
  color: var(--body-color);
}
.new-banner-text .cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.new-banner-image {
  flex: 1;
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.new-banner-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: crossfade 10s infinite;
}

.slide-1 {
  background-image: url("../gallery/ferienhaus/ferienhaus-warmuth-kaernten-gailtal-3.webp");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("../gallery/ferienhaus/ferienhaus-warmuth-winter-schnee-1.webp");
  animation-delay: -5s;
}

@keyframes crossfade {
  0%, 40% {
    opacity: 1;
  }
  50%, 90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .new-banner {
    flex-direction: column;
  }
  .new-banner-image {
    order: -1;
    min-height: 250px;
  }
  .new-banner-text {
    padding: 2rem;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--color-gradient-icons);
  color: white;
  font-weight: 800;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.apt-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.apt-card.highlight {
  border-color: var(--color-pine-medium);
  position: relative;
}

.badge-popular {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--color-gradient-badge);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.apt-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}
.apt-header h3 {
  font-size: var(--fs-h3);
  color: var(--heading-color-secondary);
}

.apt-meta {
  color: var(--heading-color);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

.apt-features {
  list-style: none;
  margin: 1rem 0;
  flex-grow: 1;
}
.apt-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
.apt-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-right: 10px;
  margin-top: 2px;
  border-radius: 6px;
  font-size: 12px;
  background: var(--color-gradient-icons);
  color: white;
}

.apt-footer {
  background: var(--color-pine-light);
  color: var(--color-pine-base);
  margin: 1.5rem -2.2rem -2.2rem;
  padding: 1.1rem 2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  border-top: 1px solid var(--border);
}

.apt-desc {
  font-size: 0.92rem;
}

.dest-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.dest-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .dest-card {
    flex-direction: row;
  }
  .dest-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.dest-card h4 {
  color: var(--card-heading-color);
}

.dest-card-img {
  flex: 1;
  min-height: 250px;
}
.dest-card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.dest-card-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.gallery-section {
  margin-bottom: 4rem;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-tab {
  background: white;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-tab:hover {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
}
.gallery-tab.active {
  background: var(--color-gradient-icons);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--sky-blue-light);
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(0, 119, 182, 0.2);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 60, 0.45) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.22s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.7rem;
}

.gallery-overlay-icon {
  color: white;
  font-size: 1.6rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 30, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.lightbox-counter {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: white;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10000;
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: clamp(0.5rem, 2vw, 2rem);
}

.lightbox-next {
  right: clamp(0.5rem, 2vw, 2rem);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10000;
}
.lightbox-close:hover {
  background: rgba(220, 38, 38, 0.5);
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }
  .gallery-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
.calendar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .calendar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.apt-calendar {
  background: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border, #D6EFF1);
  border-radius: var(--radius, 16px);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.04);
}

.apt-title {
  font-size: 1.1rem;
  font-weight: var(--heading-font-weight, 600);
  color: var(--heading-color, #26735B);
  margin-bottom: 1.5rem;
  text-align: center;
}

.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.cal-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sky-blue-light, #E0F2FE);
  color: var(--sky-blue, #0077B6);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.2s ease;
}
.cal-nav-btn:hover {
  background: var(--sky-blue, #0077B6);
  color: #FFFFFF;
}
.cal-nav-btn.v-hidden {
  visibility: hidden;
}

.cal-month-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main, #363F59);
}

.cal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}
.cal-table th {
  text-align: center;
  padding: 0.5rem;
  color: var(--text-muted, #363F59);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.cal-table td {
  text-align: center;
  padding: 0.6rem 0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.cal-table td.cal-day.free {
  background: var(--meadow-green-light, #D1FAE5);
  color: #065F46;
}
.cal-table td.cal-day.busy {
  background: #FEE2E2;
  color: #991B1B;
  opacity: 0.8;
}
.cal-table td.cal-day.half {
  background: linear-gradient(135deg, #FEE2E2 50%, var(--meadow-green-light, #D1FAE5) 50%);
  color: #363F59;
}
.cal-table td.cal-empty {
  background: transparent;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main, #363F59);
}

.legend-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.box-free {
  background: var(--meadow-green-light, #D1FAE5);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.box-half {
  background: linear-gradient(135deg, #FEE2E2 50%, var(--meadow-green-light, #D1FAE5) 50%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.box-busy {
  background: #FEE2E2;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

#priceForm {
  max-width: 650px;
  margin: 0 auto;
}
#priceForm label {
  text-align: center;
  display: block;
}
#priceForm select, #priceForm input {
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
}

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

.date-row {
  grid-column: 1/-1;
  display: flex;
  gap: 1.2rem;
}
.date-row .form-group {
  flex: 1;
  min-width: 0;
}
.date-row label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-result {
  background: var(--sky-blue-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  display: none;
}
.calc-result table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}
.calc-result td {
  padding: 0.5rem 0;
  font-size: 0.95rem;
}
.calc-result td.total-row {
  font-weight: 800;
  font-size: 1.1rem;
  color: #DC2626;
  border-top: 2px solid var(--sky-blue);
  padding-top: 0.8rem;
}
.calc-result td.text-right {
  text-align: right;
}

.calc-warning {
  font-size: 0.9rem;
  margin: 0.5rem 0 1.5rem 0;
  color: #b91c1c;
  font-weight: 500;
  text-align: left;
}

.mail-inquiry-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.mail-inquiry-section h4 {
  text-align: left;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}
.mail-inquiry-section p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--body-color);
  text-align: left;
}
.mail-inquiry-section .form-group {
  margin-bottom: 1.2rem;
}
.mail-inquiry-section label {
  text-align: left;
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--text-main);
}
.mail-inquiry-section input, .mail-inquiry-section select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 1rem;
  box-sizing: border-box;
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.apt-calendar {
  background: var(--bg-card, #FFFFFF);
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, #D6EFF1);
  padding: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

.apt-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 1.2rem;
  text-align: center;
}

.calendar-wrapper {
  width: 100%;
  box-sizing: border-box;
}

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

.cal-nav-btn {
  font-size: 1.5rem;
  color: var(--color-pine-base, #26735B);
  text-decoration: none;
  padding: 0 0.5rem;
}

.cal-month-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-color);
}

.cal-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  box-sizing: border-box;
}
.cal-table th, .cal-table td {
  padding: 0.5rem 0.2rem;
  text-align: center;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.cal-table th {
  font-weight: 600;
  color: var(--text-muted);
}
.cal-table td {
  border-radius: 4px;
}
.cal-table .cal-empty {
  background: transparent;
}
.cal-table .cal-day {
  border: 1px solid #e2e8f0;
}
.cal-table .cal-day.free {
  background-color: #d1fae5;
  color: #1e293b;
}
.cal-table .cal-day.busy {
  background-color: #fee2e2;
  color: #991b1b;
  font-weight: 600;
}
.cal-table .cal-day.half {
  background: linear-gradient(135deg, #fee2e2 50%, #d1fae5 50%);
  color: #1e293b;
  font-weight: 600;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

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

.legend-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}
.legend-box.box-free {
  background-color: #d1fae5;
}
.legend-box.box-busy {
  background-color: #fee2e2;
}
.legend-box.box-half {
  background: linear-gradient(135deg, #fee2e2 50%, #d1fae5 50%);
}

@media (max-width: 640px) {
  .date-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .apt-calendar {
    padding: 1rem;
  }
  .cal-table th, .cal-table td {
    padding: 0.4rem 0.1rem;
    font-size: 0.85rem;
  }
}
.tool-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 3.5rem;
}
.tool-card h2 {
  color: var(--card-heading-color);
  margin-bottom: 0.5rem;
}

.tool-card-header {
  text-align: center;
}

.tool-card-sub {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sky-blue);
  margin-bottom: 0.4rem;
}
.form-group select,
.form-group input {
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  width: 100%;
}

.go-to-top {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary-color, #0d9488);
  color: #ffffff;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: var(--shadow, 0 4px 6px rgba(0, 0, 0, 0.1));
  transition: background-color 0.3s, transform 0.3s;
  align-items: center;
  justify-content: center;
}
.go-to-top:hover {
  background-color: var(--primary-hover, #0f766e);
  transform: translateY(-3px);
}

.privacy-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.privacy-content {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
}
@media (min-width: 768px) {
  .privacy-content {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 3rem;
         column-gap: 3rem;
  }
}
.privacy-content h2, .privacy-content h3, .privacy-content h4 {
  text-align: left;
  color: var(--heading-color);
  -moz-column-break-after: avoid;
       break-after: avoid;
}
.privacy-content h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.8rem;
}
.privacy-content h2:first-child {
  margin-top: 0;
}
.privacy-content h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.privacy-content h4 {
  font-size: 0.9rem;
  margin: 1.2rem 0 0.4rem;
}
.privacy-content p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.privacy-content ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}
.privacy-content ul li {
  margin-bottom: 0.5rem;
}

footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4rem 1rem 2rem;
  margin-top: 4rem;
  font-size: 0.88rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h5 {
  color: white;
  margin-bottom: 0.9rem;
  font-weight: 700;
  text-align: left;
}
.footer-col a {
  color: #38BDF8;
  text-decoration: none;
  font-weight: 500;
}
.footer-col a i {
  margin-right: 5px;
}

.disclaimer-box {
  border-top: 1px solid #1E293B;
  padding-top: 1.8rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748B;
}
.disclaimer-box h6 {
  color: #94A3B8;
  margin: 1.2rem 0 0.3rem;
  font-weight: 700;
  text-align: left;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.meldeschein-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}
.meldeschein-wrapper .form-group label {
  color: var(--label-color);
}

.meldeschein-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.meldeschein-header h1 {
  color: var(--heading-color);
  font-size: var(--fs-h1);
  font-weight: var(--heading-font-weight);
  margin-bottom: 0.5rem;
}
.meldeschein-header p.subtitle {
  color: var(--text-muted);
  font-size: var(--body-font-size-small);
}

.lang-switch-melde {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.5rem;
}

.meldeschein-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.meldeschein-card h3 {
  color: var(--card-heading-color);
  font-size: var(--cards-title-size);
  font-weight: var(--heading-font-weight);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  text-align: left;
}

.meldeschein-card-status {
  text-align: center;
  padding: 3rem 2rem;
}
.meldeschein-card-status p {
  margin-bottom: 1.5rem;
}
.meldeschein-card-status p.mb-2 {
  margin-bottom: 2rem;
}
.meldeschein-card-status p.error-details {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.meldeschein-card-status form {
  display: inline-block;
}
.meldeschein-card-status a.btn-secondary {
  text-decoration: none;
  display: inline-block;
}

.status-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.status-icon.success {
  color: var(--meadow-green);
}
.status-icon.error {
  color: #DC2626;
}

.required-notice {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.melde-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 479px) {
  .melde-grid-2 {
    grid-template-columns: 1fr;
  }
}

.melde-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 767px) {
  .melde-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .melde-grid-3 {
    grid-template-columns: 1fr;
  }
}

.melde-span-full {
  grid-column: 1/-1;
}

.co-traveler-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.co-traveler-header h4 {
  color: var(--text-main);
  font-size: var(--fs-h4);
  font-weight: var(--heading-font-weight);
  text-align: left;
}

.btn-remove {
  background: #FEE2E2;
  color: #EF4444;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-remove:hover {
  background: #FCA5A5;
}

.co-traveler-row {
  border: 1px dashed var(--border);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #F8FAFC;
}
.co-traveler-row h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.card-header-row h3 {
  margin: 0;
  border: none;
  padding: 0;
}

.melde-hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.signature-notice {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.sig-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.signature-container {
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: #FAFCFF;
  padding: 0.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  width: 100%;
  max-width: 464px;
}

#sig-canvas {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: white;
  cursor: crosshair;
  display: block;
  width: 100%;
  height: 180px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.checkbox-group input[type=checkbox] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-group label {
  font-size: var(--body-font-size-small);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
  text-align: left;
}

.meldeschein-footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: var(--body-font-size-small);
}

@media (max-width: 479px) {
  .lang-switch-melde {
    position: static;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
}/*# sourceMappingURL=style.css.map */