:root {
  --bg: #f2e9d8;
  --paper: #faf5ec;
  --brand: #7f2b2b;
  --brand-900: #6c2323;
  --text: #2a2420;
  --muted: #6f665d;
  --maxw: 1120px;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3 {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: 0.3px;
}
p {
  margin: 0.5rem 0 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.hero {
  min-height: 600px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(
      1200px 500px at 10% -10%,
      rgba(127, 43, 43, 0.12),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 110% 10%,
      rgba(127, 43, 43, 0.1),
      transparent 60%
    ),
    var(--paper);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden; /*mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.35) 40%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);*/
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}
.hero-wrap {
  /*padding: min(8vh,5rem) 0 min(10vh,6rem);*/
 text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.title-card {
  margin-top: 1rem;
  background: var(--brand);
  color: #fff;
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 4vw, 2rem);
  border-radius: clamp(14px, 2vw, 22px);
  box-shadow: var(--shadow);
  display: inline-block;
}
.title-card h1 {
  font-size: clamp(1.6rem, 4.8vw, 3rem);
  letter-spacing: 0.6px;
}
.subtitle {
  margin-top: 0.25rem;
  opacity: 0.95;
  font-weight: 500;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--brand-900);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
form .btn{
	margin-top: 0;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.btn.alt {
  background: var(--brand);
  color: #fff;
  border-color: #fff;
}
.hero-foot {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  color: #666;
  opacity: 0.95;
  font-size: 1.55rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
section {
  padding: clamp(2rem, 6vw, 4rem) 0;
}
.card {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.grid {
  display: grid;
  gap: clamp(0.9rem, 2.2vw, 1.2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.feature {
  padding: 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
}
.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.muted {
  color: var(--muted);
}
.media-wrap {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .media-wrap {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.media-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #ddd; /*aspect-ratio:16/9;*/
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0;
}
.media-note {
  position: absolute;
  inset: auto 10px 10px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  backdrop-filter: blur(2px);
}
.contact {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}
.sticky-contact {
  position: sticky;
  bottom: 0;
  z-index: 30;
  padding-top: 0.5rem;
}
.sticky-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.ornament {
  position: relative;
  display: inline-block;
  padding-left: 1.1rem;
}
.ornament::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 0.6rem;
  background: var(--brand);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.2);
}
/* Formular */
form label {
  display: block;
  font-weight: 600;
  margin: 0.2rem 0 0.25rem;
}
form input,
form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
}
form input[type=radio]{
	width: auto;
}
form button {
  margin-top: 0.5rem;
}
.alert {
  border: 1px solid;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 0.8rem 0;
}
.alert.error {
  background: #fff3f3;
  border-color: #e0b3b3;
  color: #6b1f1f;
}
.alert.ok {
  background: #f1fff1;
  border-color: #b6e0b6;
  color: #1f6b2a;
}
.mobile {
  display: none;
}
@media (max-width: 700px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
}

/* ==== Galerie Styles (scoped) ==== */
.swipe-gallery {
  --sg-max-h: 70vh;
  --sg-radius: 14px;
  position: relative;
}
.swipe-gallery .sg-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--sg-radius);
}
.swipe-gallery .sg-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.swipe-gallery .sg-track::-webkit-scrollbar {
  display: none;
}
.swipe-gallery .sg-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}
.swipe-gallery .sg-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: var(--sg-max-h);
}

/* Pfeile */
.swipe-gallery .sg-prev,
.swipe-gallery .sg-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  display: grid;
  place-items: center;
  user-select: none;
}
.swipe-gallery .sg-prev {
  left: 8px;
}
.swipe-gallery .sg-next {
  right: 8px;
}
.swipe-gallery .sg-prev[disabled],
.swipe-gallery .sg-next[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

/* Kanten-Gradient als Swipe-Hinweis */
.swipe-gallery .sg-viewport::before,
.swipe-gallery .sg-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 1;
}
.swipe-gallery .sg-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}
.swipe-gallery .sg-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

/* Punkte-Navigation */
.swipe-gallery .sg-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.swipe-gallery .sg-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.swipe-gallery .sg-dots button[aria-selected="true"] {
  background: #fff;
  width: 22px;
  border-radius: 6px;
}

