/* --- GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* Seitenfarbe auf html (hinter allem) */
html {
    background: #dcd7d0;
    height: 100%;
}

/* body muss transparent sein, damit .bg-image sichtbar bleibt */
body {
    background: transparent;
    color: #222;
    line-height: 1.5;
    min-height: 100%;
    position: relative;
}




/* ========================================================= */
/* MENU OVERLAY */
/* ========================================================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  padding: 22px 18px;
}

.menu-link {
  text-decoration: none;
  color: #f0e7d6;
  font-size: 44px;
  font-weight: 200; /* dünn/elegant */
  letter-spacing: -0.8px;
  line-height: 1.05;
  transition: transform 140ms ease, opacity 140ms ease;
  opacity: 0.95;
}

.menu-link:hover {
  transform: translateY(-1px);
  opacity: 1;
}

/* Responsive Font */
@media (max-width: 800px) {
  .menu-link {
    font-size: 32px;
  }
}

/* ========================================================= */
/* HEADER */
/* ========================================================= */

.header {
    width: 100%;
    padding: 60px 0 10px;
    position: relative;
    z-index: 2;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.center-logo {
    height: 38px;
    justify-self: center;
}

.left-logo {
    height: 38px;
    margin-right: -20px;
    justify-self: left;
}

.header-login {
    display: flex;
    gap: 5px;
    justify-self: end;
}

.login-input {
    width: 216px;
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #f5f5f5;
}


/* ========================================================= */
/* BUTTON STYLE (wird mehrfach verwendet: Menu + Login Button) */
/* ========================================================= */

.login-button {
    padding: 12px;
    font-size: 16px;
    background: #a88d32;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-button:hover {
  background: #ffb86a;
}


.menu-button {
    width: 80px;
    padding: 12px;
    font-size: 16px;
    background: #123556;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-button:hover {
  background: #205a99;
}


/* ========================================================= */
/* ========================================================= */

/* -------------------- */
/* -------------------- */
/* --- FILTER SECTION WRAPPER --- */
/* -------------------- */
.filter-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* -------------------- */
/* -------------------- */
/* --- FILTER AREA --- */
/* -------------------- */
.filter-box {
    width: 970px;
    background: url("filter-bg.png") no-repeat center center / cover;
    padding: 50px 50px;
    border-radius: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}

/* --- Filter elements --- */
.search-field,
#consortiumFilter,
#wineTypeFilter,
#regionFilter {
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 15px;
    background: #f5f5f5;
    outline: none;
}

.search-field {
    flex: 1;
}

select {
    min-width: 140px;
    cursor: pointer;
}

/* -------------------- */
/* -------------------- */
/* --- RESULT COUNT --- */
/* -------------------- */
.results-sort {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 60px 0 20px 0;
    background: transparent;
    z-index: 2;
    position: relative;
}

#resultCount {
    width: 868px;
    color: #757575;
    font-size: 15px;
}

