:root {
    --bg: #f7f6f4;
    --bg-alt: #ffffff;
    --text: #222222;
    --muted: #666666;
    --gold: #d6aa3a;
    --gold-dark: #b38922;
    --accent: #1f2733;
    --border-soft: #e0ddd6;
    --radius: 10px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Georgia", "Times New Roman", serif;
}

/* Reset / base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, #fdfcf9 0, #f7f6f4 55%, #f2f0ea 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--gold-dark);
}

/* Layout */

.container {
    width: min(1120px, 100% - 2rem);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--accent);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 3vw, 3rem);
}

h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.05rem;
    color: var(--muted);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 246, 244, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-full {
    height: 52px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.95rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    position: relative;
    padding-bottom: 0.2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #222;
    position: relative;
    transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -5px;
}

.menu-toggle span::after {
    top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 720px) {
    .header-inner {
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        right: 1rem;
        top: 70px;
        flex-direction: column;
        gap: 0.8rem;
        background: rgba(247, 246, 244, 0.96);
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
        z-index: 200;
    }

    .site-header.nav-open .main-nav {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: 1px solid var(--border-soft);
        background: rgba(247, 246, 244, 0.9);
        margin-left: auto;
    }
}

/* Hero */

.hero {
    padding: 6rem 0 4.5rem;
}

.hero {
    position: relative;
    background: transparent; /* Standard: kein spezieller Hintergrund ohne Modifier */
}

/* Standard: kein Overlay, bis eine Variante explizit gesetzt wird */
.hero::after {
    content: none;
}

/* Hero Hintergrund-Varianten */

/* Option A – Royal Pattern (subtil, ton-in-ton) */
.hero.hero--plain {
    position: relative;
    background: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 15 L72 45 L105 48 L78 69 L84 102 L60 84 L36 102 L42 69 L15 48 L48 45 Z' fill='none' stroke='%23d6aa3a' stroke-width='2' opacity='0.06'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-repeat: repeat;
}

.hero.hero--plain::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
}

/* Option B – dezente Gold-Struktur / Verlauf */
.hero.hero--gold-band {
    background:
        radial-gradient(circle at top, rgba(214, 170, 58, 0.12) 0, transparent 55%),
        linear-gradient(to bottom, #fdfcf9 0, #f7f6f4 45%, #f2f0ea 100%);
}

.hero.hero--gold-band::after {
    content: none;
}

/* Option C – explizite Krone-Variante */
.hero.hero--crown {
    background: #f7f6f4;
}

.hero.hero--crown::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/logo-crown.png") no-repeat center;
    background-size: 80%;
    opacity: 0.045;
    transform: rotate(-8deg);
    pointer-events: none;
}

@media (max-width: 480px) {
    .hero {
        padding: 4.5rem 0 3.5rem;
    }
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    max-width: 640px;
    text-align: center;
}

.hero-crown {
    height: 82px;
    width: auto;
    display: block;
    margin: 0 auto 1.2rem;
}

.hero-subline {
    font-size: 1.1rem;
    margin: 0.6rem 0 0.8rem;
    color: var(--muted);
}

.hero-copy {
    margin-bottom: 1.6rem;
    color: var(--muted);
}

/* Buttons */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 45px rgba(148, 116, 32, 0.35);
}

/* Services */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-soft);
    font-size: 0.95rem;
    color: var(--muted);
}

@media (max-width: 960px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Kontakt */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.contact-info {
    max-width: 520px;
}

.contact-info p {
    color: var(--muted);
}

.contact-form-wrap {
    max-width: 640px;
    width: 100%;
}

.contact-info .contact-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.contact-info li + li {
    margin-top: 0.6rem;
}

.contact-info a {
    color: var(--accent);
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-soft);
}

.contact-form .form-row {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d2d0c8;
    padding: 0.6rem 0.7rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(214, 170, 58, 0.18);
}

.checkbox-row label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.checkbox-row input[type="checkbox"] {
    width: auto;
    min-width: auto;
    display: inline-block;
    margin-top: 0.15rem;
    margin-right: 0.4rem;
    vertical-align: top;
}

/* Honeypot – für Bots sichtbar, für Nutzer versteckt */
.hp-row {
    display: none;
}

.form-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.form-success {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #127a3a;
}

.form-error {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #b00020;
}

.legal-page {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.legal-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-soft);
    max-width: 760px;
    margin: 0 auto;
}

.legal-card h1 {
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.legal-card h2 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.legal-card p,
.legal-card ul {
    font-size: 0.95rem;
    color: var(--muted);
}

.legal-card ul {
    padding-left: 1.2rem;
    margin: 0.4rem 0 1rem;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 1rem 0 1.4rem;
    background: #f4f2ee;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-crown {
    height: 26px;
    width: auto;
    margin-right: 0.5rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.dot {
    opacity: 0.5;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}