/* ==========================================================================
   0. GRUNDEINSTELLUNGEN & BOX-SIZING
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box; /* Rechnet Padding und Border sauber in die Elementgröße ein[cite: 1] */
}


/* ==========================================================================
   1. DESKTOP-GRUNDSTRUKTUR (GRID-LAYOUT)
   ========================================================================== */
body {
    gap: 0.1em;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh; /* Passt sich dynamisch der Bildschirmhöhe an[cite: 1] */
    max-width: 80em;
    font-family: sans-serif;
    display: grid;
    /* 2-spaltiges Layout für Desktop: Main links, Aside (20em) rechts[cite: 1] */
    grid-template-columns: 1fr 20em;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "head head"
        "main aside";
    padding-bottom: 45px; /* Schützt den Inhalt davor, vom fixierten Footer verdeckt zu werden */
    box-sizing: border-box;
}

header {
    grid-area: head; /*[cite: 1] */
}

main {
    grid-area: main; /*[cite: 1] */
}

aside {
    grid-area: aside; /*[cite: 1] */
}

main, aside {
    border-radius: 0.5em 0em 0.5em; /*[cite: 1] */
    border: outset; /*[cite: 1] */
    padding: 1em; /*[cite: 1] */
}


/* ==========================================================================
   2. HEADER & DESKTOP-NAVIGATION
   ========================================================================== */
header {
 	position: sticky; /* Bleibt beim Scrollen oben haften[cite: 1] */
	top: 0;
	z-index: 1000;	
    display: grid;
    max-width: 80em;
    height: auto;
    background: #FEFDFC;
    border-radius: 0.8em;
    border: solid;
    border-width: 0.6em;
    padding: 0.3em;
    border-color: #7babad;
    grid-template-columns: min-content 1fr; /*[cite: 1] */
}

header img {
    width: 240px; /*[cite: 1] */
}

/* Desktop Navigation */
#navbar-menu {
  display: block;
  font-weight: bold;
  z-index: 25;
}

header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #FEFDFC;
  float: right; /*[cite: 1] */
}

header li {
  float: left; /*[cite: 1] */
}

header li a {
  display: block;
  color: #555555;
  text-align: left;
  padding: 0.8em 1em;
  margin-top: 2.7em;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s ease, background-color 0.2s ease; /*[cite: 1] */
}

header li a:hover {
  color: var(--flyer-red);
  background-color: #f0ece6;
  border-radius: 4px;
}


/* ==========================================================================
   3. HAMBURGER-MENÜ (MOBILE ANSICHT)
   ========================================================================== */
.hamburger-menu {
  display: none; /* Auf Desktop standardmäßig ausgeblendet[cite: 1] */
}

#menu__toggle {
  opacity: 0;
  position: fixed;
  pointer-events: none; /*[cite: 1] */
}

.menu__btn {
  position: fixed;
  top: 1.5em;
  right: 1.5em;
  width: 2.4em;
  height: 2.4em;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f0ece6 100%);
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 4px;
}

.menu__btn > span {
  display: block; 
  position: absolute;
  background-color: #b01f24 !important;
  border-radius: 2px;
  width: 75% !important; 
  height: 3px !important;
  transition-duration: 0.3s;
}

.menu__btn > span::before,
.menu__btn > span::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100% !important;
  height: 3px !important;
  background-color: #b01f24 !important;
  border-radius: 2px;
  transition-duration: 0.3s;
}

.menu__btn > span::before { top: -7px; }
.menu__btn > span::after { top: 7px; }

/* Animation beim Öffnen über Checkbox-Status[cite: 1] */
#menu__toggle:checked + .menu__btn > span { transform: rotate(45deg); }
#menu__toggle:checked + .menu__btn > span::before { top: 0; transform: rotate(0deg); }
#menu__toggle:checked + .menu__btn > span::after { top: 0; transform: rotate(90deg); }

.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%; /* Versteckt das Menü links außerhalb des Viewports[cite: 1] */
  width: 280px;
  height: auto !important;
  max-height: fit-content !important;
  margin: 0;
  padding: 60px 15px 10px 15px;
  list-style: none;
  background-color: #3a3a3a;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.4);
  transition: left 0.35s ease-in-out;
  z-index: 1000;
  box-sizing: border-box;
}

