/* Einheitliche Rahmen und Trennlinien auf den öffentlichen Terra-Nova-Seiten. */
:root { --rose-gold: #c9958c; --pearl-white: #eee9df; --line: var(--rose-gold); }
body * { border-color: var(--rose-gold); }
.panorama, .navigation, .section-title, .service-columns,
.service-columns article + article, .prices article + article,
.about, .overview article, .contact-note, .page-next, footer,
.law-header, .law-body details, .gallery-dialog-head, hr, th, td {
    border-color: var(--pearl-white);
}
.panel, .prices, .gallery-card, .gallery-dialog, .law-dialog,
input, textarea, select, button, .button { border-color: var(--rose-gold); }
#navigation a { border-bottom-color: transparent; }
#navigation a:hover, #navigation a:focus, #navigation a[aria-current="page"] { border-bottom-color: var(--rose-gold); }
.brand-rule, .gold-line { background: var(--pearl-white); }
.text-link { border-bottom-color: var(--rose-gold); }

/* Menü-Hervorhebung unmittelbar unter der Beschriftung. */
#navigation a:hover,
#navigation a:focus,
#navigation a[aria-current="page"] {
    border-bottom-color: transparent;
    text-decoration-line: underline;
    text-decoration-color: var(--rose-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    text-decoration-skip-ink: none;
}

/* Gleicher Abstand zwischen Leistungszeile, Copyright und rechtlichen Links. */
footer > p { margin: 7px 0; }
footer > small { display: block; }
footer > .legal-links { margin: 7px 0 0; }

/* Mehr Leistungsbereiche: Navigation auch auf schmaleren Bildschirmen nutzbar. */
#navigation { max-width: 1440px; padding-inline: 20px; gap: clamp(12px, 1.7vw, 24px); }
#navigation a { font-size: clamp(.85rem, 1.1vw, 1rem); white-space: nowrap; }
@media (max-width: 1500px) {
    .menu { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; color: #eee; padding: 16px 24px; font: inherit; }
    #navigation { display: none; padding: 0 24px 16px; }
    #navigation.open { display: flex; flex-direction: column; gap: 0; }
    #navigation a { padding: 10px 0; font-size: 1rem; }
}

/* Dezenter Roségold-Reliefrahmen: Licht oben links, Schatten unten rechts.
   Keine zusätzlichen Rahmenbreiten oder Verschiebungen der Inhalte. */
:root {
    --rose-highlight: #e3b8ae;
    --rose-shadow: #79534d;
}
.panel,
.prices,
#preise .prices,
#maschinen-preise .prices,
.gallery-card,
.gallery-dialog,
.law-dialog {
    border-top-color: var(--rose-highlight);
    border-left-color: var(--rose-highlight);
    border-right-color: var(--rose-shadow);
    border-bottom-color: var(--rose-shadow);
    box-shadow:
        inset 1px 1px 0 rgb(255 231 218 / 9%),
        inset -1px -1px 0 rgb(0 0 0 / 28%),
        0 3px 7px rgb(0 0 0 / 22%),
        0 10px 22px rgb(0 0 0 / 14%);
}

/* Bereichstrenner bleiben perlweiß und ohne zusätzlichen Reliefschatten. */
@media print {
    .panel, .prices, #preise .prices, #maschinen-preise .prices,
    .gallery-card, .gallery-dialog, .law-dialog { box-shadow: none; }
}
