
/* ===============================
   Local Font: Poppins (nur 400 + 600)
   Fonts: /system/layout/assets/fonts/poppins/
   CSS:   /system/layout/assets/css/
================================ */

@font-face{
  font-family:"Poppins";
  src:url("../fonts/poppins/Poppins-Regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Poppins";
  src:url("../fonts/poppins/Poppins-SemiBold.woff2") format("woff2");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
/* ===============================
   Reset + Variables
================================ */
:root{
  --wrap: 1200px;

  /* Brand-Palette (nur diese 4) */
  --c-blueblack: #3d4c53;
  --c-cadet:     #b2c985;
  --c-berry:     #A6473F;
  --c-rain:      #446573;
  --c-greenery:  #95c3c0;

  /* Neutrals (nur diese dazu) */
  --c-white: #ffffff;
  --c-black: #000000;
  --c-gray:  #f1f1f1; /* helles Grau */
  --c-blue:  #d7e7e6; /* helles Blau */

  /* Semantik */
  --bg:       var(--c-white);
  --surface:  var(--c-white);
  --surface-2:var(--c-gray);

  --text:     var(--c-blueblack);
  --muted:    var(--c-rain);
  --border:   var(--c-gray);
  --border-2: var(--c-blue);

  --berry:   var(--c-berry);

  --primary:   var(--c-cadet);
  --primary-2: var(--c-greenery);
  --accent:    var(--c-rain);

  /* Schatten ohne RGBA (clean & subtil) */
  --shadow:      0 0 2px 2px var(--c-gray);
  --shadow-soft:  0 0 2px 2px var(--c-gray);

  --radius: 18px;
  --radius-lg: 22px;

  --font-pop: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;

}




*{ box-sizing:border-box; }
html, body{ overflow-x: hidden; }



body{
  margin:0;
  font-family: var(--font-pop);
  font-weight:400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
img{ max-width:100%; display:block; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:-999px;
  background: var(--c-black);
  color: var(--c-white);
  padding:10px 14px;
  border-radius: 12px;
  z-index: 1000;
}


.content{
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 200px;
   padding: 0px 10px;
}


  h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
    margin-top: 5px;
    padding-top: 10px;
    letter-spacing: -2px;
    }






    .nav{display:flex; align-items:center; justify-content:flex-end;}

.topbar-icon:hover{background:#E6E8EB;}

.topbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap;margin-right: 10px;}

.topbar-icon{
  min-width: 78px;
  height: 56px;
  padding: 8px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:16px;
  background:#fff;
  color:#021C1E;
  text-decoration:none;
}

.topbar-icon i{
  font-size: 18px;
  line-height: 1;
}

.topbar-icon .tb-label{
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.topbar-icon:hover{background:#E6E8EB;}

/* Optional: auf sehr klein Label ausblenden -> noch mehr Platz */
@media (max-width: 650px){
  .topbar-icon{
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
  }
  .topbar-icon .tb-label{display:none;}
}

  /* hidden MUSS immer wirklich weg sein */
/* Letzte Suche: Slot immer reservieren */
.topbar-icon.topbar-slot{
  min-width: 78px;
  height: 56px;
}

/* leer = Platz bleibt, aber unsichtbar */
.topbar-icon.is-empty{
  visibility: hidden;
  pointer-events: none;
}

.topbar-login{
  display:inline-flex; align-items:center; gap:8px;
  height:40px; padding:0 14px;
  border-radius:999px;
  background:#fff;
  color:#021C1E;
  text-decoration:none;
  font-weight:700;
}
.topbar-login:hover{background:#E6E8EB;}

.topbar-cta{
  height:40px;
  display:inline-flex; align-items:center;
  padding:0 14px;
  border-radius:999px;
  background:#004445;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

.topbar-user{position:relative;}
.user-btn{
  height:40px;
  display:flex; align-items:center; gap:10px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid #E6E8EB;
  background:#fff;
  cursor:pointer;
  color:#021C1E;
}
.user-btn-name{
  max-width:160px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.user-btn .caret{font-size:.9em; opacity:.8;}

.menu-backdrop{
  display:none;
  position:fixed; inset:0;
  background:rgba(0,0,0,.35);
  z-index:1100;
}
.menu-backdrop.open{display:block;}

.user-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:320px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 18px 50px rgba(2,6,23,.14);
  padding:10px;
  display:none;
  z-index:1101;
}
.user-menu.open{display:block;}

.user-menu-head{
  display:flex; align-items:center;
  justify-content:space-between;
  padding:10px 2px 8px 12px;
  font-size: 2em;
}
.user-menu-email{
    font-size: 0.7em;
    font-weight:600;}

.menu-close{display:none; border:0; background:transparent; cursor:pointer; font-size:18px;}

.user-menu a{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:#021C1E;
  margin-top: 10px;
}
.user-menu a:hover{background:#E6E8EB;}

.user-menu-sep{height:1px; background:#E6E8EB; margin:8px 0;}

.user-menu a.logout{
  justify-content:center;
  font-weight:600;
  color:#004445;
  background:#E6E8EB;
}
.user-menu a.logout:hover{background:#dfe2e6;}

body.menu-open{overflow:hidden;}

/* Sichtbarkeit je nach Breakpoint */
.only-desktop{display:inline-flex;}
.only-mobile{display:none;}

@media (max-width: 990px){
  .only-desktop{display:none !important;}
  .only-mobile{display:flex !important;}
}



/* "Stellen veröffentlichen" im Dropdown nur auf Mobile */
.user-menu a.only-mobile{display:none !important;}

@media (max-width: 990px){
  .user-menu a.only-mobile{display:flex !important;}
}




/* Mobile: Fullscreen Menü */
@media (max-width: 990px){
  .user-btn-name{display:none;}
  .user-menu{
    position:fixed;
    inset:0;
    width:auto;
    height:100vh;
    border-radius:0;
    padding:16px;
    overflow:auto;
  }
  .menu-close{display:inline-flex;}
  .user-menu a{padding:14px 12px; font-size:18px;}
}

.topbar-icon .fa-heart{
  color: var(--berry);   /* dein Marken-Rot (#A6473F) */
}

 .topbar-user--guest{
  position: relative;
}

.topbar-icon--menu{
  border: 0;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.topbar-icon--menu:hover{
  background: #E6E8EB;
}

.topbar-icon--menu:focus-visible{
  outline: 2px solid var(--c-rain);
  outline-offset: 2px;
}





/* ========================================
   🔔 Alerts (Systemmeldungen)
======================================== */
.alert-box {
  margin: 1rem 0;
  padding: 1rem 2.5rem 1rem 1.25rem;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.alert-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  color: var(--color-text);
}
.alert-close:hover { opacity: 1; }

.alert-success {
  background: var(--c-greenery);
  color: var(--c-blueblack);
  font-weight: 600;
}

.alert-error {
  background: #fdecea;
  color: #842029;
  font-weight: bold;
}





/* ===========================
   🔹 Allgemeine Formularstruktur
   =========================== */

 /* 🔹 Formular-Container OKKKKKKKKKKKKKKKKK  */
form {
     width: 100%;
    display: block;
}
.form-field{
  margin-top: 12px;
}

.form-label{
  display: block;
  margin-bottom: 2px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--c-rain);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 0.9em;
  outline: none;
  caret-color: #111;
}

.form-textarea{
  min-height: 82px;
  resize: vertical;
}


.form-input[type="date"]{
  color-scheme: light;
}

/* 🔸 Links im Formular (z. B. „Passwort vergessen?“) */
form a {
    display: inline-block;
    color: var(--color-accent2);
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.9em;
}











  /* =========================
   BUTTONS    OKKKKKKKKKKKKKKKKK
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8em;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.1em;
}

.btn--primary{
  background: var(--primary);
  color: var(--c-blueblack);
  border-color: var(--primary);

}

.btn--ghost{
  background: var(--surface-2);
  color: var(--text);
}

.btn--soft{
  background: var(--surface);
  color: var(--text);
  border: 1px dashed var(--border);
}


.icon-btn{
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.icon-btn:hover{
  box-shadow: var(--shadow-soft);
}

.icon-btn--danger{
  border-style: dashed;
}


/* 🔸 Icons in Buttons & Links */
form a i,
form button i,
.btn i {
    margin-right: 6px;
}















 a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
 text-decoration: none;
}

a:active {
  text-decoration: none;
}










/* Fieldset */
fieldset {
    border: none;
    margin: 3rem 0rem 0rem 0rem;
    padding: 0rem;
    border-top: 2px solid var(--c-rain);
}

legend {
    font-weight: 600;
    color: var(--c-white);
    font-size: 1.2rem;
    margin-left: 1rem;
    background-color: var(--c-rain);
    position: relative;
    top: -0.5rem;
    letter-spacing: 0px;
    border-radius: 6px;
    padding: 6px 20px;
    }



.fieldset-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
    margin-top: -5px;
    line-height: 1.4;
}

fieldset label:first-of-type { margin-top: 0.5rem; }

fieldset:focus-within {
    border-top-color: var(--c-rain);
    transition: border-color 0.3s ease-in-out;
}





 /* =========================================
   🧱 FLEXIBLE GRID-COLS (Bootstrap-Style)
   ========================================= */

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* ================================
   FLEX GRID MIT FIX: -20px BREITE
================================ */

.col-100 { flex: 0 0 calc(100% - 20px); }
.col-75  { flex: 0 0 calc(75%  - 20px); }
.col-66  { flex: 0 0 calc(66.66% - 20px); }
.col-60  { flex: 0 0 calc(60% - 20px); }
.col-50  { flex: 0 0 calc(50% - 20px); }
.col-40  { flex: 0 0 calc(40% - 20px); }
.col-33  { flex: 0 0 calc(33.33% - 20px); }
.col-30  { flex: 0 0 calc(30% - 20px); }
.col-25  { flex: 0 0 calc(25% - 20px); }
.col-20  { flex: 0 0 calc(20% - 20px); }
.col-10  { flex: 0 0 calc(10% - 20px); }

/* Mobile: alles untereinander */
@media (max-width: 900px) {
    .col-75,
    .col-66,
    .col-60,
    .col-50,
    .col-40,
    .col-33,
    .col-30,
    .col-25,
    .col-20,
    .col-10 {
        flex: 0 0 100%;
    }
}





/* =========================================
   🔘 Toggle-Switch Checkbox (ON / OFF)
   ========================================= */

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    margin-top: 8px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #1D9BF0;
}

.switch input:checked + .slider:before {
    transform: translateX(24px);
}



/* ===============================
   Navbar
================================ */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.navbar-inner{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 0px;
  padding: 0px 0px 0px 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 2px;
}

.brand-logo{
  height: 50px;
  width: 142px;
  object-fit: cover;
}

@media (max-width:980px){
 .brand-logo{
  height: 40px;
  width: 114px;
  object-fit: cover;
}
}

.brand-name{
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* TOPBAR output (Buttons/Links) */
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.nav button{
  font: inherit;
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
}



/* Optional: gib einem Link/Button die Klasse "primary" */
.nav .primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--c-white);
}

/* ===============================
   Page Meta
================================ */
.page{ padding-bottom: 0px; }

.message-area:empty{ display:none; }


/* ===============================
   HERO (full width)
================================ */
/* Nutzung:
   */
.hero{

  position: relative;
  min-height: 750px;
  display:flex;
  align-items: center;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero .wrap{ width: 100%; }

.hero-content{
  text-align: center;
  color: var(--text);
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 350px;
}

.hero-title-wrap {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: -20px;
}

.hero-title {
  margin: 0 0 12px;
  color: var(--c-text);
      font-size: 1.3em;
}

.hero-subtitle{
  margin: 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--c-gray);
}

/* ===============================
   Floating Search Card
================================ */
.search-card{
  position: absolute;
  left: 50%;

  transform: translateX(-50%);
  width: min(700px, calc(100% - 36px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
}

.search-bar{
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 10px;
  align-items: center;
}

.search-field{
  position: relative;
  display:flex;
  align-items:center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 48px;
  overflow: hidden;
  font-family: inherit;
}

.search-field i{
  width: 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
}

.search-field input,
.search-field select{
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  font-size: 1em;
  background: var(--surface);
  color: var(--text);
  padding-right: 14px;
  font-family: inherit;
}


.search-field select{
  appearance: none;
  padding-right: 44px;

  /* Pfeil ohne rgba/transparent: nur Surface + Text */
  background-image:
    linear-gradient(45deg, var(--surface) 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, var(--surface) 50%);
  background-position:
    calc(100% - 18px) 26px,
    calc(100% - 12px) 26px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.button{
  height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  white-space: nowrap;
  font-family: inherit;
  font-size: 1em;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.button-search{
   background: var(--primary);
   color: var(--c-blueblack);
   border-color: var(--primary);
}



.btn--primary {
    background: var(--primary);
    color: var(--c-blueblack);
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8em;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.1em;
}




/* ===============================
   Footer Pro
================================ */
.footer-pro{

  border-top: 1px solid var(--c-greenery);
  background: var(--c-blueblack);
  color: var(--c-white);
}

.footer-grid{
  padding: 46px 18px 22px;
  display:grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration:none;
}

.footer-logo{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.footer-name{
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-white);
}



.footer-title{
  margin: 0 0 12px;
  font-size: 1em;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display:grid;
  gap: 10px;
  font-size: 0.85em;
}

.footer-links a{
  color: var(--c-gray);
}
.footer-links a:hover{
  color: var(--c-greenery);
}

/* Social */
.footer-social{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}



/* Cities */
.footer-cities .cities-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
}

.footer-cities .cities-grid a{
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-gray);
}

.footer-hint{
  margin: 0px  0px  20px  0px;
  color: var(--c-greenery);
  font-size: 0.8em;
}

/* bottom */
.footer-bottom{
  display:flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px 22px;
  border-top: 1px solid var(--c-greenery);
  color: var(--c-gray);
  font-size: 0.8em;
}

.footer-mini a{
  color: var(--c-gray);
  text-decoration:none;
}

.footer-mini a:hover{
  color: var(--c-greenery);
}

/* ===============================
   Responsive
================================ */
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }

  .search-bar{ grid-template-columns: 1fr; }
   .search-field{ height: 54px; border-radius: 14px; }

  .hero{ min-height: 520px; }
  .hero-content{
    padding-top: 52px;
    padding-bottom: 110px;
  }

  .search-card{ bottom: -44px; }

  .footer-grid{ grid-template-columns: 1fr; }
  .footer-cities .cities-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px){
  .footer-cities .cities-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


 /* ===============================
   Mini-Menü links
================================ */




/* ===============================
   Sidebar Layout (Left / Right)
================================ */
.sidebar-left,
.sidebar-right{
  min-width: 0;
}

@media (min-width: 901px){
  .sidebar-left{
    float: left;
    width: 320px;          /* feste linke Spalte */
    margin-right: 28px;
  }
  .sidebar-right{
    overflow: hidden;      /* nimmt Restbreite sauber */
  }
}

/* Mobile: untereinander */
@media (max-width: 900px){
  .sidebar-left{
    width: 100%;
    margin: 0 0 18px 0;
  }
  .sidebar-right{
    width: 100%;
  }
}

/* ===============================
   Left Menu (Classic)
================================ */
.sidebar-left{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 10px;
}

/* Nav container */
.account-nav{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Menu links */
.account-link{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 12px;

  color: var(--text);
  text-decoration: none;

  border: 1px solid transparent;
  background: transparent;

  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.account-link i{
  width: 22px;
  text-align: center;
  color: var(--muted);
}

.account-link:hover{
  background: var(--surface-2);
  border-color: var(--border);
}

.account-link:active{
  transform: translateY(1px);
}

/* Active state */
.account-link.is-active{
  background: var(--surface-2);
  border-color: var(--c-blueblack);
}

.account-link.is-active i{
  color: var(--c-blueblack);
}

/* Keyboard focus */
.account-link:focus-visible{
  outline: 2px solid var(--c-blueblack);
  outline-offset: 2px;
}

/* ===============================
   Right Content Card (optional)
   -> wenn du willst, dass rechts auch "clean" wirkt
================================ */
.sidebar-right{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

/* Titel/Intro im rechten Bereich schöner */
.sidebar-right h1{
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.sidebar-right p{
  margin: 6 0 12px 0;
  color: var(--muted);
  line-height: 1.55;
}


/* Tools standard: aus */
.favx-mobile-tools{ display:none; }

/* Mobile: Tools über dem Bild */
@media (max-width: 980px){

  /* Hero muss position:relative haben (hast du bereits, aber zur Sicherheit) */
  .favx-hero{ position: relative; }

  .favx-mobile-tools{
    display:flex;
    gap: 10px;

    position:absolute;
    right: 12px;
    bottom: 12px;     /* wenn du oben willst: top:12px; bottom:auto; */

    z-index: 2;

    /* optional: kleine „Halterung“ damit’s auf hellem Bild immer sichtbar bleibt */
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px;
    box-shadow: var(--shadow-soft);
  }



  /* Damit Text links unten nicht in die Buttons läuft */
  .favx-hero__copy{
    padding-right: 140px; /* Platz für 2 Buttons + Abstand */
    position: relative;
    z-index: 1;
  }
}








@media print {
  /* alles außer <main id="main"> ausblenden */
  body > *:not(#main) {
    display: none !important;
  }

  /* main auf volle Breite */
  #main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* optional: Breadcrumb/Message-Zeile im main NICHT drucken */
  #main .page-meta {
    display: none !important;
  }

  /* deine Stelle-spezifischen Dinge beim Print weg */
  .sp-actions,
  .sp-bottom,
  .sp-favbtn {
    display: none !important;
  }

  .leaflet-container,
  .leaflet-pane,
  .leaflet-tile,
  .leaflet-marker-icon,
  .leaflet-marker-shadow {
    display: block !important;
    visibility: visible !important;
  }


}






/* =========================
   Breadcrumb
   ========================= */
.breadcrumb{
  margin: 0px 10px 0px 10px;

}

.breadcrumb__list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0px;
}

.breadcrumb__item{
  display: inline-flex;
  align-items: center;
  font-size: 0.75em;
}

.breadcrumb__link{
  text-decoration: none;
  font-weight: 600;
  color: var(--text);

  padding: 6px 4px;



}

.breadcrumb__link:hover{
  background: var(--surface);
}

.breadcrumb__sep{
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  opacity: .8;
  font-size: 0.6em;
}

.breadcrumb__current{
  font-weight: 600;
  color: var(--text);
  padding: 6px 4px;


}
















































  /* =========================
   GENERIC PAGE / SECTION    AB HIER KOMPLTT NEU VON DER MERKLSITE!!!!
   ========================= */
.page-section{
  padding: 0;
  background: var(--surface);
  color: var(--text);
}

.page-section *,
.page-section *::before,
.page-section *::after{
  box-sizing: border-box;
}





.heropage{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-height: 260px;
  padding: 18px;
  overflow: hidden;
}

.heropage--image{
  position: relative;
  width: calc(100% + 100px);
  margin-left: -50px;
  margin-right: -50px;
}

.heropage__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}


.mobile-tools{
  position: relative;
  z-index: 1;
}

.heropage__title{
  margin: 0 0 8px;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.heropage__title span{
  padding-left: 18px;
}

@media (max-width: 980px){
  .heropage{
    min-height: 170px;
    padding: 14px;
  }

  .heropage--image{
    width: calc(100% + 140px);
    margin-left: -70px;
    margin-right: -70px;
  }



  .heropage__title{
    font-size: 1rem;
    margin: 0;
  }

  .heropage__title span{
    margin-left: 10px;
    padding: 8px 14px;
    border-radius: 14px;
    max-width: calc(100% - 20px);
  }
}

@media (max-width: 640px){
  .heropage{
    min-height: 190px;
    padding: 12px;
  }

  .heropage--image{
    width: calc(100% + 220px);
    margin-left: -110px;
    margin-right: -110px;
  }

  .heropage__bg{
    transform: scale(1.2);
  }

  .heropage__title{
    font-size: 0.95rem;
  }

  .heropage__title span{
    margin-left: 6px;
    padding: 8px 12px;
    max-width: calc(100% - 12px);
  }
}



/* =========================
   LAYOUT
   ========================= */
.layout-split{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: start;
}

.layout-main{
  min-width: 0;
}

.layout-side{
  position: sticky;
  top: 90px;
  display: grid;
  /* gap: 14px; Boxen trennung */
}

@media (max-width:980px){
  .layout-split{
    grid-template-columns: 1fr;
  }

  .layout-side{
    position: static;
  }
}

/* =========================
   CARD / PANEL
   ========================= */
.card{
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color:var(--shadow-soft);
  margin: 0px 0px 20px 0px;
}

.card__head,
.panel__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.card__title,
.panel__title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.card__meta{
  font-size: 1em;
  color: var(--muted);
  font-weight: 600;
}

.card__sub,
.panel__sub{
  margin-top: 4px;
  line-height: 1.4;
    color: var(--muted);
    font-size: 0.82rem;
}




/* =========================
   CHECKBOX / ACTIONS
   ========================= */
.checkbox-group{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.form-check{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  cursor: pointer;
}

.form-check input{
  width: 13px;
  height: 13px;
  margin: 0;
}

.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}



/* =========================
   LIST / ITEM CARD
   ========================= */
.card-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.list-item{
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
}

.list-item__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.list-item__title{
  font-size: 1em;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.list-item__title:hover{
  text-decoration: underline;
}

.list-item__text{
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9em;
  line-height: 1.55;
}

.list-item__actions{
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

/* =========================
   BADGES
   ========================= */
.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   DETAILS / ACCORDION
   ========================= */
.details-box{
  margin-top: 10px;
}

.details-box > summary{
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-weight: 600;
  color: var(--text);
}

.details-box > summary::-webkit-details-marker{
  display: none;
}

.details-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.note-meta{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--muted);
}

/* =========================
   EMPTY STATE
   ========================= */
.empty-state{
  margin-top: 14px;
  padding: 16px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.empty-state__icon{
  font-size: 2em;
  color: var(--muted);
}

.empty-state__title{
  margin-top: 8px;
  font-weight: 600;
}

.empty-state__text{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.empty-state__actions{
  margin-top: 14px;
}

/* =========================
   MAP
   ========================= */
.map-box{
  position: relative;
}

.map-frame{
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
}

.map-note{
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-size: 0.8em;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

/* Leaflet Fix */
.leaflet-container img{
  max-width: none !important;
  height: auto !important;
}

.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow{
  max-width: none !important;
}

/* =========================
   MOBILE TOOLS / OFFCANVAS PANEL
   ========================= */
.mobile-tools{
  display: none;
}

.page-backdrop{
  position: fixed;
  inset: 0;
  z-index: 1201;
  background: var(--c-black);
  opacity: 0.45;
}

body.modal-open,
body.sg-modal-open{
  overflow: hidden;
}






.mobile-tools{
  display: none;
}

@media (max-width:980px){
  .mobile-tools{
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .icon-toolbtn{
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    color: var(--c-blueblack);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
  }

  .icon-toolbtn i{
    font-size: 1.25rem;
    line-height: 1;
  }








}




@media (max-width:980px){

  .filter-panel,
  .map-panel{
    display: none;
  }

  .panel{
    position: fixed;
    inset: 0;
    z-index: 1203;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0px 14px 20px;    
    border-radius: 0;
    background: var(--surface);
    box-shadow: var(--shadow);

    /* Scrollbar ausblenden */
    -ms-overflow-style: none;   /* IE + Edge alt */
    scrollbar-width: none;      /* Firefox */
  }

  .panel::-webkit-scrollbar{
    display: none;              /* Chrome, Safari */
  }

  .panel.is-open{
    display: block;
  }


  .panel__head{
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;

    margin: 0;
    padding: 10px 0 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }


  .panel__close{
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .panel__close i{
    font-size: 2rem;
    line-height: 1;
  }



  .panel__close:focus-visible{
    outline: 2px solid var(--c-rain);
    outline-offset: 2px;
  }
}

@media (min-width:981px){
  .panel__close{
    display: none;
  }
}



 /* ===============================
   Merkliste / Angesehen /Tab switch
================================ */
.card__intro{
  margin: 8px 0 18px;
  color: var(--c-blueblack);
  opacity: .92;
}

.card__intro p{
  margin: 0 0 10px;
  line-height: 1.55;
}

.card__intro p:last-child{
  margin-bottom: 0;
}

.page-switch{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

}

.page-switch__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255,255,255,.92);
  color: var(--c-blueblack);
  border: 1px solid rgba(61,76,83,.12);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.page-switch__link:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  background: #fff;
}

.page-switch__link.is-active{
  background: var(--c-rain);
  color: #fff;
  border-color: var(--c-rain);
}

.page-switch__link i{
  font-size: 16px;
}

@media (max-width: 720px){
  .page-switch{
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
  }

  .page-switch__link{
    width: auto;
    min-width: 240px;
    justify-content: center;
  }

  .card__intro{
    margin-top: 14px;
  }
}


.sg-flag--link{
    text-decoration: none;
    cursor: pointer;
}

.sg-flag--link:hover{
    text-decoration: none;
}




















.saved-list__head{
  align-items: center;
}

.saved-head-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.saved-iconbtn{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: .18s ease;
}

.saved-iconbtn:hover{
  background: var(--surface-2);
  color: var(--text);
}

.saved-iconbtn.is-active{
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}

#savedResultsBody,
#savedMapWrap{
  transition: opacity .18s ease;
}

.saved-list [hidden]{
  display: none !important;
}


.saved-list__head{
  align-items: center;
}

.saved-head-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.saved-iconbtn{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: .18s ease;
}

.saved-iconbtn:hover{
  background: var(--surface-2);
  color: var(--text);
}

.saved-iconbtn.is-active{
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}

#savedResultsBody,
#savedMapWrap{
  transition: opacity .18s ease;
}

.saved-list [hidden]{
  display: none !important;
}

.saved-mapbox{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.saved-map{
  width: 100%;
  height: 560px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(68,101,115,.14), rgba(68,101,115,.14)),
    #eef3f4;
}

.saved-mapconsent{
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(61,76,83,.30);
  backdrop-filter: blur(2px);
}

.saved-mapconsent[hidden]{
  display: none !important;
}

.saved-mapconsent__panel{
  width: min(100%, 760px);
  padding: 34px 36px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(47,59,64,.86);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  color: #fff;
}

.saved-mapconsent__title{
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.saved-mapconsent__text{
  margin: 0 0 14px;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.58;
  color: rgba(255,255,255,.96);
}

.saved-mapconsent__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 0 22px;
  margin-top: 8px;
  border: 1px solid #c7d67a;
  border-radius: 14px;
  background: var(--primary);
  color: var(--c-blueblack);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.saved-mapconsent__btn:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
}

.saved-mapreset{
  position: absolute;
  right: 10px;
  bottom: 25px;
  z-index: 420;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(61,76,83,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  color: var(--c-blueblack);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  transition: .18s ease;
  backdrop-filter: blur(3px);
}

.saved-mapreset:hover{
  background: #fff;
  border-color: rgba(61,76,83,.28);
}

.saved-mapreset[hidden]{
  display: none !important;
}



@media (max-width: 980px){
  .saved-map{
    height: 380px;
  }

  .saved-mapconsent{
    padding: 16px;
  }

  .saved-mapconsent__panel{
    padding: 22px 20px;
    border-radius: 18px;
  }

  .saved-mapconsent__title{
    font-size: 2rem;
  }

  .saved-mapconsent__text{
    font-size: .96rem;
    line-height: 1.5;
  }

  .saved-mapconsent__btn{
    width: 100%;
    min-width: 0;
  }

  .saved-mapreset{
    right: 10px;
    bottom: 10px;
    min-height: 32px;
    padding: 0 10px;
    font-size: .76rem;
  }


}





 .sg-map-marker-wrap{
  background: transparent !important;
  border: 0 !important;
}

.sg-map-marker{
  position: relative;
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 0.15rem solid #fff;
  box-shadow:
    0 0.28rem 0.9rem rgba(15, 23, 42, 0.22),
    0 0.08rem 0.2rem rgba(15, 23, 42, 0.14);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.sg-map-marker::before{
  content: "";
  position: absolute;
  inset: 0.16rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.sg-map-marker::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 0.04rem rgba(255,255,255,0.15);
}

.sg-map-marker.is-default{
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
}

.sg-map-marker.is-viewed{
  background: linear-gradient(145deg, #b1b8c3 0%, #8b95a3 55%, #6b7280 100%);
}

.sg-map-marker.is-favorite{
  background: linear-gradient(145deg, #fb7185 0%, #ef4444 55%, #dc2626 100%);
}

.sg-map-marker.is-favorite::before{
  background: rgba(255,255,255,0.10);
}

.sg-map-marker.is-favorite::after{
  content: "♥";
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%) rotate(45deg);
}

.leaflet-marker-icon:hover .sg-map-marker,
.leaflet-marker-icon:focus .sg-map-marker{
  filter: brightness(1.04);
  box-shadow:
    0 0.38rem 1rem rgba(15, 23, 42, 0.26),
    0 0.1rem 0.24rem rgba(15, 23, 42, 0.18);
}

.leaflet-popup-open .sg-map-marker{
  filter: brightness(1.06);
}