#menu__toggle:checked ~ .menu__box {
  left: 0 !important; /* Slidet das Menü ins Bild[cite: 1] */
}

.menu__box li {
  float: none;
  margin: 0;
  padding: 0;
}

.menu__box .menu__item {
  display: block;
  padding: 10px 16px;
  margin: 0 0 5px 0;
  color: #2b2b2b;
  font-size: 0.75rem;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #e2ded9 100%);
  border-top: 1px solid #ffffff;
  border-bottom: 2px solid #b5b0a8;
  box-shadow: 0 3px 0px #222222, 0 3px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
}


/* ==========================================================================
   4. INHALTS-KOMPONENTEN (TEXTE, SPALTEN, ACCORDION & BILDER)
   ========================================================================== */
main {
    background: #f3e1e3;
    border-color: #c21729;
    padding-bottom: 0.6em;
}

.devices {
	font-weight: bold; 
	font-style: normal; 
	cursor: pointer;
}

.column {
   column-count: 2; 
   column-gap: 2em;
   column-width: 270px;
   column-rule-style: dotted; 
   column-rule-width: 1px; 
   column-rule-color: silver; /* Mehrspaltiger Textfluss[cite: 1] */
}

.column p {
   margin: 0 0 1.35rem 0;
   font-size: 1rem; 
   line-height: 1.35rem;
   text-align: justify; 
   hyphens: auto;
}

.column h1 {
	font-size: 1.2rem; 
	line-height: 1.35rem;
	margin: 1.35rem 0;
	break-after: avoid-column;
}

/* Accordion Element (<details>) */
details {
    margin-bottom: 0.5rem;
    padding: .4em;
    background: #ffe4cf;
    border-radius: 0.5em;
}

details[open] summary ~ * {
  animation: open 0.5s ease-in-out;
}

@keyframes open {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

details summary::-webkit-details-marker { display: none; }

details summary {
  width: 100%;
  border-top: 1px solid black;
  position: relative;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 300;
  list-style: none;
  outline: 0;
}

details summary:after {
  content: "+";
  color: black;
  position: absolute;
  font-size: 2rem;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  transition: 0.5s linear;
}

details[open] summary:after {
  transform: rotate(45deg); /* Dreht das Plus-Zeichen zum X beim Öffnen[cite: 1] */
}

details p {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
}

#main-bild {
    text-align: center;
    height: auto;
    box-sizing: border-box;
}

#main-bild img {
    border-style: solid;
    border-width: 0.1em;
    border-color: black;
    width: 500px;
    max-width: 100%;
    height: auto;
}

.sm-qr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.sm-qr img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   5. BILD-SLIDER
   ========================================================================== */
.sliderElements,
.sliderElements figure,
.sliderControls {
    margin: 0;
}
 
.sliderElements:after {
    content: ".";
    display: block;
    height: .1px;
    clear: both;
    visibility: hidden;
    font-size: 0;
    overflow: hidden;
}
 
.cssSlider {
    overflow-x: hidden;
	width: 80%;
	text-align: center;
	margin: 0 auto;
}

.sliderElements {
    list-style: none;
    position: relative;
    left: 0;
    width: 600%;
    margin-bottom: .8em;
    padding: 0;
    transition: left .8s ease-in-out;
}

.sliderElements > li {
    float: left;
    width: 16.6666%;
    position: relative;
}
 
#slide02:checked ~ .sliderElements { left: -100%; }
#slide03:checked ~ .sliderElements { left: -200%; }
#slide04:checked ~ .sliderElements { left: -300%; }
#slide05:checked ~ .sliderElements { left: -400%; }
#slide06:checked ~ .sliderElements { left: -500%; }

.sliderElements figcaption {
    display: block;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0.3em;
    padding: .4em;
    background: rgba(0,0,0,.5);
}

.sliderElements img {
    width: 100%;
    height: auto;
}

.cssSlider input {
    position: absolute;
    left: -99999px;
}

.sliderControls { text-align: center; }
.sliderControls li { display: inline-block; }

.sliderControls label {
	width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    background: #68B022;
    color: #68B022;
}

.sliderControls label:hover,
#slide01:checked ~ .sliderControls label[for="slide01"],
#slide02:checked ~ .sliderControls label[for="slide02"],
#slide03:checked ~ .sliderControls label[for="slide03"],
#slide04:checked ~ .sliderControls label[for="slide04"],
#slide05:checked ~ .sliderControls label[for="slide05"],
#slide06:checked ~ .sliderControls label[for="slide06"] {
 background: #ddd;
 color: #ddd;
}


