/* --- style.css --- */
/* BEGIN style.css */
body{
    background-color: #e8fbd0;
}
/** Nav-Bar anpassen (Farbe) **/
:root {
    --bs-primary: #b8f254; /* z.B. dein Hauptgrün */
    --bs-success: #7ccf00; /* optional für Aktionen */
    --bs-body-color: #1f1f1f;
    --bs-body-bg: #f8fff0;
}

/* Optional: Links & Navigation grün einfärben */
.navbar,
.navbar-light {
    background-color: #e8fbd0;
}

.nav-link {
    color: #1a4700;
}
.nav-link:hover,
.nav-link.active {
    color: #4e7f00;
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background-color: #b8f254;
    border-color: #b8f254;
    color: #000;
}
.btn-primary:hover {
    background-color: #a0e200;
    border-color: #a0e200;
}
/* Nav-Bar Schriftgröße */
.navbar-nav .nav-link {
    font-size: 1.2rem;    /* z.B. ~19px */
    font-weight: 700;     /* oder: bold */
    color: #1a4700;       /* dunkles Grün, anpassbar */
}

.navbar-brand{
    font-size: 2rem;
}

.navbar-nav .nav-link:hover {
    color: #4e7f00;
    text-decoration: underline;
}
 /* Slider */
.slider-bg {
    background-color: rgb(132, 180, 64);
}

.slider-image {
    height: 600px;
    width: auto;
    object-fit: contain;
}

/* Cards */
.card {
    background-color: rgba(132, 180, 64, 0.15); /* sehr helles Grün */
    box-shadow:
            2px 2px 5px rgba(132, 180, 64, 0.3),
            5px 5px 10px rgba(132, 180, 64, 0.2),
            8px 8px 15px rgba(132, 180, 64, 0.1);
    border: none; /* Rahmen aus */
    border-radius: 8px; /* sanfte Ecken */
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow:
            4px 4px 12px rgba(132, 180, 64, 0.5),
            10px 10px 20px rgba(132, 180, 64, 0.3),
            15px 15px 30px rgba(132, 180, 64, 0.15);
}

/* Home, ganz unten Pseudobutton */
.btn-like, .btn-like-sm {
    display: flex;
    justify-content: center; /* horizontal zentrieren */
    align-items: center;     /* vertikal zentrieren */
    width: 100%;
    padding: 0 1.2em;        /* oben/unten wird über height definiert */
    background-color: rgb(132, 180, 64);
    color: white;
    border-radius: 0.3em;
    user-select: none;
    cursor: pointer;
    box-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.15),
            4px 4px 8px rgba(0, 0, 0, 0.1),
            6px 6px 12px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.btn-like:hover, .btn-like-sm:hover {
    background-color: rgb(110, 155, 55);
    box-shadow:
            3px 3px 6px rgba(0, 0, 0, 0.3),
            5px 5px 10px rgba(0, 0, 0, 0.2),
            8px 8px 16px rgba(0, 0, 0, 0.1);
}

/* Größerer Button */
.btn-like {
    font-size: 1.5rem;
    height: 70px;
}

/* Kleinere Buttons */
.btn-like-sm {
    font-size: 1.2rem;
    height: 60px;
}

.btn-success {
    background-color: rgb(132, 180, 64);
    border-color: rgb(132, 180, 64);
    color: white;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-success:hover {
    background-color: rgb(110, 150, 50); /* leicht dunkler beim Hover */
    box-shadow: 0 4px 12px rgba(132, 180, 64, 0.3);
}

/* Versteckte Elemente */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}



/* Icons Header oben rechts*/
.tooltip-icon-wrapper {
    position: relative;
    display: inline-block;  /* nebeneinander möglich */
}

.tooltip-icon-wrapper .tooltip-text {
    visibility: hidden;
    border: none;
    opacity: 0;
    position: absolute;
    top: 150%;              /* mittig vertikal */
    left: -105%;           /* links vom Bild, etwas Abstand */
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--gruen-dunkel);
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 0.3rem;
    font-size: 1.2rem;
    text-align: left;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.tooltip-icon-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text::after {
    display: none;
}
/* END style.css */

/* --- subsites.css --- */
/* BEGIN subsites.css */
/* Farbpalette – Grünabstufungen */
:root {
    --gruen-dunkel: #1a4700;
    --gruen-mittel: #4e7f00;
    --gruen-hell: #b8f254;
    --gruen-hell-rgba: rgba(184,242,84,0.1);
    --shadow-gruen-30: rgba(132, 180, 64, 0.3);
    --shadow-gruen-20: rgba(132, 180, 64, 0.2);
    --shadow-gruen-10: rgba(132, 180, 64, 0.1);
}

