:root {
    --bg: #f3efe4;
    --paper: rgba(255, 255, 255, .86);
    --paper-solid: #fffdf8;
    --ink: #2b241c;
    --muted: #6e665c;
    --brown: #754522;
    --brown-deep: #4c2c18;
    --honey: #d7a83d;
    --honey-soft: #f3d98e;
    --sage: #798b58;
    --line: rgba(78, 52, 32, .12);
    --shadow: 0 28px 70px rgba(76, 44, 24, .16);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 15%, rgba(243, 217, 142, .72), transparent 30rem),
        radial-gradient(circle at 90% 8%, rgba(121, 139, 88, .20), transparent 26rem),
        linear-gradient(135deg, #f6f1e5 0%, #eee6d2 100%);
    overflow-x: hidden;
}
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
    opacity: .45;
    animation: floatGlow 13s ease-in-out infinite alternate;
}
body::before { width: 22rem; height: 22rem; left: -8rem; top: 40%; background: rgba(215,168,61,.20); }
body::after { width: 18rem; height: 18rem; right: -6rem; top: 12%; background: rgba(121,139,88,.16); animation-delay: -4s; }
.newsletter-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 18px;
}
.newsletter-shell {
    width: min(940px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.50);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    animation: cardIn .7s cubic-bezier(.2,.8,.2,1) both;
}
.newsletter-visual {
    min-height: 500px;
    position: relative;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(160deg, rgba(80,47,23,.08), rgba(255,255,255,.05)),
        url('/sonnenblume.jpg') center/cover no-repeat;
    isolation: isolate;
}
.newsletter-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,27,18,.12), rgba(35,27,18,.68));
    z-index: -1;
}
.brand-chip {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    background: rgba(30,24,18,.34);
    border: 1px solid rgba(255,255,255,.28);
    padding: 9px 13px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.brand-chip img { width: 26px; height: 26px; object-fit: contain; border-radius: 7px; }
.visual-copy { color: white; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.visual-copy .eyebrow { color: #ffe8a8; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.visual-copy h1 { margin: 10px 0 12px; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: .98; letter-spacing: -.04em; }
.visual-copy p { margin: 0; max-width: 32rem; font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,.88); }
.newsletter-card {
    padding: 46px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--paper);
}
.newsletter-icon {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8e7b6, #edcc72);
    box-shadow: 0 12px 28px rgba(160,112,31,.22);
    font-size: 1.65rem;
    margin-bottom: 20px;
    animation: iconBreathe 4s ease-in-out infinite;
}
.newsletter-card h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; color: var(--brown-deep); }
.newsletter-card p { color: var(--muted); line-height: 1.65; margin: 0 0 22px; }
.newsletter-form { display: grid; gap: 12px; }
.newsletter-form label { font-weight: 750; font-size: .9rem; color: #4e4034; }
.newsletter-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.88);
    color: var(--ink);
    font-size: 1rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.newsletter-form input:focus { border-color: var(--honey); box-shadow: 0 0 0 4px rgba(215,168,61,.15); transform: translateY(-1px); }
.newsletter-button,
.newsletter-link-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 15px;
    padding: 0 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.newsletter-button { color: #fff; background: linear-gradient(135deg, var(--brown), #9b602d); box-shadow: 0 12px 24px rgba(117,69,34,.22); }
.newsletter-button:hover, .newsletter-link-button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(117,69,34,.20); }
.newsletter-button:active, .newsletter-link-button:active { transform: translateY(0); }
.newsletter-link-button { color: var(--brown-deep); background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.newsletter-actions { display: grid; gap: 10px; }
.newsletter-note { margin-top: 18px !important; margin-bottom: 0 !important; font-size: .86rem; color: #81776c !important; }
.newsletter-kicker { display: inline-flex; gap: 7px; align-items: center; width: fit-content; padding: 7px 10px; margin-bottom: 14px; border-radius: 999px; background: rgba(215,168,61,.13); color: #7b5623; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.newsletter-message { margin: 8px 0 22px; padding: 14px 15px; border-radius: 14px; line-height: 1.55; font-size: .94rem; border: 1px solid transparent; }
.newsletter-message.success, .message.success { background: #edf7ed; color: #285b32; border-color: #cfe7d1; }
.newsletter-message.error, .message.error { background: #fff0ed; color: #8a372d; border-color: #f0c9c2; }
.newsletter-message strong { font-weight: 800; }
.secondary-link { display: inline-block; margin-top: 18px; color: var(--brown); font-weight: 750; text-underline-offset: 3px; }
.mini-divider { height: 1px; background: var(--line); margin: 22px 0; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes floatGlow { from { transform: translate3d(0,-14px,0) scale(.96); } to { transform: translate3d(20px,18px,0) scale(1.05); } }
@keyframes iconBreathe { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
@media (max-width: 760px) {
    .newsletter-shell { grid-template-columns: 1fr; border-radius: 24px; }
    .newsletter-visual { min-height: 280px; padding: 28px 24px; }
    .newsletter-card { padding: 32px 24px 36px; }
    .visual-copy h1 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
