@charset "utf-8";
/* CSS Document */
/* ========================================================================== 
   STUDENTENMUEHLE – CUSTOM.CSS
   Joomla 6.1.2 | Astroid 3.3.12 | Template tp_perfect
   Bereinigter Stand: 21.08.2026

   Hinweis: Alle manuellen Designanpassungen liegen in dieser Datei.
   Das Astroid-Feld "Benutzerdefiniertes CSS" bleibt leer, damit keine
   spaeter geladenen Altregeln diese Werte ueberschreiben.

   Farben:
   Creme       #F8F5EF
   Gruen       #5A6E45
   Braun       #6C4B2A
   Gold        #B9924A

   Astroid-Section-Klassen (empfohlen):
   studentenmuehle-topbar | studentenmuehle-header | studentenmuehle-hero
   studentenmuehle-booking | studentenmuehle-topics | studentenmuehle-welcome
   studentenmuehle-rooms | studentenmuehle-restaurant | studentenmuehle-history
   studentenmuehle-region | studentenmuehle-contact | studentenmuehle-footer
   ========================================================================== */

/* 01. DESIGN-TOKENS UND BASIS
   ========================================================================== */
:root {
  --sm-cream: #f8f5ef;
  --sm-green: #5a6e45;
  --sm-green-dark: #38442f;
  --sm-green-darker: #293323;
  --sm-brown: #6c4b2a;
  --sm-gold: #b9924a;
  --sm-white: #fff;
  --sm-text: #34362f;
  --sm-muted: #6e7068;
  --sm-border: rgba(90, 110, 69, 0.2);
  --sm-shadow: 0 18px 45px rgba(35, 42, 29, 0.12);
  --sm-shadow-small: 0 8px 24px rgba(35, 42, 29, 0.1);
  --sm-radius: 6px;
  --sm-container: 1320px;
  --sm-space-section: clamp(4rem, 7vw, 6.25rem);
  --sm-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sm-font-body: "Open Sans", Arial, sans-serif;
  --sm-footer-bg: var(--sm-green-dark);
  --sm-footer-bg-deep: var(--sm-green-darker);
  --sm-footer-accent: var(--sm-gold);
  --sm-footer-accent-light: #e4c98a;
  --sm-footer-text: rgba(255, 255, 255, 0.82);
  --sm-footer-muted: rgba(255, 255, 255, 0.66);
  --sm-footer-border: rgba(255, 255, 255, 0.14);
  --sm-footer-heading-font: var(--sm-font-heading);
  --sm-footer-body-font: var(--sm-font-body);
  --sm-footer-container: var(--sm-container);
  --sm-footer-transition: 220ms ease;
}

html { scroll-behavior: smooth; }

body {
  color: var(--sm-text);
  background: var(--sm-white);
  font-family: var(--sm-font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

.studentenmuehle-site :where(h1, h2, h3, h4, h5, h6),
[class*="studentenmuehle-"] :where(h1, h2, h3, h4, h5, h6),
[class*="home-"] :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  color: var(--sm-brown);
  font-family: var(--sm-font-heading);
  font-weight: 600;
  line-height: 1.12;
}

.sm-section-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  letter-spacing: -0.02em;
}

.sm-section-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--sm-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-section-intro {
  max-width: 720px;
  margin: 0 auto 2.75rem;
  color: var(--sm-muted);
  font-size: 1.08rem;
}

.sm-section-heading { margin-bottom: clamp(2rem, 4vw, 3.25rem); text-align: center; }
.sm-section-heading .sm-section-intro { margin-bottom: 0; }

.sm-container,
[class*="studentenmuehle-"] > .container,
[class*="studentenmuehle-"] .astroid-container {
  width: min(100% - 40px, var(--sm-container));
  margin-inline: auto;
}

.sm-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 02. LINKS UND BUTTONS
   ========================================================================== */
.sm-button,
a.sm-button,
button.sm-button,
.sm-booking-submit,
.studentenmuehle-header .sm-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 700 0.9rem/1.2 var(--sm-font-body);
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sm-button:hover,
.sm-button:focus-visible,
.sm-booking-submit:hover,
.sm-booking-submit:focus-visible { text-decoration: none; transform: translateY(-2px); }

.sm-button-primary,
a.sm-button-primary,
.sm-booking-submit {
  color: var(--sm-white);
  border-color: var(--sm-green);
  background: var(--sm-green);
  box-shadow: 0 10px 25px rgba(45, 57, 35, 0.2);
}

.sm-button-primary:hover,
.sm-button-primary:focus-visible,
.sm-booking-submit:hover,
.sm-booking-submit:focus-visible {
  color: var(--sm-white);
  border-color: var(--sm-green-dark);
  background: var(--sm-green-dark);
}

.sm-button-secondary { color: var(--sm-white); border-color: var(--sm-brown); background: var(--sm-brown); }
.sm-button-outline { color: var(--sm-green); border-color: var(--sm-green); background: transparent; }
.sm-button-outline:hover,
.sm-button-outline:focus-visible { color: var(--sm-white); background: var(--sm-green); }
.sm-button-light { color: var(--sm-green-dark); background: var(--sm-white); }

.sm-text-link {
  color: var(--sm-brown);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--sm-gold);
}
.sm-text-link:hover,
.sm-text-link:focus-visible { color: var(--sm-green); }

/* 03. TOPBAR
   ========================================================================== */
.studentenmuehle-topbar,
.hotel-topbar {
  position: relative;
  z-index: 1032;
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.92);
  background: var(--sm-green);
  font-size: 0.82rem;
}

.studentenmuehle-topbar :where(a, span),
.hotel-topbar :where(a, span) { color: inherit; }
.studentenmuehle-topbar a:hover,
.hotel-topbar a:hover { color: var(--sm-white); text-decoration: underline; }

.sm-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sm-topbar-contact,
.sm-topbar-language { display: flex; align-items: center; gap: 1.1rem; margin: 0; }
.sm-topbar-language { justify-content: flex-end; }
.sm-topbar-language .lang-active,
.sm-topbar-language .active { color: var(--sm-white); font-weight: 700; }

/* 04. HEADER, STICKY HEADER UND LOGO
   ========================================================================== */
.studentenmuehle-header,
.sm-site-header {
  position: relative;
  z-index: 1030;
  color: var(--sm-text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(31, 38, 27, 0.07);
}

.studentenmuehle-header.is-sticky,
.studentenmuehle-header.astroid-sticky,
.studentenmuehle-header.sticky,
.sm-site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 8px 26px rgba(31, 38, 27, 0.13);
  backdrop-filter: blur(10px);
}

.sm-header-inner { display: flex; min-height: 90px; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.sm-site-logo img,
.studentenmuehle-header .astroid-logo img { width: auto; max-width: 230px; max-height: 72px; }
.sm-header-action { margin-left: auto; white-space: nowrap; }

/* 05. HERO MIT LUFTBILD
   Das Hintergrundbild wird im Astroid Layout Builder gesetzt.
   ========================================================================== */
/* Hero-Text mit sicherem Seitenabstand */
.studentenmuehle-hero .sm-hero-content {
  box-sizing: border-box;
  width: min(760px, calc(100% - 80px));
  margin-right: auto;
  margin-left: 30px;
  padding: 110px 30px 100px;
  color: var(--sm-white);
  text-align: left;
}

.studentenmuehle-hero .container{
    padding-left:60px;
    padding-right:60px;
}

@media (max-width:991px){
    .studentenmuehle-hero .container{
        padding-left:35px;
        padding-right:35px;
    }
}

@media (max-width:767px){
    .studentenmuehle-hero .container{
        padding-left:20px;
        padding-right:20px;
    }
}
.studentenmuehle-hero {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.studentenmuehle-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";

  background: linear-gradient(
    90deg,
    rgba(17, 22, 15, 0.38) 0%,
    rgba(17, 22, 15, 0.22) 32%,
    rgba(17, 22, 15, 0.06) 62%,
    rgba(17, 22, 15, 0) 100%
  );

  opacity: 0;
  animation: smHeroOverlayIn 1.2s ease 0.4s forwards;
}
@keyframes smHeroOverlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.studentenmuehle-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(12, 16, 11, 0.03);

  opacity: 0;
  animation: smHeroOverlayIn 1.2s ease 0.4s forwards;
}
.studentenmuehle-hero > .container,
.studentenmuehle-hero > .container-fluid,
.studentenmuehle-hero .astroid-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--sm-container));
  margin-inline: auto;
  padding-inline: 60px;
}

.studentenmuehle-hero :where(.moduletable, .module, .astroid-module-position) {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.sm-hero-kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 1.35rem;
  padding-right: 58px;
  color: #f3ead9;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation-delay: 0.1s;
}
.sm-hero-kicker::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 42px;
  height: 1px;
  content: "";
  background: var(--sm-gold);
}
.sm-hero-title {
  margin: 0 0 1.5rem;
  color: var(--sm-white) !important;
  font-family: var(--sm-font-heading);
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
  animation-delay: 0.2s;
}
.sm-hero-title span { display: block; margin-top: 0.65rem; font-size: 0.72em; font-weight: 500; }
.studentenmuehle-hero .sm-hero-subtitle { max-width: 650px; margin: 0 auto 2.25rem 0; color: rgba(255, 255, 255, 0.95); font-size: clamp(1.05rem, 2vw, 1.3rem); animation-delay: 0.3s; }
.studentenmuehle-hero .sm-hero-buttons { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.9rem; animation-delay: 0.4s; }
.studentenmuehle-hero .sm-button-outline { color: var(--sm-white); border-color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.04); }
.studentenmuehle-hero .sm-button-outline:hover { color: var(--sm-text); background: var(--sm-white); }

.sm-hero-kicker,
.sm-hero-title,
.sm-hero-subtitle,
.sm-hero-buttons { opacity: 0; animation: sm-fade-up 0.75s ease forwards; }
@keyframes sm-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .studentenmuehle-hero::before,
  .studentenmuehle-hero::after,
  .sm-hero-kicker,
  .sm-hero-title,
  .sm-hero-subtitle,
  .sm-hero-buttons {
    opacity: 1;
    animation: none;
  }
}
/* =========================================
   BUCHUNGSPLATZHALTER
   ========================================= */

.booking-placeholder-section {
  position: relative;
  z-index: 5;
  margin-top: -45px;
  padding-bottom: 60px;
}

.sm-booking-box {
  padding: 32px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.sm-booking-intro {
  margin-bottom: 24px;
  text-align: center;
}

.sm-booking-intro h2 {
  margin: 0;
  color: #333;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.sm-booking-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 18px;
}

.sm-booking-field label {
  display: block;
  margin-bottom: 7px;
  color: #333;
  font-weight: 600;
}

.sm-booking-field input,
.sm-booking-field select {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #d2cec4;
  border-radius: 2px;
  background: #fff;
  color: #333;
}

.sm-booking-submit .sm-button {
  min-height: 50px;
  white-space: nowrap;
}

.sm-booking-note {
  margin: 16px 0 0;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 991px) {
  .sm-booking-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .sm-booking-submit {
    grid-column: 1 / -1;
  }

  .sm-booking-submit .sm-button {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .booking-placeholder-section {
    margin-top: -25px;
    padding-bottom: 40px;
  }

  .sm-booking-box {
    padding: 24px 18px;
  }

  .sm-booking-form {
    grid-template-columns: 1fr;
  }

  .sm-booking-submit {
    grid-column: auto;
  }
}

/* 08. THEMENKACHELN
   ========================================================================== */
.studentenmuehle-topics,
.home-topics-section { padding-block: var(--sm-space-section); background: var(--sm-cream); }
.sm-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.sm-topic-card { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--sm-radius); background: var(--sm-green-dark); box-shadow: var(--sm-shadow-small); isolation: isolate; }
.sm-topic-card::after { position: absolute; inset: 25% 0 0; z-index: -1; content: ""; background: linear-gradient(0deg, rgba(21, 28, 17, 0.9), transparent); }
.sm-topic-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.sm-topic-card:hover img { transform: scale(1.055); }
.sm-topic-card-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 1.6rem; color: var(--sm-white); }
.sm-topic-card h3 { margin: 0 0 0.35rem; color: var(--sm-white); font-size: 2rem; }
.sm-topic-card p { margin: 0 0 1rem; color: rgba(255, 255, 255, 0.82); }
.sm-topic-card a { color: var(--sm-white); font-weight: 700; text-decoration: none; }
.sm-topic-card a::after { position: absolute; inset: 0; content: ""; }

