/*
Theme Name: Vorratskammer Wackernheim
Author: Vorratskammer Wackernheim e.V.
Description: Individuelles Vereinsdesign mit lokalen Schriften und Medien. Enthält einen geschützten Seitenimport ohne zusätzliche Plugins.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.3
Text Domain: vorratskammer
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url("assets/fonts/dm-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url("assets/fonts/fraunces-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 700;
  font-display: swap; src: url("assets/fonts/fraunces-italic.woff2") format("woff2");
}
:root {
  --ink: #243c2e; --green: #294737; --muted: #5b655b;
  --orange: #ec986c; --rust: #ac4827; --line: #d4d8cd;
  --paper: #fffef9; --cream: #f3efdf; --soft: #edf2e7;
  font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  scroll-behavior: auto; scroll-padding-top: 30px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
h1, h2 { line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3.8rem, 5.7vw, 6rem); margin-bottom: 30px; }
h2 { font-size: clamp(2.5rem, 3.6vw, 4rem); margin-bottom: 28px; }
h3 { font-size: 1.55rem; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 16px; }
h1 em, h2 em { font-weight: 400; }
p { margin-bottom: 20px; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.large { font-size: 1.25rem; line-height: 1.65; }
.eyebrow { font-size: 1rem; color: var(--muted); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 20px; }
.brand { display: block; flex-shrink: 0; width: 125px; }
.brand img { width: 100%; mix-blend-mode: multiply; }
.header nav { display: flex; align-items: center; gap: 25px; font-size: .875rem; font-weight: 500; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.nav-contact { border-bottom: 1px solid var(--ink); padding-block: 6px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-top: 45px; padding-bottom: 85px; }
.hero-intro { color: var(--muted); font-size: 1rem; margin-bottom: 26px; }
.hero h1 em { color: var(--rust); }
.hero .lead { max-width: 44ch; font-size: 1.125rem; color: var(--muted); }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 22px; background: var(--green); border: 1px solid var(--green); color: white; border-radius: 3px; text-decoration: none; font-size: 1rem; font-weight: 500; transition: background .2s; }
.button:hover { background: #42634b; }
.button-outline { background: transparent; color: var(--green); }
.text-link { font-size: 1rem; font-weight: 500; }
.hero-note { font-size: .875rem; color: var(--muted); margin-top: 22px; margin-bottom: 0; }
.hero-visual { position: relative; padding-bottom: 74px; }
.hero-photo { width: 100%; height: 500px; object-fit: cover; object-position: 50% 60%; border-radius: 48% 48% 3px 3px; }
.photo-tag { position: absolute; bottom: 38px; left: -28px; padding: 12px 22px 10px; background: var(--paper); font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-style: italic; line-height: 1.3; transform: rotate(-3deg); }
.photo-tag strong { font-weight: 500; }
.photo-caption { position: absolute; bottom: 0; right: 0; color: var(--muted); font-size: .8125rem; }
.values-band { border-block: 1px solid var(--line); background: #f9f8ef; }
.values { display: flex; justify-content: space-between; gap: 26px; padding-block: 19px; }
.values span { display: flex; align-items: center; gap: 15px; font-size: 1rem; }
.values img { width: 46px; height: 46px; }
.idea { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; padding-block: 110px; }
.idea h2 { font-size: clamp(2.8rem, 4vw, 4.3rem); max-width: 12ch; }
.idea-text { border-left: 1px solid var(--line); padding-left: 45px; }
.idea-text p:not(.large) { color: var(--muted); }
.idea-text p:last-child { margin-bottom: 0; }
.harvest-story { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; padding-bottom: 100px; }
.harvest-story figure { margin: 0; }
.harvest-story img { width: 100%; height: 500px; object-fit: cover; object-position: 50% 60%; border-radius: 3px; }
.harvest-story figcaption, .community-section figcaption { color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-top: 12px; }
.harvest-story > div { position: relative; margin-left: -65px; background: var(--green); color: var(--paper); padding: 48px 45px; }
.harvest-story h2 { font-size: clamp(2.5rem, 3.1vw, 3.4rem); }
.harvest-story h2 em { color: #f2b68a; }
.harvest-story .large { font-size: 1.0625rem; }
.harvest-story > div > p:not(.large) { color: #e0e6d8; font-size: 1rem; }
.harvest-story .text-link { text-decoration-color: #edb38c; }
.partner-section { background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 45px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 39ch; margin-bottom: 5px; color: var(--muted); }
.partner-section .section-heading { align-items: center; margin-bottom: 55px; }
.partner-section h2 { font-size: clamp(3rem, 4.6vw, 4.8rem); }
.partner-grid { display: grid; grid-template-columns: 1fr; }
.partner-card { display: grid; grid-template-columns: 210px minmax(0,1fr) 195px; column-gap: 42px; padding-block: 38px; border-top: 1px solid #cbd0bd; align-items: start; }
.partner-portrait { margin: 0; }
.partner-portrait > img { width: 100%; height: 255px; object-fit: cover; object-position: 50% 32%; border-radius: 3px; }
.partner-portrait-speth > img { object-position: 50% 25%; }
.partner-portrait-landlinie > img { object-position: 50% 15%; }
.partner-portrait-lehnmuehle > img { object-position: 55% 50%; }
.partner-portrait figcaption { font-size: .8125rem; color: var(--muted); line-height: 1.5; margin-top: 12px; }
.partner-portrait figcaption a { font-size: .75rem; text-decoration-color: #a9ad9b; }
.partner-copy { min-width: 0; }
.partner-brand { display: flex; align-items: center; width: 180px; max-width: 100%; min-height: 65px; margin-bottom: 18px; }
.partner-brand img { width: auto; max-width: 100%; max-height: 65px; object-fit: contain; }
.partner-brand-landlinie { width: 215px; }
.partner-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.partner-location { color: #65644e; font-size: .875rem; margin: 5px 0 20px; }
.partner-copy > p:not(.partner-location) { margin: 0; color: var(--muted); font-size: 1rem; }
.partner-contact { padding-top: 5px; }
.partner-address { font-size: .875rem; margin: 0 0 20px; color: var(--muted); }
.partner-card .text-link { font-size: .9375rem; line-height: 1.6; }
.partner-note { border-top: 1px solid #cbd0bd; padding-top: 20px; margin-bottom: 0; max-width: 90ch; font-size: .875rem; color: var(--muted); }
.process-section { background: var(--paper); }
.process-section .section-heading { align-items: center; }
.process-section h2 { font-size: clamp(2.5rem, 3.4vw, 3.8rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.steps article { padding-top: 25px; border-top: 1px solid var(--line); }
.step-icon { display: block; width: 88px; height: 88px; margin-bottom: 26px; background: none; }
.steps h3 { font-size: 1.55rem; max-width: 19ch; }
.steps p { color: var(--muted); }
.process-note { border-top: 1px solid var(--line); padding-top: 20px; margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.app-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; border-top: 1px solid var(--line); }
.app-copy p:not(.large) { color: var(--muted); }
.check-list { padding: 0; list-style: none; }
.check-list li { padding-left: 30px; margin-block: 13px; position: relative; }
.check-list li::before { content: ""; position: absolute; width: 21px; height: 21px; top: 3px; left: 0; background: url("assets/icons/check.svg") center / contain no-repeat; }
.small-note { font-size: .875rem; color: var(--muted); margin-top: 20px; }
.app-preview { padding: 22px; border: 1px solid #c9d0c1; border-radius: 12px; background: #e9eee2; }
.preview-top > span { display: block; font-size: .875rem; margin-bottom: 18px; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.tabs button { color: var(--ink); border: 1px solid #bac3b3; background: transparent; font-size: .875rem; padding: 7px 17px; border-radius: 3px; cursor: pointer; }
.tabs button[aria-selected=true] { color: white; background: var(--green); border-color: var(--green); }
#app-panel { height: 360px; overflow: auto; background: white; border: 1px solid #d1d7ca; border-radius: 4px; }
#app-image { width: 100%; height: auto; }
.video-section { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding-bottom: 100px; }
.video-section h2 { font-size: 2.3rem; }
video { width: 100%; display: block; aspect-ratio: 16 / 9; border-radius: 5px; background: #1c3023; }
.membership-section { background: #f1d1b6; }
.membership-section h2 { font-size: clamp(2.8rem, 4vw, 4.6rem); }
.membership-section .section-heading > p { color: #514f42; }
.membership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.membership-main { background: var(--paper); padding: 38px; border-radius: 3px; }
.membership-main h3 { font-size: 1.8rem; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 4.7rem; line-height: 1; letter-spacing: -.04em; font-weight: 500; margin: 20px 0 28px; }
.price span { display: block; margin-top: 14px; font-family: "DM Sans", sans-serif; font-size: 1rem; font-weight: 400; letter-spacing: 0; }
dl { margin-block: 26px; }
dl > div { border-top: 1px solid var(--line); padding-block: 16px; }
dt { font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
dd { margin: 0; color: var(--muted); font-size: 1rem; }
.membership-side article { padding: 24px 15px; }
.membership-side h3 { font-size: 1.8rem; }
.membership-side p { color: #514f42; }
.membership-side .support { border-top: 1px solid #bd9b7c; margin-top: 16px; padding-top: 35px; }
.community-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; padding-bottom: 70px; }
.community-section h2 { font-size: clamp(3.3rem, 4.8vw, 5.1rem); }
.community-section h2 em { color: var(--rust); }
.community-section > div > p:not(.large) { color: var(--muted); }
.community-section figure { margin: 0; transform: rotate(1deg); }
.community-section img { width: 100%; height: 390px; object-fit: cover; border-radius: 3px; }
.start-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-top: 65px; border-top: 1px solid var(--line); }
.start-section h2 { max-width: 11ch; }
.join-steps { padding: 0; margin: 0; list-style: none; }
.join-steps li { border-bottom: 1px solid var(--line); padding-block: 25px; }
.join-steps li:first-child { padding-top: 0; }
.join-steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.join-steps p { margin-bottom: 0; color: var(--muted); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding-top: 0; }
.faq h2 { font-size: 2.4rem; }
details { padding-block: 20px; border-bottom: 1px solid var(--line); }
summary { list-style: none; position: relative; padding-right: 32px; font-weight: 500; cursor: pointer; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 3px; top: 5px; width: 16px; height: 16px; background: linear-gradient(var(--green), var(--green)) center / 12px 1px no-repeat, linear-gradient(var(--green), var(--green)) center / 1px 12px no-repeat; }
details[open] summary::after { background: linear-gradient(var(--green), var(--green)) center / 12px 1px no-repeat; }
details p { margin: 16px 0 0; color: var(--muted); }
details ol { padding-left: 20px; font-size: 1rem; }
.contact-section { background: var(--green); color: var(--paper); padding-block: 80px; text-align: left; }
.contact-section > .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
.contact-section h2 { grid-column: 1; grid-row: 1 / 4; font-size: clamp(3.6rem, 5vw, 5.5rem); margin: 0; }
.contact-section h2 em { color: #f0b38a; }
.contact-section p { grid-column: 2; color: #e0e6d8; margin-bottom: 10px; }
.contact-mail { grid-column: 2; margin-block: 20px 35px; font-size: clamp(1.25rem, 2vw, 1.7rem); overflow-wrap: anywhere; text-decoration-color: #edb38b; }
.contact-place { font-size: .875rem; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 40px; }
.footer .brand { width: 105px; }
.footer p { font-size: .875rem; color: var(--muted); margin: 0; }
.footer > div { display: flex; gap: 22px; row-gap: 14px; flex-wrap: wrap; font-size: .875rem; }
.preview-notice { padding: 10px 20px; background: #e9e5d4; color: #5d5b4c; text-align: center; font-size: .8125rem; }
.skip { position: absolute; left: 10px; top: -100px; z-index: 20; background: white; padding: 10px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid #b95831; outline-offset: 5px; }
.legal { max-width: 850px; min-height: 70vh; }
.legal h1 { font-size: 3.6rem; }
.legal h2 { font-size: 1.9rem; margin-top: 35px; }
.legal .notice { padding: 20px; border-left: 3px solid var(--orange); background: var(--cream); }
.source-list li { margin-bottom: 22px; }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .header { gap: 20px; }
  .header .brand { width: 108px; }
  .header nav { gap: 16px; font-size: .875rem; }
  .hero { gap: 35px; }
  .hero-photo { height: 455px; }
  h1 { font-size: clamp(3.3rem, 5.7vw, 4.3rem); }
  .idea, .app-section, .community-section, .start-section { gap: 50px; }
  .section-heading { gap: 45px; }
  .partner-card { grid-template-columns: 180px minmax(0,1fr) 165px; column-gap: 25px; }
}
@media (max-width: 900px) {
  .header nav { gap: 12px; font-size: .8125rem; }
  .header .brand { width: 88px; }
  .hero { grid-template-columns: 1.05fr .95fr; gap: 25px; }
  .hero h1 { font-size: 3.2rem; }
  .harvest-story > div { padding: 32px; margin-left: -35px; }
  .partner-card { grid-template-columns: 180px minmax(0,1fr); row-gap: 22px; }
  .partner-portrait { grid-column: 1; grid-row: 1 / 3; }
  .partner-copy { grid-column: 2; }
  .partner-contact { grid-column: 2; padding-top: 0; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 60px; }
  .header { position: relative; padding-block: 16px; }
  .header .brand { width: 100px; }
  .menu-toggle { display: block; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 3px; padding: 7px 15px; font-size: 1rem; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 10; background: var(--paper); box-shadow: 0 8px 15px #0001; border: 1px solid var(--line); padding: 15px; }
  .header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header nav a { padding: 12px; font-size: 1rem; }
  .header .nav-contact { margin-top: 8px; border: 0; text-decoration: underline; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 45px; gap: 35px; }
  .hero h1 { font-size: clamp(2.9rem, 10.4vw, 4rem); }
  .hero-intro { margin-bottom: 22px; font-size: 1rem; }
  .hero .lead { font-size: 1.0625rem; }
  .actions { gap: 20px; margin-top: 26px; }
  .button { max-width: 100%; }
  .hero-visual { padding-bottom: 70px; }
  .hero-photo { height: 390px; border-radius: 45% 45% 3px 3px; }
  .photo-tag { left: -7px; bottom: 33px; font-size: 1.25rem; }
  .photo-caption { font-size: .75rem; }
  .values { flex-wrap: wrap; gap: 16px; padding-block: 20px; justify-content: flex-start; }
  .values span { min-width: 100%; gap: 15px; }
  .values img { width: 42px; height: 42px; }
  .idea { grid-template-columns: 1fr; gap: 25px; }
  .idea h2 { font-size: 2.8rem; margin: 0; max-width: 100%; }
  .idea-text { padding: 0; border: 0; }
  .large { font-size: 1.1875rem; }
  .harvest-story { grid-template-columns: 1fr; padding-bottom: 60px; }
  .harvest-story img { height: 370px; }
  .harvest-story > div { margin: 24px 0 0 20px; padding: 32px 28px; }
  .harvest-story h2 { font-size: 2.6rem; }
  .harvest-story figcaption { max-width: calc(100% - 30px); }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { max-width: 100%; margin-top: 22px; }
  .partner-section h2 { font-size: 3rem; }
  .partner-section .section-heading { margin-bottom: 30px; }
  .partner-card { display: flex; flex-direction: column; padding-block: 30px; gap: 22px; }
  .partner-portrait { width: 100%; }
  .partner-portrait > img { height: 330px; aspect-ratio: auto; object-position: 50% 15%; }
  .partner-portrait-speth > img { object-position: 50% 0%; }
  .partner-portrait-landlinie > img { object-position: 50% 15%; }
  .partner-portrait-lehnmuehle > img { object-position: 55% 50%; }
  .partner-brand { margin-bottom: 20px; }
  .partner-card h3 { font-size: 1.9rem; }
  .partner-location { margin: 6px 0 18px; }
  .partner-address { margin-top: 0; margin-bottom: 12px; font-size: .875rem; }
  .partner-card .text-link { margin-top: 0; font-size: 1rem; }
  .process-section h2 { font-size: 2.6rem; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps article { display: grid; grid-template-columns: 74px 1fr; column-gap: 16px; padding-top: 25px; }
  .step-icon { grid-column: 1; grid-row: 1 / 3; width: 74px; height: 74px; margin: 0; }
  .steps h3 { grid-column: 2; margin-bottom: 10px; font-size: 1.55rem; }
  .steps p { grid-column: 2; font-size: 1rem; }
  .app-section { grid-template-columns: 1fr; gap: 30px; }
  .app-section h2 { font-size: 2.75rem; }
  .app-preview { padding: 16px; }
  #app-panel { height: 300px; }
  .tabs { flex-wrap: wrap; }
  .video-section { grid-template-columns: 1fr; gap: 20px; padding-bottom: 60px; }
  .video-section h2 { font-size: 2.1rem; }
  .membership-section h2 { font-size: 2.9rem; }
  .membership-grid { grid-template-columns: 1fr; gap: 10px; }
  .membership-main { padding: 27px; }
  .membership-side article { padding-inline: 5px; }
  .membership-side .support { margin-top: 0; padding-top: 28px; }
  .community-section { grid-template-columns: 1fr; gap: 28px; padding-bottom: 60px; }
  .community-section h2 { font-size: 3.4rem; }
  .community-section img { height: auto; aspect-ratio: 4 / 3; }
  .community-section figure { transform: none; }
  .start-section { grid-template-columns: 1fr; gap: 20px; }
  .start-section h2 { max-width: 100%; font-size: 2.7rem; margin-bottom: 20px; }
  .join-steps li { padding-block: 20px; }
  .faq { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .faq h2 { font-size: 2.3rem; }
  .contact-section { padding-block: 60px; }
  .contact-section > .wrap { display: block; }
  .contact-section h2 { font-size: 3.7rem; margin-bottom: 28px; }
  .contact-mail { display: inline-block; font-size: 1.3rem; margin-block: 20px 30px; }
  .footer { flex-wrap: wrap; align-items: flex-start; padding-block: 30px; gap: 25px; }
  .footer p { max-width: 180px; }
  .footer > div { width: 100%; border-top: 1px solid var(--line); padding-top: 20px; gap: 20px; }
  .legal h1 { font-size: 2.6rem; }
  .legal h2 { font-size: 1.8rem; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2.2rem, 10.2vw, 2.8rem); }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .hero-photo { height: 330px; }
  .hero-intro { font-size: .875rem; }
  .photo-tag { left: 0; }
  .photo-caption { position: static; display: block; margin-top: 12px; }
  .hero-visual { padding-bottom: 25px; }
  .harvest-story > div { margin-left: 10px; padding: 28px 22px; }
  .membership-main { padding: 22px; }
  .contact-mail { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}

/* WordPress layout and enlarged authentic app views. */
.home-content > .wp-block-group { margin-block: 0; }
.wp-block-group { box-sizing: border-box; }
.app-section { display: block; }
.app-copy { max-width: 850px; margin-bottom: 40px; }
.app-preview { max-width: 960px; margin-inline: auto; }
.preview-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; }
.preview-top > span, .tabs { margin-bottom: 15px; }
#app-panel { height: auto; max-height: 660px; overflow: auto; overscroll-behavior: contain; }
#app-image { width: 100%; min-width: 650px; max-width: none; }
#app-panel[data-view="shop"] #app-image { margin-top: min(-29%, -188.5px); }
.app-preview .small-note { margin-top: 15px; margin-bottom: 8px; }
.admin-bar .header { margin-top: 0; }
.editor-styles-wrapper { font-family: "DM Sans",sans-serif; }
.editor-styles-wrapper .wp-block { max-width: 1240px; }
@media(max-width:760px) { .app-preview { padding: 12px; } #app-panel { max-height: 520px; } }
