:root {
    --accent: #406d7f;      /* Wasserfarbe aus "The Encounter" */
    --accent-dark: #335766;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

a { color: #333; }

header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

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

header p {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Galerie: alle Vorschaubilder gleich groß (4:3, zugeschnitten) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.image-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.image-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.image-wrapper {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    overflow: hidden;
    line-height: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.image-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.image-title a { text-decoration: none; }

.image-info .order-btn { margin-top: auto; }

.price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.price-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
}

.order-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--accent);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-btn:hover { background-color: var(--accent-dark); }
.order-btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.order-btn:disabled { background-color: #999; cursor: default; }

.price-note {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* Detailseite */
.detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.crumbs { font-size: 13px; margin-bottom: 20px; }

.hero {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: center;
    line-height: 0;
}

.hero img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
}

.detail-body {
    max-width: 640px;
    margin: 40px auto 0;
}

.detail-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.story {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 48px;
}

.order {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 28px 24px;
}

.order h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

fieldset.formats {
    border: none;
    margin-bottom: 16px;
}

fieldset.formats legend,
.option-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: #333;
}

.fmt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.fmt:has(input:checked) { border-color: var(--accent); background: #fafafa; }
.fmt input { margin: 0; accent-color: var(--accent); }
.fmt-name { flex: 1; }
.fmt-price { font-weight: 600; }

.option-group { margin-bottom: 14px; }

.option-group input,
.option-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
}

.option-group input:focus,
.option-group textarea:focus {
    outline: none;
    border-color: #333;
}

.sum {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    margin-bottom: 12px;
    font-size: 14px;
}

.sum div { display: flex; justify-content: space-between; padding: 2px 0; }
.sum-total { font-weight: 700; font-size: 16px; margin-top: 4px; }

.hint {
    font-size: 12px;
    color: #666;
    margin: 0 0 16px;
}

.hp { position: absolute; left: -9999px; }

.consent {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #555;
    margin: 4px 0 12px;
    align-items: flex-start;
}

.consent input { margin-top: 3px; }

.form-msg {
    font-size: 14px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #ddd;
    background: #f6f6f6;
}

.form-msg.error { border-color: #b00020; color: #b00020; background: #fff; }

.prevnext {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    font-size: 14px;
}

/* Rechtstexte */
.legal {
    max-width: 760px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.legal h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 8px;
}

.legal p, .legal ul { margin-bottom: 12px; font-size: 15px; }
.legal ul { padding-left: 20px; }

footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-top: 80px;
}

footer p { margin-bottom: 6px; }
footer a { color: #333; text-decoration: underline; }

@media (max-width: 768px) {
    header { margin-bottom: 32px; padding: 28px 20px; }
    header h1 { font-size: 24px; }
    .gallery { grid-template-columns: 1fr; gap: 20px; }
    .hero { padding: 6px; }
    .order { padding: 20px 16px; }
}
