/* =========================================================
   Reiseagentur Walker – Stylesheet
   Modernes, ruhiges Reise-Design: Ozean-Teal + warmer Sand
   ========================================================= */

:root {
  --teal-900: #062f33;
  --teal-800: #0c4a4e;
  --teal-700: #115e5e;
  --teal-600: #1a7a73;
  --teal-500: #2a958a;
  --sand-50:  #fbf7f0;
  --sand-100: #f4ecdf;
  --sand-200: #e7d9c4;
  --coral:    #e08a5b;
  --coral-dark: #cf7544;
  --ink:      #1c2b2b;
  --muted:    #5b6b6b;
  --line:     rgba(12, 74, 78, 0.12);
  --white:    #ffffff;

  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(6, 47, 51, 0.08);
  --shadow-md: 0 18px 50px rgba(6, 47, 51, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-800);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 138, 91, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.35s var(--ease);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  flex: none;
}
.scrolled .brand { color: var(--teal-800); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color 0.25s var(--ease);
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width 0.3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.scrolled .main-nav a { color: var(--teal-800); }

.nav-cta {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--coral-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.scrolled .nav-toggle span { background: var(--teal-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 47, 51, 0.55) 0%, rgba(6, 47, 51, 0.25) 35%, rgba(6, 47, 51, 0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: 7rem 4rem;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--sand-100);
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 560px;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--teal-800);
  color: #fff;
  padding: 2.6rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 64%;
  background: rgba(255, 255, 255, 0.18);
}
.trust-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--coral);
}
.trust-label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--coral-dark);
  margin: 0 0 0.8rem;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--sand-100);
  color: var(--teal-700);
  margin-bottom: 1.3rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--teal-800); }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.partners {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 1.6rem;
  border-top: 1px solid var(--line);
}
.partners-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.partners-list li {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--teal-700);
}

/* ---------- About ---------- */
.about { background: var(--sand-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.about-media::after {
  content: "seit 1991";
  position: absolute;
  left: -14px; bottom: 28px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.2rem; color: var(--teal-800); }
.about-text p { color: var(--muted); margin: 0 0 1.1rem; }
.about-text p strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--teal-800);
  color: #fff;
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-key {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--teal-700); font-weight: 500; }
.contact-list a:hover { color: var(--coral-dark); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand-50);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(26, 122, 115, 0.15);
}
.contact-form .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.92rem; margin: 0.9rem 0 0; min-height: 1.2em; }
.form-note.ok { color: var(--teal-600); }
.form-note.err { color: #c0392b; }

/* ---------- Reise-Suche (IBE) ---------- */
.search-section { background: var(--sand-100); }
.search-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.search-fields {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: end;
}
.s-field { display: flex; flex-direction: column; grid-column: span 2; }
.s-field--wide { grid-column: span 6; }
.s-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 0.4rem;
}
.s-field input,
.s-field select {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand-50);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.s-field input:focus,
.s-field select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(26, 122, 115, 0.15);
}
.search-submit { width: 100%; margin-top: 1.4rem; }
.search-hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Status + Ergebnisliste */
.search-status {
  max-width: 1000px;
  margin: 1.6rem auto 0;
  font-weight: 500;
  color: var(--teal-800);
}
.search-status a { color: var(--coral-dark); text-decoration: underline; }
.search-status:empty { display: none; }

.results-grid {
  max-width: 1000px;
  margin: 1.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.offer-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--sand-200); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__board {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  background: rgba(6, 47, 51, 0.85); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.3rem 0.6rem; border-radius: 999px;
}
.offer-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.offer-card__stars { color: #e0a82e; font-size: 0.9rem; letter-spacing: 1px; }
.offer-card__title { font-size: 1.18rem; color: var(--teal-800); margin: 0.3rem 0 0.15rem; }
.offer-card__region { color: var(--muted); font-size: 0.9rem; margin: 0; }
.offer-card__meta { color: var(--muted); font-size: 0.82rem; margin: 0.35rem 0 0; }
.offer-card__foot {
  margin-top: auto; padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.offer-card__price { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.offer-card__price small { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; color: var(--muted); }
.offer-card__price small:first-child { margin-right: 0.2rem; }
.offer-card__price small:last-child { margin-left: 0.2rem; }
.offer-card__btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

/* Detail-Modal */
.offer-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; }
.offer-modal[hidden] { display: none; }
.offer-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 47, 51, 0.55); backdrop-filter: blur(3px); }
.offer-modal__dialog {
  position: relative; z-index: 1;
  width: min(820px, 100%); max-height: 88vh; overflow: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.offer-modal__close {
  position: absolute; top: 0.6rem; right: 0.8rem; z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.offer-modal__close:hover { background: #fff; }
.offer-detail { display: grid; grid-template-columns: 1fr 1fr; }
.offer-detail__img { width: 100%; height: 100%; max-height: 88vh; object-fit: cover; }
.offer-detail__info { padding: 2rem; }
.offer-detail__title { font-size: 1.7rem; color: var(--teal-800); margin: 0.2rem 0 0.1rem; }
.offer-detail__region { color: var(--muted); margin: 0 0 1rem; }
.offer-detail__summary { color: var(--ink); margin: 0 0 1rem; }
.offer-detail__highlights { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.4rem; }
.offer-detail__highlights li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.offer-detail__highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }
.offer-detail__facts { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.6rem; }
.offer-detail__price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--ink); margin-bottom: 1.2rem; }
.offer-detail__price small { font-family: var(--font-sans); font-size: 0.8rem; color: var(--muted); }
.offer-detail__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn-ghost--dark { background: transparent; color: var(--teal-800); border-color: var(--teal-800); backdrop-filter: none; }
.btn-ghost--dark:hover { background: var(--teal-800); color: #fff; }
.offer-detail__note { font-size: 0.8rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}
.footer-brand p { margin: 0.3rem 0 0; font-style: italic; color: var(--sand-200); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.footer-nav a { font-weight: 500; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--coral); }
.footer-bottom { padding-top: 1.4rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 320px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-detail { grid-template-columns: 1fr; }
  .offer-detail__img { max-height: 240px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; z-index: 110; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem 2.2rem;
    background: var(--teal-800);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a, .scrolled .main-nav a { color: #fff; font-size: 1.15rem; }
  .nav-cta { margin-top: 0.5rem; }

  body.nav-open { overflow: hidden; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .trust-item:nth-child(2)::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .search-fields { grid-template-columns: repeat(2, 1fr); }
  .s-field, .s-field--wide { grid-column: span 1; }
  .s-field--wide { grid-column: span 2; }
  .results-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .hero-content { padding-block: 6rem 3rem; }
}
