/* ===================================================================
   DG Yacht Advisory & Delivery — Refined V1 Stylesheet
   Calm editorial premium treatment for the existing static build
   =================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #172131;
  --navy-deep: #111a29;
  --charcoal: #2a3441;
  --slate: #4b5665;
  --muted: #7e8ca1;
  --border: #d7dde5;
  --border-strong: #bcc7d3;
  --off-white: #f5f2ec;
  --white: #ffffff;
  --cream: #f6f3ee;
  --mist: #eef2f5;
  --accent: #3f607f;
  --accent-soft: rgba(63, 96, 127, 0.12);
  --text-primary: #172131;
  --text-secondary: #4c596a;
  --text-light: #f6f3ee;
  --shadow-soft: 0 24px 60px rgba(17, 26, 41, 0.08);
  --shadow-card: 0 18px 40px rgba(17, 26, 41, 0.06);

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --section-pad: 6.5rem 1.5rem;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at top, rgba(63, 96, 127, 0.06), transparent 34%),
    linear-gradient(to bottom, #fbfaf7 0%, #ffffff 18%, #fbfaf8 100%);
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.narrow-copy { max-width: 760px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.14;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.9rem, 5.4vw, 4.7rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.95rem;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

p:last-child { margin-bottom: 0; }

.meta-heading {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 1.75rem 0 0.85rem;
}

/* --- Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: 0.875rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(23, 33, 49, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #24364f 100%);
  color: var(--off-white);
}

.btn-primary:hover { background: linear-gradient(135deg, #16202f 0%, #1f3048 100%); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(23, 33, 49, 0.2);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--off-white);
  border-color: var(--navy);
}

.btn-light {
  background: rgba(245, 242, 236, 0.96);
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(14, 21, 33, 0.12);
}

.btn-light:hover { background: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.text-link::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.text-link:hover::after {
  width: 1.8rem;
  opacity: 1;
}

.text-link-light {
  color: rgba(245, 242, 236, 0.9);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 26, 41, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--off-white);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 236, 0.7);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: rgba(245, 242, 236, 0.78);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--off-white); }

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--off-white);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 28%;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(17, 26, 41, 0.76) 0%, rgba(17, 26, 41, 0.52) 44%, rgba(17, 26, 41, 0.2) 76%, rgba(17, 26, 41, 0.26) 100%),
    linear-gradient(to top, rgba(17, 26, 41, 0.88) 0%, rgba(17, 26, 41, 0.35) 42%, rgba(17, 26, 41, 0.12) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: 2rem;
  width: min(240px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 242, 236, 0.48), rgba(245, 242, 236, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto 4.5rem;
  padding: 2.5rem 2.5rem 0 0;
}

.hero h1 {
  max-width: 12ch;
  color: var(--off-white);
  margin-bottom: 1.35rem;
}

.hero p {
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.82;
  color: rgba(245, 242, 236, 0.82);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Page Header (inner pages) --- */
