main {
    display: grid;
    grid-template-rows: 1fr auto;
}
.main {
	display: grid;
}
.searchBox {
    width: 100%;
    padding: 5px 20px;
}
.searchBox > div {
    display: grid;
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0 0 120px rgb(var(--theme_color), 0.5);
}

.searchBox h2 {
    text-wrap: balance;
}
.btn {
    display: inline-block;
    box-sizing: border-box;
    font: 400 1em Arial;
    border: 2px outset ButtonBorder;
    text-decoration: none;
    text-align: center;
    color: rgb(var(--text_color));
    border-color: rgb(var(--theme_color), 0.6);
    padding: 10px;
    margin: 3px;
    border-radius: 10px;
    border-width: thick;
    cursor: pointer;
}
.btn:active {
    border-style: inset;
}


.footer {
   	background-color: transparent;
}




/* Bereich „Was suchst du?“ */
.discoveryBox > .discoveryContent {
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    padding: 0;
}

.discoveryContent h2 {
    margin-bottom: 8px;
    text-align: left;
}

.discoveryIntro {
    margin-bottom: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Kartenraster */
.discovery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Einzelne Karte */
.discovery-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    color: rgb(var(--text_color));
    background: rgb(var(--theme_color), 0.05);
    border: 1px solid rgb(var(--theme_color), 0.18);
    border-radius: 12px;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 2px 6px rgb(0, 0, 0, 0.04);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.discovery-card:hover {
    background: rgb(var(--theme_color), 0.11);
    border-color: rgb(var(--theme_color), 0.5);
    box-shadow: 0 5px 14px rgb(0, 0, 0, 0.09);
    transform: translateY(-2px);
}

.discovery-card:focus-visible {
    outline: 2px solid rgb(var(--theme_color));
    outline-offset: 3px;
}

/* SVG-Icon in einer farbigen Kachel */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: rgb(var(--theme_color));
    background: rgb(var(--theme_color), 0.13);
    border-radius: 12px;
}

.card-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Textbereich */
.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.card-content strong {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.card-content > span:not(.card-link) {
    font-size: 0.86em;
    line-height: 1.5;
    opacity: 0.8;
}

/* Link innerhalb der Karte */
.card-content .card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin-top: 5px;
    color: rgb(var(--theme_color));
    font-size: 0.88em;
    font-weight: 700;
}

.card-link svg {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Pfeil rechts */
.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    color: rgb(var(--theme_color));
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-arrow svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.discovery-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(3px);
}















/*Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap*/

/* Small devices (576px and up) */
@media (min-width: 576px) {
	
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .discovery-grid {
        gap: 20px;
    }

    .discovery-card {
        padding: 20px;
    }
}

/* XX-Large devices (1400px and up) */
@media (min-width: 1400px) {
    .discovery-grid {
        column-gap: 48px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .discovery-card {
        background: rgb(var(--theme_color), 0.09);
        border-color: rgb(var(--theme_color), 0.25);
        box-shadow: none;
    }

    .discovery-card:hover {
        background: rgb(var(--theme_color), 0.18);
        border-color: rgb(var(--theme_color), 0.55);
    }

    .card-icon {
        background: rgb(var(--theme_color), 0.2);
    }
}

@media print {

}