/* 09. WILLKOMMEN-BEREICH
   ========================================================================== */
.studentenmuehle-welcome,
.home-welcome-section { padding-block: var(--sm-space-section); background: var(--sm-white); }
.sm-welcome-grid,
.sm-split { display: grid; grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.sm-welcome-copy p:last-of-type,
.sm-split-copy p:last-of-type { margin-bottom: 1.75rem; }
.sm-welcome-media,
.sm-split-media { position: relative; }
.sm-welcome-media::before { position: absolute; top: -18px; right: -18px; bottom: 18px; left: 18px; z-index: 0; content: ""; border: 1px solid var(--sm-gold); }
.sm-welcome-media img,
.sm-split-media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sm-radius); }

/* 10. ZIMMER
   ========================================================================== */
.studentenmuehle-rooms,
.home-rooms-section { padding-block: var(--sm-space-section); background: var(--sm-cream); }
.sm-room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.sm-room-card { overflow: hidden; border-radius: var(--sm-radius); background: var(--sm-white); box-shadow: var(--sm-shadow-small); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.sm-room-card:hover { box-shadow: var(--sm-shadow); transform: translateY(-5px); }
.sm-room-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sm-room-card-content { padding: 1.6rem; }
.sm-room-card h3 { margin-bottom: 0.55rem; font-size: 2rem; }
.sm-room-meta { display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; margin: 0 0 1rem; color: var(--sm-muted); font-size: 0.88rem; }
.sm-room-price { margin: 1rem 0; color: var(--sm-green); font-weight: 700; }
.sm-room-actions { margin-top: 2.5rem; text-align: center; }

/* 11. RESTAURANT
   ========================================================================== */
.studentenmuehle-restaurant,
.home-restaurant-section { padding-block: var(--sm-space-section); background: var(--sm-white); }
.sm-restaurant-grid { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.sm-restaurant-media img { display: block; width: 100%; min-height: 520px; object-fit: cover; border-radius: var(--sm-radius); }
.sm-opening-hours { margin: 1.5rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--sm-gold); background: var(--sm-cream); }
.sm-opening-hours p { display: grid; grid-template-columns: 220px max-content; justify-content: start; gap: 1.25rem; margin: 0.35rem 0; }
/* Restaurant – Einleitung */
.sm-restaurant-overview {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}
.sm-restaurant-content p:last-of-type {
  margin-bottom: 1.5rem;
}
/* Restaurant – kulinarische Schwerpunkte */
.sm-restaurant-highlights {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}
/* Restaurant – Öffnungszeiten */
.sm-restaurant-hours-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--sm-cream);
}

.sm-restaurant-hours-intro p:last-child {
  margin-bottom: 0;
}

.sm-restaurant-hours-section .sm-opening-hours {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--sm-white);
  box-shadow: var(--sm-shadow-small);
}

.sm-opening-hours h3 {
  margin: 0 0 1rem;
}

.sm-opening-hours h3:not(:first-child) {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sm-border);
}

.sm-opening-hours strong {
  color: var(--sm-brown);
  text-align: left;
}

@media (max-width: 767px) {
  .sm-restaurant-hours-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-opening-hours p {
    display: block;
    padding: 0.35rem 0;
  }

  .sm-opening-hours strong {
    display: block;
    margin-top: 0.15rem;
    text-align: left;
  }
}
.sm-hunt-facts {
  margin-top: clamp(4rem, 7vw, 6rem);
}

.sm-hunt-facts .sm-section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sm-hunt-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #ddd5c7;
  border-left: 1px solid #ddd5c7;
}

.sm-hunt-fact {
  min-height: 270px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid #ddd5c7;
  border-bottom: 1px solid #ddd5c7;
}

.sm-hunt-number {
  display: block;
  margin-bottom: 1.25rem;
  color: #a28746;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sm-hunt-fact h3 {
  margin-bottom: 1rem;
}

.sm-hunt-fact p:last-child {
  margin-bottom: 0;
}
.sm-hunt-kitchen {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-hunt-kitchen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.sm-hunt-kitchen-image {
  margin: 0;
}

.sm-hunt-kitchen-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.sm-hunt-kitchen-content h2 {
  margin-bottom: 1.25rem;
}

.sm-hunt-benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.sm-hunt-benefits li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.75rem;
  border-bottom: 1px solid #e3ddd2;
}

.sm-hunt-benefits li::before {
  position: absolute;
  top: 0.78rem;
  left: 0;
  color: #a28746;
  font-weight: 700;
  content: "✓";
}

@media (max-width: 991px) {
  .sm-hunt-kitchen-grid {
    grid-template-columns: 1fr;
  }

  .sm-hunt-kitchen-content {
    max-width: 760px;
  }
}
@media (max-width: 767px) {
  .sm-hunt-facts-grid {
    grid-template-columns: 1fr;
  }

  .sm-hunt-fact {
    min-height: 0;
  }
}
.sm-wildburger {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #f7f4ed;
}

.sm-wildburger-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.sm-wildburger-content h2 {
  margin-bottom: 1.25rem;
}

.sm-wildburger-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 3px solid #b39856;
  line-height: 1.65;
}

.sm-wildburger-image {
  margin: 0;
}

.sm-wildburger-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 991px) {
  .sm-wildburger-grid {
    grid-template-columns: 1fr;
  }
}
.sm-hunt-cta {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-hunt-cta .sm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.sm-hunt-cta .btn-outline-primary {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.sm-hunt-cta .btn-outline-primary:hover,
.sm-hunt-cta .btn-outline-primary:focus {
  color: #33452d !important;
  background: #fff !important;
  border-color: #fff !important;
}
/* Speisekarte – Navigation */
.sm-menu-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
}

.sm-menu-navigation a {
  padding: 0.65rem 1rem;
  color: var(--sm-brown);
  border: 1px solid var(--sm-border);
  border-radius: 2rem;
  background: var(--sm-white);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.sm-menu-navigation a:hover,
.sm-menu-navigation a:focus-visible {
  color: var(--sm-white);
  border-color: var(--sm-green);
  background: var(--sm-green);
}

/* Speisekarte – saisonaler Hinweis */
.sm-menu-notice {
  max-width: 820px;
  margin: 0 auto clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 3px solid var(--sm-gold);
  background: var(--sm-cream);
  text-align: center;
}

.sm-menu-notice p {
  margin: 0;
}
/* Speisekarte – Kategorien und Gerichte */
.sm-menu-section {
  max-width: 980px;
  margin: 0 auto clamp(4.5rem, 8vw, 7rem);
  scroll-margin-top: 140px;
}

.sm-menu-section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.sm-menu-list {
  border-top: 1px solid var(--sm-border);
}

.sm-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sm-border);
}

.sm-menu-item h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.sm-menu-item p {
  max-width: 720px;
  margin: 0;
  color: var(--sm-muted);
}

.sm-menu-price {
  padding-top: 0.25rem;
  color: var(--sm-green);
  white-space: nowrap;
}

@media (max-width: 575px) {
  .sm-menu-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .sm-menu-price {
    padding-top: 0;
  }
}
/* Feierlichkeiten – Vorteile */
.sm-celebration-benefits {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}
/* Feierlichkeiten – Veranstaltungsräume */
.sm-celebration-rooms {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-celebration-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sm-celebration-room-card {
  height: 100%;
}

.sm-celebration-room-card .sm-room-card-content {
  height: 100%;
}

.sm-celebration-room-card p {
  margin-bottom: 0;
  color: var(--sm-muted);
}

@media (max-width: 767px) {
  .sm-celebration-room-grid {
    grid-template-columns: 1fr;
  }
}
/* Feierlichkeiten – Planung */
.sm-celebration-planning {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--sm-cream);
}

.sm-celebration-planning-content p:last-child {
  margin-bottom: 0;
}

.sm-celebration-planning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sm-border);
}

.sm-celebration-planning-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2rem;
  border-bottom: 1px solid var(--sm-border);
}

.sm-celebration-planning-list li::before {
  position: absolute;
  left: 0.35rem;
  color: var(--sm-gold);
  font-weight: 700;
  content: "\2713";
}

/* Feierlichkeiten – Übernachtung */
.sm-celebration-hotel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 2rem;
  margin-top: clamp(4rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--sm-border);
  border-bottom: 1px solid var(--sm-border);
}

.sm-celebration-hotel p {
  max-width: 760px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sm-celebration-planning,
  .sm-celebration-hotel {
    grid-template-columns: 1fr;
  }

  .sm-celebration-planning-list {
    grid-template-columns: 1fr;
  }
}
/* 12. HISTORIE UND ZEITLEISTE
   Hintergrundbild in Astroid setzen.
   ========================================================================== */
.studentenmuehle-history,
.home-history-section { position: relative; padding-block: clamp(5rem, 9vw, 7.5rem); overflow: hidden; color: var(--sm-white); background-color: var(--sm-green-dark); background-position: center; background-size: cover; isolation: isolate; }
.studentenmuehle-history::before,
.home-history-section::before { position: absolute; inset: 0; z-index: -1; content: ""; background: rgba(35, 46, 29, 0.87); }
.studentenmuehle-history :where(h2, h3, .sm-section-kicker),
.home-history-section :where(h2, h3, .sm-section-kicker) { color: var(--sm-white); }
.studentenmuehle-history .sm-section-intro,
.home-history-section .sm-section-intro { color: rgba(255, 255, 255, 0.78); }

.sm-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.sm-timeline::before { position: absolute; top: 14px; right: 8%; left: 8%; height: 1px; content: ""; background: rgba(255, 255, 255, 0.38); }
.sm-timeline-item { position: relative; padding-top: 2.7rem; text-align: center; }
.sm-timeline-item::before { position: absolute; top: 7px; left: calc(50% - 7px); width: 15px; height: 15px; content: ""; border: 3px solid var(--sm-green-dark); border-radius: 50%; background: var(--sm-gold); box-shadow: 0 0 0 1px var(--sm-gold); }
.sm-timeline-year { display: block; margin-bottom: 0.4rem; color: #e3c888; font: 600 2.1rem/1 var(--sm-font-heading); }
.sm-timeline-item p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; }

/* Freizeit – Aktivitäten */
.sm-leisure-benefits {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}
/* Freizeit – Naturbereich */
.sm-leisure-nature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-leisure-nature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-small);
}

.sm-leisure-nature-content p:last-child {
  margin-bottom: 0;
}

/* Freizeit – Wanderziele */
.sm-leisure-destinations {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-leisure-destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sm-leisure-destination-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--sm-border);
  background: var(--sm-white);
  box-shadow: var(--sm-shadow-small);
}

.sm-leisure-destination-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.sm-leisure-destination-card p {
  margin-bottom: 0;
  color: var(--sm-muted);
}

@media (max-width: 991px) {
  .sm-leisure-destination-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sm-leisure-nature {
    grid-template-columns: 1fr;
  }

  .sm-leisure-nature-image {
    order: -1;
  }
}
/* Freizeit – Ausflugsziele */
.sm-leisure-excursions {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-leisure-excursion-grid {
  border-top: 1px solid var(--sm-border);
}

.sm-leisure-excursion-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--sm-border);
}

.sm-leisure-excursion-number {
  color: var(--sm-gold);
  font-family: var(--sm-font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.sm-leisure-excursion-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.sm-leisure-excursion-card p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--sm-muted);
}

