/* ========================================================= */
/* GLOBAL */
/* ========================================================= */

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

html {
    background: #dcd7d0;
    height: 100%;
}

body {
    background: transparent;
    color: #222;
    line-height: 1.5;
    min-height: 100%;
    position: relative;
}

/* ========================================================= */
/* BACKGROUND */
/* ========================================================= */

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: url("background22.png") no-repeat top center;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

/* ========================================================= */
/* 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: #444e39;
    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: #758661;
}


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

/* ========================================================= */
/* FILTER */
/* ========================================================= */

.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.filter-box {
    width: 1300px;
    background: url("filter-bg.png") no-repeat center / cover;
    padding: 50px;
    border-radius: 80px;
    display: flex;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 2;
}

.search-field,
select {
    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;
}

/* ========================================================= */
/* TITLE */
/* ========================================================= */

.verkostungen {
    text-align: center;
    font-size: 38px;
    font-weight: 200;
    letter-spacing: -2.5px;
    color: #282828;
    margin-top: 100px;
    z-index: 2;
    position: relative;
}

.results-sort {
    text-align: center;
    font-size: 12px;
    color: #dcd7d0;
    margin-top: 20px;
    position: relative;
}

/* ========================================================= */
/* RESULTS */
/* ========================================================= */

.results-container-outer {
    display: flex;
    justify-content: center;
}

.results-container {
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ========================================================= */
/* RESULT CARD (GRID ITEM) */
/* ========================================================= */

.result-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    z-index: 2;
    animation: fadeUp 0.35s ease both;
}

/* Karte selbst */
.result-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================================= */
/* LEFT & RIGHT PARTS ALS KACHEL */
/* ========================================================= */

.result-left {
    background: #2a2a2a;
    color: #f5f5f5;
    padding: 16px 18px;
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.result-right {
    background: #ebe8e3;
    color: #2a2a2a;
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: 0.15s ease;
}

/* Hover */
.result-right:hover {
    background: #f5f5f5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Typo */
.result-left h2,
.result-right h2 {
    font-size: 19px;
    font-weight: 800;
}

.meta {
    font-size: 13px;
    font-weight: 500;
}

/* ========================================================= */
/* LOAD MORE */
/* ========================================================= */

.load-more-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.load-more {
    padding: 10px 30px;
    background: #342c29;
    color: #cdb88e;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

/* ========================================================= */
/* ANIMATION */
/* ========================================================= */

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


/* -------------------- */
/* -------------------- */
/* --- 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;
    color: inherit;        /* gleiche Farbe wie der umgebende Text */
    text-decoration: none;
}

/* --- 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 */
/* ========================================================= */

@media (max-width: 940px) {
    .filter-box,
    .results-container {
        width: 92%;
    }

    .result-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .filter-box {
        flex-direction: column;
        border-radius: 16px;
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .results-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .results-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .results-container {
        grid-template-columns: 1fr;
    }
}
