/* Building blocks of the content sections: construction sign in the hero, split layout,
   mascot, timeline, news, facts about savanna animals, occasions, idea cards,
   tips nearby, FAQ, gallery, contact list and legal pages. */

/* Hero layout with the construction sign on the right */
.hero-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; } }

/* Construction sign: white board on two wooden posts, like on every German building site */
.bauschild { position: relative; justify-self: start; width: min(100%, 380px); transform: rotate(-1.5deg); }
@media (min-width: 1000px) { .bauschild { justify-self: end; margin-bottom: 0.5rem; } }
.bauschild-board {
  position: relative; z-index: 1;
  background:
    radial-gradient(circle at 10px 10px, #b9ad97 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 10px) 10px, #b9ad97 0 3px, transparent 3.5px),
    radial-gradient(circle at 10px calc(100% - 10px), #b9ad97 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #b9ad97 0 3px, transparent 3.5px),
    var(--bg);
  color: var(--text);
  border: 3px solid var(--earth-deep);
  border-radius: 4px;
  padding: 1.1rem 1.1rem 0;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.bauschild-head { display: flex; align-items: center; gap: 0.75rem; margin: -1.1rem -1.1rem 0.9rem; padding: 0.7rem 1.1rem; background: var(--earth-deep); color: #fff; }
.bauschild-head small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--construction); }
.bauschild-head strong { font-size: 1.1rem; letter-spacing: 0.02em; }
.bauschild dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 0.9rem; margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.4; }
.bauschild dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.2rem; }
.bauschild dd { margin: 0; color: var(--earth-deep); }
.bauschild-note { color: var(--text-muted); font-size: 0.82rem; }
.hero .bauschild-foot {
  margin: 0 -1.1rem; padding: 0.95rem 1rem 0.55rem; max-width: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; text-shadow: none;
  color: var(--earth-deep);
  background: linear-gradient(var(--construction), var(--construction)) bottom / 100% calc(100% - 7px) no-repeat, repeating-linear-gradient(-45deg, var(--earth-deep) 0 8px, var(--construction) 8px 16px);
}
.bauschild-post { position: absolute; top: 85%; width: 14px; height: 260px; background: linear-gradient(90deg, #5e4325, #8a6438 45%, #5e4325); border-radius: 2px; }
.bauschild-post:first-of-type { left: 18%; }
.bauschild-post:last-of-type { right: 18%; }
@media (max-width: 480px) { .bauschild dl { grid-template-columns: 1fr; gap: 0.1rem; } .bauschild dd { margin-bottom: 0.45rem; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Mascot: cut-out lion standing on a soft ground shadow */
.mascot { margin: 0; justify-self: center; position: relative; width: min(100%, 380px); }
.mascot::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 1%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 33, 24, 0.22), transparent); }
.mascot img { position: relative; width: 100%; }
@media (max-width: 800px) { .mascot { width: min(78%, 300px); } }

/* Timeline of the rebuild */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.1rem 1.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 0.3rem; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--sand); }
.timeline li.done::before { background: var(--acacia); border-color: var(--acacia); }
.timeline li.now::before { background: var(--construction); border-color: var(--ochre); box-shadow: 0 0 0 5px rgba(255, 203, 46, 0.3); }
.timeline strong { display: block; color: var(--earth-deep); }
.timeline span { color: var(--text-muted); }

/* Occasions grid */
.occasions { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.occasions li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; padding: 1.25rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line); }
.occasions svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--sand-light); fill: none; stroke: var(--ochre); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.occasions strong { color: var(--earth-deep); }
.occasions span { font-size: 0.95rem; color: var(--text-muted); }
@media (max-width: 860px) { .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .occasions { grid-template-columns: 1fr; } }

/* Idea cards */
.ideas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 2rem; }
.idea { padding-top: 1.2rem; border-top: 3px solid var(--gold); }
.idea:nth-child(2) { border-top-color: var(--acacia); }
.idea:nth-child(3) { border-top-color: var(--ochre); }
.idea:nth-child(4) { border-top-color: var(--earth); }
.idea svg { width: 32px; height: 32px; margin-bottom: 0.6rem; fill: none; stroke: var(--earth); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.idea p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }
@media (max-width: 960px) { .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ideas { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:first-child { grid-column: span 2; } }

/* Contact list */
.contact-list { list-style: none; margin: 0; padding: 1.5rem; display: grid; gap: 1.1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-list li { display: flex; gap: 0.9rem; align-items: center; }
.contact-list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ochre); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.contact-list strong { color: var(--earth-deep); font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover strong { color: var(--ochre-dark); }
.contact-list .soon { color: var(--text-muted); font-style: italic; }

/* Legal pages */
.page-head { background: var(--earth-deep); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.page-head h1 { color: #fff; margin: 0; }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Construction diary */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 1.5rem; }
.news-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { padding: 1.1rem 1.25rem 1.3rem; border-top: 4px solid var(--construction); }
.news-body time { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ochre); }
.news-body h3 { margin: 0.3rem 0 0.4rem; }
.news-body p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }
.news-more { margin-top: 1.5rem; }
@media (max-width: 860px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-list { grid-template-columns: 1fr; } }

/* Savanna section: dusk colors with an acacia silhouette */
.section--savanna {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.85);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140' fill='%231c150e'%3E%3Cpath d='M96 140V70l-22-26 6-3 18 20V44h6v17l18-20 6 3-22 26v70z'/%3E%3Cellipse cx='100' cy='40' rx='96' ry='18'/%3E%3Cellipse cx='62' cy='30' rx='44' ry='14'/%3E%3Cellipse cx='138' cy='30' rx='44' ry='14'/%3E%3Cellipse cx='100' cy='22' rx='52' ry='14'/%3E%3C/svg%3E") right 6% bottom -8px / 240px auto no-repeat,
    linear-gradient(180deg, var(--earth-deep) 0%, #4a2e17 55%, #8f4f1d 100%);
}
.section--savanna { padding-bottom: 9rem; }
.section--savanna h2 { color: #fff; }
.section--savanna .eyebrow { color: var(--construction); }
.section--savanna .lead { color: rgba(255, 255, 255, 0.75); max-width: 46rem; }
.animal-facts { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.animal-facts li { display: flex; flex-direction: column; }
.animal-figure { height: 230px; margin: 0 0 1rem; display: flex; align-items: flex-end; justify-content: center; }
.animal-figure img { max-height: 100%; width: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); }
.animal-facts strong { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--gold); }
.animal-facts .animal { display: block; margin: 0.3rem 0 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.animal-facts p { margin: 0; font-size: 0.97rem; }
@media (max-width: 1080px) { .animal-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .animal-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .animal-facts { grid-template-columns: 1fr; gap: 2.5rem; } .animal-figure { height: 210px; } .section--savanna { background-size: 200px auto, auto; } }

/* Tips nearby */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 1.5rem; }
.tip { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.tip:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.tip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tip-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.tip-body strong { color: var(--earth-deep); font-size: 1.1rem; }
.tip-body span { color: var(--text-muted); font-size: 0.97rem; }
.tip-body .tip-more { margin-top: auto; padding-top: 0.5rem; color: var(--ochre-dark); font-weight: 700; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } .tip { flex-direction: row; } .tip img { width: 38%; aspect-ratio: auto; } }
@media (max-width: 480px) { .tip { flex-direction: column; } .tip img { width: 100%; aspect-ratio: 16 / 9; } }

/* FAQ */
.faq-wrap { max-width: 52rem; }
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.05rem 2.5rem 1.05rem 0; font-weight: 600; color: var(--earth-deep); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--ochre); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--text-muted); max-width: 46rem; }