/* -------------------- */
/* -------------------- */
/* --- RESULTS CONTAINER --- */
/* -------------------- */
.results-container-outer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.results-container {
    width: 868px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

/* --- RESULT CARD --- */
.result-card {
    background: #e2dfdb;
    padding: 20px;
    padding-left: 50px;
    border-radius: 60px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    animation: fadeUp 0.35s ease both;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Übergänge für alle Eigenschaften */
}

/* Hover-Effekt für Resultatkarten */
.result-card:hover {
    background-color: #f5f5f5;
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    .image-placeholder {
    opacity: 0.8;

}
}

.result-card h2 {
    font-size: 34px;
    font-weight: 800;
    color: #2a2a2a;
}

.result-card .meta {
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- IMAGE PLACEHOLDER --- */
.result-card .image-placeholder {
    position: absolute;
    opacity: 0.1;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    width: 197px;
    height: 60px;
    border-radius: 5px;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}


/* --- LOAD MORE BUTTON --- */
.load-more-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
}

.load-more {
    padding: 10px 30px;
    background: #342c29;
    color: #cdb88e;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.load-more:hover {
    opacity: 0.7;
}

/* -------------------- */
/* -------------------- */
/* --- HERO SECTION --- */
/* -------------------- */

.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.hero-container {
    width: auto;
    max-height: 300px;
    max-width: 1100px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    background-color: #fffdf6;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------------------- */
/* -------------------- */
/* --- TEXT SECTION --- */
/* -------------------- */

.text-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.text-container {
    width: auto;
    max-height: 2000px;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    background-color: #dcd7d0;
}

.text-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docg-section {
    width: 100%;
    display: flex;
    justify-content: center; /* horizontal zentriert */
    align-items: center;     /* vertikal zentriert */
    margin-top: 40px;
}


.docg-container {
    width: auto;
    max-height: 82px;
    overflow: hidden;
    text-align: center;
    margin: 0;
}


.docg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docgtext-section {
    width: 100%;
    display: flex;
    justify-content: center; /* horizontal zentriert */
    align-items: center;     /* vertikal zentriert */
}

/* -------------------- */
/* -------------------- */
/* --- BIG FOOTER SECTION --- */
/* -------------------- */
.big-footer-section {
    width: 100%;
    background-color: #4b473b;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.big-footer-container {
    width: 868px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    color: #cdb88e;
}

.big-footer-column {
    width: 24%;
    text-align: center;
}

.big-footer-column h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.big-footer-column p {
    font-size: 10px;
}

/* -------------------- */
/* -------------------- */
/* --- UPPER FOOTER SECTION --- */
/* -------------------- */
.upper-footer-section {
    width: 100%;
    height: 40px;
    margin-top: 50px;
    background-color: #5d584a;
    color: #667259;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upper-footer-container {
    width: 868px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------- */
/* -------------------- */
/* --- SMALL FOOTER SECTION --- */
/* -------------------- */
.small-footer-section {
    width: 100%;
    height: 50px;
    background-color: #24221c;
    color: #5d584a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-footer-container {
    width: 868px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-footer-left {
    font-size: 14px;
}

.small-footer-right {
    font-size: 14px;
}

/* --- SEO Text --- */

.new-section .container {
    background-color: #e7e4dd;
    display: flex;
    justify-content: space-between;
    max-width: 868px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.new-section .column {
    flex: 1;
    padding: 10px;
    margin: 0 10px;
    min-width: 150px;
}

.new-section h3 {
    font-size: 0.7em;
    margin-bottom: 8px;
}

.new-section p {
    font-size: 0.7em;
    margin-bottom: 8px;
}

.new-section ul {
    list-style-type: none;
    padding: 0;
}

.new-section li {
    font-size: 0.7em;
    margin-bottom: 5px;
}


/* -------------------- */
/* -------------------- */
/* --- FOOTER --- */
.footer {
    background-color: #282828;
    padding: 40px 0;
    color: #333;
    font-size: 14px;
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    max-width: 868px;
    margin: 0 auto;
}

.footer-column {
    width: 48%;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 868px;
    margin: 20px auto 0;
}

.footer-left p {
    margin: 0;
}

.footer-right a {
    text-decoration: none;
    color: #333;
}

.footer-right a:hover {
    text-decoration: underline;
}


/* --- RESPONSIVE RULES --- */
@media (max-width: 940px) {
    .filter-box,
    .results-container,
    #resultCount {
        width: 92%;
    }

    .left-logo {
        left: 20px;
    }

    .filter-box {
        flex-wrap: wrap;
        gap: 10px;
    }

    select {
        width: 100%;
    }

    .result-card {
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 600px) {
    


    .filter-wrapper {
        margin-top: 40px;
    }


    .left-logo {
        display: none;
    }

    .header-login {
        justify-self: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }


    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .center-logo {
        margin-bottom: 20px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .filter-box {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
    }

    .results-container {
        gap: 15px;
    }

    .result-card {
        width: 100%;
        padding-left: 20px;
    }



    /* IMAGE PLACEHOLDER Ausblenden auf Smartphones */
    .result-card .image-placeholder {
        display: none;
    }

     .big-footer-container {
        display: none;
    }
}
