/* ============================================================
   KLAGENFURT ELITE — Luxury Editorial Minimalism
   Palette: Deep Black (#0a0a0a) + Pure White (#f8f8f8)
   Fonts: Playfair Display (serif) + Outfit (sans)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 300;
  background-color: #f8f8f8;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ── UTILITIES ── */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

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

.label-caps {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  display: block;
}

.text-muted { color: #888; }
.text-white-muted { color: rgba(255,255,255,0.45); }

.divider-thin {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.border-top { border-top: 1px solid #e8e8e8; }

.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }

.bg-light  { background-color: #f8f8f8; }
.bg-white  { background-color: #ffffff; }
.bg-black  { background-color: #0a0a0a; }

/* ── BUTTONS ── */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-white {
  background-color: #ffffff;
  color: #0a0a0a;
}
.btn-white:hover { background-color: #f0f0f0; }

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  background: transparent;
}
.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

.btn-outline-white-lg {
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  background: transparent;
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-white-lg:hover {
  background-color: #ffffff;
  color: #0a0a0a;
}

.btn-dark {
  background-color: #0a0a0a;
  color: #ffffff;
  border: none;
}
.btn-dark:hover { background-color: #222; }

/* ── ANIMATIONS ── */

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

@keyframes slideDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.fade-up        { animation: fadeInUp 0.7s ease-out forwards; }
.delay-1        { animation-delay: 0.15s; opacity: 0; }
.delay-2        { animation-delay: 0.30s; opacity: 0; }
.delay-3        { animation-delay: 0.45s; opacity: 0; }

/* ── HOVER UNDERLINE ── */

.hover-underline {
  position: relative;
  display: inline-block;
}
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.hover-underline:hover::after { width: 100%; }

/* ── NAVBAR ── */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.navbar.scrolled {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .navbar-inner { height: 80px; }
}

.navbar-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-logo { color: #0a0a0a; }

.navbar-nav {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-nav { display: flex; }
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.navbar.scrolled .nav-link { color: #555; }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: #0a0a0a; }

.nav-link.active { color: #ffffff; }
.navbar.scrolled .nav-link.active { color: #0a0a0a; }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .burger { display: none; }
}

.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled .burger span { background-color: #0a0a0a; }

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
  background-color: #f8f8f8;
}

.mobile-menu.open { display: flex; }

.mobile-menu .nav-link {
  color: #555;
  font-size: 0.75rem;
}
.mobile-menu .nav-link.active { color: #0a0a0a; }

/* ── SECTIONS ── */

.section {
  padding: 6rem 0;
}

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

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

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.body-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: #555;
}

/* ── HERO ── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  padding-bottom: 4rem;
  max-width: 900px;
}

@media (min-width: 768px) {
  .hero-content { padding-bottom: 6rem; }
}

.hero-label { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .scroll-indicator { right: 3rem; }
}

.scroll-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background-color: rgba(255,255,255,0.2);
  overflow: hidden;
  position: relative;
}

.scroll-line-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.6);
  animation: slideDown 2s ease-in-out infinite;
}

/* ── INTRO ── */

.grid-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-intro {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
}

/* ── VALUES ── */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #e8e8e8;
}

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

.value-card {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

@media (min-width: 768px) {
  .value-card {
    border-bottom: none;
  }
}

.value-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: #ebebeb;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.value-card:hover .value-number { color: #d8d8d8; }

.value-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.value-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
}

/* ── QUOTE ── */

.quote-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

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

.quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
}

.quote-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
}

/* ── CTA ── */

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 2fr 1fr;
  }
  .cta-action { display: flex; justify-content: flex-end; }
}

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
}

.cta-title em {
  font-style: italic;
  font-weight: 400;
}

/* ── FOOTER ── */

.footer {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 5rem 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-label {
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  position: relative;
  display: inline-block;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-link:hover { color: #ffffff; }
.footer-link:hover::after { width: 100%; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
}

/* ── PAGE HEADER (Über uns / Kontakt) ── */

.page-header {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.3) 100%);
}

.page-header-content {
  position: relative;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .page-header-content { padding-bottom: 5rem; }
}

.page-header-label {
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.page-header-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

/* Dark page header (Kontakt) */
.page-header-dark {
  background-color: #0a0a0a;
  padding: 8rem 0 4rem;
}

@media (min-width: 768px) {
  .page-header-dark { padding: 10rem 0 5rem; }
}

/* ── ÜBER UNS ── */

.about-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}

.about-image {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-image { min-height: 500px; }
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-quote-box {
  background-color: #0a0a0a;
  padding: 3rem;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .about-quote-box { padding: 5rem; }
}

.about-quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.about-quote-sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
}

@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

.pillar-card {
  padding: 2.5rem;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.pillar-card:hover { background-color: #ffffff; }

.pillar-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

.pillar-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
}

.vision-section {
  background-color: #0a0a0a;
  padding: 6rem 0;
}

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

.vision-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.vision-title em {
  font-style: italic;
  font-weight: 400;
}

.vision-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 700px;
}

/* ── KONTAKT ── */

.contact-form-section {
  padding: 5rem 0 6rem;
  background-color: #f8f8f8;
}

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

.contact-form-wrap {
  max-width: 720px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d0d0d0;
  padding: 0.75rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #0a0a0a;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #aaa;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: #0a0a0a;
}

.form-textarea {
  resize: none;
  min-height: 160px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-required {
  font-size: 0.75rem;
  font-weight: 300;
  color: #aaa;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Map */
.map-section {
  border-top: 1px solid #e0e0e0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(0%) contrast(1.1);
}

@media (min-width: 768px) {
  .map-section iframe { height: 520px; }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
