/* Mallorca Digital — Stylesheet
   Palette: Kalkstein, Mittelmeer-Petrol, Terrakotta */

:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --sand: #f2ece2;
  --sand-deep: #e9dfcd;
  --line: #e2d9cb;
  --ink: #16211e;
  --muted: #5f6b66;
  --deep: #0f3d3e;
  --deep-soft: #1a5654;
  --accent: #c4622d;
  --accent-soft: #e0854f;

  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --wrap: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 33, 30, 0.04), 0 8px 28px rgba(22, 33, 30, 0.06);
  --shadow-lift: 0 2px 6px rgba(22, 33, 30, 0.06), 0 18px 50px rgba(22, 33, 30, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografie ---------- */

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

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }

a { color: var(--deep); text-decoration-color: rgba(15, 61, 62, 0.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9em;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 246, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.94rem;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.lang {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang a, .lang span {
  padding: 4px 9px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--muted);
}
.lang .active { background: var(--deep); color: #fff; }

/* Mobiles Menü — ohne JavaScript, per <details> */

.mnav { display: none; margin-left: auto; position: relative; }
.mnav > summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary span,
.mnav > summary span::before,
.mnav > summary span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  position: relative;
}
.mnav > summary span::before { position: absolute; top: -6px; }
.mnav > summary span::after { position: absolute; top: 6px; }
.mnav[open] > summary { border-color: var(--deep); }

.mnav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.mnav-panel a {
  padding: 11px 14px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}
.mnav-panel a:hover { background: var(--sand); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 61, 62, 0.22);
}
.btn-primary:hover { background: var(--deep-soft); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Abschnitte ---------- */

section { padding: clamp(56px, 8vw, 96px) 0; }
section.tight { padding-top: 0; }

.band { background: var(--sand); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(48px, 7vw, 84px);
  background:
    radial-gradient(70ch 50ch at 82% 8%, rgba(196, 98, 45, 0.10), transparent 60%),
    radial-gradient(60ch 46ch at 8% 92%, rgba(15, 61, 62, 0.09), transparent 62%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 0; max-width: 46ch; }

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 18px;
}

/* Telefon-Darstellung im Hero */

.device {
  justify-self: center;
  width: min(100%, 310px);
  filter: drop-shadow(0 22px 46px rgba(22, 33, 30, 0.20));
}
.device svg { display: block; width: 100%; height: auto; }

/* Vertrauensleiste */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
  padding: 22px 0;
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 30px;
}
.trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink);
}
.trust .tick {
  color: var(--accent);
  font-weight: 700;
  flex: none;
  line-height: 1.55;
}

/* ---------- Bildstreifen ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.shot { margin: 0; }

.shot .frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-color: var(--sand-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Erste Ebene ist das echte Foto, darunter liegt ein Ersatzverlauf.
   Fehlt die Bilddatei noch, sieht man den Verlauf statt eines defekten Bildes. */
.shot-lokal  .frame { background-image: url("bilder/lokal.jpg"),  linear-gradient(150deg, #efe4d2, #dcc9ab); }
/* Gezeichnet statt fotografiert: eine digitale Speisekarte gibt es als
   brauchbares Stockfoto praktisch nicht. */
.shot-karte  .frame { background-image: url("bilder/karte.svg"); background-size: cover; }
.shot-finca  .frame { background-image: url("bilder/finca.jpg"),  linear-gradient(150deg, #e2e8e4, #bcd0cb); }

.shot figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.shot figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

/* ---------- Leistungskarten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

.card .kicker {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.card ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 0.97rem;
  color: var(--ink);
}
.card li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.price-tag {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--deep);
}
.price-tag small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* ---------- Preis-Eckpunkte ---------- */

.facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.facts li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  counter-reset: step;
}
.step { counter-increment: step; position: relative; }
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
/* Verbindungslinie zwischen den Schritten */
.step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 46px;
  right: -30px;
  height: 1px;
  background: linear-gradient(to right, var(--line), rgba(226, 217, 203, 0.25));
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 0.35em; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Über / Kontakt ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}

.about {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-color: var(--sand-deep);
  background-image: url("bilder/viktor.jpg"), linear-gradient(160deg, #e7ddcc, #cdbfa6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.panel {
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 42px);
}
.panel h2 { color: #fff; }
.panel p { color: rgba(255, 255, 255, 0.82); }
.panel a { color: #fff; }

/* Heller Knopf auf dunklem Kasten: sonst weiße Schrift auf weißem Grund */
.panel .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.panel .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.contact-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.contact-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list .label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3px;
}
.contact-list a, .contact-list strong {
  font-size: 1.04rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

/* ---------- Fußzeile ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--sand);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}
.site-footer a { color: var(--muted); }
.site-footer .spacer { margin-left: auto; }

/* ---------- Rechtstexte ---------- */

.legal { max-width: 760px; }
.legal h2 { margin-top: 1.8em; font-size: 1.4rem; }
.legal h2:first-of-type { margin-top: 0.6em; }
.legal dl { margin: 0 0 1.4em; }
.legal dt { font-weight: 650; margin-top: 0.9em; }
.legal dd { margin: 0; color: var(--muted); }

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Mobil ---------- */

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .device { width: min(100%, 268px); margin-top: 8px; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .mnav { display: block; }
  .lang { order: 2; }
  body { font-size: 16px; }
  .card { padding: 26px 22px; }
  .about { grid-template-columns: 1fr; gap: 22px; }
  .portrait { width: 170px; }
}