/* Freizeit – Entspannung */
.sm-leisure-relaxation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--sm-cream);
}

.sm-leisure-relaxation p {
  max-width: 760px;
  margin-bottom: 0;
}

.sm-leisure-relaxation-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (max-width: 767px) {
  .sm-leisure-relaxation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-leisure-excursion-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
/* 13. FREIZEIT UND UMGEBUNG
   ========================================================================== */
.sm-hiking-section {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-hiking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.sm-hiking-image {
  margin: 0;
}

.sm-hiking-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.sm-hiking-content h2 {
  margin-bottom: 1.25rem;
}

.sm-hiking-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.75rem 0;
  border-top: 1px solid #ddd5c7;
  border-bottom: 1px solid #ddd5c7;
}

.sm-hiking-facts div {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid #ddd5c7;
}

.sm-hiking-facts div:first-child {
  padding-left: 0;
}

.sm-hiking-facts div:last-child {
  border-right: 0;
}

.sm-hiking-facts strong,
.sm-hiking-facts span {
  display: block;
}

.sm-hiking-facts strong {
  color: #617549;
  font-size: 1.1rem;
}

.sm-hiking-facts span {
  margin-top: 0.25rem;
  color: #777;
  font-size: 0.82rem;
}

@media (max-width: 991px) {
  .sm-hiking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-hiking-facts {
    grid-template-columns: 1fr;
  }

  .sm-hiking-facts div {
    padding: 0.85rem 0;
    border-right: 0;
    border-bottom: 1px solid #ddd5c7;
  }

  .sm-hiking-facts div:last-child {
    border-bottom: 0;
  }
}
.studentenmuehle-region,
.home-region-section { padding-block: var(--sm-space-section); background: var(--sm-cream); }
.sm-region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.sm-region-card { overflow: hidden; border-radius: var(--sm-radius); background: var(--sm-white); box-shadow: var(--sm-shadow-small); }
.sm-region-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s ease; }
.sm-region-card:hover img { transform: scale(1.04); }
.sm-region-card-content { padding: 1.25rem; }
.sm-region-card h3 { margin-bottom: 0.4rem; font-size: 1.65rem; }
.sm-region-card p { margin: 0; color: var(--sm-muted); font-size: 0.92rem; }

/* Über uns – Werte */
.sm-about-values {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}
/* Über uns – Geschichte und Familie */
.sm-about-family {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-about-family-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-small);
}

.sm-about-family-content p:last-of-type {
  margin-bottom: 1.5rem;
}

/* Über uns – Zeitleiste */
.sm-about-timeline {
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--sm-cream);
}

.sm-about-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--sm-border);
  background: var(--sm-border);
}

.sm-about-timeline-item {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--sm-white);
}

.sm-about-timeline-item > span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--sm-gold);
  font-family: var(--sm-font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.sm-about-timeline-item h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.sm-about-timeline-item p {
  margin-bottom: 0;
  color: var(--sm-muted);
}

@media (max-width: 991px) {
  .sm-about-timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sm-about-family {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-about-timeline {
    padding: 1.5rem;
  }

  .sm-about-timeline-grid {
    grid-template-columns: 1fr;
  }
}
.sm-about-gallery-section {
  margin-top: clamp(4rem, 7vw, 6rem);
}

.sm-about-gallery-section .sm-section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.sm-history-origin {
  margin-top: clamp(4rem, 7vw, 6rem);
}

.sm-history-origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sm-history-origin-content h2 {
  margin-bottom: 1.25rem;
}

.sm-history-origin-content p:last-child,
.sm-history-note p:last-child {
  margin-bottom: 0;
}

.sm-history-note {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #f7f4ed;
  border-left: 3px solid #b39856;
}

.sm-history-note-title {
  display: block;
  margin-bottom: 0.75rem;
  color: #6a4b24;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .sm-history-origin-grid {
    grid-template-columns: 1fr;
  }
}
.sm-history-section {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-history-section .sm-section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sm-history-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-left: 2.75rem;
}

.sm-history-timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 8px;
  width: 1px;
  background: #d8cdb8;
  content: "";
}

.sm-history-event {
  position: relative;
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid #e4ded2;
}

.sm-history-event::before {
  position: absolute;
  top: 2rem;
  left: -2.75rem;
  width: 17px;
  height: 17px;
  background: #617549;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b39856;
  content: "";
}

.sm-history-year {
  display: block;
  margin-bottom: 0.45rem;
  color: #a28746;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-history-event h3 {
  margin: 0 0 0.75rem;
}

.sm-history-event p:last-child {
  margin-bottom: 0;
}

.sm-history-event:last-child {
  margin-bottom: 0;
}
.sm-history-today {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-history-today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.sm-history-today-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.sm-history-image {
  margin: 0;
}

.sm-history-image-today {
  margin-top: 3rem;
}

.sm-history-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
}

.sm-history-image figcaption {
  margin-top: 0.65rem;
  color: #777;
  font-size: 0.82rem;
  line-height: 1.5;
}

.sm-history-today-content h2 {
  margin-bottom: 1.25rem;
}

.sm-history-today-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .sm-history-today-grid {
    grid-template-columns: 1fr;
  }

  .sm-history-today-content {
    max-width: 760px;
  }
}

@media (max-width: 575px) {
  .sm-history-today-images {
    grid-template-columns: 1fr;
  }

  .sm-history-image-today {
    margin-top: 0;
  }

  .sm-history-image img {
    aspect-ratio: 4 / 3;
  }
}
.sm-history-cta {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-history-cta .sm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.sm-history-cta .btn-outline-primary {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.sm-history-cta .btn-outline-primary:hover,
.sm-history-cta .btn-outline-primary:focus {
  color: #33452d !important;
  background: #fff !important;
  border-color: #fff !important;
}
/* 14. KONTAKT UND ANFAHRT
   ========================================================================== */
/* Kontakt – Lage und OpenStreetMap */

.sm-contact-location {
  margin-top: 70px;
}

.sm-contact-location > h2 {
  margin-top: 8px;
  margin-bottom: 14px;
}

.sm-contact-map {
  margin-top: 30px;
  overflow: hidden;
  background: #f5f2eb;
  border: 1px solid rgba(180, 148, 74, 0.35);
  border-radius: 4px;
}

.sm-contact-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.sm-contact-map-link {
  margin-top: 12px;
  text-align: right;
}

.sm-contact-map-link a {
  color: #5f733f;
  font-weight: 600;
  text-decoration: none;
}

.sm-contact-map-link a:hover,
.sm-contact-map-link a:focus {
  color: #725026;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .sm-contact-location {
    margin-top: 50px;
  }

  .sm-contact-map iframe {
    height: 360px;
  }

  .sm-contact-map-link {
    text-align: left;
  }
}
.studentenmuehle-contact,
.home-contact-section { padding-block: var(--sm-space-section); background: var(--sm-white); }
.sm-map { min-height: 400px; overflow: hidden; border-radius: var(--sm-radius); background: var(--sm-cream); box-shadow: var(--sm-shadow-small); }
.sm-map :where(iframe, .osm-map) { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
.sm-contact-card { padding: clamp(1.6rem, 4vw, 2.75rem); border-radius: var(--sm-radius); background: var(--sm-cream); }
.sm-contact-list { padding: 0; margin: 1.5rem 0 2rem; list-style: none; }
.sm-contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--sm-border); }
.sm-contact-list a { color: var(--sm-text); text-decoration: none; }
.sm-contact-list a:hover { color: var(--sm-green); }

/* 15. FORMULARE
   ========================================================================== */
.sm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sm-form .sm-field-full { grid-column: 1 / -1; }
.sm-form label { display: block; margin-bottom: 0.3rem; color: var(--sm-brown); font-weight: 700; }
.sm-form :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sm-border);
  border-radius: 3px;
  color: var(--sm-text);
  background: var(--sm-white);
}
.sm-form textarea { min-height: 150px; resize: vertical; }
.sm-form :where(input, select, textarea):focus { border-color: var(--sm-green); outline: 3px solid rgba(90, 110, 69, 0.13); }
.sm-contact-section {
  margin-top: 1rem;
}

.sm-contact-section > .sm-section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sm-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.sm-contact-details,
.sm-contact-form {
  padding: clamp(2rem, 4vw, 3.25rem);
}

.sm-contact-details {
  color: #fff;
  background: #33452d;
}

.sm-contact-details h3 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.sm-contact-details address {
  margin-bottom: 1.5rem;
  font-style: normal;
  line-height: 1.8;
}

.sm-contact-details a {
  color: #fff;
  text-decoration: none;
}

.sm-contact-details a:hover {
  color: #d5bb79;
}

.sm-contact-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.sm-contact-note p {
  margin: 0.5rem 0 0;
}

.sm-contact-form {
  background: #fff;
  border: 1px solid #e3ddd2;
  box-shadow: 0 14px 35px rgba(40, 48, 35, 0.08);
}

.sm-contact-form h3 {
  margin-bottom: 1.75rem;
}

/* Visforms: Beschriftungen über die Felder stellen */
.sm-contact-form .visform .form-group.row {
  margin-right: 0;
  margin-left: 0;
}

.sm-contact-form .visform .col-3,
.sm-contact-form .visform .col-9 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.sm-contact-form .visform .offset-3 {
  margin-left: 0;
}

.sm-contact-form .visform label {
  margin-bottom: 0.45rem;
  padding-right: 0;
  padding-left: 0;
  font-weight: 500;
}

.sm-contact-form .visform .field1,
.sm-contact-form .visform .field2,
.sm-contact-form .visform .field3,
.sm-contact-form .visform .field4,
.sm-contact-form .visform .field5,
.sm-contact-form .visform .field6,
.sm-contact-form .visform .field7 {
  margin-bottom: 1.1rem;
}

.sm-contact-form .form-control,
.sm-contact-form .form-select {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  background-color: #faf8f3;
  border: 1px solid #ddd5c7;
  border-radius: 2px;
}

.sm-contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.sm-contact-form .form-control:focus,
.sm-contact-form .form-select:focus {
  background-color: #fff;
  border-color: #617549;
  box-shadow: 0 0 0 3px rgba(97, 117, 73, 0.12);
}

.sm-contact-form .vis_mandatory {
  margin-bottom: 1.25rem;
  color: #987a39;
  font-size: 0.8rem;
  font-weight: 600;
}

.sm-contact-form .form-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.sm-contact-form .form-check-input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.sm-contact-form .captchacode {
  width: auto;
  max-width: 190px;
  height: auto;
}

.sm-contact-form .pbBtnCon {
  margin-top: 1.25rem;
}

.sm-contact-form input[type="submit"] {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 991px) {
  .sm-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-contact-details,
  .sm-contact-form {
    padding: 1.5rem;
  }
}

/* 16. HILFSKLASSEN
   ========================================================================== */
.sm-bg-cream { background: var(--sm-cream); }
.sm-bg-white { background: var(--sm-white); }
.sm-text-center { text-align: center; }
.sm-mt-0 { margin-top: 0 !important; }
.sm-mb-0 { margin-bottom: 0 !important; }
.sm-shadow { box-shadow: var(--sm-shadow); }

/* 18. TABLET – BIS 1199 PX
   ========================================================================== */
@media (max-width: 1199.98px) {
  .sm-topic-grid,
  .sm-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-topic-card { min-height: 350px; }
  .sm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studentenmuehle-header :where(.nav, .navbar-nav, .astroid-nav) > li > a { padding-inline: 0.35rem; font-size: 0.86rem; }
}

/* 19. TABLET – BIS 991 PX
   ========================================================================== */
