/* ===== Ospitara – Landingpage ===== */

:root {
  --paper:    #FBF8F2;
  --paper-2:  #F1EBDF;
  --card:     #FFFFFF;
  --ink:      #16212E;
  --ink-soft: #545E6A;
  --blue:     #0E6BA8;
  --blue-deep:#0A557F;
  --line:     #E7DFD0;
  --line-soft:#EFE9DC;

  --tag-anfrage-bg:   rgba(14,107,168,.10);
  --tag-anfrage-fg:   #0A557F;
  --tag-beschwerde-bg:rgba(176,74,52,.12);
  --tag-beschwerde-fg:#993C27;
  --tag-buchung-bg:   rgba(53,120,84,.14);
  --tag-buchung-fg:   #2C6042;

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,33,46,.05), 0 14px 40px rgba(22,33,46,.07);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container.narrow { max-width: 680px; }

.mono { font-family: var(--mono); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Eyebrow (mono label) ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 18px;
}
.eyebrow::before { content: "// "; opacity: .5; }

/* ---- Headings ---- */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
  max-width: 18ch;
  overflow-wrap: break-word;
}
.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 16px; font-weight: 600; line-height: 1;
  padding: 15px 26px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; padding: 16px; font-size: 17px; }

:focus-visible { outline: 3px solid rgba(14,107,168,.45); outline-offset: 2px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { border-radius: 8px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); }

/* ---- Hero ---- */
.hero { padding: 76px 0 84px; border-bottom: 1px solid var(--line-soft); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.2vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 22px;
  overflow-wrap: break-word;
}
.hero-sub { font-size: 1.16rem; color: var(--ink-soft); margin: 0 0 30px; max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust { font-size: 14.5px; color: var(--ink-soft); max-width: 42ch; margin: 0; }

/* ---- Signature: der Posteingang ---- */
.inbox {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  transform: rotate(-1.2deg);
}
.inbox-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px 14px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
}
.inbox-bar .mono { font-size: 13px; color: var(--ink); font-weight: 500; }
.inbox-count { color: var(--ink-soft) !important; font-size: 11.5px !important; }
.slip {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 11px;
  background: #FEFDFB;
}
.slip:last-child { margin-bottom: 4px; }
.slip:nth-child(3) { border-left-color: #B04A34; }
.slip:nth-child(4) { border-left-color: #35784f; }
.slip-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.slip-from { font-weight: 600; font-size: 14px; color: var(--ink); }
.slip-text { margin: 0 0 8px; font-size: 14.5px; color: #33404E; line-height: 1.45; }
.slip-route { margin: 0; font-size: 11.5px; color: var(--ink-soft); }
.slip-route b { color: var(--ink); font-weight: 600; }

.tag {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .02em;
  padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
.tag-anfrage   { background: var(--tag-anfrage-bg);   color: var(--tag-anfrage-fg); }
.tag-beschwerde{ background: var(--tag-beschwerde-bg);color: var(--tag-beschwerde-fg); }
.tag-buchung   { background: var(--tag-buchung-bg);   color: var(--tag-buchung-fg); }

/* ---- Sections ---- */
.section { padding: 84px 0; }
.band { max-width: 760px; }
.prose p { font-size: 1.14rem; color: #3A4552; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ---- Problem ---- */
.problem { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---- Feature list ---- */
.feature-list { display: grid; gap: 8px; max-width: 820px; }
.feature {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-tag {
  font-size: 12px; font-weight: 500; letter-spacing: .05em;
  color: var(--blue-deep);
  background: var(--tag-anfrage-bg);
  padding: 5px 10px; border-radius: 6px;
  justify-self: start; margin-top: 4px;
}
.feature p { margin: 0; color: var(--ink-soft); }

/* ---- Steps ---- */
.steps-section { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; max-width: 720px; counter-reset: none; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start; }
.step-num {
  font-size: 20px; font-weight: 600; color: var(--blue);
  padding-top: 4px;
  border-top: 2px solid var(--blue);
}
.step p { margin: 0; color: var(--ink-soft); }

/* ---- Gründer ---- */
.founder-body { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.founder-portrait {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(150deg, var(--blue), var(--blue-deep));
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 34px;
  display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.founder-lead { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.3; color: var(--ink); margin: 0 0 16px; letter-spacing: -0.01em; }
.founder-text p { color: #3A4552; margin: 0 0 15px; }
.founder-sign { display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink) !important; margin-top: 6px !important; }
.founder-sign .mono { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .03em; }

/* ---- Why ---- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 46px; max-width: 900px; }
.why { border-left: 2px solid var(--blue); padding-left: 20px; }
.why p { margin: 0; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq-section { background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 2px 22px; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* ---- CTA (dunkler Moment) ---- */
.cta-section { background: var(--ink); color: #EAF0F5; }
.eyebrow-light { color: #7FB4D6; }
.h2-light { color: #fff; }
.cta-lead { font-size: 1.12rem; color: #B9C4CF; margin: 0 0 34px; max-width: 52ch; }
.contact-form {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius); padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  max-width: 560px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.optional { color: var(--ink-soft); font-weight: 400; }
.form-row input, .form-row textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue); outline: none; }
.form-row textarea { resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 22px; font-size: 14px; color: var(--ink-soft); }
.form-consent input { margin-top: 3px; flex: 0 0 auto; }
.form-status { margin: 14px 0 0; font-size: 15px; text-align: center; min-height: 1em; }
.form-status.success { color: #1a7f4b; font-weight: 600; }
.form-status.error { color: #c0392b; font-weight: 600; }
.cta-alt { margin-top: 24px; color: #B9C4CF; }
.cta-alt a { color: #9CCBE8; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--blue-deep); }
.footer-copy { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---- Reveal (nur wenn JS aktiv, sonst immer sichtbar) ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.inbox .slip:nth-child(3) { transition-delay: .08s; }
.inbox .slip:nth-child(4) { transition-delay: .16s; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .inbox { transform: rotate(0deg); max-width: 460px; }
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 60px; }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  .feature-tag { margin-top: 0; }
  .founder-body { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
