/* RateMySchmarrn — Mobile-first stylesheet
   Palette: #8B4513 primary (Schmarrn-brown), #FDF6ED background (warm cream),
            #CC0000 accent (Österreich-Rot), #F5A623 stars (golden), #3D1F00 nav */

/* ── Reset & base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #FDF6ED;
  color: #2C1A0E;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #8B4513; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Utility ─────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-muted { color: #7A6048; font-size: .9em; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  background: #3D1F00;
  color: #FDF6ED;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  color: #FDF6ED;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; opacity: .85; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FDF6ED;
  border-radius: 2px;
  transition: all .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav menu — mobile: hidden by default */
.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #3D1F00;
  padding: .5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-menu.is-open { display: flex; }
.nav-menu li a {
  display: block;
  color: #FDF6ED;
  padding: .75rem 1.5rem;
  transition: background .15s;
}
.nav-menu li a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* Guest nav is always visible inline */
.nav-menu--guest {
  display: flex;
  flex-direction: row;
  position: static;
  background: none;
  padding: 0;
  border: none;
}
.nav-menu--guest li a { padding: .25rem .75rem; }

/* Desktop ≥ 640px */
@media (min-width: 640px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    border: none;
    gap: .25rem;
  }
  .nav-menu li a { padding: .35rem .75rem; border-radius: 4px; }
}

/* ── Main content ────────────────────────────────────────────────────────── */
.main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  width: 100%;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: #3D1F00;
  color: rgba(253,246,237,.6);
  text-align: center;
  padding: 1rem;
  font-size: .85rem;
}