@media (max-width: 991.98px) {
  .studentenmuehle-topbar,
  .hotel-topbar { font-size: 0.76rem; }
  .sm-header-inner { min-height: 76px; }
  .sm-site-logo img,
  .studentenmuehle-header .astroid-logo img { max-width: 180px; max-height: 60px; }
  .studentenmuehle-header .sm-header-action { display: none; }

  .studentenmuehle-hero { min-height: 580px; background-position: 48% center; }
  .studentenmuehle-hero::before {
    background: linear-gradient(
      90deg,
      rgba(17, 22, 15, 0.42),
      rgba(17, 22, 15, 0.24) 52%,
      rgba(17, 22, 15, 0.06)); }
  .studentenmuehle-hero > .container,
  .studentenmuehle-hero > .container-fluid,
  .studentenmuehle-hero .astroid-container { padding-inline: 35px; }
  .studentenmuehle-hero .sm-hero-content { width: min(650px, 100%); padding-block: 90px 85px; }

  .sm-booking-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-booking-submit { width: 100%; }
  .sm-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-welcome-grid,
  .sm-split,
  .sm-restaurant-grid,
  .sm-contact-grid { gap: 2.5rem; }
  .sm-restaurant-media img { min-height: 440px; }
}

/* 20. SMARTPHONE – BIS 767 PX
   ========================================================================== */
@media (max-width: 767.98px) {
  :root { --sm-space-section: 3.5rem; }
  .sm-container,
  [class*="studentenmuehle-"] > .container,
  [class*="studentenmuehle-"] .astroid-container { width: min(100% - 32px, var(--sm-container)); }

  .studentenmuehle-topbar,
  .hotel-topbar { display: none; }
  .sm-header-inner { min-height: 68px; }
  .sm-site-logo img,
  .studentenmuehle-header .astroid-logo img { max-width: 165px; max-height: 54px; }

  .studentenmuehle-hero { min-height: 520px; background-position: center; }
  .studentenmuehle-hero::before { background: rgba(17, 22, 15, 0.32); }
  .studentenmuehle-hero > .container,
  .studentenmuehle-hero > .container-fluid,
  .studentenmuehle-hero .astroid-container { padding-inline: 20px; }
  .studentenmuehle-hero .sm-hero-content { width: 100%; margin-inline: auto; padding-block: 70px; text-align: center; }
  .sm-hero-kicker { padding-right: 0; font-size: 0.73rem; letter-spacing: 0.12em; }
  .sm-hero-kicker::after { display: none; }
  .sm-hero-title { font-size: clamp(2.65rem, 12vw, 4rem); }
  .studentenmuehle-hero .sm-hero-subtitle { margin-inline: auto; }
  .studentenmuehle-hero .sm-hero-buttons { justify-content: center; }

  .studentenmuehle-booking,
  .booking-placeholder-section { margin-top: -35px; }
  .sm-booking-box,
  .sm-form { grid-template-columns: 1fr; }
  .sm-form .sm-field-full { grid-column: auto; }

  .sm-welcome-grid,
  .sm-split,
  .sm-restaurant-grid,
  .sm-contact-grid { grid-template-columns: 1fr; }
  .sm-welcome-media { margin: 18px 18px 0 0; }
  .sm-restaurant-media { order: -1; }
  .sm-restaurant-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .sm-room-grid { grid-template-columns: 1fr; }

  .sm-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 2.5rem; }
  .sm-timeline::before { top: 0; bottom: 0; left: 7px; width: 1px; height: auto; }
  .sm-timeline-item { padding: 0 0 2rem 2.3rem; text-align: left; }
  .sm-timeline-item::before { top: 4px; left: 0; }

  .sm-contact-card { order: -1; }
  .sm-footer-bottom-inner { display: block; text-align: center; }
}

/* 21. KLEINE SMARTPHONES – BIS 479 PX
   ========================================================================== */
@media (max-width: 479.98px) {
  .sm-topic-grid,
  .sm-region-grid,
  .sm-footer-grid { grid-template-columns: 1fr; }
  .sm-topic-card { min-height: 330px; }
  .studentenmuehle-hero .sm-hero-buttons { display: grid; width: 100%; }
  .studentenmuehle-hero .sm-hero-buttons .sm-button { width: 100%; }
  .sm-opening-hours p { display: block; }
  .sm-footer-grid { gap: 2rem; }
}

/* 22. BARRIEREARMUT UND DRUCK
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .sm-hero-kicker,
  .sm-hero-title,
  .sm-hero-subtitle,
  .sm-hero-buttons { opacity: 1; }
}

@media print {
  .studentenmuehle-topbar,
  .hotel-topbar,
  .studentenmuehle-header,
  .sm-site-header,
  .studentenmuehle-booking,
  .booking-placeholder-section,
  .studentenmuehle-footer,
  .sm-site-footer { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
/* ==================================================
   JP SIMPLE GRID – UNSERE HIGHLIGHTS
   Modulklasse: sm-highlights
   ================================================== */

/* Abstand zwischen den Kacheln */
.sm-highlights .mod_uk_grid {
  margin-top: 0;
}

/* Kachel */
.sm-highlights .uk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--sm-radius);
  background: var(--sm-green-dark);
  box-shadow: var(--sm-shadow-small);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Hover der kompletten Kachel */
.sm-highlights .uk-card:hover {
  box-shadow: var(--sm-shadow);
  transform: translateY(-6px);
}

/* Bildrahmen */
.sm-highlights .uk-card > div:first-of-type {
  position: relative;
  aspect-ratio:16/10;
  overflow: hidden !important;
}

/* Dunkler Verlauf über dem unteren Bildbereich */
.sm-highlights .uk-card > div:first-of-type::after {
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(25, 32, 21, 0),
    rgba(25, 32, 21, 0.18)
  );
}

/* Bilder einheitlich zuschneiden */
.sm-highlights .uk-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio:16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Bild beim Überfahren vergrößern */
.sm-highlights .uk-card:hover img {
  transform: scale(1.055);
}

/* Textbereich */
.sm-highlights .uk-card .px-3 {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 215px;
  padding: 24px 26px 28px !important;
  border-bottom: 4px solid transparent;
  background: var(--sm-white);
  transition: border-color 0.3s ease;
}

/* Goldene Linie beim Hover */
.sm-highlights .uk-card:hover .px-3 {
  border-bottom-color: var(--sm-gold);
}

/* Titel */
.sm-highlights .uk-card h4 {
  margin: 0 0 10px;
  padding-top: 0 !important;
  color: var(--sm-brown);
  font-family: var(--sm-font-heading);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  text-align: left !important;
}

/* Beschreibung */
.sm-highlights .uk-card .py-2 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: var(--sm-muted);
  text-align: left !important;
}

.sm-highlights .uk-card .py-2 p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Tastatur- und Linkdarstellung für spätere Verlinkung */
.sm-highlights .uk-card a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

/* JP-Simple-Grid-Button */
.sm-highlights .uk-card .btn {
  position: static;
  color: var(--sm-white) !important;
  border-color: var(--sm-green);
  background: var(--sm-green);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.sm-highlights .uk-card .btn:hover,
.sm-highlights .uk-card .btn:focus-visible {
  color: var(--sm-white) !important;
  border-color: var(--sm-green-dark);
  background: var(--sm-green-dark);
}
/* Ganze JP-Simple-Grid-Kachel anklickbar */
.sm-highlights .uk-card .btn::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
}
/* JP Simple Grid – einheitliche Kartenhöhen */
.sm-highlights .mod_uk_grid > div {
  display: flex;
}

/* Button nach unten ausrichten und Abstand vergrößern */
.sm-highlights .uk-card .pb-3 {
  margin-top: auto;
  padding-top: 1.4rem;
  padding-bottom: 0 !important;
}

/* Auf dem Smartphone keine unnötige Mindesthöhe */
@media (max-width: 767px) {
  .sm-highlights .uk-card .px-3 {
    min-height: auto;
  }
}
/* Tablet */
@media (max-width: 991.98px) {
  .sm-highlights .uk-card .px-3 {
    min-height: 155px;
    padding: 22px !important;
  }
}

/* Smartphone */
@media (max-width: 767.98px) {
  .sm-highlights .uk-card > div:first-of-type,
  .sm-highlights .uk-card img {
    aspect-ratio: 3 / 2;
  }

  .sm-highlights .uk-card .px-3 {
    min-height: auto;
  }
}

/* Animation reduzieren */
@media (prefers-reduced-motion: reduce) {
  .sm-highlights .uk-card,
  .sm-highlights .uk-card img {
    transition: none;
  }

  .sm-highlights .uk-card:hover {
    transform: none;
  }
}
.sm-welcome{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.sm-welcome img{
width:100%;
border-radius:8px;
}

@media(max-width:991px){

.sm-welcome{
grid-template-columns:1fr;
}
}
/* ==================================================
   STUDENTENMÜHLE – HAUPTMENÜ UND SUBMENÜ
   Astroid 3.3.12 / tp_perfect
   ================================================== */

/* --------------------------------------------------
   1. HEADER
   -------------------------------------------------- */

#astroid-header {
  position: relative;
  z-index: 1030;
  min-height: 88px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 24px rgba(35, 42, 29, 0.08);
}

#astroid-header > .d-flex {
  min-height: 88px;
  align-items: center;
}

/* --------------------------------------------------
   2. HAUPTMENÜ
   -------------------------------------------------- */

#astroid-header .astroid-nav {
  align-items: center;
  gap: clamp(0.15rem, 0.6vw, 0.65rem);
}

/* Hauptmenü-Link */
#astroid-header .astroid-nav > .nav-item > a {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  padding: 0 0.72rem;
  color: var(--sm-text);
  font-family: var(--sm-font-body);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition:
    color 0.22s ease,
    background-color 0.22s ease;
}

/* Goldene Linie unter dem Menüpunkt */
#astroid-header .astroid-nav > .nav-item > a::after {
  position: absolute;
  right: 0.72rem;
  bottom: 21px;
  left: 0.72rem;
  height: 2px;
  content: "";
  background: var(--sm-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

/* Hover und aktiver Menüpunkt */
#astroid-header .astroid-nav > .nav-item:hover > a,
#astroid-header .astroid-nav > .nav-item-active > a,
#astroid-header .astroid-nav > .nav-item-current > a,
#astroid-header .astroid-nav > .nav-item > a.active {
  color: var(--sm-green);
}

#astroid-header .astroid-nav > .nav-item:hover > a::after,
#astroid-header .astroid-nav > .nav-item-active > a::after,
#astroid-header .astroid-nav > .nav-item-current > a::after,
#astroid-header .astroid-nav > .nav-item > a.active::after {
  transform: scaleX(1);
}

/* Dropdown-Pfeil */
#astroid-header .nav-item-caret {
  margin-left: 0.42rem;
  color: var(--sm-gold);
  font-size: 0.68rem;
  transition: transform 0.22s ease;
}

#astroid-header .nav-item-dropdown:hover > a .nav-item-caret {
  transform: rotate(180deg);
}

/* --------------------------------------------------
   3. DROPDOWN-CONTAINER
   -------------------------------------------------- */

#astroid-header .nav-submenu-container {
  padding-top: 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Weißes Dropdown-Feld */
#astroid-header .nav-submenu {
  min-width: 250px;
  padding: 10px;
  border: 0;
  border-top: 3px solid var(--sm-gold);
  border-radius: 0 0 8px 8px;
  background: var(--sm-white);
  box-shadow: 0 16px 38px rgba(35, 42, 29, 0.16);
}

/* Untermenüeinträge */
#astroid-header .nav-submenu > li {
  position: relative;
  margin: 0;
}

/* Untermenülinks */
#astroid-header .nav-submenu > li > a {
  position: relative;
  display: block;
  padding: 12px 16px 12px 21px;
  overflow: hidden;
  color: var(--sm-text);
  border-radius: 3px;
  font-family: var(--sm-font-body);
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    padding-left 0.22s ease;
}

/* Goldener Strich links */
#astroid-header .nav-submenu > li > a::before {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 3px;
  height: 0;
  border-radius: 2px;
  content: "";
  background: var(--sm-gold);
  transform: translateY(-50%);
  transition: height 0.22s ease;
}