/* ==========================================================================
   6. REPARATUR-STATUS MODUL (TABELLE & BADGES)
   ========================================================================== */
.repair-status-container {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 20px 5px;
    background: #ffffff;
    padding: 5px 0;
    box-sizing: border-box;
}

.repair-status-container h2 {
    margin-top: 0;
	margin-left: 30px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.table-responsive { width: 100%; }

.repair-table {
    width: 95%;
    border-collapse: collapse;
    text-align: left;
}

.repair-table th, 
.repair-table td {
    padding: 4px 6px;
    border-bottom: 1px solid #e9ecef;
}

.repair-table th {
    background-color: #f1f3f5;
    font-weight: 600;
    color: #495057;
}

/* Zebramuster für Tabellenzeilen[cite: 1] */
.repair-table tbody tr:nth-child(odd) { background-color: #ffffff; }
.repair-table tbody tr:nth-child(even) { background-color: #f8f9fa; }
.repair-table tbody tr:hover { background-color: #e9ecef; }

.repair-table th:nth-child(1), .repair-table td:nth-child(1) { width: 100px; }
.repair-table th:nth-child(2), .repair-table td:nth-child(2) { width: 100px; }
.repair-table th:nth-child(3), .repair-table td:nth-child(3) { width: auto; }
.repair-table th:nth-child(4), .repair-table td:nth-child(4) { width: 180px; }

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px !important;
}

.error-msg {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Status-Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-angenommen { background-color: #e2e3e5; color: #383d41; }
.status-bearbeitung { background-color: #fff3cd; color: #664d03; }
.status-warten { background-color: #f8d7da; color: #842029; }
.status-fertig { background-color: #d1e7dd; color: #0f5132; }
.status-abgeholt { background-color: #e2e8f0; color: #475569; }


/* ==========================================================================
   7. ASIDE-BEREICH & INTERAKTIVE ELEMENTE (BUTTONS, MAPS, QR)
   ========================================================================== */
aside {
    background: #d4faf7;
    border-color: #ef7c12;
    border: outset;
    border-radius: 0.5em 0em 0.5em;
    padding: 1em;
}

#Open, #Addr {
    margin-top: -0.5em;
    font-size: 1em;
    float: left;
}

#Info {
    margin-top: -0.5em;
    font-size: 1em;
    float: right;
}

#maplink { float: left; }
#qrlink { display: none; float: none; cursor: pointer; margin-top: -7em; }

#aside-bild {
    text-align: center;
    height: auto;
    box-sizing: border-box;
}

#aside-bild img {
    border-style: solid;
    border-width: 0.1em;
    border-color: black;
    width: 500px;
    max-width: 100%;
    height: auto;
}

/* Button-Styling */
.button {
    display: inline-block;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #ef7c12;
    border: none;
    border-radius: 0.4em;
    box-shadow: 0 0.4em #bbb;
	margin: 0.1em 0.1em;
}

.button:hover { background-color: #ef4c12; }
.button:active {
    background-color: #e20c12;
    box-shadow: 0 0.2em #999;
    transform: translateY(4px);
}

.button2 {
    display: inline-block;
    cursor: pointer;
    border: solid;
	border-width: 0.2em;
	border-color: #ef7c12;
    border-radius: 0.4em;
    box-shadow: 0 0.4em #CCC;
	margin: 0.1em 0.1em;
}

.button2:hover, .button2:focus { background-color: #ef4c12; }
.button2:active {
    background-color: #e20c12;
    box-shadow: 0 0.2em #999;
    transform: translateY(4px);
}

#qr-bild {
    position: relative;
	margin-top: 4em;
	margin-left: -6.5em;
    display: block;
	float: left;
}

.qr { width: 10em; max-width: 100%; }
.map { width: 40em; max-width: 100%; }

#mailbild {
    position: relative;
	margin-top: -3em;
	margin-left: 4.5em;
    display: block;
	float: left;
}

.mail { width: 3em; max-width: 100%; }

#Map1 {
    position: absolute;
    display: none;
    border: solid;
	border-width: 0.3em;
    border-color: rgba(100, 100, 100, 0.9);
    background: rgba(100, 100, 100, 0.7);
    justify-content: center;
    margin-top: 2em;
    margin-left: -43em;
    z-index: 1000;
}

.box-grid div {
	display: flex;
	flex-direction: column;
}

#Acc1 { height: auto; }
#Acc1 img {
    border-style: solid;
    border-width: 0.1em;
    border-color: black;
    width: 12em;
    max-width: 100%;
    height: auto;
}

#dev-text { overflow: auto; }


/* ==========================================================================
   8. FOOTER (FIXIERT & KOMPAKT)
   ========================================================================== */
/* Footer: Fixiert am unteren Bildschirmrand über die volle Breite, exakt so hoch wie die Icons + 2px Padding */
footer {
    position: fixed;
    bottom: 0;
    /* Zentriert den Footer exakt im Bildschirm und begrenzt ihn auf 80em (gleiche Breite wie Header/Body) */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 80em; 
    
    background: #e4ebf2;
    border-top: 1px solid #7babad;
    border-left: outset; /* Stellt den Rahmen-Look wieder her */
    border-right: outset;
    z-index: 1000;
    box-sizing: border-box;
    padding: 1px 0; /* Deine gewünschte Höhe (Icons + 2px Padding) */
    height: auto;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left;
}

#rp_zaehler, #rp_zaehler * {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0;
    display: flex;
    align-items: center;
}

#rp_zaehler { 
    padding-left: 1em; 
    width: 7em; 
}

.row-simple {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 2em;
    gap: 2em; /* Abstand zwischen den Icons[cite: 1] */
}

.row-simple img {
    float: none !important;
    clear: none !important;
    width: 2em;
    height: 2em;
    object-fit: contain;
    display: block;
    margin: 0 !important;
}

footer a {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    font-size: 0.9em;
    white-space: nowrap;
    text-decoration: none;
    color: purple;
}

footer a:hover { background-color: #8FBC8F; }


/* ==========================================================================
   9. MOBILE ANSICHT & RESPONSIVES DESIGN (Bildschirme unter 60em)
   ========================================================================== */
@media screen and (max-width: 60em) {
    /* Wechsel zu einem einspaltigen Grid auf Smartphones/Tablets[cite: 1] */
    body {
        display: grid;
        font-size: 90%;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "head"
            "aside"
            "main";
        overflow-x: hidden;
        padding-bottom: 45px;
    }

    header, main, aside {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    header {
        height: auto;
        box-sizing: border-box;
        z-index: 20;
    }

    header img {
        width: auto;
        height: 60px;
    }

    #navbar-menu { display: none; } /* Desktop-Navigation ausblenden[cite: 1] */

    .hamburger-menu {
        display: block; /* Burger-Menü einblenden[cite: 1] */
        font-weight: bold;
        z-index: 50;
    }

    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
		display: block;
		position: absolute;
		width: 100%;
		height: 3px;
		color: #7babad;
		background-color: #616161;
		transition-duration: .5s;
    }
    .menu__btn > span::before { content: ''; top: -8px; }
    .menu__btn > span::after { content: ''; top: 8px; }

    .menu__box {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 6em;
      left: -100%;
      width: 10em;
      height: 20em;
      margin: 0;
      padding: 1em 0;
      list-style: none;
      background-color: #ECEFF1;
      box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
      border-radius: 0.5em 0em 0.5em;
      transition-duration: 0.7s;
    }

    .menu__item {
      display: block;
      padding: 0.5em;
      color: #333;
      font-size: 1em;
      font-weight: 400;
      text-decoration: none;
      transition-duration: .25s;
    }

    main { z-index: 1; }
    #dev-all { z-index: 10; }

    .sm-qr {
        grid-template-columns: repeat(2, minmax(0, 42vw));
        gap: 8px;
    }

    aside h4 { font-size: 0.9em; }

    #Open {
        margin-top: -1em;
        width: 9em;
        font-size: 0.8em;
        float: left;
    }

    #Addr {
        margin-top: -1em;
        width: 10em;
        font-size: 0.8em;
        float: left;
    }

    aside p { font-size: 1em; }

    .button {
        padding: 4px 8px;
        font-size: 0.8em;
        width: 7em;
    }

    #maplink {
		display: none;
		position: absolute;
        right: 1em;
        top: 12em;
    }
	
    #qrlink {
		display: inline-block;
		position: absolute;
        right: 1em;
        top: 14.4em;
    }

    .box-grid div {
        display: flex;
        flex-direction: row;
        z-index: -5;
    }
	
    #Acc1 {
        text-align: left;
        height: auto;
        width: 50%;
        box-sizing: border-box;
    }

    #Acc1 img {
        border-style: solid;
        border-width: 0.1em;
        border-color: black;
        width: 10em;
        object-fit: cover;
        height: auto;
    }

    #dev-text {
        width: 45%;
        box-sizing: border-box;
        height: auto;
        font-size: 0.9em;
    }

    #Map1 {
        position: absolute;
        margin-top: 7em;
        margin-left: -1em;
        z-index: 3;
    }

    #mailbild {
        position: absolute;
        display: block;
        float: none;
        margin: 0;
        left: 4.5em;
        top: 12.4em;
        z-index: 5;
    }

    #mailbild img.mail {
        width: 2.5em;
        height: auto;
    }

    #qrlink {
        display: inline-block;
        position: absolute;
        float: none;
        margin: 0;
        left: 12.5em;
        top: 12.4em;
        right: auto;
        z-index: 5;
    }

    #qr-bild { display: none; z-index: -20; }		

    /* Mobiler Footer: Fixiert unten, Höhe entspricht Icons + Padding[cite: 1] */
