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

:root {
    --cream: #fdf6ee;
    --brown: #5c3d2e;
    --rose: #c8896a;
    --light: #fff9f4;
    --text: #2e1f14;
}

html {
    font-size: 20px;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

/* ── Nav ── */
header {
    background: var(--light);
    border-bottom: 1px solid #e8ddd4;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--brown);
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-location {
    font-size: 0.65rem;
    font-weight: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--brown);
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--rose); }

/* ── Lang switcher ── */
.lang-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.85rem;
}

.lang-switcher a {
    color: var(--brown);
    text-decoration: none;
    padding: 0.2rem 0.45rem;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.05em;
}

.lang-switcher a:hover {
    color: var(--rose);
    border-color: var(--rose);
}

.lang-switcher .lang-active {
    border-color: var(--brown);
    font-weight: bold;
}

/* скрываем десктопное меню и бургер на разных брейкпоинтах */
.burger { display: none; }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--brown) 0%, #8b5e4a 100%);
    color: white;
    padding: clamp(4rem, 10vw, 8rem) 1.25rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Button ── */
.btn {
    display: inline-block;
    background: var(--rose);
    color: white;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    cursor: pointer;
    overflow-wrap: anywhere;
    transition: background 0.2s;
}

.btn:hover { background: #b5785a; }

/* ── Sections ── */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
}

.section-alt {
    max-width: 100%;
    background: var(--light);
}

.section-alt .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--brown);
    margin-bottom: 1.25rem;
}

/* ── Hero extras ── */
.hero-location {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.hero-tags {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

/* ── Irina ── */
.section-irina {
    max-width: 1100px;
    margin: 0 auto;
}

.irina-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.irina-photo {
    flex-shrink: 0;
    width: 260px;
}

.irina-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 2px;
}

.irina-text h2 {
    margin-bottom: 0.25rem;
}

.irina-role {
    color: var(--rose);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.irina-list {
    list-style: none;
    margin: 1rem 0;
}

.irina-list li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.irina-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--rose);
}

blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--brown);
    border-left: 3px solid var(--rose);
    padding-left: 1rem;
    margin: 1.5rem 0 0.25rem;
}

.blockquote-sub {
    font-size: 0.9rem;
    opacity: 0.7;
    padding-left: 1.2rem;
}

@media (max-width: 640px) {
    .irina-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    .irina-photo {
        width: 100%;
        max-width: 280px;
    }
}

/* ── Why ── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

.why-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.why-item strong {
    display: block;
    color: var(--brown);
    margin-bottom: 0.25rem;
}

.why-item p {
    font-size: 0.95rem;
    margin: 0;
}

@media (min-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Order steps ── */
.order-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

.order-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.order-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rose);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.order-step strong {
    display: block;
    color: var(--brown);
    margin-bottom: 0.25rem;
}

.order-step p {
    font-size: 0.95rem;
    margin: 0;
}

.order-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

@media (min-width: 600px) {
    .order-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Grid ── */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-top: 3px solid var(--rose);
    display: flex;
    flex-direction: column;
}

.card h3 {
    color: var(--brown);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.75rem;
    color: var(--rose);
    text-decoration: none;
    font-size: 0.9rem;
    justify-content: flex-end;
    transition: color 0.2s;
}

.card-link svg {
    flex-shrink: 0;
}

.card-link:hover { color: var(--brown); }

/* ── Carousel ── */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 1rem;
    background: #f0e8e0;
}

