/* ARÍON – Olivenöl-Shop. Aesthetik: editorial, mediterran, ruhig.
   Display: Fraunces (Serif, charaktervoll). Body: Outfit (klar).
   Palette: Olivgrün, warmes Creme, tiefes Anthrazit, Akzent Terrakotta. */

:root {
    --olive: #4a5d3a;
    --olive-deep: #2f3d24;
    --cream: #f4f0e6;
    --cream-card: #fbf9f3;
    --ink: #23271e;
    --terracotta: #b5613b;
    --gold: #c8a24a;
    --line: #ddd6c4;
    --max: 1180px;
    --r: 14px;
    --shadow: 0 18px 50px -28px rgba(47,61,36,.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.08; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* --- Header --- */
header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244,240,230,.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand span { font-family: "Fraunces", serif; font-size: 1.45rem; letter-spacing: .08em; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: .94rem; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.lang-switch { display: flex; gap: 8px; font-size: .82rem; letter-spacing: .05em; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; opacity: .55; }
.lang-switch a.active { background: var(--olive); color: var(--cream); opacity: 1; }

/* --- Hero --- */
.hero {
    position: relative; min-height: 78vh; display: flex; align-items: flex-end;
    color: var(--cream); overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(35,39,30,.30) 0%, rgba(35,39,30,.78) 100%);
}
.hero img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -1;
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 64px; }
.hero-kicker {
    text-transform: uppercase; letter-spacing: .26em; font-size: .85rem;
    font-weight: 500; color: #f0d488; margin-bottom: 18px;
    text-shadow: 0 1px 8px rgba(35,39,30,.85), 0 0 2px rgba(35,39,30,.6);
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 18px; }
.hero p { font-size: 1.2rem; max-width: 540px; opacity: .92; }
.btn {
    display: inline-block; margin-top: 30px; padding: 15px 34px;
    background: var(--terracotta); color: var(--cream);
    border-radius: 50px; font-weight: 500; letter-spacing: .02em;
    border: none; cursor: pointer; font-size: 1rem;
    transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #9c5232; }

/* --- Produkte --- */
section { padding: 92px 0; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 48px; text-align: center; }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.card {
    background: var(--cream-card); border: 1px solid var(--line);
    border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.card-img { aspect-ratio: 4/3; background: #e8e2d2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.5rem; }
.card .vol { color: var(--olive); font-size: .9rem; letter-spacing: .04em; margin: 4px 0 14px; }
.card .desc { font-size: .96rem; opacity: .85; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 6px; }
.price { font-family: "Fraunces", serif; font-size: 1.8rem; }
.price-note { font-size: .76rem; opacity: .6; line-height: 1.4; margin-bottom: 16px; }

/* Health-Claim Block */
.claim {
    margin-top: 18px; padding: 18px 20px; border-left: 3px solid var(--gold);
    background: rgba(200,162,74,.08); border-radius: 0 8px 8px 0;
}
.claim .claim-title { font-family: "Fraunces", serif; font-size: .98rem; margin-bottom: 6px; }
.claim .claim-text { font-size: .86rem; opacity: .9; }
.claim .claim-proof { font-size: .76rem; opacity: .62; margin-top: 8px; font-style: italic; }

/* --- Story-Sektionen --- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.rev .feature-img { order: 2; }
.feature + .feature { margin-top: 80px; }
.feature-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/2; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.feature p { opacity: .85; }
.alt { background: var(--olive-deep); color: var(--cream); }
.alt .feature p { opacity: .8; }

/* --- Footer --- */
footer { background: var(--ink); color: var(--cream); padding: 54px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; }
.footer-links a { opacity: .75; }
.footer-links a:hover { opacity: 1; }
.footer-meta { font-size: .82rem; opacity: .55; margin-top: 24px; }

/* --- Sprachbanner --- */
.lang-banner {
    display: none; background: var(--olive); color: var(--cream);
    text-align: center; padding: 10px; font-size: .9rem;
}
.lang-banner a { text-decoration: underline; }

@media (max-width: 820px) {
    .products { grid-template-columns: 1fr; }
    .feature, .feature.rev .feature-img { grid-template-columns: 1fr; order: 0; }
    .feature-img { order: -1 !important; }
    .nav-links { display: none; }
}

/* ===== Checkout: Warenkorb-Drawer + Bestellübersicht ===== */
#cartToggle {
    display: none; background: var(--olive); color: var(--cream);
    border: none; padding: 9px 18px; border-radius: 50px; cursor: pointer;
    font-size: .9rem; font-family: inherit;
}
.cart-overlay {
    position: fixed; inset: 0; background: rgba(35,39,30,.5);
    opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw;
    background: var(--cream); z-index: 100; box-shadow: -10px 0 40px -20px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center;
    padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.3rem; }
.cart-head button { background: none; border: none; font-size: 1.6rem; cursor: pointer; line-height: 1; color: var(--ink); }
#cartBody { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty { opacity: .6; text-align: center; margin-top: 40px; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
    padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row-name { font-size: .95rem; }
.cart-row-price { font-family: "Fraunces", serif; }
.cart-qty { display: flex; align-items: center; gap: 10px; }
.cart-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--cream-card); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.cart-ship { margin-top: 20px; }
.cart-ship label { display: block; font-size: .85rem; opacity: .7; margin-bottom: 6px; }
.cart-ship select { width: 100%; padding: 10px; border: 1px solid var(--line);
    border-radius: 8px; background: var(--cream-card); font-family: inherit; font-size: .95rem; }
#cartFooter { padding: 20px 24px; border-top: 1px solid var(--line); }
.cart-sum { font-size: .92rem; }
.cart-sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.cart-sum .tot { font-family: "Fraunces", serif; font-size: 1.2rem; margin-top: 8px;
    padding-top: 10px; border-top: 1px solid var(--line); }
#toCheckout { width: 100%; margin-top: 16px; padding: 14px; }

/* Bestellübersicht-Modal */
.review-modal {
    position: fixed; inset: 0; background: rgba(35,39,30,.6);
    display: none; align-items: center; justify-content: center; z-index: 120; padding: 20px;
}
.review-modal.open { display: flex; }
.review-card { background: var(--cream); border-radius: var(--r); max-width: 440px; width: 100%;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }
.review-head { display: flex; justify-content: space-between; align-items: center;
    padding: 22px 26px; border-bottom: 1px solid var(--line); }
.review-head h3 { font-size: 1.35rem; }
.review-head button { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.review-content { padding: 22px 26px; }
.review-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.review-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.review-table td.r { text-align: right; font-family: "Fraunces", serif; }
.review-table .sub td { opacity: .8; }
.review-table .tot td { font-family: "Fraunces", serif; font-size: 1.15rem;
    border-bottom: none; padding-top: 14px; }
.review-note { font-size: .78rem; opacity: .6; margin-top: 12px; }
.review-foot { padding: 0 26px 26px; }
#paypalButtons { margin-top: 8px; }
.review-error { display: none; background: #f3d8cf; color: #8a2c12; padding: 10px 14px;
    border-radius: 8px; font-size: .88rem; margin: 12px 26px 0; }
.legal-hint { font-size: .76rem; opacity: .6; padding: 0 26px 16px; line-height: 1.5; }
.thankyou { text-align: center; padding: 30px 0; }
.thankyou h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--olive); }
.pickup-box { margin-top: 12px; padding: 12px 14px; background: rgba(74,93,58,.08);
    border-radius: 8px; font-size: .88rem; line-height: 1.5; }
.pickup-box .pickup-hint { opacity: .7; font-size: .82rem; }

/* ===== Rechtsseiten ===== */
.legal-page { padding: 70px 0 90px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal-page p { margin-bottom: 12px; opacity: .9; }
.legal-page ul { margin: 0 0 12px 20px; }
