/* ---------- Design tokens ---------- */
:root {
  --brand: #990000;
  --brand-dark: #7a0000;
  --brand-light: #c23b3b;
  --ink: #2b2b2b;
  --body-text: #5c5c5c;
  --bg: #ffffff;
  --bg-soft: #f7f5f4;
  --border: #e6e0de;
  --success-bg: #eaf6ec;
  --success-text: #1e6b34;
  --error-bg: #fbeaea;
  --error-text: #990000;

  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

ul {
  padding-left: 1.2em;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-content {
  padding: 2rem 0 3rem;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--brand-dark);
  color: #fff;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 4px solid var(--brand);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  font-family: var(--font-heading);
}

.brand-line1 {
  font-size: 1.4rem;
  color: var(--ink);
}

.brand-line2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--brand);
}

.brand-badge {
  height: 48px;
  width: auto;
  margin-left: auto;
  order: 2;
}

.nav-toggle {
  order: 3;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav {
  order: 4;
  width: 100%;
  background: var(--brand);
  border-radius: var(--radius);
}

.site-nav[data-open="false"] ul {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-dark);
  color: #fff;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    order: 3;
    width: auto;
    background: transparent;
    border-radius: 0;
  }

  .site-nav[data-open="false"] ul {
    display: flex;
  }

  .site-nav ul {
    flex-direction: row;
    background: var(--brand);
    border-radius: var(--radius);
  }

  .brand-badge {
    margin-left: 0;
    order: initial;
  }
}

/* ---------- Flash messages ---------- */
.flash-messages {
  max-width: var(--max-width);
  margin: 1rem auto 0;
  padding: 0 1.25rem;
}

.flash {
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.flash-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.flash-error {
  background: var(--error-bg);
  color: var(--error-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05));
}

.hero-content {
  position: relative;
  padding: 2rem;
}

.hero-content h1,
.hero-content p {
  color: #fff;
}

/* ---------- Photo scroller (rooms gallery) ---------- */
.photo-scroller {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  margin: 0 0 2rem;
  -webkit-overflow-scrolling: touch;
}

.photo-scroller img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(85vw, 420px);
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  max-width: 640px;
}

@media (min-width: 640px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }

  .form-row.span-2 {
    grid-column: 1 / -1;
  }
}

.form-row label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--brand-light);
  outline-offset: 1px;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: var(--brand);
}

.field-error {
  display: block;
  color: var(--brand);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Price table ---------- */
.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table.price-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
}

table.price-table th,
table.price-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}

table.price-table th {
  background: var(--bg-soft);
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.5rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--body-text);
}

.site-footer a {
  margin-right: 1rem;
}

/* ---------- Contact / impressum ---------- */
.impressum {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
