/* =========================================================
   Atahualpa – Sprachschule Ecuador
   Modernes, warmes Design-System
   ========================================================= */

:root {
  /* Palette – Flyer-Ton: Creme, Olivgrün (Überschriften/Bänder), gebranntes Orange (Akzent) */
  --terracotta: #c0660c;      /* Orange-Akzent (aus Flyer): Links, Buttons, aktive Nav */
  --terracotta-dark: #a85400; /* tieferes Orange (aus Flyer): Hover, Betonung, Summen */
  --sand: #faf7f1;            /* sehr helles Creme – Sektionen (fast weiß) */
  --sand-2: #f4f0e8;          /* zartes Creme für Flächen/Kästen */
  --cream: #fdfbf7;           /* fast weißes Creme – Haupt-Hintergrund */
  --sage: #7a8a4a;
  --forest: #748443;          /* helleres, wärmeres Olivgrün für Banner/Bänder (weiße Schrift) */
  --forest-dark: #5c6a30;
  --green-ink: #5c6a30;       /* wärmeres Olivgrün: Häkchen, Schritt-Nummern, Tags */
  --gold: #c0660c;            /* Akzent – gleiches gebranntes Orange (aus Flyer) */
  --gold-soft: #e0b285;
  --ink: #3b3a30;             /* warmes Anthrazit für Fließtext */
  --head: #5c6a30;            /* helleres, wärmeres Olivgrün für Überschriften */
  --muted: #6f6a5e;           /* Sekundärer Text */
  --line: #e6ded0;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(74, 55, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(74, 55, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(74, 55, 40, 0.18);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --maxw: 1040px;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--head);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: var(--terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta-dark); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 40px 0; }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: #fbf8f2; }
.section-forest h1, .section-forest h2, .section-forest h3 { color: #ffffff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-dark);
  background: #e9ede0;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-forest .eyebrow { color: #fff; background: rgba(255,255,255,0.2); }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section-forest .lead { color: #f2efe7; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.section-forest .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-gold { background: var(--gold); color: #3a2c12; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-soft); color: #3a2c12; }
.btn-light { background: #fff; color: var(--terracotta); }
.btn-light:hover { color: var(--terracotta-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100px;
  max-width: 1200px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 68px; width: auto; flex-shrink: 0; display: block; mix-blend-mode: multiply; }
.site-footer .brand-logo { height: 86px; mix-blend-mode: multiply; }
@media (max-width: 620px) { .brand-logo { height: 62px; } }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 700; font-size: 0.9rem; letter-spacing: .005em; white-space: nowrap;
  padding: 8px 12px; border-radius: 999px; background: transparent;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: #eef0e6; color: var(--terracotta-dark); }
.nav-links a.active { background: var(--terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.nav-cta { margin-left: 6px; }
.lang-switch { display: inline-flex; gap: 3px; align-items: center; margin-left: 8px; }
.lang-switch a { padding: 6px 9px; border-radius: 8px; font-weight: 800; font-size: 0.82rem; color: var(--muted); letter-spacing: .03em; }
.lang-switch a:hover { background: var(--sand-2); color: var(--terracotta-dark); }
.lang-switch a.active { background: var(--terracotta); color: #fff; }

/* ---------- Online-Formular: Ankreuz-Gruppen ---------- */
.grp { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 10px; margin: 16px 0; }
.grp legend { font-weight: 800; font-size: 0.84rem; letter-spacing: .02em; color: var(--terracotta-dark); padding: 0 7px; }
.grp .chk { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink); margin: 5px 18px 6px 0; cursor: pointer; }
.grp .chk input { width: 17px; height: 17px; accent-color: var(--terracotta-dark); cursor: pointer; }
/* Aufklappbare optionale Abschnitte: Titel immer sichtbar, Inhalt einklappbar */
.cond > legend { cursor: pointer; user-select: none; }
.cond > legend::after { content: " ▸"; font-size: .8rem; color: var(--terracotta); }
.cond.open > legend::after { content: " ▾"; }
.cond:not(.open) { background: rgba(192,102,12,.045); padding-bottom: 8px; }
.cond:not(.open) > :not(legend) { display: none !important; }
.grp.calc .field.checks { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.grp.calc .total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 1.2rem; color: var(--terracotta-dark); }
.grp.calc .total strong { font-weight: 700; }
.form-badge { display: inline-block; background: #f0e3d6; color: var(--terracotta-dark); font-weight: 800; font-size: 0.82rem; letter-spacing: .03em; padding: 7px 14px; border-radius: 999px; margin-bottom: 14px; }

.nav-toggle { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 10px; border-radius: 10px;
}
.hamburger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(74,55,40,0.42), rgba(74,55,40,0.72)),
    url("img/web/hero-strand-sonnenuntergang.jpg") center/cover;
  color: #fff;
  min-height: 322px;
  display: flex;
  align-items: center;
  padding: 26px 0;
}
.statband { background: var(--forest); padding: 9px 0; }
.statband .statline { margin: 0; text-align: center; color: #fbf8f2; font-size: 0.95rem; line-height: 1.4; }
.statband .statline b { color: var(--gold-soft); font-weight: 700; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #f3ede1; font-size: 1.25rem; max-width: 56ch; }
.hero .btn-row { margin-top: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-badge b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-soft); }
.hero-badge span { font-size: 0.9rem; color: #ece5d6; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); font-size: 1.6rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }

/* Accommodation cards – compact so text never clips */
.acc-grid .card { padding: 22px 20px 24px; }
.acc-grid .card h3 { font-size: 1.15rem; }
.acc-grid .card p { font-size: 0.9rem; line-height: 1.55; margin-bottom: 0; }

/* Offer cards with photo */
.offer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.offer:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.offer-img { height: 210px; background-size: cover; background-position: center; }
.offer-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.offer-body h3 { margin-bottom: 8px; }
.offer-body p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.offer-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-ink); background: #e6ecdf;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Featured (large) offer card */
.offer-featured { display: grid; grid-template-columns: 300px 1fr; align-items: stretch; margin-bottom: 26px; }
.offer-featured .offer-img { height: auto; min-height: 260px; }
.offer-featured .offer-body { padding: 34px 38px; }
@media (max-width: 700px) { .offer-featured { grid-template-columns: 1fr; } .offer-featured .offer-img { min-height: 190px; } }

/* Split / feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .media { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.media { height: 380px; background-size: cover; background-position: center; }

/* Feature list with checks */
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding: 8px 0 8px 36px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-ink); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 900;
}

/* ---------- Tables (Preise) ---------- */
.price-table {
  width: 100%; max-width: 640px; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); margin-bottom: 34px; font-size: 0.92rem;
}
.price-table caption {
  caption-side: top; text-align: left; font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; color: var(--ink);
}
.price-table th, .price-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th + th, .price-table tbody td + td { text-align: right; width: 62px; white-space: nowrap; }
.price-table thead th { background: var(--forest); color: #fff; font-weight: 800; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tbody tr:nth-child(even) { background: var(--sand); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-note { font-size: 0.9rem; color: var(--muted); margin: -18px 0 40px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px 26px 84px; position: relative; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 24px; top: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Quote / testimonial ---------- */
.quote {
  background: #fff; border-radius: var(--radius); padding: 40px 44px;
  box-shadow: var(--shadow-sm); border-left: 6px solid var(--gold);
}
.quote p { font-family: var(--font-head); font-size: 1.4rem; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; color: var(--muted); font-weight: 700; font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-card {
  background: transparent; border: none; border-radius: 0;
  padding: 0; box-shadow: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: var(--sand); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terracotta); background: #fff;
}

/* PDF / form download list */
.pdf-list { display: grid; gap: 12px; margin: 8px 0 4px; }
.pdf-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .15s, box-shadow .2s, border-color .2s; }
.pdf-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--terracotta); }
.pdf-ico { font-size: 1.7rem; }
.pdf-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.3; color: var(--ink); }
.pdf-txt b { font-weight: 800; }
.pdf-txt span { color: var(--muted); font-size: 0.88rem; }
.pdf-dl { font-weight: 800; color: var(--terracotta-dark); white-space: nowrap; font-size: 0.9rem; }

