/* ---------- Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #2b2420;
  background: #f2e9dc;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }

.no-scroll { overflow: hidden; }

/* ---------- Layout / display ---------- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.top-5 { top: 1.25rem; }
.top-full { top: 100%; }
.right-5 { right: 1.25rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-\[2\] { flex: 2 2 0%; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-3 { column-gap: .75rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-3 { row-gap: .75rem; }
.gap-y-2 { row-gap: .5rem; }
.gap-y-10 { row-gap: 2.5rem; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-72 { width: 18rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.h-0\.5 { height: .125rem; }
.h-\[100vh\] { height: 100vh; }
.h-\[65\%\] { height: 65%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[600px\] { min-height: 600px; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.max-h-0 { max-height: 0; }
.max-h-\[1000px\] { max-height: 1000px; }
.max-h-96 { max-height: 24rem; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[16\/7\] { aspect-ratio: 16 / 7; min-height: 380px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .25rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-1\.5 { margin-bottom: .375rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.pt-0 { padding-top: 0; }
.pt-2 { padding-top: .5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-16 { padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.space-y-2\.5 > * + * { margin-top: .625rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ---------- Typography ---------- */
.font-display { font-family: 'Outfit', sans-serif; }
h1.font-display, h2.font-display, h3.font-display, h4.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }
.text-7xl { font-size: 4.5rem; line-height: 1.1; }
.text-\[11px\] { font-size: 11px; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.16em\] { letter-spacing: 0.16em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.38em\] { letter-spacing: 0.38em; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.select-none { user-select: none; }

/* ---------- Colors (warm palette) ---------- */
.text-white { color: #f5efe4; }
.text-white\/90 { color: rgba(245,239,228,.9); }
.text-white\/40 { color: rgba(245,239,228,.4); }
.text-white\/70 { color: rgba(245,239,228,.7); }
.text-neutral-400 { color: #948e78; }
.text-neutral-500 { color: #857c68; }
.text-neutral-600 { color: #6b6259; }
.text-neutral-700 { color: #574f45; }
.text-neutral-800 { color: #3a332c; }
.text-neutral-900 { color: #2b2420; }
.text-red-500 { color: #b5473a; }

.bg-transparent { background-color: transparent; }
.bg-white { background-color: #f2e9dc; }
.bg-black { background-color: #2b2420; }
.bg-black\/50 { background-color: rgba(43,36,32,.5); }
.bg-black\/60 { background-color: rgba(43,36,32,.6); }
.bg-neutral-50 { background-color: #ece1d1; }
.bg-neutral-50\/50 { background-color: rgba(236,225,209,.5); }
.bg-neutral-100 { background-color: #ece1d1; }
.bg-neutral-200 { background-color: #ddd2bf; }
.bg-neutral-950 { background-color: #2b2420; }

.bg-gradient-to-t.from-neutral-950\/80.to-transparent {
  background-image: linear-gradient(to top, rgba(43,36,32,.8), transparent);
}
.bg-gradient-to-b.from-black\/60.to-transparent {
  background-image: linear-gradient(to bottom, rgba(43,36,32,.6), transparent);
}

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-neutral-100 { border-color: #e6dcc9; }
.border-neutral-200 { border-color: #ddd2bf; }
.border-neutral-300 { border-color: #cfc3aa; }
.border-neutral-800 { border-color: #3a332c; }
.border-white\/70 { border-color: rgba(245,239,228,.7); }

.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }

.services-chevron { display: inline-block; font-size: 0.7em; transition: transform 200ms cubic-bezier(.4,0,.2,1); }
.rotate-180 { transform: rotate(180deg); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: .5; }
.opacity-100 { opacity: 1; }

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.resize-y { resize: vertical; }
.outline-none { outline: none; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.text-shadow { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.text-shadow-sm { text-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Blurred decoy text (not the real address) shown before "E-Mail anzeigen" is
   clicked. Uses a transparent glyph + text-shadow instead of `filter: blur()`,
   which triggers a headless-Chromium rendering bug that blurs the whole page. */
.email-blur {
  color: transparent;
  text-shadow: 0 0 6px rgba(43, 36, 32, .7);
  user-select: none;
}

/* ---------- Transitions / transforms ---------- */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: cubic-bezier(.4,0,.2,1); }

.scale-95 { transform: scale(.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.translate-y-0 { transform: translateY(0); }

.scroll-mt-20 { scroll-margin-top: 5rem; }

/* ---------- Hover / focus ---------- */
.hover\:bg-neutral-100:hover { background-color: #ece1d1; }
.hover\:bg-neutral-50:hover { background-color: #f7f1e6; }
.hover\:bg-neutral-800:hover { background-color: #443b34; }
.hover\:bg-white:hover { background-color: #f2e9dc; }
.hover\:border-neutral-400:hover { border-color: #948e78; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-black:hover { color: #2b2420; }
.hover\:text-neutral-500:hover { color: #857c68; }
.hover\:text-neutral-900:hover { color: #2b2420; }
.hover\:text-white:hover { color: #f5efe4; }
.hover\:underline:hover { text-decoration: underline; }

.focus\:border-black:focus { border-color: #2b2420; }
.focus\:ring-1.focus\:ring-black:focus { box-shadow: 0 0 0 1px #2b2420; }

/* ---------- Custom select ---------- */
.custom-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%232b2420' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 16px;
  padding-right: 2.6em;
}

/* ---------- Responsive: sm (>=640px) ---------- */
@media (min-width: 640px) {
  .sm\:aspect-\[16\/6\] { aspect-ratio: 16 / 6; }
  .sm\:gap-16 { gap: 4rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:mb-20 { margin-bottom: 5rem; }
  .sm\:mb-24 { margin-bottom: 6rem; }
  .sm\:pb-16 { padding-bottom: 4rem; }
  .sm\:mt-24 { margin-top: 6rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:pb-24 { padding-bottom: 6rem; }
  .sm\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:space-y-12 > * + * { margin-top: 3rem; }
  .sm\:space-y-14 > * + * { margin-top: 3.5rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1.1; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-sm { font-size: .875rem; line-height: 1.25rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:w-auto { width: auto; }
}

/* ---------- Responsive: md (>=768px) ---------- */
@media (min-width: 768px) {
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1.1; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
}

/* ---------- Responsive: lg (>=1024px) ---------- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