/* Hover Untermenü */
#astroid-header .nav-submenu > li:hover > a,
#astroid-header .nav-submenu > li.nav-item-active > a,
#astroid-header .nav-submenu > li.nav-item-current > a,
#astroid-header .nav-submenu > li > a.active {
  padding-left: 25px;
  color: var(--sm-green);
  background: var(--sm-cream);
}

#astroid-header .nav-submenu > li:hover > a::before,
#astroid-header .nav-submenu > li.nav-item-active > a::before,
#astroid-header .nav-submenu > li.nav-item-current > a::before,
#astroid-header .nav-submenu > li > a.active::before {
  height: 22px;
}

/* Dezente Trennlinie */
#astroid-header .nav-submenu > li:not(:last-child) {
  border-bottom: 1px solid rgba(90, 110, 69, 0.12);
}

/* --------------------------------------------------
   4. DROPDOWN-ANIMATION
   -------------------------------------------------- */

@media (min-width: 992px) {
  #astroid-header .nav-submenu-container {
    opacity: 0;
    visibility: hidden;
    transform: translateY(9px);
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease;
  }

  #astroid-header
    .nav-item-dropdown:hover
    > .nav-submenu-container,
  #astroid-header
    .nav-item-dropdown:focus-within
    > .nav-submenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* --------------------------------------------------
   5. STICKY HEADER
   -------------------------------------------------- */

#astroid-sticky-header {
  z-index: 1040;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(35, 42, 29, 0.14);
  backdrop-filter: blur(10px);
}

#astroid-sticky-header > .container {
  min-height: 72px;
  align-items: center;
}

/* Sticky-Menü */
#astroid-sticky-header .astroid-nav {
  align-items: center;
  gap: clamp(0.15rem, 0.6vw, 0.65rem);
}

#astroid-sticky-header .astroid-nav > .nav-item > a {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 0 0.68rem;
  color: var(--sm-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.22s ease;
}

#astroid-sticky-header .astroid-nav > .nav-item > a::after {
  position: absolute;
  right: 0.68rem;
  bottom: 15px;
  left: 0.68rem;
  height: 2px;
  content: "";
  background: var(--sm-gold);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

#astroid-sticky-header .astroid-nav > .nav-item:hover > a,
#astroid-sticky-header .astroid-nav > .nav-item-active > a,
#astroid-sticky-header .astroid-nav > .nav-item-current > a,
#astroid-sticky-header .astroid-nav > .nav-item > a.active {
  color: var(--sm-green);
}

#astroid-sticky-header .astroid-nav > .nav-item:hover > a::after,
#astroid-sticky-header .astroid-nav > .nav-item-active > a::after,
#astroid-sticky-header .astroid-nav > .nav-item-current > a::after,
#astroid-sticky-header .astroid-nav > .nav-item > a.active::after {
  transform: scaleX(1);
}

/* Sticky-Submenü wie normales Submenü */
#astroid-sticky-header .nav-submenu {
  min-width: 250px;
  padding: 10px;
  border: 0;
  border-top: 3px solid var(--sm-gold);
  border-radius: 0 0 8px 8px;
  background: var(--sm-white);
  box-shadow: 0 16px 38px rgba(35, 42, 29, 0.16);
}

#astroid-sticky-header .nav-submenu > li > a {
  display: block;
  padding: 12px 16px;
  color: var(--sm-text);
  font-size: 0.9rem;
  text-decoration: none;
}

#astroid-sticky-header .nav-submenu > li:hover > a,
#astroid-sticky-header .nav-submenu > li > a.active {
  color: var(--sm-green);
  background: var(--sm-cream);
}

/* --------------------------------------------------
   6. BUCHUNGSBUTTON IM MENÜ
   Dem Menüpunkt eine Link-CSS-Klasse geben:
   sm-menu-booking
   -------------------------------------------------- */

#astroid-header a.sm-menu-booking,
#astroid-sticky-header a.sm-menu-booking {
  min-height: 48px;
  margin-left: 0.7rem;
  padding: 0 1.25rem;
  color: var(--sm-white) !important;
  border-radius: 4px;
  background: var(--sm-green);
  box-shadow: 0 8px 22px rgba(45, 57, 35, 0.2);
}

#astroid-header a.sm-menu-booking::after,
#astroid-sticky-header a.sm-menu-booking::after {
  display: none;
}

#astroid-header a.sm-menu-booking:hover,
#astroid-header a.sm-menu-booking:focus-visible,
#astroid-sticky-header a.sm-menu-booking:hover,
#astroid-sticky-header a.sm-menu-booking:focus-visible {
  color: var(--sm-white) !important;
  background: var(--sm-green-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   7. KLEINERE DESKTOPS
   -------------------------------------------------- */

@media (max-width: 1199.98px) {
  #astroid-header .astroid-nav {
    gap: 0;
  }

  #astroid-header .astroid-nav > .nav-item > a {
    padding-right: 0.48rem;
    padding-left: 0.48rem;
    font-size: 0.86rem;
  }

  #astroid-header .astroid-nav > .nav-item > a::after {
    right: 0.48rem;
    left: 0.48rem;
  }
}

/* --------------------------------------------------
   8. MOBILE MENÜ
   -------------------------------------------------- */

#astroid-mobilemenu-wrap .astroid-mobilemenu {
  background: var(--sm-white);
}

#astroid-mobilemenu-wrap .astroid-mobile-menu {
  padding: 78px 22px 30px;
}

#astroid-mobilemenu-wrap .astroid-mobile-menu > li {
  border-bottom: 1px solid rgba(90, 110, 69, 0.16);
}

#astroid-mobilemenu-wrap .astroid-mobile-menu a {
  padding: 14px 4px;
  color: var(--sm-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

#astroid-mobilemenu-wrap .astroid-mobile-menu a:hover,
#astroid-mobilemenu-wrap .astroid-mobile-menu a.active {
  color: var(--sm-green);
}

#astroid-mobilemenu-wrap .astroid-mobile-menu .nav-child {
  padding: 0 0 10px 16px;
  margin: 0;
  border-left: 2px solid var(--sm-gold);
  background: var(--sm-white) !important;
}

#astroid-mobilemenu-wrap .astroid-mobile-menu .nav-child a {
  padding: 9px 4px;
  font-size: 0.91rem;
  font-weight: 500;
}

/* Hamburger */
#astroid-header .burger-menu-button .inner,
#astroid-header .burger-menu-button .inner::before,
#astroid-header .burger-menu-button .inner::after {
  background-color: var(--sm-green-dark);
}
/* Mobiles Hamburger-Menü vergrößern */
@media (max-width: 991.98px) {
 #astroid-header {
    position: relative;
  }

  #astroid-header .burger-menu-button {
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%);
    z-index: 10;
  }
  #astroid-header .burger-menu-button {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }

  #astroid-header .burger-menu-button .inner {
    position: relative !important;
    display: block !important;
    width: 30px !important;
    height: 2px !important;
  }

  #astroid-header .burger-menu-button .inner::before,
  #astroid-header .burger-menu-button .inner::after {
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
  }

  #astroid-header .burger-menu-button .inner::before {
    top: -8px !important;
  }

  #astroid-header .burger-menu-button .inner::after {
    top: 8px !important;
  }
}

/* --------------------------------------------------
   9. BARRIEREFREIHEIT
   -------------------------------------------------- */

#astroid-header a:focus-visible,
#astroid-sticky-header a:focus-visible,
#astroid-mobilemenu-wrap a:focus-visible {
  outline: 3px solid rgba(185, 146, 74, 0.6);
  outline-offset: 3px;
}

/* Animationen bei Systemeinstellung reduzieren */
@media (prefers-reduced-motion: reduce) {
  #astroid-header *,
  #astroid-sticky-header *,
  #astroid-mobilemenu-wrap * {
    transition: none !important;
  }
}
/* ==================================================
   STUDENTENMÜHLE – FOOTER (KONSOLIDIERTE FASSUNG)
   ================================================== */

/* 01 Hauptbereich */
.studentenmuehle-footer {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.625rem) clamp(2.75rem, 5vw, 4.375rem);
  color: var(--sm-footer-text);
  background: linear-gradient(180deg, var(--sm-footer-bg), var(--sm-footer-bg-deep));
  border-top: 1px solid var(--sm-footer-accent);
  font-family: var(--sm-footer-body-font);
}

.studentenmuehle-footer > .container,
.studentenmuehle-footer .container {
  width: min(100% - 2rem, var(--sm-footer-container));
  margin-inline: auto;
}

.studentenmuehle-footer .astroid-row,
.studentenmuehle-footer .row { row-gap: clamp(2.5rem, 5vw, 4rem); }

.studentenmuehle-footer .astroid-column,
.studentenmuehle-footer [class*="col-"] { min-width: 0; }

.studentenmuehle-footer .moduletable,
.studentenmuehle-footer .module,
.studentenmuehle-footer .sm-footer-block,
.studentenmuehle-footer .sm-footer-about {
  width: 100%;
  height: 100%;
  margin: 0;
}

.sm-footer-block { display: flex; flex-direction: column; }

/* 02 Typografie */
.studentenmuehle-footer h2,
.studentenmuehle-footer h3,
.studentenmuehle-footer .module-title,
.studentenmuehle-footer .sm-footer-heading {
  margin: 0 0 1.35rem;
  color: var(--sm-footer-accent-light);
  font-family: var(--sm-footer-heading-font);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
}

.studentenmuehle-footer p,
.studentenmuehle-footer address,
.studentenmuehle-footer li {
  color: var(--sm-footer-text);
  font-size: .95rem;
  line-height: 1.7;
}

.studentenmuehle-footer a,
.studentenmuehle-footer-bottom a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .2em;
  transition: color var(--sm-footer-transition), border-color var(--sm-footer-transition), background-color var(--sm-footer-transition), transform var(--sm-footer-transition);
}

.studentenmuehle-footer a:hover,
.studentenmuehle-footer-bottom a:hover { color: var(--sm-footer-accent-light); }

.studentenmuehle-footer a:focus-visible,
.studentenmuehle-footer-bottom a:focus-visible {
  outline: 2px solid var(--sm-footer-accent-light);
  outline-offset: 4px;
  border-radius: 2px;
}

/* 03 Logo und Profil */
.sm-footer-logo { display: inline-block; margin-bottom: 1.5rem; }
.sm-footer-logo img {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  max-height: 90px;
  object-fit: contain;
}

