/* ========================================
   HOTEL POSTKUTSCHE DESIGN SYSTEM
   Migrated from Vite/Tailwind to vanilla CSS
======================================== */

/* === FONTS === */

/* Cormorant Garamond (Display font for headings) */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../font/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../font/CormorantGaramond-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../font/CormorantGaramond-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter (Body font) */
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Colors - Exact match with Vite project (HSL format for hsl() function) */
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 10%;
  
  /* Hotel Postkutsche brand colors - Beige/Gold palette */
  --primary: 40 35% 82%;
  --primary-foreground: 0 0% 10%;
  --primary-hover: 40 35% 75%;
  
  /* Gold accent */
  --secondary: 40 63% 45%;
  --secondary-foreground: 0 0% 100%;
  
  --muted: 36 20% 94%;
  --muted-foreground: 0 0% 45%;
  
  --accent: 40 63% 45%;
  --accent-foreground: 0 0% 100%;
  
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  
  --border: 0 0% 91%;
  --input: 0 0% 91%;
  --ring: 40 63% 45%;
  
  --radius: 0;
  
  /* Custom design tokens */
  --hero-gradient: linear-gradient(135deg, hsl(0 0% 0% / 0.4), hsl(0 0% 0% / 0.2));
  --card-shadow: 0 2px 12px hsl(0 0% 0% / 0.06);
  --card-shadow-hover: 0 4px 20px hsl(0 0% 0% / 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  
  /* Animation timing */
  --speed: 0.3s;
  --speed-fast: 0.2s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', ui-serif, Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Z-index */
  --z-header: 100;
  --z-mobile-nav: 99;
  --z-overlay: 50;
}

/* === BASE RESET & TYPOGRAPHY === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Add padding-top on non-home pages to account for fixed header */
body:not([data-is-home="true"]) {
  padding-top: 80px; /* Height of fixed header */
}

main {
  margin: 0;
  padding: 0;
}

/* Clearfix for floated grid elements */
main::after {
  content: '';
  display: table;
  clear: both;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space) 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 var(--space) 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; padding: 0; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space);
}

.container::after {
  content: '';
  display: table;
  clear: both;
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.btn-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: currentColor;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* CTA Section Button */
.btn-cta-primary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--secondary));
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
  height: auto;
  min-width: 280px;
}

.btn-cta-primary:hover {
  background: hsl(var(--secondary));
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Star icons in reviews */
[data-lucide="star"] {
  fill: currentColor;
}

/* Responsive CTA buttons */
@media (min-width: 640px) {
  .cta-section .reveal {
    flex-direction: row !important;
  }
}

/* For white header */
.site-header .btn-outline {
  border-color: currentColor;
  color: inherit;
}

/* === SITE HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--card-shadow);
  transition: all var(--speed) var(--ease);
}

/* Transparent header on homepage (before scroll) */
.site-header[data-is-home="true"] {
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
  box-shadow: none;
}

/* Solid header after scroll (on homepage) */
.site-header[data-is-home="true"].is-scrolled {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-bottom-color: hsl(var(--border));
  box-shadow: var(--card-shadow);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--space);
}

/* Left section: Burger + Nav */
.site-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

.site-header__burger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: opacity var(--speed-fast) var(--ease);
}

.site-header__burger [data-lucide],
.site-header__burger svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.site-header__burger:hover {
  opacity: 0.7;
}

/* Center: Logo */
.site-header__logo {
  flex: 0 0 auto;
}

.site-header__logo a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity var(--speed-fast) var(--ease);
}

.site-header__logo a:hover {
  opacity: 0.7;
}

.site-header__logo-img {
  height: 80px;
  width: auto;
  max-width: min(900px, 96vw);
  display: block;
  /* Default: black logo for all pages */
  filter: brightness(0) saturate(100%);
  transition: filter var(--speed-fast) var(--ease);
}

/* Startseite White Logo wenn on top */
[data-is-home="true"] .site-header__logo-img {
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Startseite Black Logo wenn seite gescrollt ist */
[data-is-home="true"] .site-header.is-scrolled .site-header__logo-img {
  filter: brightness(0) saturate(100%);
}

@media (max-width: 768px) {
  .site-header__logo-img {
    height: clamp(32px, 4vw, 44px);
    max-width: min(240px, 85vw);
  }
}

@media (max-width: 480px) {
  .site-header__logo-img {
    height: clamp(30px, 5vw, 36px);
    max-width: min(200px, 80vw);
  }
}

/* Right: CTA */
.site-header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  justify-content: flex-end;
}

