/* ============================================================
   Fairway Travel – Hauptstylesheet
   Design: Skandinavische Moderne mit mediterranem Einfluss
   Palette: Olivgrün · Terrakotta · Sandbeige · Elfenbein
   Fonts: Cormorant Garamond (Headlines) · Inter (Body)
   ============================================================ */

/* --- Reset & Basis ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:          #faf8f3;   /* Cremiges Elfenbein */
  --clr-fg:          #3d3c45;   /* Warmes Anthrazit */
  --clr-primary:     #3a6642;   /* Tiefes Olivgrün */
  --clr-primary-fg:  #faf8f3;
  --clr-accent:      #c07a45;   /* Warmes Terrakotta */
  --clr-accent-fg:   #faf8f3;
  --clr-sand:        #ede8dc;   /* Sandbeige */
  --clr-muted:       #7a7888;   /* Schiefergrau */
  --clr-border:      #ddd8cc;
  --clr-card:        #ffffff;
  --radius:          12px;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08);
  --shadow-md:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:       0 8px 32px rgba(0,0,0,.14);
  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'Inter', system-ui, sans-serif;
  --max-w:           1280px;
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-fg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-fg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }

/* --- Layout ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-accent-fg);
}
.btn-accent:hover { background: #a8663a; }
.btn-outline {
  background: transparent;
  border-color: var(--clr-fg);
  color: var(--clr-fg);
}
.btn-outline:hover { background: var(--clr-fg); color: var(--clr-bg); }

/* --- Badge -------------------------------------------------- */
.badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--clr-sand);
  color: var(--clr-fg);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}

/* --- Cards -------------------------------------------------- */
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.card:hover { box-shadow: var(--shadow-md); }

/* --- Icon Circle ------------------------------------------- */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--clr-primary) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
}

/* --- Section Header ---------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--clr-muted);
  max-width: 36rem;
  margin-inline: auto;
}

/* --- Linen Texture ----------------------------------------- */
.linen-texture { position: relative; }
.linen-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.025) 2px, rgba(0,0,0,.025) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.025) 2px, rgba(0,0,0,.025) 4px);
  pointer-events: none;
  opacity: .4;
}

/* --- Diagonal Clips ---------------------------------------- */
.diagonal-clip-top {
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
  margin-top: -5rem;
  padding-top: 8rem;
}
.diagonal-clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: -5rem;
  padding-bottom: 8rem;
}

/* --- Fade-in-up Animation ---------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,243,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-circle-inv {
  background: var(--clr-bg);
  color: var(--clr-fg);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--clr-fg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--clr-fg);
  transition: color .2s;
}
.nav-links a:hover { color: var(--clr-primary); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-fg);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--clr-border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-fg);
  padding: .4rem 0;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,248,243,.95) 0%, rgba(250,248,243,.7) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}
.hero-text p {
  font-size: 1.15rem;
  color: var(--clr-muted);
  max-width: 34rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: .5rem;
}
@media (max-width: 767px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(250,248,243,.9) 0%, rgba(250,248,243,.75) 60%, transparent 100%);
  }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--clr-sand);
  padding-block: 5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.features-grid .card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.features-grid .card h3 {
  font-size: 1.2rem;
}
.features-grid .card p {
  color: var(--clr-muted);
  font-size: .95rem;
}

/* ============================================================
   DESTINATIONS
   ============================================================ */
.destinations {
  background: var(--clr-bg);
  padding-block: 5rem;
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.dest-card:hover { box-shadow: var(--shadow-lg); }
.dest-img-wrap {
  position: relative;
  height: 20rem;
  overflow: hidden;
}
.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.dest-card:hover .dest-img-wrap img { transform: scale(1.07); }
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,28,36,.8) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}
.dest-overlay h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: .4rem;
}
.dest-overlay p {
  font-size: .9rem;
  opacity: .9;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--clr-sand);
  padding-block: 5rem;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.about-text p { color: var(--clr-muted); font-size: 1.05rem; }
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding-top: .5rem;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--clr-fg);
}
.checklist li svg { color: var(--clr-primary); flex-shrink: 0; }
.about-img { display: flex; justify-content: center; }
.about-img-circle {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--clr-bg);
  box-shadow: var(--shadow-lg);
}
.about-img-circle img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img-circle { width: min(300px, 100%); }
  .checklist { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--clr-bg); padding-block: 5rem; }
.faq-inner { max-width: 52rem; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  list-style: none;
  user-select: none;
  color: var(--clr-fg);
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '•';
  color: var(--clr-primary);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary { background: color-mix(in srgb, var(--clr-primary) 6%, transparent); }
.faq-item p {
  padding: 0 1.5rem 1.25rem 3rem;
  color: var(--clr-muted);
  font-size: .97rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--clr-sand); padding-block: 5rem; }
.contact-inner { max-width: 52rem; margin-inline: auto; }
.contact-card { padding: 2.5rem 3rem; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: .3rem;
}
.contact-item a,
.contact-item address {
  font-size: 1.05rem;
  color: var(--clr-muted);
  transition: color .2s;
}
.contact-item a:hover { color: var(--clr-primary); }
.contact-cta {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--clr-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.contact-cta p { color: var(--clr-muted); }
@media (max-width: 640px) { .contact-card { padding: 1.5rem; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-fg);
  color: rgba(250,248,243,.85);
  padding-top: 3.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
}
.footer-brand .footer-logo span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--clr-bg);
}
.footer-brand p { font-size: .9rem; opacity: .7; }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--clr-bg);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .9rem; opacity: .7; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy {
  border-top: 1px solid rgba(250,248,243,.15);
  text-align: center;
  padding: 1.25rem;
  font-size: .85rem;
  opacity: .55;
}
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ (Unterseiten)
   ============================================================ */
.subpage-nav {
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg);
}
.subpage-nav .nav-inner { padding-block: 1rem; }
.subpage-content {
  max-width: 52rem;
  margin-inline: auto;
  padding: 4rem 1rem 6rem;
}
.subpage-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
.subpage-content section { margin-bottom: 2.5rem; }
.subpage-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.subpage-content h3 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
  margin-top: 1.5rem;
}
.subpage-content p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.subpage-content ul {
  padding-left: 1.5rem;
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.subpage-content a { color: var(--clr-primary); text-decoration: underline; }
.subpage-content a:hover { color: var(--clr-accent); }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-fg);
  transition: color .2s;
}
.back-btn:hover { color: var(--clr-primary); }