.studentenmuehle-footer .sm-footer-claim {
  margin: 0 0 1rem;
  color: #fff;
  font-family: var(--sm-footer-heading-font);
  font-size: clamp(1.65rem, 1.8vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
}

.sm-footer-copy { max-width: 30ch; margin: 0; }

/* 04 Kontakt und Vorteile */
.sm-footer-address { margin: 0 0 1.15rem; font-style: normal; }
.sm-footer-address strong { color: #fff; font-weight: 600; }
.sm-footer-contact-list,
.sm-footer-benefits { margin: 0 0 1.25rem; padding: 0; list-style: none; }

.sm-footer-contact-list li,
.sm-footer-benefits li {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  padding-block: .3rem;
  word-break: normal;
  overflow-wrap: normal;
}

.sm-footer-contact-list i,
.sm-footer-benefits i {
  margin-top: .42rem;
  color: var(--sm-footer-accent-light);
  font-size: .78rem;
  text-align: center;
}

.sm-footer-contact-list a,
.sm-footer-benefits span { min-width: 0; word-break: normal; overflow-wrap: normal; }
.sm-footer-contact-list li > :only-child { grid-column: 1 / -1; }
.sm-footer-contact-list a[href^="tel:"] { white-space: nowrap; }
.sm-footer-contact-list a[href^="mailto:"] {
  overflow-wrap: normal;
  white-space: nowrap;
}
.sm-footer-link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: .15rem;
  border-bottom: 1px solid var(--sm-footer-accent);
  font-weight: 700;
}

/* 05 Schnellzugriff: Joomla-Menü und HTML-Fallback */
.studentenmuehle-footer .sm-footer-menu-module ul,
.studentenmuehle-footer .sm-footer-menu-module .mod-menu,
.studentenmuehle-footer .sm-footer-menu {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studentenmuehle-footer .sm-footer-menu-module li,
.studentenmuehle-footer .sm-footer-menu li {
  display: block;
  margin: 0;
  border-bottom: 1px solid var(--sm-footer-border);
}

.studentenmuehle-footer .sm-footer-menu-module li:last-child,
.studentenmuehle-footer .sm-footer-menu li:last-child { border-bottom: 0; }

.studentenmuehle-footer .sm-footer-menu-module a,
.studentenmuehle-footer .sm-footer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .48rem;
}

.studentenmuehle-footer .sm-footer-menu-module a::after,
.studentenmuehle-footer .sm-footer-menu a::after {
  content: "→";
  color: var(--sm-footer-accent-light);
  opacity: 0;
  transform: translateX(-.35rem);
  transition: opacity var(--sm-footer-transition), transform var(--sm-footer-transition);
}

.studentenmuehle-footer .sm-footer-menu-module a:hover::after,
.studentenmuehle-footer .sm-footer-menu a:hover::after,
.studentenmuehle-footer .sm-footer-menu-module .current > a::after,
.studentenmuehle-footer .sm-footer-menu .current > a::after {
  opacity: 1;
  transform: translateX(0);
}

/* 06 Footer Bottom */
.studentenmuehle-footer-bottom {
  padding-top: 1.125rem;
  padding-bottom: 4.75rem;
  color: var(--sm-footer-muted);
  background: var(--sm-footer-bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--sm-footer-body-font);
  font-size: 0.82rem;
}
.studentenmuehle-footer-bottom .astroid-row,
.studentenmuehle-footer-bottom .row { align-items: center; row-gap: 1rem; }
.studentenmuehle-footer-bottom .moduletable,
.studentenmuehle-footer-bottom .module,
.studentenmuehle-footer-bottom p { margin: 0; }
.sm-footer-copyright { color: var(--sm-footer-muted); font-size: inherit; }

/* 07 Rechtliches */
.studentenmuehle-footer-bottom .sm-footer-legal ul,
.studentenmuehle-footer-bottom .sm-footer-legal .mod-menu,
.studentenmuehle-footer-bottom .sm-footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studentenmuehle-footer-bottom .sm-footer-legal li,
.studentenmuehle-footer-bottom .sm-footer-legal-menu li {
  display: flex;
  align-items: center;
  margin: 0;
}

.studentenmuehle-footer-bottom .sm-footer-legal li:not(:last-child)::after,
.studentenmuehle-footer-bottom .sm-footer-legal-menu li:not(:last-child)::after {
  margin-inline: .7rem;
  color: rgba(255, 255, 255, .28);
  content: "|";
}

/* 08 Social Media */
.sm-footer-social { display: flex; justify-content: flex-end; gap: .6rem; }
.sm-footer-social a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  color: var(--sm-footer-text);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
}

.sm-footer-social a:hover,
.sm-footer-social a:focus-visible {
  color: var(--sm-footer-bg-deep);
  border-color: var(--sm-footer-accent-light);
  background: var(--sm-footer-accent-light);
  transform: translateY(-2px);
}

/* 09 Responsive */
@media (max-width: 991.98px) {
  .studentenmuehle-footer-bottom { padding-block: 1.5rem; text-align: center; }
  .sm-footer-social { justify-content: center; }
}

@media (max-width: 767.98px) {
  .studentenmuehle-footer { text-align: left; }
  .sm-footer-copy { max-width: 38ch; }

}

@media (max-width: 479.98px) {
  .studentenmuehle-footer > .container,
  .studentenmuehle-footer .container { width: min(100% - 1.5rem, var(--sm-footer-container)); }

  .studentenmuehle-footer-bottom .sm-footer-legal ul,
  .studentenmuehle-footer-bottom .sm-footer-legal .mod-menu,
  .studentenmuehle-footer-bottom .sm-footer-legal-menu {
    display: grid;
    justify-content: center;
    gap: .45rem;
  }

  .studentenmuehle-footer-bottom .sm-footer-legal li,
  .studentenmuehle-footer-bottom .sm-footer-legal-menu li { justify-content: center; }
  .studentenmuehle-footer-bottom .sm-footer-legal li::after,
  .studentenmuehle-footer-bottom .sm-footer-legal-menu li::after { display: none; }
}

/* 10 Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .studentenmuehle-footer *,
  .studentenmuehle-footer *::before,
  .studentenmuehle-footer *::after,
  .studentenmuehle-footer-bottom *,
  .studentenmuehle-footer-bottom *::before,
  .studentenmuehle-footer-bottom *::after { transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .studentenmuehle-footer,
  .studentenmuehle-footer-bottom { border-color: CanvasText; }
  .sm-footer-social a { border-color: LinkText; }
}
/* Footer-4: Häkchen automatisch erzeugen */
.sm-footer-benefits li::before {
  content: "✓";
  margin-top: .02rem;
  color: var(--sm-footer-accent-light);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
/* Zimmer – Ausstattung */
.sm-room-features {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.sm-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sm-border);
}

.sm-feature-list li {
  position: relative;
  padding: 1rem 1.25rem 1rem 2rem;
  border-bottom: 1px solid var(--sm-border);
}

.sm-feature-list li:nth-child(odd) {
  border-right: 1px solid var(--sm-border);
}

.sm-feature-list li::before {
  position: absolute;
  top: 1rem;
  left: 0.35rem;
  color: var(--sm-gold);
  font-weight: 700;
  content: "✓";
}

@media (max-width: 767px) {
  .sm-room-features {
    margin-top: 2rem;
  }

  .sm-feature-list {
    grid-template-columns: 1fr;
  }

  .sm-feature-list li:nth-child(odd) {
    border-right: 0;
  }
}
/* Zimmer – zusätzliche Leistungen */
.sm-room-information {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.sm-room-information h2 {
  margin-bottom: 1.75rem;
}

/* Preis- und Leistungsübersicht */
.sm-price-details {
  margin: 0;
  border-top: 1px solid var(--sm-border);
}

.sm-price-details > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sm-border);
}

.sm-price-details dt {
  color: var(--sm-brown);
  font-weight: 700;
}

.sm-price-details dd {
  margin: 0;
  color: var(--sm-muted);
}

/* Familienbox */
.sm-information-box {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 4px solid var(--sm-gold);
  border-radius: var(--sm-radius);
  background: var(--sm-cream);
  box-shadow: var(--sm-shadow-small);
}

.sm-information-box h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.sm-information-box p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .sm-room-information {
    grid-template-columns: 1fr;
  }

  .sm-information-box {
    max-width: 620px;
  }
}

@media (max-width: 575px) {
  .sm-price-details > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
/* Zimmer – wichtiger Hinweis */
.sm-notice {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  border-left: 4px solid var(--sm-gold);
  background: var(--sm-cream);
}

.sm-notice h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.sm-notice p:last-child {
  margin-bottom: 0;
}

/* Zimmer – Abschluss und Anfrage */
.sm-content-cta {
  margin-top: clamp(4rem, 7vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--sm-white);
  border-radius: var(--sm-radius);
  background: var(--sm-green-dark);
  text-align: center;
}

.sm-content-cta .sm-section-kicker {
  color: var(--sm-gold);
}

.sm-content-cta h2 {
  margin-bottom: 1rem;
  color: var(--sm-white);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.sm-content-cta p {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.sm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.sm-content-cta .sm-button-outline {
  color: var(--sm-white);
  border-color: rgba(255, 255, 255, 0.75);
}

.sm-content-cta .sm-button-outline:hover,
.sm-content-cta .sm-button-outline:focus-visible {
  color: var(--sm-green-dark);
  background: var(--sm-white);
}

@media (max-width: 575px) {
  .sm-notice {
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  }

  .sm-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sm-cta-actions .sm-button {
    width: 100%;
  }
}
/* Zimmerkarten – Bilder */
.sm-room-card-image {
  overflow: hidden;
  background: var(--sm-cream);
}

.sm-room-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sm-room-card:hover .sm-room-card-image img {
  transform: scale(1.04);
}

/* Unterseiten-Hero */
.studentenmuehle-subpage-hero {
  position: relative;
  overflow: hidden;
}

.studentenmuehle-subpage-hero > .container,
.studentenmuehle-subpage-hero > .container-fluid {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sm-subpage-hero {
  position: relative;
  display: flex;
  min-height: clamp(360px, 42vw, 560px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.sm-subpage-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sm-subpage-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(17, 22, 15, 0.52) 0%,
    rgba(17, 22, 15, 0.28) 40%,
    rgba(17, 22, 15, 0.04) 75%
  );
}

.sm-subpage-hero-content {
  width: min(100% - 40px, var(--sm-container));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 7rem);
  color: var(--sm-white);
}

.sm-subpage-hero-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: #e4c98a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sm-subpage-hero h1 {
  margin-bottom: 0.75rem;
  color: var(--sm-white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
}

.sm-subpage-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

@media (max-width: 767px) {
  .sm-subpage-hero {
    min-height: 380px;
  }

  .sm-subpage-hero-overlay {
    background: rgba(17, 22, 15, 0.36);
  }

  .sm-subpage-hero-content {
    text-align: center;
  }
}
/* Hotel – Bild/Text-Einleitung */
.sm-hotel-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.sm-hotel-intro-image {
  position: relative;
}

.sm-hotel-intro-image::before {
  position: absolute;
  inset: -18px;
  z-index: 0;
  content: "";
  border: 1px solid var(--sm-gold);
  border-radius: var(--sm-radius);
  pointer-events: none;
}

.sm-hotel-intro-image img {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .sm-hotel-intro-image::before {
    inset: -10px;
  }
}
@media (max-width: 991px) {
  .sm-hotel-intro {
    grid-template-columns: 1fr;
  }

  .sm-hotel-intro-image {
    max-width: 760px;
  }
}
/* Hotel – Vorteile */
.sm-hotel-benefits {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.75rem;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  background: var(--sm-border);
}

.sm-benefit-card {
  position: relative;
  min-height: 250px;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: var(--sm-white);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.sm-benefit-card:hover {
  z-index: 1;
  background: var(--sm-cream);
}

.sm-benefit-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--sm-gold);
  font-family: var(--sm-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.sm-benefit-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.sm-benefit-card p {
  margin-bottom: 0;
  color: var(--sm-muted);
}

@media (max-width: 991px) {
  .sm-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sm-hotel-benefits {
    margin-top: 3.5rem;
  }

  .sm-benefit-grid {
    grid-template-columns: 1fr;
  }

  .sm-benefit-card {
    min-height: 0;
  }
}
/* Hotel – Frühstück und Genuss */
.sm-hotel-breakfast {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--sm-cream);
}

.sm-hotel-breakfast-content p:last-of-type {
  margin-bottom: 1.5rem;
}

.sm-hotel-breakfast-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-small);
}

@media (max-width: 991px) {
  .sm-hotel-breakfast {
    grid-template-columns: 1fr;
  }

  .sm-hotel-breakfast-image {
    max-width: 760px;
  }
}

@media (max-width: 575px) {
  .sm-hotel-breakfast {
    margin-top: 3.5rem;
    padding: 1.75rem;
  }
}
/* Tagungen – Vorteile */
.sm-meeting-benefits {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}
/* Tagungen – Räume */
.sm-meeting-rooms {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-meeting-room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sm-meeting-room-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sm-border);
  background: var(--sm-white);
  box-shadow: var(--sm-shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sm-meeting-room-card h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.sm-meeting-room-card > p {
  margin: 1.5rem 0 0;
  color: var(--sm-muted);
}

.sm-meeting-room-facts {
  margin: 0;
  border-top: 1px solid var(--sm-border);
}

.sm-meeting-room-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sm-border);
}

