@charset "UTF-8";

/* ─── Farb-Variablen ─────────────────────────────────────────────────────── */

:root {
    --gelb:       #FD7393;   /* Primär  */
    --gelb-hell:  #F7DAFC;   /* sekundär    */
}


/* ─── Fonts ─────────────────────────────────────────────────────────────── */

@font-face {
    font-family: 'Dunbar Tall';
    src: url('/Fonts/DunbarTall-Regular.woff2') format('woff2'),
         url('/Fonts/DunbarTall-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dunbar Tall';
    src: url('/Fonts/DunbarTall-Hairline.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dunbar Tall';
    src: url('/Fonts/DunbarTall-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dunbar Tall';
    src: url('/Fonts/dunbar-tall-bold.woff2') format('woff2'),
         url('/Fonts/dunbar-tall-bold.woff') format('woff'),
         url('/Fonts/dunbar-tall-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ─── Base ───────────────────────────────────────────────────────────────── */

body {
    font-family: 'Dunbar Tall', sans-serif;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
}

textlogo {
    font-size: 40pt;
    color: #fff;
    font-weight: 900;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 20pt;
    font-weight: 900;
    margin: 0;
    padding: 0;
    transform: translateY(3px);
  display: flex;
  align-items: center;
  gap: 10px;
}

h1::after {
  content: "";
  flex-grow: 1;
  height: 6px;
  background: var(--gelb);
  border-radius: 3px;
}

h2 {
    margin-top: 0;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

h3 {
    margin: 0;
}

h4 {
    margin: 0;
    font-size: 16px;
}

p {
    font-size: 14px;
    margin: 0;
}

label {
    font-size: 12px;
    font-style: italic;
    display: block;
    margin-bottom: 4px;
}


/* ─── Layout ─────────────────────────────────────────────────────────────── */

.inhalt {
    margin: 0 10%;
}

.logo {
    text-align: center;
}

.fullbtn {
    width: 100%;
}

.field {
    margin-bottom: 6px;
}


/* ─── Navigation ─────────────────────────────────────────────────────────── */

.menu{
    background-color: var(--gelb);
}
.menustick {
    background-color: var(--gelb);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.menustick.has-background {
    background-image: url('pride-back.png');
}

.hidden-background {
    background-image: none !important;
}

.menustick {
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    text-align: right;
    margin-right: 10%;
    height: 45px;
    padding-top: 15px;
    z-index: 10;
}

.nav img {
    height: 28px;
    margin: 0 6px;
    transition: opacity 0.3s;
}

.nav button-light-l {
    margin: 0 6px;
    vertical-align: 7px;
}

.mobile-nav {
    text-align: center;
    height: 45px;
    padding-top: 15px;
    z-index: 10;
    display: none;
}

.mobile-nav img {
    height: 28px;
    margin: 0 6px;
    transition: opacity 0.3s;
}

.mobile-nav button-light-l {
    margin: 0 6px;
    vertical-align: 7px;
}


/* ─── Footer ─────────────────────────────────────────────────────────────── */

.foot {
    background-color: var(--gelb);
    padding: 5px 0 4px;
}

.foot a {
    border-bottom: 2px solid var(--gelb);
}

.foot a:hover {
    border-bottom: 2px solid #000;
}


/* ─── Sections ───────────────────────────────────────────────────────────── */

.gelb {
    background-color: var(--gelb);
    padding: 10px 0;
}

.cat {
    width: 100%;
    overflow: auto;
    display: flex;
    height: 40px;
}

.cat button-light-s {
    vertical-align: -3px;
    white-space: nowrap;
}


/* ─── Buttons ────────────────────────────────────────────────────────────── */

button-light-l {
    background-color: var(--gelb-hell);
    padding: 8px 18px;
    border-radius: 20px;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

button-light-l:hover {
    background-color: #000;
    color: var(--gelb-hell);
}

button-light-s {
    font-size: 12px;
    background-color: var(--gelb-hell);
    padding: 5px 12px;
    border-radius: 20px;
    color: #000;
    margin-right: 6px;
    transition: background-color 0.3s, color 0.3s;
}

button-light-s:hover {
    background-color: #000;
    color: var(--gelb-hell);
}

button-full-s {
    font-size: 12px;
    background-color: var(--gelb);
    padding: 5px 12px;
    border-radius: 20px;
    color: #000;
    margin-right: 6px;
    transition: background-color 0.3s, color 0.3s;
}

button-full-s:hover {
    background-color: #000;
    color: var(--gelb);
}

.button-full-xl {
    font-family: 'Dunbar Tall', sans-serif;
    font-size: 16px;
    font-style: italic;
    background-color: var(--gelb);
    padding: 8px 2px;
    border-radius: 20px;
    color: #000;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.button-full-xl:hover {
    background-color: #000;
    color: var(--gelb);
}


/* ─── Slide Radio ────────────────────────────────────────────────────────── */

.slideradio {
    background-color: var(--gelb-hell);
    border-radius: 200px;
    display: inline-flex;
    align-items: center;
}

.slideradio .container {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer;
    user-select: none;
}

.slideradio .container input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slideradio .container .checkmark {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 200px;
    background-color: transparent;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.slideradio .container:hover .checkmark {
    background-color: rgba(255, 235, 78, 0.5);
}

.slideradio .container input:checked ~ .checkmark {
    background-color: #000;
    color: var(--gelb);
    font-weight: 600;
}


/* ─── Datum-Buttons ──────────────────────────────────────────────────────── */

.datum-gruppe {
    display: inline-flex;
    background-color: var(--gelb-hell);
    border-radius: 20px;
    overflow: hidden;
}

.datum-gruppe .datum-btn {
    font-family: inherit;
    font-size: 12px;
    background-color: transparent;
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.datum-gruppe .datum-btn:hover {
    background-color: rgba(255, 235, 78, 0.6);
}

.datum-gruppe .datum-btn.aktiv {
    background-color: #000;
    color: var(--gelb);
    font-weight: 600;
}

#datumInput {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}


/* ─── Profil ─────────────────────────────────────────────────────────────── */

.profilbild-s {
    height: 85px;
    position: relative;
}

.profilbild-s img {
    height: 60px;
    width: 60px;
    float: left;
    border-radius: 100px;
    object-fit: cover;
    border: 9px solid #FFF;
    margin-right: 6px;
    z-index: 1;
}

.profilbild-s initialen {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    left: 30px;
    top: 12px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
}

.profilbild-s obertext {

    font-weight: 600;
    font-size: 30px;
    margin: 0;
    padding: 0;
    vertical-align: -34px;
}

.profilbild-s nebentext {

}

.profilbild-s untertext {
    font-weight: 400;
    font-size: 12px;
    margin: 0;
    padding: 0;
    font-style: italic;
}
.leihinfo {
    display: flex;          /* Aktiviert Flexbox */
    justify-content: space-between; /* Verteilt die Bilder gleichmäßig */
    align-items: center; 
    max-width: 366px;
    gap: 20px;
    height: 85px;
}
.leihpfeil img{
    width: 60px;
}


/* ─── Bild ───────────────────────────────────────────────────────────────── */

.bild {
    height: 180px;
    background-color: var(--gelb);
    margin-bottom: 180px;
}

.bild img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-height: 360px;
    max-width: 360px;
}

.teilspeich img {
    height: 12px;
    padding-right: 3px;
}

.teilspeich a {
    color: #000;
    font-size: 12px;
    margin-right: 12px;
}

/* ─── Grid / Box ─────────────────────────────────────────────────────────── */
 
.ueberbox {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%+;
    margin: 4px -4px;
}
 
.ueberbox > a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: 0; 
}
 
.box {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    margin: 5px;
}
 
.box img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.box-overlay img {
    aspect-ratio: auto;
    border-radius: 0;
}
 
.box-info {
    background-color: var(--gelb-hell);
    border-radius: 0 0 20px 20px;
    padding: 10px 12px 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.box-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
 
.box h3,
.box h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 2px 0;
}
 
.box-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    opacity: 1;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.box-overlay p {
text-shadow: 0px 0px 6px #fff;
}
 
.box:hover .box-overlay {
    opacity: 1;
}
 
 
/* ─── Formulare ──────────────────────────────────────────────────────────── */
 
input[type=text],
input[type=url],
input[type=password],
input[type=email],
textarea,
select {
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: var(--gelb-hell);
    border-radius: 20px;
    padding: 10px 14px;
    margin-bottom: 12px;
    outline: none;
    transition: background 0.2s;
}
 
input[type=text]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=email]:focus,
textarea:focus,
select:focus {
    background: var(--gelb);
}
 
textarea {
    resize: vertical;
    min-height: 80px;
}
 
select {
    cursor: pointer;
    appearance: none;
}
 
input[type=file] {
    display: none;
}
 
.upload-label {
    display: grid;
    place-items: center;
    background: var(--gelb-hell);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 12px;
    aspect-ratio: 1 / 1;
    max-height: 360px;
    max-width: 360px;
}
 
.upload-label:hover {
    background: var(--gelb);
}
 
#vorschau {
    width: 100%;
    max-height: 360px;
    max-width: 360px;
    border-radius: 20px;
    object-fit: cover;
    display: none;
    margin-bottom: 12px;
    background-color: var(--gelb-hell);
}
 
.suche-input {
    font-size: 16pt;
    width: 100%;
    border: none;
    outline: none;
    font-family: 'Dunbar Tall', sans-serif;
    background-color: var(--gelb-hell);
    padding: 8px 18px 8px 40px;
    border-radius: 30px;
    color: #000;
    box-sizing: border-box;
    background-image: url('/Icons/suche.svg');
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 20px;
    transition: background-color 0.3s;
}
 
.suche-input::placeholder {
    color: #000;
}
 
.ort-input {
    font-size: 12pt;
    font-family: 'Dunbar Tall', sans-serif;
    border: none;
    outline: none;
    background-color: #fff;
    padding: 6px 16px 6px 38px;
    border-radius: 50px;
    color: #000;
    box-sizing: border-box;
    background-image: url('/Icons/ort.svg');
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px;
    appearance: none;
    transition: background-color 0.3s;
}
 
.ort-input:hover {
    background-color: var(--gelb-hell);
}
  
/* ─── Kalender ─────────────────────────────────────────────────────────────── */

#buchungskalender {
    max-width: 360px;
}

.kalender-monat { margin-bottom: 24px; }
.kalender-monat h3 { margin-bottom: 8px; }
.kalender-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}
.kalender-grid .wd {
    font-size: 0.8em;
    opacity: 0.6;
    padding: 4px 0;
}
.kalender-tag {
    padding: 5px 0;
    font-size: 13px;
    border-radius: 28px;
    cursor: pointer;
    user-select: none;
    background: var(--gelb-hell);
}
.kalender-tag.leer { background: transparent; cursor: default; }
.kalender-tag.belegt {
    background: #eee;
    color: #aaa;
    text-decoration: line-through;
    cursor: not-allowed;
}
.kalender-tag.vergangen {
    background: transparent;
    color: #ccc;
    cursor: not-allowed;
}
.kalender-tag.ausgewaehlt {
    background: #000;
    color: var(--gelb);
    font-weight: bold;
}
.kalender-tag.im-bereich {
    background: var(--gelb);
}
.kalender-tag:hover:not(.belegt):not(.vergangen):not(.leer) {
    outline: 2px solid var(--gelb);
}
.zeitraum-anzeige {
    margin-top: 12px;
    font-weight: bold;
}

 
/* ─── Mobile ─────────────────────────────────────────────────────────────── */


 
@media (max-width: 800px) {
 h1 {
    font-size: 3rem;
  }
    .ueberbox {
    grid-template-columns: repeat(3, 1fr);
}
.nav {
display: none;
}
.mobile-nav {
display: block;
}
.inhalt {
    margin: 0 5%;
}

}

@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }
  .ueberbox {
    grid-template-columns: repeat(2, 1fr);
  }
.banner img {
    height: 130px;
    object-fit: cover;
}
}


@media (max-width: 5px) {
 
    .ueberbox {
        display: block;
    }
 
    .box {
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box;
        flex-direction: row;
        align-items: stretch;
        border-radius: 14px;
    }
 
    .box img {
        width: 80px;
        min-width: 80px;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 14px 0 0 14px;
        object-fit: cover;
    }
 
    .box-info {
        border-radius: 0 14px 14px 0;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
 
    .box-overlay {
        top: 6px;
        right: 6px;
    }
 
    .box h3 {
        font-size: 15px;
        font-weight: 500;
        margin: 0 0 3px;
    }
 
    .box h4 {
        font-size: 13px;
        font-weight: 400;
        margin: 0;
    }
}