footer {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            transform: none !important;       /* <--- WICHTIG: Hebt die Desktop-Verschiebung auf! */
            width: 100% !important;
            max-width: 100% !important;     /* Geht wieder über die volle Displaybreite */
            z-index: 1000 !important;
            background: #e4ebf2;
            border-top: 1px solid #7babad;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important; 
            align-items: center !important;
            padding: 1px 0 !important;
            height: auto !important;
            box-sizing: border-box;
        }

    #rp_zaehler {
        padding-left: 0.5em;
        margin: 0 !important;
        margin-right: auto !important; 
        display: flex;
        align-items: center;
	}
	
	    /* 3. Rechter Bereich (Icons + Impressum) */
    .row-simple {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        /* ÄNDERUNG 3: margin: 0 löschen/ersetzen, damit keine Konflikte entstehen */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
		margin-left: auto !important;    /* <-- WICHTIG: Schiebt die Icons auch mobil nach rechts */		
        margin-right: 0.8em !important; /* Abstand zum rechten Rand */
        gap: 0.9em;
    }

    .row-simple img {
        width: 1.5em;
        height: 1.5em;
        display: block;
        margin: 0 !important;
    }

    footer a {
        font-size: 0.9em;
        line-height: 1;
    }
}

/* Sichtbarkeit der Anfahrts-Buttons (Desktop vs. Mobil) */
.mobile-only-btn { display: none; }
.desktop-only-btn { display: inline-block; }