.carousel-track {
    display: flex;
    transition: transform 0.35s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(92, 61, 46, 0.7);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.carousel-btn:hover { background: var(--rose); }
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

/* ── Holiday banner (Betriebsferien) ── */
.holiday-banner {
    background: var(--rose);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.holiday-banner span {
    text-align: center;
}

.holiday-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.holiday-close:hover {
    opacity: 1;
}

/* ── Still-Block (эмоциональный вводный) ── */
.section-still {
    max-width: 100%;
    background: var(--light);
    text-align: center;
}

.section-still .still-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
}

.section-still h2 {
    text-align: center;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.section-still h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: var(--rose);
    margin: 1rem auto 0;
}

.section-still .still-lead {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-style: italic;
    color: var(--brown);
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.section-still p {
    margin-bottom: 1rem;
}

.section-still p:last-child {
    margin-bottom: 0;
}

/* Подзаголовок под h2 в секциях ── */
.section-lead {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: -0.75rem;
    margin-bottom: 0.5rem;
}

/* ── Чек-вариант списка Ирины ── */
.irina-list-check li::before {
    content: '✓';
    font-style: normal;
}

/* ── Wedding Guide CTA ── */
.guide-cta {
    text-align: center;
    max-width: 780px;
}

.guide-cta h2 {
    text-align: center;
}

.guide-cta > p {
    margin-bottom: 1rem;
}

.guide-list {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 0.5rem 0 1.75rem;
    text-align: left;
}

.guide-list li {
    position: relative;
    padding-left: 1.2rem;
}

.guide-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rose);
}

/* ── Contact form ── */
.contact-form {
    max-width: 640px;
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    border: none;
}

.form-group > label,
.form-group > legend {
    display: block;
    color: var(--brown);
    font-weight: bold;
    margin-bottom: 0.5rem;
    padding: 0;
}

.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: white;
    border: 1px solid #d9cabb;
    border-radius: 2px;
    padding: 0.65rem 0.8rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose);
}

.form-group textarea {
    resize: vertical;
    line-height: 1.6;
}

.radio-option {
    display: block;
    font-weight: normal;
    color: var(--text);
    margin-bottom: 0.4rem;
    cursor: pointer;
}

.radio-option input {
    margin-right: 0.5rem;
}

.form-hint {
    display: block;
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 0.35rem;
}

.form-note {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-top: 1rem;
    font-style: italic;
}

/* ── Story (Hinter Grace Bakery) ── */
.story {
    max-width: 780px;
}

.story-role {
    color: var(--rose);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.story h3 {
    color: var(--brown);
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.story p {
    margin-bottom: 0.85rem;
}

.story-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem 1.5rem;
    margin: 0.5rem 0 1rem;
}

.story-list li {
    position: relative;
    padding-left: 1.2rem;
}

.story-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--rose);
}

.story-cta {
    margin-top: 1.5rem;
}

/* ── Footer ── */
footer {
    background: var(--brown);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 2rem 1.25rem;
    font-size: 0.9rem;
}

footer p + p {
    margin-top: 0.5rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-legal span {
    opacity: 0.4;
}

/* ── Правовые страницы (Impressum, Datenschutz) ── */
.legal-page {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.legal-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.legal-inner h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--brown);
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.legal-inner > p:first-of-type {
    color: var(--rose);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-inner .guide-wip {
    background: #fbeee6;
    border-left: 3px solid var(--rose);
    border-radius: 2px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--brown);
}

.legal-inner h2 {
    font-size: 1.15rem;
    color: var(--brown);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e8ddd4;
    padding-bottom: 0.25rem;
}

.legal-inner h3 {
    font-size: 1rem;
    color: var(--brown);
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.legal-inner p {
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.65;
}

.legal-inner ul,
.legal-inner ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-inner li {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.3rem;
}

.legal-inner a:not(.btn) {
    color: var(--rose);
    word-break: break-all;
}

.legal-inner a:not(.btn):hover {
    color: var(--brown);
}

/* ── FAB меню (мобайл, снизу справа) ── */
.fab {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brown);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}

.fab:hover { background: var(--rose); }

.fab-icon { line-height: 1; }

.fab-menu {
    display: none;
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 99;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
}

.fab-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.fab-link {
    background: var(--brown);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
    white-space: nowrap;
}

.fab-link:hover { background: var(--rose); }

/* ── Tablet 600px+ ── */
@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Desktop 768px+ ── */
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* десктопное меню — показываем */
    nav ul { display: flex; }
    .burger { display: none; }

    /* FAB — скрываем */
    .fab { display: none !important; }
    .fab-menu { display: none !important; }
}

/* ── Mobile: скрываем десктопное меню, показываем FAB ── */
@media (max-width: 767px) {
    nav ul { display: none; }

    .fab {
        display: flex;
    }

    .fab-menu {
        display: flex;
    }
}