/* Buttons on transparent header (homepage before scroll) */
.site-header[data-is-home="true"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.site-header[data-is-home="true"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.site-header[data-is-home="true"] .btn-outline svg {
  stroke: #fff;
}

/* Buttons on white header (homepage after scroll) */
.site-header[data-is-home="true"].is-scrolled .btn-outline {
  border-color: hsl(var(--foreground));
  color: hsl(var(--foreground));
}

.site-header[data-is-home="true"].is-scrolled .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: hsl(var(--foreground));
}

.site-header[data-is-home="true"].is-scrolled .btn-outline svg {
  stroke: hsl(var(--foreground));
}

/* Mobile Nav Overlay */
.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile-nav);
  pointer-events: none;
}

.mobile-nav:not([hidden]) {
  pointer-events: auto;
}

/* Backdrop overlay */
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.mobile-nav:not([hidden]) .mobile-nav__backdrop {
  opacity: 1;
}

/* Drawer panel */
.mobile-nav__panel {
  position: fixed;
  top: 80px;
  left: 0;
  bottom: 0;
  width: 320px;
  background: #FFFFFF;
  border-right: 1px solid hsl(var(--border));
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav:not([hidden]) .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__inner {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  transition: color var(--speed-fast) var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: hsl(var(--accent));
}

/* CTA buttons section */
.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.mobile-nav__cta .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-nav__cta .btn-primary {
  color: #FFFFFF !important;
}

.mobile-nav__cta .btn-primary svg {
  stroke: #FFFFFF;
}

/* Responsive */
@media (min-width: 1024px) {
  .site-header__cta .desktop-only { display: inline; }
}

@media (max-width: 1023px) {
  .site-header__cta {
    display: none;
  }
}

/* === HERO SLIDER === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.hero figure,
.hero__slides,
.hero__slide {
  margin: 0 !important;
  padding: 0 !important;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 1;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 5s ease-out;
}

/* Ken Burns zoom effect */
.hero__slide.is-active img.zoom-in {
  transform: scale(1.08);
}

.hero__slide.is-active img.zoom-out {
  transform: scale(1);
}

.hero__slide img.zoom-out {
  transform: scale(1.08);
}

.hero__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay */
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  z-index: 1;
}

/* Content */
.hero__caption {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 var(--space);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero__caption h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
}

.hero__caption p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: var(--space-lg);
  opacity: 0.95;
  animation: fadeInUp 0.8s 0.2s ease-out backwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space);
  animation: fadeInUp 0.8s 0.4s ease-out backwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* === USP GRID === */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usp-card {
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: all var(--speed) var(--ease);
}

.usp-card:hover {
  border-color: hsl(var(--accent));
  box-shadow: var(--shadow);
}

.usp-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space);
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(40, 63%, 45%, 0.1);
  color: hsl(var(--accent));
}

.usp-card__icon svg {
  width: 32px;
  height: 32px;
}

.usp-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.usp-card p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* === ROOM CARD === */
.room-card {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  transition: all var(--speed) var(--ease);
}

.room-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.room-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.room-card:hover .room-card__image img {
  transform: scale(1.05);
}

.room-card__badge {
  position: absolute;
  top: var(--space);
  right: var(--space);
  padding: 0.375rem var(--space-sm);
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.875rem;
  font-weight: 600;
}

.room-card__content {
  padding: var(--space-md);
}

.room-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.room-card__meta svg {
  width: 16px;
  height: 16px;
}

.room-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.room-card__description {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--space);
}

.room-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.room-card__amenity {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.room-card__amenity svg {
  width: 12px;
  height: 12px;
}

/* === FOOTER === */
footer {
  clear: both;
  background: hsl(var(--muted));
  border-top: 1px solid hsl(var(--border));
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  display: block;

  font-size: 0.9375rem;
  transition: color var(--speed-fast) var(--ease);
}

.footer-col a:hover {
  color: hsl(var(--accent));
}

.footer-col svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  vertical-align: -2px;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a:hover {
  color: hsl(var(--accent));
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-muted { color: hsl(var(--muted-foreground)); }

.section {
  width: 100%;
  padding: var(--space-2xl) 0;
}

/* Full-width background for bg-muted sections (even inside container) */
.section.bg-muted {
  position: relative;
  z-index: 1;
}

.section.bg-muted::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: hsl(var(--muted));
  z-index: -1;
}

.section.bg-muted > * {
  position: relative;
  z-index: 1;
}

/* Full-width background for CTA section */
.section.cta-section {
  position: relative;
  z-index: 1;
}

.section.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: hsl(var(--primary));
  z-index: -1;
}