.page-header {
  position: relative;
  padding: 9rem 1.5rem 4.6rem;
  background:
    radial-gradient(circle at top right, rgba(77, 103, 129, 0.2), transparent 24%),
    linear-gradient(180deg, #141d2c 0%, #1a2436 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 242, 236, 0.34), rgba(245, 242, 236, 0));
}

.page-header .container { max-width: var(--max-width); position: relative; z-index: 1; }
.page-header h1 { color: var(--off-white); margin-bottom: 0.65rem; max-width: 12ch; }
.page-header p {
  max-width: 42rem;
  color: rgba(245, 242, 236, 0.78);
}

/* --- Shared Layout --- */
.section { padding: var(--section-pad); }

.section-alt {
  background:
    linear-gradient(180deg, rgba(246, 243, 238, 0.94) 0%, rgba(251, 249, 245, 0.98) 100%);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 0.85rem; }

.two-col,
.about-intro,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.two-col-text,
.about-intro > div:first-child {
  max-width: 38rem;
}

.two-col-text h2 { margin-bottom: 1rem; }

.two-col img,
.about-portrait,
.service-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(23, 33, 49, 0.08);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.two-col img {
  max-height: 560px;
  aspect-ratio: 0.95;
}

.about-portrait {
  max-width: 460px;
  max-height: 560px;
  object-position: center top;
}

/* --- Trust Strip --- */
.trust-strip {
  position: relative;
  padding: 2.6rem 1.5rem;
  background: linear-gradient(180deg, #182233 0%, #131b29 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  min-height: 100%;
  padding: 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: rgba(245, 242, 236, 0.86);
  font-size: 0.87rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.trust-item .trust-icon {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.5rem;
  color: rgba(245, 242, 236, 0.55);
}

/* --- Visual Band / Services Preview --- */
.services-preview {
  position: relative;
  background-image: url("../images/vessel-01.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.services-preview-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 245, 240, 0.93), rgba(248, 245, 240, 0.96)),
    rgba(248, 245, 240, 0.94);
}

.visual-band-content {
  position: relative;
  z-index: 1;
}

/* --- Services Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  height: 100%;
  padding: 2rem 1.8rem 1.9rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 33, 49, 0.09);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 238, 0.96));
  border-color: rgba(63, 96, 127, 0.22);
  box-shadow: 0 22px 44px rgba(17, 26, 41, 0.08);
}

.service-card-supporting {
  background: rgba(255, 255, 255, 0.82);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 96, 127, 0.22);
  box-shadow: 0 26px 48px rgba(17, 26, 41, 0.08);
}

.service-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.9rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

/* --- Proof Preview --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 2.2rem;
}

.proof-item {
  padding: 1.2rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(23, 33, 49, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 243, 238, 0.82) 100%);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- CTA Block --- */
.cta-block {
  position: relative;
  padding: 5.2rem 1.5rem;
  background:
    radial-gradient(circle at top, rgba(83, 109, 137, 0.18), transparent 28%),
    linear-gradient(180deg, #141d2c 0%, #101926 100%);
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.cta-block::before,
.cta-block::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 242, 236, 0), rgba(245, 242, 236, 0.3), rgba(245, 242, 236, 0));
}

.cta-block::before { top: 0; }
.cta-block::after { bottom: 0; }

.cta-block p {
  max-width: 43rem;
  margin: 0 auto 2rem;
  color: rgba(245, 242, 236, 0.8);
  font-size: 1.06rem;
  line-height: 1.82;
}

.cta-block .cta-actions {
  display: flex;
  gap: 1rem 1.2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* --- About Page --- */
.about-intro {
  align-items: center;
}

.principles-list {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(23, 33, 49, 0.08);
}

.principles-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 33, 49, 0.08);
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* --- Services Detail --- */
.service-detail,
.engagements-block {
  max-width: 760px;
  padding: 2rem 0 0;
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail + .service-detail {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(23, 33, 49, 0.1);
}

.service-detail h3,
.engagements-block h3 {
  margin-bottom: 1rem;
}

.service-detail p,
.engagements-block p {
  font-size: 0.98rem;
}

.service-image {
  margin: 4rem 0;
  max-height: 430px;
  object-position: center 42%;
}

.engagements-block {
  margin-top: 3rem;
  border-top: 1px solid rgba(23, 33, 49, 0.1);
}

/* --- Experience Page --- */
.credentials-section {
  margin-bottom: 4rem;
  padding: 2rem 0 0;
}

.credentials-section:first-child {
  padding-top: 0;
}

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

.credentials-section h3 {
  margin-bottom: 1.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(23, 33, 49, 0.1);
}

.qual-list {
  margin-bottom: 1.7rem;
  display: grid;
  gap: 0.25rem;
}

.qual-list li {
  padding: 0.45rem 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.8rem;
}

.qual-list li::before {
  content: "—";
  color: var(--muted);
  flex-shrink: 0;
}

.doc-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.doc-thumbnails-single {
  max-width: 390px;
}

.doc-thumb {
  padding: 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(23, 33, 49, 0.09);
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.95), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow-card);
}

.doc-thumb img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(23, 33, 49, 0.08);
}

.doc-thumb p {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.featured-passage {
  padding: 1.75rem 1.9rem;
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.9), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(63, 96, 127, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin: 2rem 0 1.75rem;
}

.featured-passage h4 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.featured-passage .passage-distance {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.featured-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.passage-list {
  border-top: 1px solid rgba(23, 33, 49, 0.08);
  margin-bottom: 1.25rem;
}

.passage-list li {
  padding: 0.95rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(23, 33, 49, 0.08);
}

.private-note {
  padding: 1.8rem 1.9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.92), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(23, 33, 49, 0.09);
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.62;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.testimonial-attribution {
  margin-top: 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.credentials-note {
  margin-top: 1.4rem;
}

/* --- Contact Page --- */
.contact-layout {
  align-items: start;
}

.contact-form-panel,
.contact-sidebar {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 33, 49, 0.08);
  box-shadow: var(--shadow-card);
}

.form-intro {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-intro:last-of-type {
  margin-bottom: 1.8rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(23, 33, 49, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(63, 96, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(63, 96, 127, 0.1);
  background: var(--white);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form select { cursor: pointer; }

.contact-form .btn {
  margin-top: 0.4rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(23, 33, 49, 0.1);
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.9), rgba(255, 255, 255, 0.94));
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-status.is-success {
  border-color: rgba(63, 96, 127, 0.28);
  color: var(--text-primary);
}

.form-status.is-error {
  border-color: rgba(23, 33, 49, 0.18);
  color: var(--text-primary);
}

.contact-form .btn[disabled] {
  cursor: wait;
  opacity: 0.88;
  transform: none;
  box-shadow: none;
}

.contact-sidebar h3 {
  margin-bottom: 1.4rem;
}

.contact-detail {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(23, 33, 49, 0.08);
}

.contact-detail:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-detail:last-child {
  padding-bottom: 0;
}

.contact-detail .label {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-detail .value {
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-detail a {
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-detail a:hover { border-bottom-color: rgba(23, 33, 49, 0.3); }

.closing-line {
  text-align: center;
  padding: 3.6rem 1.5rem;
}

.closing-line-copy {
  max-width: 35rem;
  margin: 0 auto;
  font-size: 1.08rem;
}

/* --- Impressum --- */
.impressum-content {
  max-width: 760px;
  padding: 2.25rem 2.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 33, 49, 0.08);
  box-shadow: var(--shadow-card);
}

.impressum-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

.impressum-content h3:first-child {
  margin-top: 0;
}

.impressum-content p {
  color: var(--text-secondary);
}

.impressum-content a {
  border-bottom: 1px solid rgba(23, 33, 49, 0.18);
}

/* --- Footer --- */
.footer {
  background:
    radial-gradient(circle at top, rgba(83, 109, 137, 0.18), transparent 26%),
    linear-gradient(180deg, #121a28 0%, #0e1723 100%);
  color: rgba(245, 242, 236, 0.72);
  padding: 4.5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--off-white);
  margin-bottom: 0.9rem;
}

.footer-principal,
.footer-contact-line {
  font-size: 0.9rem;
}

.footer-contact-line + .footer-contact-line {
  margin-top: 0.2rem;
}

.footer-contact-line a:hover {
  color: var(--off-white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: right;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(245, 242, 236, 0.62);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--off-white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.75rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--off-white);
}

/* --- Responsive --- */
@media (max-width: 980px) {
  :root { --section-pad: 5rem 1.5rem; }

  .hero {
    min-height: 84svh;
    background-position: center 24%;
  }

  .hero-content {
    width: calc(100% - 3rem);
    margin-bottom: 3.5rem;
    padding-right: 0;
  }

  .trust-strip-inner,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .about-intro,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .two-col img,
  .about-portrait,
  .service-image {
    max-width: 100%;
    aspect-ratio: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); }

  .nav-inner {
    min-height: 4.5rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    padding: 1.1rem 1.2rem 1.25rem;
    gap: 0.85rem;
    background: rgba(17, 26, 41, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(7, 11, 17, 0.28);
  }

  .nav-links.open a {
    width: 100%;
  }

  .nav-links.open a::after {
    display: none;
  }

  .hero {
    min-height: 80svh;
    background-position: 56% 22%;
  }

  .hero::after {
    bottom: 1.5rem;
  }

  .hero-content {
    margin-bottom: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-block .cta-actions {
    align-items: stretch;
  }

  .trust-strip-inner,
  .services-grid,
  .proof-grid,
  .doc-thumbnails {
    grid-template-columns: 1fr;
  }

  .contact-form-panel,
  .contact-sidebar,
  .impressum-content,
  .private-note,
  .featured-passage,
  .service-card,
  .doc-thumb {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  :root { --section-pad: 4rem 1.25rem; }

  .container,
  .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; }

  .page-header {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-content {
    width: calc(100% - 2.5rem);
  }

  .hero h1 {
    max-width: none;
  }

  .btn {
    width: 100%;
  }

  .text-link {
    width: 100%;
    justify-content: flex-start;
  }

  .proof-item,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 0.92rem;
  }

  .footer {
    padding-top: 4rem;
  }
}
