:root {
  color: #f6eedf;
  background: #17140f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top left, #4d451f 0, #17140f 36rem); }
body.modalOpen { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { border: 0; border-radius: 999px; background: #d7a943; color: #17140f; padding: 0.9rem 1.35rem; font-weight: 750; cursor: pointer; }
button.secondary { background: rgba(246, 238, 223, 0.1); color: #f6eedf; border: 1px solid rgba(246, 238, 223, 0.22); }
input, textarea, select { width: 100%; border: 1px solid rgba(246, 238, 223, 0.22); border-radius: 1rem; background: rgba(255, 255, 255, 0.06); color: #f6eedf; padding: 0.9rem 1rem; }
textarea { min-height: 6rem; resize: vertical; }
select option { color: #17140f; }

.hero { min-height: 34rem; display: grid; align-items: end; padding: 5rem clamp(1.2rem, 5vw, 6rem); background: linear-gradient(130deg, rgba(0,0,0,0.2), rgba(0,0,0,0.72)), radial-gradient(circle at 80% 20%, #73702e 0, transparent 22rem); border-bottom: 1px solid rgba(215, 169, 67, 0.25); }
.hero h1 { max-width: 65rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.9; margin: 0; letter-spacing: -0.06em; }
.heroText, .lead { max-width: 52rem; color: #d7c7a8; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.55; }
.eyebrow { color: #d7a943; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

.chapter, .panel, .workspace, .results, .notice { padding: clamp(1.2rem, 5vw, 6rem); }
.chapter h2, .formCard h2, .resultCard h2, .notice h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 5vw, 4.6rem); line-height: 1; margin: 0 0 1.5rem; letter-spacing: -0.04em; }
.chapter p, .infoCard p, .formCard p, .resultCard p { color: #d7c7a8; line-height: 1.65; }
.dark { background: #211d14; }
.light { background: #eee3ce; color: #17140f; }
.light p { color: #504936; }
.kitchen { background: linear-gradient(180deg, #2f351e, #17140f); }
.process { background: #17140f; }
.aroma { background: radial-gradient(circle at 12% 18%, rgba(215,169,67,0.2), transparent 20rem), linear-gradient(160deg, #26301d, #17140f 70%); }
.costs { background: linear-gradient(150deg, #efe2c8, #bba262); color: #17140f; }
.costs p { color: #4e432e; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr); gap: 3rem; align-items: center; }
.quote { color: #d7a943; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 5rem); line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.infoCard, .formCard, .resultCard, .panel { background: rgba(255,255,255,0.065); border: 1px solid rgba(246,238,223,0.14); border-radius: 1.6rem; padding: 1.4rem; box-shadow: 0 1.4rem 3rem rgba(0,0,0,0.25); }
.infoCard h3 { color: #fff6df; margin-top: 0; }
.clickableCard { display: block; width: 100%; color: inherit; text-align: left; border-radius: 1.6rem; }
.clickableCard:hover, .clickableCard:focus-visible { transform: translateY(-2px); outline: 1px solid rgba(215, 169, 67, 0.75); background: linear-gradient(150deg, rgba(215,169,67,0.14), rgba(255,255,255,0.08)); }
.clickableCard span { color: #d7a943; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.light .infoCard { background: rgba(23,20,15,0.06); border-color: rgba(23,20,15,0.12); }
.light .infoCard h3 { color: #17140f; }
.light .clickableCard { color: #17140f; }
.light .clickableCard p { color: #504936; }
.light .clickableCard:hover, .light .clickableCard:focus-visible { background: linear-gradient(150deg, rgba(215,169,67,0.28), rgba(23,20,15,0.04)); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 2rem 0; }
.timelineStep { min-height: 10rem; display: grid; align-content: start; gap: 0.6rem; border: 1px solid rgba(215, 169, 67, 0.35); border-top: 3px solid #d7a943; border-radius: 1.2rem; padding: 1rem; background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(215,169,67,0.08)); color: #f6eedf; text-align: left; box-shadow: 0 1rem 2.2rem rgba(0,0,0,0.18); }
.timelineStep:hover, .timelineStep:focus-visible { transform: translateY(-2px); outline: 1px solid rgba(215, 169, 67, 0.75); background: linear-gradient(150deg, rgba(215,169,67,0.2), rgba(255,255,255,0.08)); }
.timelineStep span { color: #d7a943; font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; line-height: 1; }
.timelineStep strong { font-size: 1.15rem; }
.timelineStep small { color: #d7c7a8; line-height: 1.45; }
.costCards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.costCard { display: grid; gap: 1rem; align-content: start; min-height: 26rem; border: 1px solid rgba(23,20,15,0.16); border-radius: 1.7rem; background: rgba(255,255,255,0.38); padding: 1.35rem; box-shadow: 0 1.5rem 3rem rgba(47,38,18,0.16); }
.costCard .eyebrow { color: #6e5515; }
.costCard h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -0.04em; }
.costRows { display: grid; gap: 0.55rem; }
.costRows div { display: grid; gap: 0.2rem; border-radius: 1rem; background: rgba(23,20,15,0.08); padding: 0.8rem; }
.costRows span { color: #6e6046; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.costRows strong { color: #17140f; font-size: 1.3rem; }

.modalBackdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(8, 7, 5, 0.78); backdrop-filter: blur(12px); }
.processModal { width: min(64rem, 100%); max-height: min(54rem, 92vh); overflow: auto; border: 1px solid rgba(215, 169, 67, 0.45); border-radius: 2rem; padding: clamp(1.2rem, 4vw, 3rem); background: radial-gradient(circle at top right, rgba(115,112,46,0.32), transparent 22rem), #1f1a12; box-shadow: 0 2rem 6rem rgba(0,0,0,0.55); }
.processModal h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; margin: 0 0 1rem; letter-spacing: -0.05em; }
.processModal h3 { color: #d7a943; margin-top: 0; }
.processModal ul { margin: 0; padding-left: 1.1rem; color: #d7c7a8; line-height: 1.6; }
.processModal li + li { margin-top: 0.65rem; }
.modalLead { max-width: 44rem; color: #f6eedf; font-size: 1.2rem; line-height: 1.55; }
.modalGrid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 1rem; margin-top: 2rem; }
.modalGrid > div { border-radius: 1.35rem; background: rgba(255,255,255,0.065); border: 1px solid rgba(246,238,223,0.14); padding: 1.2rem; }
.modalGrid > div:last-child { grid-column: 1 / -1; }
.gradeGrid > div:last-child { grid-column: auto; }
.aromaGrid > div:last-child { grid-column: auto; }
.kitchenGrid > div:last-child { grid-column: auto; }
.costBox { background: linear-gradient(160deg, rgba(215,169,67,0.2), rgba(255,255,255,0.055)) !important; }
.costBox p { color: #fff6df; font-size: 1.05rem; }
.closeButton { float: right; background: rgba(246, 238, 223, 0.1); color: #f6eedf; border: 1px solid rgba(246, 238, 223, 0.22); }
.modalTags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modalTags span { border-radius: 999px; background: rgba(215,169,67,0.14); border: 1px solid rgba(215,169,67,0.25); color: #fff6df; padding: 0.45rem 0.7rem; }
.comparisonWrap { margin-top: 1.2rem; }
.comparisonWrap h3 { color: #d7a943; }
.comparisonTable { min-width: 58rem; border: 1px solid rgba(246,238,223,0.14); border-radius: 1.2rem; overflow: clip; }
.comparisonWrap { overflow-x: auto; padding-bottom: 0.4rem; }
.comparisonRow { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); }
.comparisonRow > div { padding: 0.75rem 0.85rem; border-top: 1px solid rgba(246,238,223,0.1); color: #d7c7a8; line-height: 1.35; }
.comparisonRow > div:first-child { color: #fff6df; font-weight: 750; background: rgba(255,255,255,0.035); }
.comparisonHead > div { border-top: 0; color: #d7a943; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.comparisonRow .activeColumn { background: rgba(215,169,67,0.17); color: #fff6df; }
.comparisonHead .activeColumn { color: #17140f; background: #d7a943; }
.comparisonRow.activeRow > div { background: rgba(215,169,67,0.2); color: #fff6df; }
.comparisonRow.activeRow > div:first-child { background: #d7a943; color: #17140f; }

.login { margin: -3rem clamp(1.2rem, 5vw, 6rem) 2rem; position: relative; }
.login label { display: block; margin-bottom: 0.5rem; color: #d7a943; }
.workspace { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1.5rem; padding-top: 0; }
.oilNav { display: flex; flex-direction: column; gap: 0.5rem; position: sticky; top: 1rem; align-self: start; }
.oilNav button { text-align: left; border-radius: 1rem; background: rgba(255,255,255,0.08); color: #f6eedf; }
.oilNav button.active { background: #d7a943; color: #17140f; }
.fieldset { border-top: 1px solid rgba(246,238,223,0.17); padding-top: 1rem; margin-top: 1.5rem; }
.fieldset h3 { color: #d7a943; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.checks strong { width: 100%; color: #d7a943; }
.checks label { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.07); }
.checks input { width: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.slider { display: grid; gap: 0.5rem; margin: 0.7rem 0; }
.slider input { padding: 0; }
.message { color: #d7a943; font-weight: 750; }

.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin: 1rem 0; }
.metrics div { border-radius: 1rem; background: rgba(215,169,67,0.12); padding: 0.8rem; }
.metrics strong { display: block; color: #d7a943; font-size: 1.7rem; }
.metrics span { color: #d7c7a8; }
.tagBlock { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; align-items: center; }
.tagBlock strong { width: 100%; color: #d7a943; }
.tagBlock span { border-radius: 999px; background: rgba(255,255,255,0.08); padding: 0.42rem 0.65rem; }
.tagBlock em { color: #d7a943; font-style: normal; }
.learning { border-left: 3px solid #d7a943; padding-left: 1rem; }
.detail { min-height: 24rem; }
.notice { min-height: 100vh; display: grid; align-content: center; }
.adminArea { padding: clamp(1.2rem, 5vw, 6rem); background: #211d14; }
.adminLogin { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(14rem, 1fr) auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.panelToolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.panelToolbar label { display: grid; gap: 0.5rem; color: #d7a943; }
.panelToolbar button { justify-self: end; }
.cardHeading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cardHeading h2 { margin-bottom: 0; }
.adminModal form { display: grid; gap: 0.8rem; }
.adminLogin label, .adminForm { display: grid; gap: 0.5rem; color: #d7a943; }
.adminGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.adminGrid form { display: grid; gap: 0.75rem; }
.participantList, .adminOilList { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.qrCard { display: grid; grid-template-columns: 7rem 1fr; gap: 0.8rem; align-items: center; border-top: 1px solid rgba(246,238,223,0.14); padding-top: 0.8rem; }
.qrCard img { display: block; width: 6.5rem; height: 6.5rem; border-radius: 0.7rem; }
.qrCard p { margin: 0; }
.qrCard small { color: #d7a943; }
.qrCard a { grid-column: 2; color: #d7a943; font-size: 0.85rem; }
.compactButton { grid-column: 2; justify-self: start; padding: 0.45rem 0.8rem; font-size: 0.8rem; }
.adminTabs { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; }
.adminTabs button { background: rgba(255,255,255,0.08); color: #f6eedf; }
.adminTabs button.active { background: #d7a943; color: #17140f; }
.invitation { margin: 0 0 1.5rem; }
.invitation img { display: block; width: min(15rem, 100%); margin: 1rem 0; border-radius: 1rem; }
.invitation a { color: #d7a943; overflow-wrap: anywhere; }
.researchPreview { margin-top: 1.2rem; border-top: 1px solid rgba(246,238,223,0.16); padding-top: 1rem; }
.researchPreview h3 { color: #d7a943; }
.researchPreview a { color: #d7a943; overflow-wrap: anywhere; }
.imageInputs { display: grid; gap: 0.65rem; border: 1px solid rgba(215,169,67,0.32); border-radius: 1rem; padding: 1rem; }
.imageInputs label { display: grid; gap: 0.35rem; color: #d7a943; font-size: 0.9rem; }
.imageInputs input[type="file"] { padding: 0.5rem; }
.imageSource { display: grid; gap: 0.45rem; border-top: 1px solid rgba(246,238,223,0.12); padding-top: 0.65rem; }
.oilEditor { display: grid; gap: 0.8rem; }
.oilEditor button:disabled { cursor: wait; opacity: 0.55; }
.status { margin: 0; border-left: 3px solid #d7a943; color: #d7a943; font-weight: 750; padding-left: 0.7rem; }
.processModal.adminModal { position: relative; }
.processModal.adminModal > .closeButton { position: absolute; top: 1.25rem; right: 1.25rem; }
.editButton { position: absolute; top: 1.25rem; right: 9.25rem; background: transparent; color: #d7a943; font-size: 1.55rem; padding: 0.35rem 0.55rem; }
.oilProfile { display: grid; gap: 0.7rem; }
.oilProfile h3 { color: #d7a943; margin: 1rem 0 0; }
.oilProfile p { margin: 0; color: #d7c7a8; line-height: 1.55; }
.imageGallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.imageGallery figure { margin: 0; }
.imageGallery img { display: block; width: 100%; aspect-ratio: 1 / 1.2; object-fit: cover; border-radius: 0.8rem; border: 1px solid rgba(215,169,67,0.35); }
.imageGallery figcaption { color: #d7a943; font-size: 0.75rem; margin-top: 0.3rem; }
.authPanel { width: min(32rem, calc(100% - 2.4rem)); margin: -3rem auto 4rem; position: relative; background: #221d15; }
.authPanel form { display: grid; gap: 0.8rem; }
.authLinks { margin-top: 1rem; }
.authSubform { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(246,238,223,0.14); display: grid; gap: 0.8rem; }
button.textButton { padding: 0; border: 0; border-radius: 0; background: transparent !important; color: #d7a943 !important; }
.compactActions { margin-top: 0.2rem; }
.profile { position: fixed; z-index: 10; top: 1rem; right: 1rem; display: flex; align-items: center; gap: 0.6rem; max-width: calc(100vw - 2rem); border: 1px solid rgba(246,238,223,0.2); border-radius: 999px; background: rgba(23,20,15,0.88); backdrop-filter: blur(10px); padding: 0.45rem 0.55rem 0.45rem 0.9rem; box-shadow: 0 0.7rem 2rem rgba(0,0,0,0.25); }
.profile strong { font-size: 0.85rem; }
.profile .profileEmail { color: #d7c7a8; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile .labelShort { display: none; }
.configHint { color: #d7c7a8; line-height: 1.5; margin: 0; }

@media (max-width: 900px) {
  .cards, .cards.four, .timeline, .costCards, .workspace, .results, .split, .grid2, .modalGrid { grid-template-columns: 1fr; }
  .adminLogin, .panelToolbar, .adminGrid { grid-template-columns: 1fr; }
  .panelToolbar button { justify-self: start; }
  .qrCard a { grid-column: auto; }
  .compactButton { grid-column: auto; }
  .adminTabs { overflow-x: auto; }
  .profile .profileEmail, .profile .labelFull { display: none; }
  .profile .labelShort { display: inline; }
  .hero { min-height: 28rem; }
  .oilNav { position: static; }
  .modalGrid > div:last-child { grid-column: auto; }
  .processModal { border-radius: 1.3rem; }
  .imageGallery { grid-template-columns: 1fr; }
}
.marketFacts { margin-top: 1.5rem; border-radius: 1.4rem; background: rgba(23,20,15,0.08); border: 1px solid rgba(23,20,15,0.16); padding: 1.2rem 1.4rem; }
.marketFacts h3 { margin-top: 0; }
.marketFacts p, .marketFacts li { color: #4e432e; line-height: 1.55; }
.marketFacts a { color: #6e5515; overflow-wrap: anywhere; }
.processModal a { color: #d7a943; overflow-wrap: anywhere; }

/* Verkostung: Skalen, Ölstatus, Aktionsleiste */
.scale { border: 0; padding: 0; margin: 0.8rem 0; min-width: 0; }
.scale legend { padding: 0; margin-bottom: 0.45rem; color: #f6eedf; }
.scaleOptions { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.35rem; }
.scaleOptions button { min-height: 2.75rem; padding: 0.5rem 0; border-radius: 0.8rem; background: rgba(255,255,255,0.07); color: #f6eedf; border: 1px solid rgba(246,238,223,0.18); }
.scaleOptions button.active { background: #d7a943; color: #17140f; border-color: #d7a943; }
.scaleHint { margin: 1rem 0 0; color: #a99a7c !important; font-size: 0.85rem; }
.oilState { margin-left: 0.45rem; font-weight: 900; }
.tastingActions { margin-top: 1.5rem; }
.tastingActions .message { margin: 0 0 0.6rem; }
.tastingActions .actions { margin-top: 0; }
button:disabled { opacity: 0.6; cursor: wait; }

@media (max-width: 900px) {
  .profile { position: absolute; gap: 0.4rem; padding-left: 0.8rem; }
  .profile strong { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile button { white-space: nowrap; padding: 0.4rem 0.65rem; }
  .hero.compact { min-height: 0; padding: 4.5rem 1.2rem 1.4rem; }
  .hero.compact h1 { font-size: 2.4rem; line-height: 1; letter-spacing: -0.04em; }
  .hero.compact .heroText { font-size: 1rem; margin: 0.8rem 0 0; }
  .hero.compact .actions { margin-top: 1rem; }
  .hero.compact .actions button { padding: 0.6rem 1rem; font-size: 0.9rem; }
  .workspace { padding: 0 0 1rem; gap: 0; }
  .oilNav { position: sticky; top: 0; z-index: 5; flex-direction: row; overflow-x: auto; gap: 0.45rem; padding: 0.6rem 1rem; background: rgba(23,20,15,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(246,238,223,0.12); scrollbar-width: none; }
  .oilNav::-webkit-scrollbar { display: none; }
  .oilNav button { flex: 0 0 auto; white-space: nowrap; padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .workspace .formCard { border-radius: 0; border-left: 0; border-right: 0; padding: 1.2rem 1rem 0; box-shadow: none; scroll-margin-top: 3.6rem; }
  .workspace .formCard h2 { font-size: 2.2rem; margin-bottom: 0.6rem; }
  .tastingActions { position: sticky; bottom: 0; z-index: 4; margin: 1.2rem -1rem 0; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(31,26,18,0.97); border-top: 1px solid rgba(246,238,223,0.14); }
  .tastingActions .actions { flex-wrap: nowrap; gap: 0.5rem; }
  .tastingActions button { flex: 1; padding: 0.8rem 0.4rem; white-space: nowrap; }
}

/* Auswertung */
.resultNav { display: none; }
.resultCard > .textButton { margin-top: 0.8rem; }
.emptyResult { color: #a99a7c !important; font-style: italic; }
.metricBars { display: grid; gap: 0.55rem; margin: 1rem 0; }
.metricBar { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.2rem; align-items: center; gap: 0.7rem; }
.metricBar span { color: #d7c7a8; font-size: 0.9rem; }
.metricBar strong { color: #d7a943; text-align: right; font-variant-numeric: tabular-nums; }
.metricTrack { height: 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.metricTrack div { height: 100%; border-radius: 999px; background: #d7a943; }
.noteList { margin: 1rem 0; }
.noteList strong { color: #d7a943; }
.noteList ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: #d7c7a8; line-height: 1.5; }

@media (max-width: 900px) {
  .resultNav { display: flex; }
  .results { padding: 0.8rem 1rem 2rem; gap: 0.8rem; }
  .resultCard { padding: 1.1rem 1rem; scroll-margin-top: 3.8rem; }
  .resultCard h2 { font-size: 2rem; margin-bottom: 0.4rem; }
  .metricBar { grid-template-columns: 7.8rem minmax(0, 1fr) 2rem; gap: 0.5rem; }
  .metricBar span { font-size: 0.82rem; }
}

/* Öl-Details */
.oilFacts { padding: clamp(1.2rem, 5vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 60rem; }
.oilFacts > * { min-width: 0; }
.oilFacts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.8rem; margin: 0; }
.oilFacts dl div { border-radius: 1rem; background: rgba(255,255,255,0.065); border: 1px solid rgba(246,238,223,0.14); padding: 0.8rem 1rem; }
.oilFacts dt { color: #d7a943; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.oilFacts dd { margin: 0.3rem 0 0; color: #f6eedf; }
.oilFactText h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; margin: 0 0 0.8rem; }
.oilFactText p:last-child { color: #d7c7a8; line-height: 1.65; }
.oilPager { display: flex; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; border-top: 1px solid rgba(246,238,223,0.14); padding-top: 1.2rem; }
.oilPager button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fieldLabel { display: grid; gap: 0.35rem; color: #d7a943; font-size: 0.9rem; }

@media (max-width: 900px) {
  .oilFacts { padding: 1.2rem 1rem 2rem; gap: 1.2rem; }
  .oilFacts dl { grid-template-columns: 1fr; gap: 0.5rem; }
  .oilPager { flex-direction: column; }
  .oilPager button { width: 100%; text-align: left; }
  .oilPager span { display: none; }
}

/* Präsentation: Kapitel-Navigation, Modals und Tabellen auf dem Handy */
.chapterNav { position: sticky; top: 0; z-index: 6; display: flex; flex-direction: row; gap: 0.45rem; overflow-x: auto; padding: 0.6rem clamp(1rem, 5vw, 6rem); background: rgba(23,20,15,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(246,238,223,0.12); scrollbar-width: none; }
.chapterNav::-webkit-scrollbar { display: none; }
.chapterNav button { flex: 0 0 auto; white-space: nowrap; padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.chapter { scroll-margin-top: 3.4rem; }
.comparisonRow > div:first-child { position: sticky; left: 0; z-index: 1; background: #26211a; }
.comparisonRow.activeRow > div:first-child { background: #d7a943; }

@media (max-width: 900px) {
  .modalBackdrop { padding: 0; place-items: stretch; }
  .processModal { width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; padding: 0 1rem 2rem; }
  .processModal .closeButton, .processModal.adminModal > .closeButton { position: sticky; top: 0; z-index: 3; float: none; display: block; margin: 0 -1rem 0.8rem auto; width: calc(100% + 2rem); border-radius: 0; border: 0; border-bottom: 1px solid rgba(246,238,223,0.14); background: rgba(31,26,18,0.97); text-align: right; padding: 0.9rem 1rem; }
  .processModal.adminModal > .closeButton { right: auto; }
  .editButton { top: 0.35rem; right: auto; left: 0.4rem; z-index: 4; position: absolute; }
  .processModal h2 { font-size: 2.2rem; }
  .modalLead { font-size: 1.05rem; }
  .modalGrid { gap: 0.7rem; margin-top: 1.2rem; }
  .comparisonTable { min-width: 40rem; }
  .comparisonRow { grid-template-columns: 8rem repeat(4, minmax(0, 1fr)); }
  .comparisonRow > div { padding: 0.6rem 0.6rem; font-size: 0.88rem; }
  .costCard { min-height: 0; }
  .costCards, .history .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.7rem; margin-left: -1.2rem; margin-right: -1.2rem; padding: 0 1.2rem 0.6rem; scroll-padding: 0 1.2rem; }
  .costCards > *, .history .cards > * { flex: 0 0 82%; scroll-snap-align: start; }
  .costRows div { grid-template-columns: 1fr auto; align-items: baseline; }
  .costRows strong { font-size: 1.05rem; text-align: right; }
  .timeline { gap: 0.5rem; margin: 1.2rem 0; }
  .timelineStep { min-height: 0; grid-template-columns: 2.2rem 1fr; column-gap: 0.7rem; row-gap: 0.25rem; padding: 0.85rem; }
  .timelineStep span { grid-row: span 2; font-size: 1.9rem; }
  .cards { gap: 0.6rem; }
  .infoCard { padding: 1.1rem; }
  .infoCard h3 { margin-bottom: 0.4rem; }
  .infoCard p { margin: 0 0 0.5rem; }
}
.comparisonRow > div { overflow-wrap: break-word; }
.comparisonWrap h3 { position: sticky; left: 0; width: fit-content; }

/* Admin: Listenzeilen, Meldung, Einladung */
.adminRow { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.8rem 0; border-top: 1px solid rgba(246,238,223,0.1); }
.adminRowText { display: grid; gap: 0.15rem; min-width: 0; }
.adminRowText strong { color: #f6eedf; }
.adminRowText span { color: #d7c7a8; font-size: 0.9rem; overflow-wrap: anywhere; }
.adminRowText small { color: #d7a943; font-size: 0.8rem; }
.adminRowActions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem; flex-shrink: 0; }
.adminRowActions .compactButton { grid-column: auto; }
.cardHeading { margin-bottom: 0.6rem; }
.adminToast { position: sticky; bottom: 0.8rem; z-index: 8; display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; padding: 0.7rem 0.8rem 0.7rem 1rem; border-radius: 1rem; background: #2b2419; border: 1px solid rgba(215,169,67,0.5); box-shadow: 0 1rem 2rem rgba(0,0,0,0.4); }
.adminToast .message { margin: 0; flex: 1; overflow-wrap: anywhere; }
.message { overflow-wrap: anywhere; }
.invitation img { display: block; width: min(18rem, 100%); margin: 0.8rem auto; border-radius: 1rem; }
.invitation > p { color: #d7c7a8; line-height: 1.5; }

@media (max-width: 900px) {
  .adminArea { padding: 1rem 1rem 2rem; }
  .adminTabs { gap: 0.35rem; scrollbar-width: none; }
  .adminTabs::-webkit-scrollbar { display: none; }
  .adminTabs button { flex: 0 0 auto; padding: 0.55rem 0.8rem; font-size: 0.88rem; }
  .adminRow { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .adminRowActions { justify-content: flex-start; }
  .adminArea .formCard { padding: 1rem; }
  .adminArea .formCard h2 { font-size: 1.8rem; }
}
.checkLabel { display: flex !important; align-items: center; gap: 0.6rem; color: #f6eedf !important; }
.checkLabel input { width: auto; }
@media (max-width: 360px) { .profile.hasAdmin strong { display: none; } }
