/* Shared public-site styles. Appearance is defined here, independently of admin settings. */
:root {
    --landing-orange: #b84312;
    --color-primary: #b84312;
    --color-secondary: #b84312;
    --color-accent: #fff0e5;
    --color-footer-bg: #0b1f2a;
    --color-bg: #faf1e9;
    --color-text: #1a202c;
    --radius-lg: 16px;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: calc(1.5rem + 0.1lh) 1.5rem;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: #fff;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 500;
}

nav a:hover { text-decoration: underline; }

main {
    flex: 1;
    display: flex;
    padding: 2rem 1.5rem 3rem;
}

.main-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.card {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 67, 18, 0.08);
}

.hero-title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    margin: 0 0 0.75rem;
    color: var(--color-primary);
}

.hero-subtitle {
    margin: 0 0 1.25rem;
    color: #2d3748;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(184, 67, 18, 0.08);
    color: var(--color-secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(253, 117, 69, 0.35);
}

.btn-primary:hover {
    background: #96360e;
}

.btn-terug {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    background: #fff;
    color: #4a5568;
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

a.btn-terug { text-decoration: none; }
button.btn-terug { font-family: inherit; }

.btn-terug:hover:not(:disabled) {
    background: #f7fafc;
    border-color: #a0aec0;
    color: #2d3748;
}

.btn-terug:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

form p {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font: inherit;
}

footer {
    padding: 1.25rem 1.5rem;
    background: var(--color-footer-bg);
    color: #e2e8f0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-inner a {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: none;
}

.cookies-rejected .page { display: none !important; }

.about-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-photo {
    display: block;
    flex: 0 1 20%;
    width: 20%;
    max-width: 20%;
    height: auto;
    border-radius: 12px;
}

.about-text {
    flex: 1 1 260px;
    min-width: 0;
    line-height: 1.7;
}

.about-text p:first-child { margin-top: 0; }

@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; }
    nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
    nav a { margin-left: 0; }
}


body.home-page { background: #faf1e9; }
.home-page main { flex: 0 0 auto; padding: 0; }
.home-page { --landing-orange: #b84312; --color-secondary: #b84312; }
.landing-container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.landing-header { background: #fff; color: #10263c; padding: 1rem 0; }
.landing-navigation { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.landing-brand { color: var(--landing-orange); font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.landing-brand small { display: block; font-size: .75rem; font-weight: 500; margin-top: .2rem; }
.landing-navigation nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 1.15rem; }
.landing-navigation nav a { color: inherit; margin: 0; font-size: .95rem; white-space: nowrap; }
.landing-navigation nav .landing-nav-cta { background: var(--landing-orange); color: #fff; border-radius: 999px; padding: .75rem 1.1rem; font-weight: 700; }
.landing-hero { color: #fff; padding: 6rem 0 10rem; background: linear-gradient(90deg, rgba(166, 59, 15, .95), rgba(166, 59, 15, .6) 50%, rgba(166, 59, 15, .1)), url("../images/Herfstbosweg met klassieke Ford Taunus.png") center / cover no-repeat; }
.landing-intro { max-width: 630px; }
.landing-intro h1 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.18; margin: 0 0 1.5rem; letter-spacing: -.025em; }
.landing-lead { font-size: 1.2rem; line-height: 1.55; margin: 0; }
.landing-benefits { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; }
.landing-benefits li { margin: .65rem 0; }
.landing-benefits li::before { content: "✓"; margin-right: .75rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.landing-button { display: inline-flex; justify-content: center; align-items: center; padding: 1rem 2rem; border: 1px solid #fff; border-radius: 999px; color: var(--landing-orange); background: #fff; text-decoration: none; font-weight: 700; }
.landing-button-outline { background: transparent; color: #fff; }
.landing-button:hover { background: #fff0e5; color: #b84312; }
.landing-availability { margin-top: 1.25rem; font-size: .9rem; }
.landing-shortcuts { position: relative; margin-top: -5rem; }
.landing-shortcuts > p { color: #fff; font-weight: 700; margin: 0 0 1rem; }
.landing-shortcut-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.landing-shortcut-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 195px; padding: 1.5rem .75rem; background: #fff; border-radius: 22px; color: var(--landing-orange); text-decoration: none; text-align: center; font-size: 1.15rem; font-weight: 750; transition: transform .15s; }
.landing-shortcut-grid a:hover { transform: translateY(-4px); }
.landing-shortcut-grid svg { width: 64px; height: 64px; }
.landing-shortcut-grid .landing-shortcut-primary { color: #fff; background: var(--landing-orange); }
.landing-details { padding-block: 3rem; }
.landing-section { margin-block: 2rem; scroll-margin-top: 2rem; }
.landing-details h2 { color: #b84312; font-size: 1.6rem; }
.landing-eyebrow { color: #6c8e35; font-weight: 700; }
.landing-contact { background: #fff; padding: 2rem; border-radius: 16px; }
.landing-contact a { color: #b84312; }
.home-page footer { margin-top: 0; }
.home-page a:focus-visible { outline: 3px solid #93b641; outline-offset: 4px; }
@media (max-width: 1100px) {
    .landing-navigation { flex-wrap: wrap; gap: 1rem; }
    .landing-navigation nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .landing-container { width: calc(100% - 2rem); }
    .landing-navigation nav { gap: .85rem; }
    .landing-hero { padding: 3rem 0 7rem; }
    .landing-lead { font-size: 1.05rem; }
    .landing-shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-shortcut-grid a { min-height: 155px; font-size: 1rem; }
    .landing-actions { flex-direction: column; align-items: flex-start; }
    .landing-button { padding: .9rem 1.25rem; }
}

.landing-item-grid {
    grid-template-columns: repeat(3, minmax(0, 30%));
    margin-block: 1.5rem;
}
.landing-item-grid .landing-item-tile {
    justify-content: flex-start;
    padding: 2rem 1.25rem;
    overflow-wrap: anywhere;
}
.landing-tile-detail {
    color: #4a5568;
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .landing-item-grid { grid-template-columns: minmax(0, 1fr); }
}

.home-page .main-inner { max-width: none; }
.card h2, .card h3 { color: var(--color-secondary); }
.footer-links { display: flex; flex-wrap: nowrap; gap: 1rem; margin-left: auto; }
.footer-links a { margin: 0; }
body a:focus-visible { outline: 3px solid #b84312; outline-offset: 4px; }
@media (max-width: 640px) {
    main { padding: 1.5rem 1rem; }
    .card { padding: 1.5rem 1.25rem; }
}

.footer-copy { flex: 1 1 240px; min-width: 0; }
.footer-copy p { margin: 0; }
.footer-links a { white-space: nowrap; }

@media (max-width: 640px) {
    .landing-navigation nav { display: none; }
}
