/* Allgemeines Layout */
body.main-layout {
    background: repeating-linear-gradient(90deg, #d3d2d2 0 10%, #fefffe 10% 90%, #d3d2d2 90% 100%);
    font-family: Arial;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}
h1, h2, h3, .font-bold, .text-lg, .text-xl {
    font-family: 'DieFONT-Extra', sans-serif;
}
/* Zentriertes Hauptfeld */
main {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Eingabefelder und Dropdowns */
select,
input[type="text"] {
    background-color: #ffffff;
    border: 2px solid #B91023;
    color: #000;
    padding: 0.5rem;
    border-radius: 0.375rem;
    width: 100%;
}

select:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #B91023;
    box-shadow: 0 0 0 2px rgba(185, 16, 35, 0.3);
}

/* Vorschlagsliste unter dem Eingabefeld */
#strassenListe {
    background-color: #ffffff;
    border: 1px solid #B91023;
    color: #000;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    max-height: 15rem;
    overflow-y: auto;
    z-index: 10;
}

#strassenListe li {
    padding: 0.5rem;
    cursor: pointer;
}

#strassenListe li:hover {
    background-color: #f0f0f0;
}

/* Suchbutton */
#suchenBtn {
    background-color: #B91023;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    width: 100%;
    margin-top: 0.5rem;
}

#suchenBtn:hover {
    background-color: #B91023;
}

/* Ergebnisanzeige */
#ergebnisse {
    background-color: #f2f2f2;
    color: #000;
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
}

#ergebnisse div {
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
#eckenBild {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 147px;
    height: 218px;
    z-index: 50;
}
/* Mobile Ansicht: Bild verkleinern */
@media (max-width: 640px) {
    #eckenBild {
    display: none;
    }
}
/* Normale Schriftart */
@font-face {
    font-family: 'DieFONT';
    src: url('/static/css/DieFONT-BoldCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Schrift für Überschriften */
@font-face {
    font-family: 'DieFONT-Extra';
    src: url('/static/css/DieFONT-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
.DieFONT {
  font-family: 'DieFONT', sans-serif;
}
body {
    font-size: 1.25rem; /* = 18px (Standard ist meist 16px) */
}
.primary-button {
    background-color: #B91023 !important;
    color: white !important;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: inline-block;
    text-align: center;
}
@media (max-width: 640px) {
  body.main-layout {
    background: #fefffe; /* Hintergrund einfarbig auf kleinen Displays */
  }

  .admin-wrapper, .max-w-2xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