.sm-meeting-room-facts dt {
  font-weight: 600;
}

.sm-meeting-room-facts dd {
  margin: 0;
  color: var(--sm-green);
  font-weight: 700;
}

/* Tagungen – Ausstattung */
.sm-meeting-equipment {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--sm-cream);
}

.sm-meeting-equipment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sm-border);
}

.sm-meeting-equipment-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2rem;
  border-bottom: 1px solid var(--sm-border);
}

.sm-meeting-equipment-list li::before {
  position: absolute;
  left: 0.35rem;
  color: var(--sm-gold);
  font-weight: 700;
  content: "\2713";
}

@media (max-width: 991px) {
  .sm-meeting-room-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sm-meeting-equipment {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .sm-meeting-equipment-list {
    grid-template-columns: 1fr;
  }
}
/* Tagungsraumkarten mit Bildern */
.sm-meeting-room-card:hover {
  box-shadow: var(--sm-shadow);
  transform: translateY(-5px);
}

.sm-meeting-room-image {
  overflow: hidden;
  background: var(--sm-cream);
}

.sm-meeting-room-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sm-meeting-room-card:hover .sm-meeting-room-image img {
  transform: scale(1.04);
}

.sm-meeting-room-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.sm-meeting-room-content > p {
  margin: 1.5rem 0 0;
  color: var(--sm-muted);
}

.sm-meeting-room-facts span {
  font-weight: 600;
}

.sm-meeting-room-facts strong {
  color: var(--sm-green);
}
/* Tagungen – Verpflegung und Übernachtung */
.sm-meeting-services {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.sm-meeting-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sm-meeting-service-card {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--sm-border);
  background: var(--sm-white);
  box-shadow: var(--sm-shadow-small);
}

.sm-meeting-service-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.sm-meeting-service-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sm-border);
}

.sm-meeting-service-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid var(--sm-border);
}

.sm-meeting-service-list li::before {
  position: absolute;
  left: 0.25rem;
  color: var(--sm-gold);
  font-weight: 700;
  content: "\2713";
}

/* Tagungen – Angebotshinweis */
.sm-meeting-offer {
  max-width: 820px;
  margin: clamp(4rem, 7vw, 6rem) auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--sm-gold);
  border-bottom: 1px solid var(--sm-gold);
  text-align: center;
}

.sm-meeting-offer p {
  margin: 0;
}

@media (max-width: 767px) {
  .sm-meeting-service-grid {
    grid-template-columns: 1fr;
  }
}
/* Rechtliche Seiten */

.sm-legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 25px 0 70px;
}

.sm-legal-intro {
  margin-bottom: 42px;
}

.sm-legal-intro h2 {
  margin-top: 8px;
  margin-bottom: 0;
}