@media (max-width: 768px) {
    .mobile-only-btn { display: inline-block; }
    .desktop-only-btn { display: none; }
}

/* Modal-Fenster auf Desktop */
.map-container {
    position: fixed;
    top: 60px;
    left: 80px;
    width: 600px;
    height: 500px;
    background-color: #ffffff;
    border: 2px solid #333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-container.hidden {
    display: none;
}

/* Header/Titelzeile des Modals */
.map-header {
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    user-select: none;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #ff5555;
}

/* Bild-Ausschnitt/Viewport */
.map-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #e5e3df;
    cursor: grab;
}

.map-viewport:active {
    cursor: grabbing;
}

.map-viewport img {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    user-select: none;
    -webkit-user-drag: none;
}

/* Maßstab unten links */
.map-scale-container {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.85);
    padding: 3px 6px;
    border-radius: 3px;
    pointer-events: none;
    font-size: 11px;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scale-line {
    height: 4px;
    border: 2px solid #333;
    border-top: none;
    width: 50px;
    box-sizing: border-box;
}

.scale-text {
    margin-top: 2px;
    color: #333;
}

/* Rechter Steuerungsbereich (Zoom & Attribution) */
.map-controls-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

.zoom-buttons {
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: auto;
}

.zoom-buttons button {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.zoom-buttons button:hover {
    background-color: #f0f0f0;
}

.osm-attribution {
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: #333;
    font-family: sans-serif;
}