/* ------------------------------------------------------------------
   Sektionen: Werte (Startseite) & Werdegang-Timeline (Über mich)
   ------------------------------------------------------------------ */

/* ===== Werte ===================================================== */
.gg-values {
    display: grid;
    gap: 1.25rem;
    margin-top: 3.5rem;
}
@media (min-width: 640px) {
    .gg-values { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .gg-values { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; }
}
.gg-value {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem 1.9rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(205, 191, 174, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(233, 225, 212, 0.35));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
.gg-value:hover {
    transform: translateY(-4px);
    border-color: rgba(164, 176, 122, 0.7);
    box-shadow: 0 24px 50px -30px rgba(46, 36, 28, 0.35);
}
.gg-value__num {
    position: absolute;
    top: 1.35rem;
    right: 1.5rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(91, 70, 54, 0.35);
}
.gg-value__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(164, 176, 122, 0.22);
    color: #798B4A;
    box-shadow: 0 0 0 6px rgba(164, 176, 122, 0.12);
    transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.gg-value:hover .gg-value__icon {
    background: #798B4A;
    color: #F5F0E6;
    box-shadow: 0 0 0 6px rgba(121, 139, 74, 0.18);
}
.gg-value__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}
.gg-value__title {
    margin: 1.5rem 0 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #2E241C;
}
.gg-value__text {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5B4636;
}

/* ===== Werdegang-Timeline ======================================== */
.gg-timeline {
    position: relative;
    max-width: 46rem;
    margin: 3.5rem 0 0;
    padding: 0 0 0 2.75rem;
    list-style: none;
}
@media (min-width: 768px) {
    .gg-timeline { margin-top: 4rem; padding-left: 3.5rem; }
}
/* durchgehende Linie */
.gg-timeline::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 0.7rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(164, 176, 122, 0.2), #A4B07A 12%, #798B4A 88%, rgba(121, 139, 74, 0.2));
}
@media (min-width: 768px) {
    .gg-timeline::before { left: 0.95rem; }
}
.gg-timeline__item {
    position: relative;
    margin: 0 0 1.25rem;
}
.gg-timeline__item:last-child {
    margin-bottom: 0;
}
/* Marker auf der Linie */
.gg-timeline__marker {
    position: absolute;
    top: 1.55rem;
    left: -2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: #F5F0E6;
    box-shadow: 0 0 0 2px #798B4A;
}
.gg-timeline__marker::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: #798B4A;
}
@media (min-width: 768px) {
    .gg-timeline__marker { left: -3.5rem; width: 2rem; height: 2rem; }
    .gg-timeline__marker::after { width: 0.65rem; height: 0.65rem; }
}
/* Karte */
.gg-timeline__card {
    position: relative;
    padding: 1.4rem 1.5rem 1.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(205, 191, 174, 0.5);
    background: rgba(245, 240, 230, 0.75);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
@media (min-width: 768px) {
    .gg-timeline__card { padding: 1.6rem 1.9rem 1.7rem; }
}
.gg-timeline__item:hover .gg-timeline__card {
    transform: translateX(4px);
    border-color: rgba(164, 176, 122, 0.7);
    box-shadow: 0 20px 45px -30px rgba(46, 36, 28, 0.35);
}
.gg-timeline__when {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: rgba(164, 176, 122, 0.22);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #5B4636;
}
.gg-timeline__title {
    margin: 0.85rem 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
    line-height: 1.15;
    font-weight: 500;
    color: #2E241C;
}
.gg-timeline__text {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5B4636;
}
/* Hervorgehobener Meilenstein (Meisterprüfung) */
.gg-timeline__item.is-highlight .gg-timeline__marker {
    background: #798B4A;
    color: #F5F0E6;
    box-shadow: 0 0 0 2px #798B4A, 0 0 0 7px rgba(121, 139, 74, 0.18);
}
.gg-timeline__item.is-highlight .gg-timeline__marker::after {
    display: none;
}
.gg-timeline__item.is-highlight .gg-timeline__marker svg {
    width: 0.9rem;
    height: 0.9rem;
}
@media (min-width: 768px) {
    .gg-timeline__item.is-highlight .gg-timeline__marker svg { width: 1.1rem; height: 1.1rem; }
}
.gg-timeline__item.is-highlight .gg-timeline__card {
    border-color: rgba(121, 139, 74, 0.55);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(164, 176, 122, 0.18));
}
.gg-timeline__item.is-highlight .gg-timeline__when {
    background: #F2C946;
    color: #2E241C;
}

@media (prefers-reduced-motion: reduce) {
    .gg-value, .gg-value__icon, .gg-timeline__card { transition: none; }
}