.sm-legal-block {
  padding: 26px 0;
  border-top: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-legal-block:last-child {
  border-bottom: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-legal-block h3 {
  margin: 0 0 14px;
  color: #725026;
  font-size: 1.35rem;
}

.sm-legal-block p {
  margin: 0;
  line-height: 1.8;
}

.sm-legal-block a {
  color: #5f733f;
  font-weight: 600;
}

.sm-legal-block a:hover,
.sm-legal-block a:focus {
  color: #725026;
}
/* AGB-Seite */

.sm-agb-selection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 45px 0 70px;
}

.sm-agb-selection-card {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 30px;
  color: #333;
  text-decoration: none;
  background: #f7f4ed;
  border: 1px solid rgba(180, 148, 74, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sm-agb-selection-card:hover,
.sm-agb-selection-card:focus {
  color: #333;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(35, 49, 30, 0.1);
}

.sm-agb-selection-card strong {
  margin: 18px 0 7px;
  color: #725026;
  font-size: 1.45rem;
}

.sm-agb-selection-card > span:last-child {
  color: #666;
}

.sm-agb-number {
  color: #b4944a;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sm-agb-document {
  padding: 60px 0;
  scroll-margin-top: 120px;
  border-top: 1px solid rgba(180, 148, 74, 0.35);
}

.sm-agb-document-header {
  margin-bottom: 35px;
}

.sm-agb-document-header h3 {
  max-width: 760px;
  margin: 8px 0 12px;
  color: #725026;
  font-size: 1.75rem;
}

.sm-agb-document-header p {
  color: #777;
}

.sm-agb-text {
  line-height: 1.8;
}

.sm-agb-text h4 {
  margin: 36px 0 12px;
  color: #725026;
  font-size: 1.2rem;
}

.sm-agb-placeholder {
  padding: 28px 30px;
  background: #f7f4ed;
  border-left: 3px solid #b4944a;
}

.sm-agb-placeholder p {
  margin: 8px 0 0;
}

.sm-agb-download {
  margin-top: 30px;
}

.sm-agb-contact {
  margin-top: 40px;
  padding: 45px;
  color: #fff;
  background: #30422a;
  border-radius: 4px;
}

.sm-agb-contact h3 {
  margin: 8px 0 18px;
  color: #fff;
}

.sm-agb-contact a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .sm-agb-selection {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .sm-agb-document {
    padding: 45px 0;
  }

  .sm-agb-contact {
    padding: 30px 24px;
  }
}
/* Geschenkgutschein */

.sm-voucher-page {
  padding-bottom: 70px;
}

.sm-voucher-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 75px;
  align-items: center;
  padding: 35px 0 80px;
}

.sm-voucher-content h2 {
  margin: 9px 0 20px;
}

.sm-voucher-content .sm-lead {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.sm-voucher-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 25px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: #5f733f;
  border: 1px solid #5f733f;
  border-radius: 3px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sm-voucher-button:hover,
.sm-voucher-button:focus {
  color: #fff;
  text-decoration: none;
  background: #30422a;
  border-color: #30422a;
  transform: translateY(-2px);
}

.sm-voucher-partner {
  margin-top: 12px;
  color: #777;
  font-size: 0.85rem;
}

.sm-voucher-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 55px 48px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, #405336 0%, #263923 100%);
  border: 1px solid rgba(180, 148, 74, 0.65);
  border-radius: 5px;
  box-shadow: 0 20px 45px rgba(35, 49, 30, 0.2);
}

.sm-voucher-card::before,
.sm-voucher-card::after {
  position: absolute;
  content: "";
  background: rgba(180, 148, 74, 0.22);
}

.sm-voucher-card::before {
  top: 0;
  bottom: 0;
  left: 33%;
  width: 1px;
}

.sm-voucher-card::after {
  right: 0;
  bottom: 28%;
  left: 0;
  height: 1px;
}

.sm-voucher-card-kicker {
  position: relative;
  color: #d2b56e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sm-voucher-card strong {
  position: relative;
  max-width: 320px;
  margin: 24px 0 14px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
}

.sm-voucher-card-subtitle,
.sm-voucher-card-location {
  position: relative;
}

.sm-voucher-card-subtitle {
  max-width: 290px;
  line-height: 1.6;
}

.sm-voucher-card-location {
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.sm-voucher-process {
  padding: 70px 0;
  border-top: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-voucher-section-header {
  margin-bottom: 38px;
  text-align: center;
}

.sm-voucher-section-header h2 {
  margin-top: 8px;
}

.sm-voucher-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-voucher-step {
  min-height: 250px;
  padding: 35px;
  border: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-voucher-step + .sm-voucher-step {
  border-left: 0;
}

.sm-voucher-step > span {
  color: #b4944a;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sm-voucher-step h3 {
  margin: 24px 0 14px;
  color: #725026;
}

.sm-voucher-step p {
  margin: 0;
  line-height: 1.75;
}

.sm-voucher-closing {
  margin-top: 45px;
  padding: 65px 40px;
  color: #fff;
  text-align: center;
  background: #30422a;
  border-radius: 5px;
}

.sm-voucher-closing h2 {
  margin: 9px 0 18px;
  color: #fff;
}

.sm-voucher-closing p {
  max-width: 720px;
  margin: 0 auto;
}

.sm-voucher-button-light {
  color: #30422a;
  background: #fff;
  border-color: #fff;
}

.sm-voucher-button-light:hover,
.sm-voucher-button-light:focus {
  color: #30422a;
  background: #d2b56e;
  border-color: #d2b56e;
}

@media (max-width: 991.98px) {
  .sm-voucher-intro {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .sm-voucher-card {
    min-height: 330px;
  }
}

@media (max-width: 767.98px) {
  .sm-voucher-intro {
    padding-bottom: 55px;
  }

  .sm-voucher-steps {
    grid-template-columns: 1fr;
  }

  .sm-voucher-step + .sm-voucher-step {
    border-top: 0;
    border-left: 1px solid rgba(180, 148, 74, 0.3);
  }

  .sm-voucher-card {
    min-height: 300px;
    padding: 38px 30px;
  }

  .sm-voucher-closing {
    padding: 48px 24px;
  }
}
/* Galerie */

.sm-gallery-page {
  padding: 25px 0 70px;
}

.sm-gallery-intro {
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.sm-gallery-intro h2 {
  margin: 9px 0 17px;
}

.sm-gallery-intro .sm-lead {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.75;
}

.sm-gallery-module {
  margin-top: 35px;
}

.sm-gallery-closing {
  margin-top: 75px;
  padding: 60px 35px;
  color: #fff;
  text-align: center;
  background: #30422a;
  border-radius: 5px;
}

.sm-gallery-closing h2 {
  margin: 9px 0 18px;
  color: #fff;
}

.sm-gallery-closing > p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.sm-gallery-closing a {
  color: #fff;
  font-weight: 700;
}

.sm-gallery-closing a:hover,
.sm-gallery-closing a:focus {
  color: #d2b56e;
}

@media (max-width: 767.98px) {
  .sm-gallery-intro {
    margin-bottom: 40px;
  }

  .sm-gallery-closing {
    margin-top: 50px;
    padding: 45px 24px;
  }

  .sm-gallery-closing p:last-child span {
    display: block;
    height: 7px;
    font-size: 0;
  }
}
/* Datenschutzerklärung */

.sm-privacy-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 25px 0 70px;
}

.sm-privacy-intro {
  max-width: 820px;
  margin-bottom: 45px;
}

.sm-privacy-intro h2 {
  margin: 9px 0 17px;
}

.sm-privacy-intro .sm-lead {
  font-size: 1.15rem;
  line-height: 1.75;
}

.sm-privacy-date {
  margin-top: 20px;
  color: #777;
  font-size: 0.9rem;
}

.sm-privacy-toc {
  margin-bottom: 55px;
  padding: 32px 36px;
  background: #f7f4ed;
  border-left: 3px solid #b4944a;
}

.sm-privacy-toc h3 {
  margin: 0 0 20px;
  color: #725026;
}

.sm-privacy-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 35px;
  margin: 0;
  padding-left: 22px;
}

.sm-privacy-toc li {
  padding-left: 5px;
}

.sm-privacy-toc a {
  color: #4c5f36;
  text-decoration: none;
}

.sm-privacy-toc a:hover,
.sm-privacy-toc a:focus {
  color: #725026;
  text-decoration: underline;
}

.sm-privacy-section {
  padding: 34px 0;
  scroll-margin-top: 125px;
  border-top: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-privacy-section:last-child {
  border-bottom: 1px solid rgba(180, 148, 74, 0.3);
}

.sm-privacy-section h3 {
  margin: 0 0 18px;
  color: #725026;
  font-size: 1.4rem;
}

.sm-privacy-section h4 {
  margin: 28px 0 12px;
  color: #30422a;
  font-size: 1.1rem;
}

.sm-privacy-section p,
.sm-privacy-section li {
  line-height: 1.8;
}

.sm-privacy-section ul,
.sm-privacy-section ol {
  margin: 15px 0 20px;
  padding-left: 25px;
}

.sm-privacy-section address {
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.8;
}

.sm-privacy-section a {
  color: #5f733f;
  font-weight: 600;
}

.sm-privacy-contact {
  margin-top: 60px;
  padding: 42px;
  color: #fff;
  background: #30422a;
  border-radius: 5px;
}

.sm-privacy-contact h3 {
  margin: 8px 0 15px;
  color: #fff;
}

.sm-privacy-contact p {
  margin: 0;
}

.sm-privacy-contact a {
  color: #fff;
  font-weight: 700;
}

.sm-privacy-contact a:hover,
.sm-privacy-contact a:focus {
  color: #d2b56e;
}

@media (max-width: 767.98px) {
  .sm-privacy-toc {
    padding: 25px 24px;
  }

  .sm-privacy-toc ol {
    grid-template-columns: 1fr;
  }

  .sm-privacy-section {
    padding: 28px 0;
  }

  .sm-privacy-contact {
    padding: 32px 24px;
  }
}
/* Partnerlogos im Footer Bottom */
.studentenmuehle-footer-bottom .studentenmuehle-partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.studentenmuehle-footer-bottom .studentenmuehle-partner-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 4px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.studentenmuehle-footer-bottom .studentenmuehle-partner-logos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 30px;
  object-fit: contain;
}

.studentenmuehle-footer-bottom .studentenmuehle-partner-logos a:hover,
.studentenmuehle-footer-bottom .studentenmuehle-partner-logos a:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991.98px) {
  .studentenmuehle-footer-bottom .studentenmuehle-partner-logos {
    justify-content: center;
    margin-top: 12px;
  }
}
/* ==================================================
   DSGVO – Cookie-Banner Studentenmühle
   ================================================== */

div.cc-window.cc-banner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  align-items: center !important;
  gap: clamp(1rem, 2vw, 2rem) !important;
  padding: 1rem max(
    20px,
    calc((100vw - var(--sm-container)) / 2)
  ) !important;

  color: var(--sm-text) !important;
  background: var(--sm-cream) !important;
  border: 0 !important;
  border-top: 3px solid var(--sm-gold) !important;
  box-shadow: 0 -8px 28px rgba(35, 42, 29, 0.16) !important;

  font-family: var(--sm-font-body) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

/* Textbereich */
div.cc-window.cc-banner .cc-message {
  flex: 1 1 600px !important;
  margin: 0 !important;
  color: var(--sm-text) !important;
  text-align: left !important;
}

div.cc-window.cc-banner .cc-message-text {
  display: block;
  margin-bottom: 0.25rem;
}

/* Links */
div.cc-window.cc-banner a.cc-link {
  margin-right: 0.75rem !important;
  padding: 0 !important;
  color: var(--sm-brown) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

div.cc-window.cc-banner a.cc-link:hover {
  color: var(--sm-green) !important;
}

/* Buttonbereich */
div.cc-window.cc-banner .cc-compliance {
  flex: 0 0 auto !important;
}

div.cc-window.cc-banner ul.cc-compliance-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.65rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

div.cc-window.cc-banner ul.cc-compliance-list li {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Gemeinsame Buttonwerte */
div.cc-window.cc-banner a.cc-btn {
  box-sizing: border-box !important;
  min-width: 145px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0.65rem 1rem !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: var(--sm-radius) !important;
  font-family: var(--sm-font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease !important;
}

/* Nur notwendige Cookies */
div.cc-window.cc-banner a.cc-btn.cc-deny {
  color: var(--sm-green-dark) !important;
  border-color: var(--sm-green) !important;
  background: var(--sm-white) !important;
}

div.cc-window.cc-banner a.cc-btn.cc-deny:hover {
  color: var(--sm-green-dark) !important;
  border-color: var(--sm-green-dark) !important;
  background: rgba(90, 110, 69, 0.09) !important;
}

/* Alle akzeptieren */
div.cc-window.cc-banner a.cc-btn.cc-allow {
  color: var(--sm-white) !important;
  border-color: var(--sm-green) !important;
  background: var(--sm-green) !important;
}

div.cc-window.cc-banner a.cc-btn.cc-allow:hover {
  color: var(--sm-white) !important;
  border-color: var(--sm-green-dark) !important;
  background: var(--sm-green-dark) !important;
}

/* Tastaturbedienung */
div.cc-window.cc-banner a:focus-visible {
  outline: 3px solid rgba(185, 146, 74, 0.48) !important;
  outline-offset: 3px !important;
}

/* Smartphone */
@media (max-width: 767.98px) {
  div.cc-window.cc-banner {
    max-height: 90vh;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 1.1rem 1rem !important;
    overflow-y: auto;
  }

  div.cc-window.cc-banner .cc-message {
    flex: 0 1 auto !important;
  }

  div.cc-window.cc-banner .cc-compliance,
  div.cc-window.cc-banner ul.cc-compliance-list {
    width: 100%;
  }

  div.cc-window.cc-banner ul.cc-compliance-list {
    flex-direction: column !important;
  }

  div.cc-window.cc-banner ul.cc-compliance-list li,
  div.cc-window.cc-banner a.cc-btn {
    width: 100% !important;
  }
}
/* Unsichtbares Cookie-Banner darf keine Links blockieren */
div.cc-window.cc-banner.cc-invisible {
  pointer-events: none !important;
}
/* DSGVO – Schaltfläche zum erneuten Öffnen */
div.cc-revoke {
  position: fixed !important;
  right: auto !important;
  bottom: 0 !important;
  left: 12px !important;
  transform: none !important;

  padding: 0.65rem 1rem !important;
  color: var(--sm-white) !important;
  border: 1px solid var(--sm-gold) !important;
  border-radius: var(--sm-radius) !important;
  background: var(--sm-green-dark) !important;
  box-shadow: 0 -4px 16px rgba(35, 42, 29, 0.18) !important;
  font-family: var(--sm-font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

div.cc-revoke:hover,
div.cc-revoke:focus-visible {
  color: var(--sm-green-darker) !important;
  background: var(--sm-gold) !important;
}

/* Auf kleinen Displays bleibt der Footer trotz fester Cookie-Schaltflaeche lesbar. */
@media (max-width: 767.98px) {
  .studentenmuehle-footer-bottom {
    padding-bottom: 85px !important;
  }

  body.astroid-mobilemenu-opened div.cc-revoke,
  body.astroid-mobile-menu-opened div.cc-revoke {
    display: none !important;
  }

  div.cc-revoke {
    right: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.76rem !important;
  }
}

/* Äußerer Rahmen der GDPR-Popups */
.gdpr-fancybox-container .fancybox-content {
  padding: 0 !important;
  overflow: hidden !important;
  border-top: 4px solid var(--sm-gold) !important;
  border-radius: var(--sm-radius) !important;
  background: var(--sm-cream) !important;
  box-shadow: var(--sm-shadow) !important;
}

/* Hintergrund des eingebetteten Inhalts */
.gdpr-fancybox-container .fancybox-iframe {
  background: var(--sm-cream) !important;
}

/* Schließen-Schaltfläche */
.gdpr-fancybox-container .fancybox-button--close,
.gdpr-fancybox-container .fancybox-close-small {
  color: var(--sm-white) !important;
  background: var(--sm-green-dark) !important;
}

/* Inhalt innerhalb des Popup-Iframes */
.sm-cookie-policy-popup {
  box-sizing: border-box;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--sm-text);
  background: var(--sm-cream);
  font-family: var(--sm-font-body);
  font-size: 1rem;
  line-height: 1.75;
}

.sm-cookie-policy-popup .sm-cookie-policy-kicker {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--sm-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sm-cookie-policy-popup h2 {
  margin: 0 0 1.25rem;
  color: var(--sm-brown);
  font-family: var(--sm-font-heading);
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.15;
}

.sm-cookie-policy-popup p {
  max-width: 65ch;
  margin: 0 0 1rem;
}

.sm-cookie-policy-popup a {
  color: var(--sm-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
  .gdpr-fancybox-container .fancybox-content {
    width: calc(100vw - 24px) !important;
    max-height: 88vh !important;
  }

  .sm-cookie-policy-popup {
    padding: 1.75rem 1.25rem;
  }
}
/* Cookie-Erklärungs-Popup gezielt verkleinern */
@supports selector(.fancybox-content:has(iframe)) {
  .gdpr-fancybox-container
  .fancybox-content:has(iframe[src*="getCookiePolicy"]) {
    width: min(680px, calc(100vw - 32px)) !important;
    height: min(340px, calc(100vh - 32px)) !important;
  }
}

/* Inhalt innerhalb des Cookie-Popup-Iframes */
body.contentpane.component {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--sm-text) !important;
  background: var(--sm-cream) !important;
  font-family: var(--sm-font-body) !important;
}

/* Das von GDPR automatisch erzeugte Inhalts-Div */
body.contentpane.component
> #system-message-container
+ div {
  box-sizing: border-box;
  min-height: 100%;
  padding: clamp(1.75rem, 5vw, 2.75rem) !important;
  color: var(--sm-text) !important;
  background: var(--sm-cream) !important;
  font-size: 1rem;
  line-height: 1.75;
}

/* Falls der formatierte Wrapper später doch ausgegeben wird */
body.contentpane.component .sm-cookie-policy-popup {
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

@media (max-width: 575.98px) {
  @supports selector(.fancybox-content:has(iframe)) {
    .gdpr-fancybox-container
    .fancybox-content:has(iframe[src*="getCookiePolicy"]) {
      width: calc(100vw - 24px) !important;
      height: min(420px, calc(100vh - 24px)) !important;
    }
  }

  body.contentpane.component
  > #system-message-container
  + div {
    padding: 1.5rem 1.25rem !important;
  }
}
/* Sprachumschalter in der Topbar */
.studentenmuehle-topbar .mod-languages ul.lang-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

/* Joomla-Standardabstände entfernen */
.studentenmuehle-topbar .mod-languages ul.lang-inline > li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Klickfläche */
.studentenmuehle-topbar .mod-languages a {
  display: inline-flex;
  width: 38px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  opacity: 0.75;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* Größe der Flaggen */
.studentenmuehle-topbar .mod-languages img {
  display: block;
  width: 24px !important;
  height: 16px !important;
  object-fit: cover;
}

/* Aktive Sprache */
.studentenmuehle-topbar .mod-languages li.lang-active a,
.studentenmuehle-topbar .mod-languages li.active a {
  opacity: 1;
  border-color: var(--sm-gold);
  background: rgba(255, 255, 255, 0.14);
}

/* Hover und Tastaturbedienung */
.studentenmuehle-topbar .mod-languages a:hover,
.studentenmuehle-topbar .mod-languages a:focus-visible {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}
/* Cookie-Auswahl nach Klick auf „Cookie-Einstellungen“ unten anzeigen */
div.cc-window.cc-banner {
  position: fixed !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 99998 !important;
  transform: none !important;
}
div.cc-revoke.sm-footer-revoke {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(100%) !important;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease !important;
}

div.cc-revoke.sm-footer-revoke.sm-is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}
/* JP Gallery: Vollbild über Header und Navigation anzeigen */
.uk-lightbox {
  z-index: 1100 !important;
}
/* Jobs – vier Stellen als gleichmäßiges 2×2-Raster */
.sm-jobs-benefits .sm-benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.sm-job-gender {
  white-space: nowrap;
}

/* Mobil untereinander */
@media (max-width: 767px) {
  .sm-jobs-benefits .sm-benefit-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobile Toolbar: Social-Icons links, Sprachen rechts */
@media (max-width: 767.98px) {
  .studentenmuehle-topbar {
    display: block;
  }

  .studentenmuehle-topbar .astroid-row {
    align-items: center;
  }

  .studentenmuehle-topbar .astroid-row > .astroid-column {
    flex: 0 0 50%;
    width: 50%;
  }

  .studentenmuehle-topbar .astroid-social-icons {
    display: inline-flex;
    flex-wrap: nowrap;
  }

  .studentenmuehle-topbar .mod-languages ul.lang-inline {
    justify-content: flex-end;
    gap: 0.35rem;
  }
}