/* Allgemeine Intro-Sektion */
.intro {
    width: 80%;
    margin: 1rem auto 1rem auto;
    padding: 2rem;

    background-color: rgba(132, 180, 64, 0.15); /* sehr helles Grün */
    border: 2px solid var(--gruen-mittel);
    border-radius: 1rem;

    box-shadow:
            2px 2px 5px var(--shadow-gruen-30),
            5px 5px 10px var(--shadow-gruen-20),
            8px 8px 15px var(--shadow-gruen-10);

    text-align: center;
    color: #111;
    font-size: 1.1rem;
    line-height: 1.6;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro:hover {
    transform: scale(1.005);
    box-shadow:
            2px 2px 6px var(--shadow-gruen-30),
            5px 5px 12px var(--shadow-gruen-20),
            8px 8px 18px var(--shadow-gruen-10);
}


.intro h2 {
    color: var(--gruen-dunkel);
    margin-bottom: 0.5rem;
}

.intro h3 {
    color: var(--gruen-mittel);
    margin-bottom: 1rem;
}

.intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Karten mit Bild links oder rechts */
.card_pic_right,
.card_pic_left {
    width: 80%;
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    background-color: rgba(132, 180, 64, 0.15); /* sehr helles Grün */
    border-radius: 1rem;
    overflow: hidden;

    box-shadow:
            2px 2px 5px var(--shadow-gruen-30),
            5px 5px 10px var(--shadow-gruen-20),
            8px 8px 15px var(--shadow-gruen-10);

    border: 2px solid var(--gruen-mittel); /* statt border: none */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_pic_right:hover,
.card_pic_left:hover {
    transform: scale(1.2); /* leichtes Vergrößern */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* etwas kräftigerer Schatten beim Hover */
}

.card_pic_right .schrift,
.card_pic_left .schrift {
    flex: 1 1 55%;
    padding: 2rem;
    color: #000;
}

.card_pic_right .bild,
.card_pic_left .bild {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gruen-mittel);
    padding: 1rem;
}

.card_pic_right {
    flex-direction: row;
}

.card_pic_left {
    flex-direction: row-reverse;
}

.card_pic_right:hover,
.card_pic_left:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}

/* Überschriften und Text */
.schrift h2 {
    color: var(--gruen-dunkel);
}

.schrift h3 {
    color: var(--gruen-mittel);
    margin-top: 1rem;
}

.schrift ul {
    padding-left: 1.2rem;
}

.schrift ul li {
    margin-bottom: 0.5rem;
}

/* Bilder */
.bild img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Impressum */
.legal-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #222;
}

.legal-text h3 {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--gruen-dunkel);
}

.legal-text p {
    margin-bottom: 0.8rem;
}
/* END subsites.css */

/* --- tooltip.css --- */
/* BEGIN tooltip.css */
.btn-like-wrapper {
    position: relative;
    display: block;
    margin: 0 auto;
    width: fit-content; /* passt die Breite an Button an */
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: auto;
    background-color: #4e7f00;
    color: #fff;
    text-align: left;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    position: absolute;
    z-index: 1000;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.3;
    pointer-events: none;
    display: inline-block;
}

.short-tooltip .tooltip-text {
    white-space: nowrap;
    word-break: keep-all;
}

.long-tooltip .tooltip-text {
    white-space: normal;
    max-width: 300px;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #4e7f00 transparent transparent transparent;
}

.btn-like-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.text-center:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
/* END tooltip.css */

/* --- contact.css --- */
/* BEGIN contact.css */
/* Containerhöhe an iFrame anpassen */
.col-md-6.d-flex.flex-column.gap-3 {
    height: 450px; /* gleiche Höhe wie Google Map */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Zwischenräume */
}

/* Button-Wrapper: alle Buttons gleich hoch */
.btnc-like-wrapper {
    flex: 1;                  /* teilt die Höhe gleichmäßig auf */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--gruen-mittel);
    border-radius: 0.5rem;
    cursor: pointer;
    overflow: visible;        /* Tooltip darf rausstehen */
}

/* Pseudo-Button */
.btnc-like {
    background-color: var(--gruen-mittel);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;             /* füllt Wrapper */
    margin: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btnc-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Tooltip */
.tooltipc-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 99%;             /* über Button */
    left: 50%;
    transform: translateX(-50%);
    max-width: 280px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: auto;     /* Maus darf Tooltip betreten */
}

/* Tooltip dauerhaft sichtbar bei Hover über Wrapper oder Tooltip */
.btnc-like-wrapper:hover .tooltipc-text,
.btnc-like-wrapper .tooltipc-text:hover {
    visibility: visible;
    opacity: 1;
}

/* Links in Tooltip */
.tooltipc-text a {
    color: var(--gruen-hell);
    font-weight: bold;
    text-decoration: none;
}

.tooltipc-text.active {
    visibility: visible;
    opacity: 1;
}

.tooltipc-text a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .tooltipc-text {
        max-width: 220px;
        font-size: 0.85rem;
        line-height: 1.3;
        padding: 0.4rem 0.8rem;
        bottom: 110%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}
/* END contact.css */