.section.cta-section > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.card-shadow {
  background: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.card-shadow-sm {
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.card-shadow:hover,
.card-shadow-sm:hover {
  box-shadow: var(--card-shadow-hover);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--space-lg);
}

/* Grid utilities */
.grid-2 { 
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-3 { 
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-4 { 
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* === PRICE TABLE === */
.price-table {
  overflow-x: auto;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background: hsl(var(--card));
  box-shadow: var(--shadow);
}

.price-table thead {
  background: hsl(var(--muted));
}

.price-table th,
.price-table td {
  padding: var(--space);
  text-align: left;
  border: 1px solid hsl(var(--border));
}

.price-table th {
  font-weight: 600;
}

.price-table td:nth-child(n+3) {
  text-align: center;
  font-weight: 700;
}

@media (max-width: 768px) {
  .price-table table,
  .price-table thead,
  .price-table tbody,
  .price-table tr {
    display: block;
  }
  
  .price-table thead {
    display: none;
  }
  
  .price-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: var(--space);
    border: 1px solid hsl(var(--border));
  }
  
  .price-table td {
    border: none;
    border-bottom: 1px solid var(--border);
  }
  
  .price-table td:first-child {
    grid-column: 1 / -1;
    font-weight: 600;
    background: hsl(var(--muted));
  }
}

/* === 2-CLICK MAP === */
.map-2click {
  position: relative;
}

.map-2click__placeholder {
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
}

.map-2click iframe {
  width: 100%;
  height: 400px;
  border: 1px solid hsl(var(--border));
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--space-2xl);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-grid__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-grid__form {
  align-self: stretch;
}

.contact-form {
  display: grid;
  gap: var(--space-lg);
}

.contact-form__row {
  display: grid;
  gap: var(--space-lg);
}

.contact-form__row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form__row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .contact-form__row--two,
  .contact-form__row--three {
    grid-template-columns: 1fr;
  }
}

/* === FORMS === */
input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color var(--speed-fast) var(--ease);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
}

label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 767px) {
  .desktop-only { display: none !important; }
}

@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}

/* unsere geschichte css */
.pk-history-section-header {
  margin-bottom: var(--space-xl, 3rem);
}

.pk-history-subtitle {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground, 0 0% 45%));
  max-width: 720px;
  margin: 0 auto;
}

.pk-history-timeline {
  position: relative;
  margin-top: var(--space-2xl, 3rem);
  padding-left: 1.5rem;
}

.pk-history-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: hsl(var(--border, 0 0% 91%));
}

.pk-history-item {
  position: relative;
  margin-bottom: var(--space-xl, 3rem);
}

.pk-history-marker {
  position: absolute;
  left: -0.1rem;
  top: 0.3rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: hsl(var(--accent, 40 63% 45%));
  box-shadow: 0 0 0 4px hsla(var(--accent, 40 63% 45%), 0.18);
}

.pk-history-inner {
  margin-left: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
  gap: var(--space-lg, 2rem);
  align-items: flex-start;
}

.pk-history-year {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: hsl(var(--accent, 40 63% 45%));
  margin-bottom: 0.25rem;
}

.pk-history-title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.pk-history-text p {
  margin: 0 0 0.5rem;
  font-size: 0.97rem;
  color: hsl(var(--foreground, 0 0% 10%));
}

.pk-history-image {
  border-radius: var(--radius, 0);
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: var(--card-shadow, 0 2px 12px hsl(0 0% 0% / 0.06));
}

.pk-history-media {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .pk-history-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pk-history-media {
    justify-content: flex-start;
  }
}

/* === grid-2 zentrierung === */
.center-grid{
  display: grid;
  grid-template-columns: repeat(2, 376px); /* или 1fr 1fr если надо растягивать */
  justify-content: center; /* центрирует обе колонки целиком */
  align-items: start;
}

@media (max-width: 850px){
  .center-grid{
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .center-grid img{
    width: 100% !important;
    max-width: 376px;
    height: auto !important;
  }
}


