@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* ============================================
   DSGVO-KONFORM: Lokale Google Fonts
   Kein externer Aufruf zu fonts.googleapis.com
   ============================================ */

/* --- Inter (Body) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Playfair Display (Headings) --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-400i-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   Wörthbach Immobilien – Custom Styles
   Supplements Tailwind CSS v4
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #FFFFFF;
  --bg-warm: #F7F5F2;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --accent: #8B7355;
  --accent-hover: #6E5A3B;
  --dark: #0A0A0A;
  --border: #E5E0DA;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Base overrides --- */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  cursor: auto;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Custom cursor disabled — using standard arrow for consistency */
.cursor-dot, .cursor-ring { display: none !important; }

/* --- Custom Cursor --- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(139, 115, 85, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
}

/* cursor elements hidden globally above */

/* ============================================
   KLARO COOKIE CONSENT — Brand Overrides
   Akzent: #8B7355, Font: Inter, keine runden Ecken
   ============================================ */
.klaro .cookie-notice,
.klaro .cookie-modal {
  font-family: 'Inter', -apple-system, sans-serif !important;
}
.klaro .cookie-notice {
  background: #fff !important;
  border-top: 1px solid #E5E0DA !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08) !important;
  color: #1A1A1A !important;
}
.klaro .cookie-notice .cn-body p {
  color: #6B6B6B !important;
  font-size: 0.82rem !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
}
.klaro .cookie-notice .cn-body .title {
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  color: #1A1A1A !important;
}
/* Buttons — Brand-Accent statt Klaro-Blau */
.klaro .cookie-notice .cm-btn,
.klaro .cookie-modal .cm-btn {
  border-radius: 0 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  padding: 10px 20px !important;
  transition: all 0.2s ease !important;
}
.klaro .cm-btn.cm-btn-success,
.klaro .cm-btn.cm-btn-accept-all {
  background: #8B7355 !important;
  color: #fff !important;
  border: none !important;
}
.klaro .cm-btn.cm-btn-success:hover,
.klaro .cm-btn.cm-btn-accept-all:hover {
  background: #6E5A3B !important;
}
.klaro .cm-btn.cm-btn-danger,
.klaro .cm-btn.cm-btn-decline {
  background: transparent !important;
  color: #6B6B6B !important;
  border: 1px solid #E5E0DA !important;
}
.klaro .cm-btn.cm-btn-danger:hover,
.klaro .cm-btn.cm-btn-decline:hover {
  border-color: #8B7355 !important;
  color: #8B7355 !important;
}
/* Modal */
.klaro .cookie-modal .cm-modal {
  border-radius: 0 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}
.klaro .cookie-modal .cm-modal .cm-header h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 400 !important;
}
/* Toggle switches — Accent */
.klaro .cm-list-input:checked + .cm-list-label .slider {
  background: #8B7355 !important;
}
.klaro .cookie-notice .cn-learn-more {
  color: #8B7355 !important;
}

/* --- Marquee --- */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Hero Ken Burns (Premium, subtil, 20s) --- */
.hero-slide img {
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img { animation: none; }
}

/* --- Scroll line pulse --- */
.scroll-line {
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(1.5); opacity: 0.8; }
}

/* --- Nav transition --- */
.nav-transition {
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease, padding 0.4s ease,
              border-color 0.4s ease;
}

/* Logo: always visible — no filter needed, dark blue logo works on all backgrounds */
.nav-logo-img {
  transition: filter 0.4s ease;
}

.nav.scrolled .nav-logo-img {
  filter: none;
}

/* --- Nav Dropdown --- */
#navDropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
}
.nav.scrolled #navDropdown .nav-dropdown {
  background: rgba(255,255,255,0.98);
}

/* --- Image reveal --- */
.img-reveal {
  overflow: hidden;
}

.img-reveal img {
  will-change: transform;
}

/* --- Bento grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 340px 340px;
  gap: 6px;
}

.bento-large {
  grid-row: 1 / 3;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 400px 260px 260px;
  }
  .bento-large { grid-row: auto; }
}

/* --- Counter --- */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* --- Mobile nav overlay --- */
.nav-overlay {
  transition: opacity 0.35s ease;
}

/* --- Swiper overrides (minimal) --- */
.swiper { overflow: visible !important; }

/* --- Review card max lines --- */
.review-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Map filter --- */
.map-grayscale iframe {
  filter: grayscale(1) contrast(1.05) brightness(0.95);
}

/* --- Gold line --- */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}