/* Wisch-Hinweis */
.swipe-gallery .sg-hint {
  position: absolute;
  inset: auto 0 50% 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
  animation: sg-hint-pop 1s ease 0.4s both, sg-hint-fade 1s ease 2.4s forwards;
}
.swipe-gallery .sg-hint span {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}
@keyframes sg-hint-pop {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes sg-hint-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Fokus & A11Y */
.swipe-gallery .sg-prev:focus-visible,
.swipe-gallery .sg-next:focus-visible,
.swipe-gallery .sg-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Kleinere Geräte */
@media (max-width: 640px) {
  .swipe-gallery .sg-prev,
  .swipe-gallery .sg-next {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* === Gewinnspiel / Survey === */
.survey-form {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 1.2rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

.form-field input {
  width: 100%;
  padding: .7rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.form-field-full {
  grid-column: 1 / -1;
}

@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* Checkboxen */
/* === Checkboxen – schlicht & korrekt === */

.form-checks {
  margin-top: 1.2rem;
  display: grid;
  gap: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.check input[type="checkbox"] {
  margin: 0;
  transform: none;
  width: auto;
}

.check span {
  font-weight: 500;
  line-height: 1.4;
}

/* === Likert Layout: Text direkt über Radio pro Frage === */

.likert {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,.08);
}

.likert-head {
  display: none !important; /* wird nicht mehr verwendet */
}

.likert-row {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: .9rem 0;
  margin: 0;
}

.likert-row legend {
  font-weight: 700;
  margin: 0 0 .6rem;
  padding: 0;
}

.likert-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.likert-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .6rem .7rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
}

.likert-options input[type="radio"] {
  transform: scale(1.1);
}

.likert-options span {
  font-weight: 600;
}

@media (min-width: 980px) {
  .likert-row {
    display: grid;
    /* grid-template-columns: 2fr 5fr; */
    gap: 14px;
    align-items: start;
    padding: 5px;
  }

  .likert-options {
    display: flex;
    width: 100%;
    gap: 12px;
  }

  .likert-options label {
    flex: 1 1 0;          /* alle 5 gleich breit */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .65rem .5rem;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
  }

  .likert-options span {
    font-weight: 700;
    font-size: .9rem;
    text-align: center;
    color: var(--muted);
  }
}

.likert-options>label:nth-child(1)>span{
	color: #ec028d;
}
.likert-options>label:nth-child(2)>span{
	color: #e69279;
}
.likert-options>label:nth-child(3)>span{
	color: #a8a9ad;
}
.likert-options>label:nth-child(4)>span{
	color: #a3d09b;
}
.likert-options>label:nth-child(5)>span{
	color: #3ead48;
}



/* =========================
   Navigation
   ========================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,245,236,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .6rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: "Crimson Text", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .4px;
  color: var(--brand);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: .35rem .6rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff !important;
}

/* Mobile: etwas kompakter */
@media (max-width: 640px) {
  .nav-links {
    gap: .6rem;
  }
  .nav-links a {
    font-size: .9rem;
  }
}

/* =========================
   Hero Logo Overlay
   ========================= */

.hero--logo {
  position: relative;
}

.hero-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Logo blockiert keine Klicks */
}

.hero-logo img {
  width: clamp(140px, 28vw, 320px);
  height: auto;
}

/* Mobile Feinjustierung */
@media (max-width: 640px) {
  .hero-logo img {
    width: clamp(120px, 50vw, 240px);
  }
}

.logo-wrapper{
	background-color: rgba(255,255,255,0.7);
	padding: 25px;
}

.nav-link.is-active {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================
   Hero Badge – ZENTRAL & AUFFÄLLIG
   ========================= */

.hero-badge--center {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);

  z-index: 6;
  text-align: center;
  text-decoration: none;
  color: #fff;

  padding: 22px 28px 20px;
  border-radius: 22px;

  background: linear-gradient(
    135deg,
    #7F2B2B 0%,
    #9E3A3A 55%,
    #7F2B2B 100%
  );

  box-shadow:
    0 20px 60px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.25);

  animation: heroBadgeFloat 3.2s ease-in-out infinite;
}

/* Typo */
.hero-badge__top {
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .95;
}

.hero-badge__mid {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 4px 0;
}

.hero-badge__bot {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: .95;
}

/* Hover = stärkerer Call */
.hero-badge--center:hover,
.hero-badge--center:focus-visible {
  animation: none;
  transform: translate(-50%, -52%) scale(1.04);
  box-shadow:
    0 26px 80px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.35);
}

/* Mobile Anpassung */
@media (max-width: 640px) {
  .hero-badge--center {
    padding: 18px 22px 16px;
    border-radius: 18px;
  }

  .hero-badge__mid {
    font-size: 2rem;
  }
}

/* Ruhige, „pochende“ Bewegung */
@keyframes heroBadgeFloat {
  0%   { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -53%) scale(1.05); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Motion-Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-badge--center {
    animation: none;
  }
}