/* ── Flash messages ──────────────────────────────────────────────────────── */
.flash {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: .95rem;
  animation: fadeIn .25s ease;
}
.flash--success { background: #DFF6DD; color: #1D6B29; border: 1px solid #A8DBA8; }
.flash--error   { background: #FFEAEA; color: #8B0000; border: 1px solid #F5AAAA; }
.flash--info    { background: #EAF3FF; color: #1A4A8A; border: 1px solid #AAC8F5; }
.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .6;
  font-size: 1rem;
  line-height: 1;
  padding: 0 .25rem;
}
.flash-close:hover { opacity: 1; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; } }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert {
  padding: .875rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.alert--error { background: #FFEAEA; color: #8B0000; border: 1px solid #F5AAAA; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary  { background: #8B4513; color: #fff; border-color: #8B4513; }
.btn--primary:hover  { background: #7A3B10; border-color: #7A3B10; }
.btn--ghost    { background: transparent; color: #8B4513; border-color: #8B4513; }
.btn--ghost:hover    { background: #8B4513; color: #fff; }
.btn--danger   { background: #CC0000; color: #fff; border-color: #CC0000; }
.btn--danger:hover   { background: #AA0000; border-color: #AA0000; }
.btn--full     { width: 100%; justify-content: center; }
.btn--sm       { padding: .35rem .75rem; font-size: .875rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 1px 6px rgba(139,69,19,.12);
  max-width: 680px;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  font-size: .95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .6rem .85rem;
  border: 2px solid #D4B896;
  border-radius: 6px;
  font-size: 1rem;
  background: #FFFDF9;
  color: #2C1A0E;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #8B4513;
  background: #fff;
}
.form-group input[readonly],
.form-group input[disabled] {
  background: #F0E8DC;
  color: #7A6048;
  cursor: not-allowed;
}
.form-group small { display: block; color: #7A6048; font-size: .8rem; margin-top: .25rem; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.form-fieldset {
  border: 1px solid #D4B896;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.form-fieldset legend {
  font-weight: 600;
  padding: 0 .5rem;
  font-size: .9rem;
}
.form-inline .form-group--inline {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
}
.form-inline input[type="email"] {
  width: auto;
  flex: 1;
}

/* ── Form row (date + time side by side) ─────────────────────────────────── */
.form-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.form-row .form-group { flex: 1; min-width: 120px; }
.form-row .form-group:last-child { flex: 0 0 auto; min-width: 110px; }

/* ── Sliders (rating) ────────────────────────────────────────────────────── */
.slider-group label {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.slider-value {
  display: inline-block;
  min-width: 1.5ch;
  font-size: 1.4rem;
  font-weight: 800;
  color: #8B4513;
}
.rating-slider {
  width: 100%;
  margin: .4rem 0 .2rem;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #8B4513 0%, #8B4513 50%, #D4B896 50%, #D4B896 100%);
  outline: none;
}
.rating-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: #8B4513;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  cursor: pointer;
}
.rating-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #8B4513;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  cursor: pointer;
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: #7A6048;
  padding: 0 2px;
}

/* ── Toggle switch ───────────────────────────────────────────────────────── */
.toggle-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}
.toggle-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #D4B896;
  border-radius: 13px;
  flex-shrink: 0;
  transition: background .2s;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .2s;
}
.toggle-label input:checked + .toggle-switch { background: #8B4513; }
.toggle-label input:checked + .toggle-switch::after { transform: translateX(22px); }

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.auth-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 0;
}
.auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(139,69,19,.15);
  width: 100%;
  max-width: 420px;
}
.auth-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: .25rem;
  color: #3D1F00;
}
.auth-sub {
  text-align: center;
  color: #7A6048;
  margin-bottom: 1.5rem;
}
.auth-form .btn { margin-top: .5rem; }
.change-email {
  font-size: .82rem;
  display: block;
  margin-top: .25rem;
}

/* ── Page header ─────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 1.6rem;
  color: #3D1F00;
  flex: 1;
}
.page-header__sub {
  width: 100%;
  color: #7A6048;
  margin-top: -.75rem;
}

/* ── Sort bar ────────────────────────────────────────────────────────────── */
.sort-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: #7A6048;
}
.sort-link { color: #8B4513; }
.sort-link--active { font-weight: 700; text-decoration: underline; }

/* ── Event list ──────────────────────────────────────────────────────────── */
.event-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(139,69,19,.1);
  transition: box-shadow .15s, transform .1s;
  overflow: hidden;
  border-left: 4px solid transparent;
}
.event-card--participating { border-left-color: #8B4513; }
.event-card:hover { box-shadow: 0 4px 16px rgba(139,69,19,.18); transform: translateY(-1px); }

.event-card__link {
  display: block;
  padding: 1.1rem 1.25rem;
  color: inherit;
}
.event-card__link:hover { text-decoration: none; }
.event-card__header {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}
.event-card__title {
  font-size: 1.1rem;
  color: #3D1F00;
  flex: 1;
}
.event-card__date {
  font-size: .85rem;
  color: #7A6048;
  white-space: nowrap;
}
.event-card__address {
  font-size: .85rem;
  color: #7A6048;
  margin-bottom: .5rem;
}
.event-card__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .88rem;
}
.event-card__rating { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.event-card__rating--none { color: #7A6048; font-style: italic; }
.event-card__participants { color: #7A6048; }

/* ── Stars ───────────────────────────────────────────────────────────────── */
.stars { display: inline-flex; gap: 1px; }
.star { font-size: 1rem; }
.star.full  { color: #F5A623; }
.star.half  { color: #F5A623; opacity: .6; }
.star.empty { color: #D4B896; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 700;
}
.badge--green  { background: #DFF6DD; color: #1D6B29; }
.badge--orange { background: #FFF3CD; color: #7A5C00; }
.badge--red    { background: #FFEAEA; color: #8B0000; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #7A6048;
  font-size: 1.1rem;
}

/* ── Event detail ────────────────────────────────────────────────────────── */
.event-detail { display: flex; flex-direction: column; gap: 1.5rem; }
.event-section {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 5px rgba(139,69,19,.08);
}
.event-section h2 {
  font-size: 1.15rem;
  color: #3D1F00;
  margin-bottom: .85rem;
  border-bottom: 2px solid #F0E8DC;
  padding-bottom: .4rem;
}
.event-meta p { margin-bottom: .4rem; }

/* Map embed */
.event-map, .overview-map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  background: #EEE;
  border: 1px solid #D4B896;
  margin-top: .5rem;
}
.map-picker {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  background: #EEE;
  border: 1px solid #D4B896;
  margin: .5rem 0;
}

/* Participants */
.participant-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.participant {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
}

/* Avatars */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar--xs  { width: 28px;  height: 28px;  font-size: .75rem; }
.avatar--sm  { width: 36px;  height: 36px;  font-size: .9rem; }
.avatar--lg  { width: 80px;  height: 80px;  font-size: 2rem; }
.avatar--placeholder {
  background: #8B4513;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rating-summary__score { display: flex; align-items: center; gap: .5rem; }
.rating-big { font-size: 2.5rem; font-weight: 800; color: #8B4513; line-height: 1; }
.rating-big__max { font-size: 1.2rem; color: #7A6048; }
.rating-summary__count { color: #7A6048; font-size: .9rem; }

/* Rating cards */
.rating-card {
  border: 1px solid #F0E8DC;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}
.rating-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}
.rating-card__user { display: flex; align-items: center; gap: .5rem; }
.rating-card__date { font-size: .8rem; color: #7A6048; }
.rating-card__score { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.rating-card__notes {
  font-size: .9rem;
  color: #4A3020;
  background: #FDF6ED;
  padding: .6rem;
  border-radius: 4px;
  margin-top: .5rem;
}

/* Rating criteria DL */
.rating-criteria {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .75rem;
  font-size: .88rem;
}
.rating-criteria dt { color: #7A6048; }
.rating-criteria dd { font-weight: 600; text-align: right; }

/* ── Photo grid ──────────────────────────────────────────────────────────── */
.photo-upload-area {
  margin-bottom: 1rem;
}
.photo-input--hidden {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.progress-bar-wrap {
  margin-top: .5rem;
  background: #F0E8DC;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: #8B4513;
  width: 0%;
  transition: width .2s;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
.photo-item {
  position: relative;
  background: #F0E8DC;
  border-radius: 6px;
  overflow: hidden;
}
.photo-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.photo-item figcaption {
  padding: .3rem .5rem;
  font-size: .78rem;
  color: #4A3020;
}
.photo-delete-btn {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(139,69,19,.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: .75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .15s;
}
.photo-item:hover .photo-delete-btn { opacity: 1; }

/* ── Profile ─────────────────────────────────────────────────────────────── */
.profile-wrap { max-width: 680px; }
.profile-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.stat {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 1px 5px rgba(139,69,19,.1);
  min-width: 100px;
}
.stat__value { display: block; font-size: 2rem; font-weight: 800; color: #8B4513; }
.stat__label { display: block; font-size: .85rem; color: #7A6048; }

.avatar-preview-wrap { margin-bottom: .75rem; }
.avatar-preview { border: 3px solid #D4B896; border-radius: 50%; }

/* ── Admin ───────────────────────────────────────────────────────────────── */
.admin-section {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 5px rgba(139,69,19,.08);
  margin-bottom: 1.5rem;
}
.admin-section h2 {
  font-size: 1.15rem;
  color: #3D1F00;
  margin-bottom: .85rem;
  border-bottom: 2px solid #F0E8DC;
  padding-bottom: .4rem;
}
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: .65rem .75rem;
  border-bottom: 1px solid #F0E8DC;
  vertical-align: top;
}
.admin-table th { background: #FDF6ED; font-weight: 700; color: #4A3020; }
.admin-table .row--self { background: #FFF3CD; }
.admin-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: flex-start; }

/* ── Rate form ───────────────────────────────────────────────────────────── */
.rate-form .slider-group {
  background: #FDF6ED;
  border-radius: 8px;
  padding: .85rem 1rem;
  margin-bottom: .85rem;
}
.toggle-group { padding: .5rem 0; }

/* ── Map overview ────────────────────────────────────────────────────────── */
.overview-map { height: 420px; margin-top: .5rem; }

/* ── Responsive (≥ 640px) ────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .auth-card { padding: 2.5rem; }
  .event-map { height: 380px; }
  .overview-map { height: 520px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .rating-criteria { grid-template-columns: repeat(2, 1fr auto); }
}

@media (min-width: 900px) {
  .main { padding: 2rem 1.5rem 4rem; }
  .rating-criteria { grid-template-columns: repeat(3, 1fr auto); }
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox:not(.is-open) { display: none; }

.lightbox-close {
  position: absolute;
  top: .75rem; right: 1rem;
  background: none; border: none;
  color: #fff; font-size: 2.2rem; line-height: 1;
  cursor: pointer; opacity: .75; padding: .25rem .5rem;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none;
  color: #fff; font-size: 3rem; line-height: 1;
  cursor: pointer; padding: .25rem .6rem;
  border-radius: 4px; opacity: .7;
  transition: opacity .15s, background .15s;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,.28); }
.lightbox-prev { left: .5rem; }
.lightbox-next { right: .5rem; }

.lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  /* leave room at the bottom for the controls bar */
  max-height: calc(100vh - 5rem);
  max-width: 100vw;
}

.lightbox-img {
  max-width: 90vw;
  max-height: calc(85vh - 5rem);
  object-fit: contain;
  border-radius: 4px;
  transition: transform .25s ease;
  display: block;
}

/* Controls pinned to bottom of lightbox, always above the image */
.lightbox-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 1;
}
.lightbox-rotate {
  background: rgba(255,255,255,.18); border: none;
  color: #fff; font-size: 1.6rem;
  cursor: pointer; padding: .35rem .75rem;
  border-radius: 6px; transition: background .15s;
}
.lightbox-rotate:hover    { background: rgba(255,255,255,.32); }
.lightbox-rotate:disabled { opacity: .35; cursor: not-allowed; }

/* Clickable photo thumbnails */
.photo-item { cursor: pointer; }
.photo-item img { pointer-events: none; }

/* ── Impressum ───────────────────────────────────────────────────────────── */
.impressum-wrap { max-width: 680px; }
.impressum-sub { margin-bottom: 1.5rem; }
.impressum-section {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 5px rgba(139,69,19,.08);
  margin-bottom: 1rem;
}
.impressum-section h2 {
  font-size: 1.05rem;
  color: #3D1F00;
  margin-bottom: .75rem;
  border-bottom: 2px solid #F0E8DC;
  padding-bottom: .4rem;
}
.impressum-address {
  font-style: normal;
  line-height: 1.8;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Footer links ────────────────────────────────────────────────────────── */
.footer-links { margin-top: .35rem; }
.footer-links a { color: rgba(253,246,237,.6); font-size: .85rem; }
.footer-links a:hover { color: #FDF6ED; text-decoration: underline; }