/* Contact info block */
.contact-block { background: var(--sand-2); color: var(--ink); border: 1px solid #ece1d0; border-radius: var(--radius); padding: 34px; }
.contact-block h3 { color: var(--terracotta-dark); }
.contact-block a { color: var(--terracotta-dark); }
.contact-block .ci { margin-bottom: 22px; }
.contact-block .ci b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: #fff; border-radius: var(--radius-lg); padding: 24px 48px; text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff2e4; max-width: 54ch; margin-inline: auto; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery div { height: 220px; border-radius: 14px; background-size: cover; background-position: center; box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: #f7f3ec; color: var(--muted); padding: 64px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--terracotta-dark); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; font-size: 0.85rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand .brand-name { color: var(--ink); }
.footer-brand p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--forest); color: #fbf8f2; padding: 44px 0 38px; }
.page-hero h1 { color: #ffffff; }
.page-hero p { color: #f3efe7; max-width: 60ch; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: #eae3d7; margin-bottom: 14px; }
.breadcrumb a { color: #ffffff; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.txt-muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1120px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 100px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 16px 24px 26px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s; z-index: 90;
  }
  .nav-links a { padding: 13px 14px; }
  .nav-toggle:checked ~ .nav-links { transform: translateY(0); }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 30px 0; }
  .cta-band { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

/* ---------- WhatsApp-Icon in der Navigation ---------- */
.nav-wa{ display:inline-flex; align-items:center; margin-left:8px; }
.nav-wa a{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:#25D366; padding:0; transition:filter .15s ease; }
.nav-wa a:hover{ filter:brightness(1.06); }
.nav-wa svg{ width:17px; height:17px; fill:#fff; display:block; }
@media print{ .nav-wa{ display:none; } }
