/* ====================================================
   BOEGEHOLD – Shared Stylesheet
   ==================================================== */

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

:root {
  --gold:        #CCAD80;
  --dark-green:  #14271E;
  --mid-green:   #1c3a2c;
  --white:       #ffffff;
  --text-muted:  rgba(255,255,255,0.65);
  --max-w:       1200px;
  --serif:       'Times New Roman', TimesNewRoman, Times, Baskerville, Georgia, serif;
  --sans:        'Inter', 'Neue Haas Grotesk Text Pro', Helvetica, Arial, sans-serif;
}

html  { scroll-behavior: smooth; }

body  {
  font-family: var(--sans);
  background-color: var(--dark-green);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--dark-green); text-shadow: none; }

a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; box-shadow: 0 0 0 1px rgba(204,173,128,.10); }
/* No border on SVGs, logos, full-bleed images */
.nav-logo img, .footer-image, .hero-img-block img,
.office-block img, .cta-icon, svg { box-shadow: none; }

/* ── Bremen Key Mark ───────────────────────────────── */
.footer-bremen-mark {
  width: 52px;
  height: auto;
  margin-top: 24px;
  opacity: 0.55;
  box-shadow: none;
  transition: opacity .3s;
}
.footer-col:hover .footer-bremen-mark { opacity: 0.85; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }

::-webkit-scrollbar            { width: 6px; }
::-webkit-scrollbar-thumb      { border-radius: 20px; background: var(--gold); }

/* ── Container ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  border: 1px solid rgba(204,173,128,.5);
  border-radius: 50px;
  color: var(--gold);
  font-size: 14px;
  font-family: var(--sans);
  letter-spacing: .3px;
  transition: background .3s, color .3s;
  background: transparent;
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--dark-green); }

/* ── Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 28px 0;
  transition: background .3s, padding .3s;
}
.navbar.scrolled {
  background: rgba(20,39,30,.96);
  backdrop-filter: blur(12px);
  padding: 18px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img  { height: 17px; width: auto; }
.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-center a  { font-size: 14px; color: var(--white); transition: color .3s; }
.nav-center a:hover { color: var(--gold); }
.nav-right     { display: flex; align-items: center; gap: 14px; }
.nav-cta       { padding: 12px 30px; font-size: 13px; }

/* ── Nav Dropdown ──────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 22px; /* bridges the gap so hover isn't lost */
}
.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(-135deg) translateY(-2px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--mid-green);
  border: 1px solid rgba(204,173,128,.15);
  border-radius: 6px;
  padding: 10px 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 300;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  color: var(--white) !important;
  opacity: .65;
  transition: opacity .2s, color .2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  opacity: 1;
  color: var(--gold) !important;
}

/* ── Page Hero (subpages) ──────────────────────────── */
.page-hero {
  padding: 180px 0 100px;
  text-align: center;
}
.page-hero h1  { font-size: clamp(40px,5.5vw,80px); line-height: 1.05; margin-bottom: 24px; }
.page-hero p   { font-size: 15px; color: var(--gold); max-width: 600px; margin: 0 auto; line-height: 1.8; font-weight: 300; }

/* ── Hero Image (full-width) ───────────────────────── */
.hero-img-block { padding: 0; }
.hero-img-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ── Section Padding ───────────────────────────────── */
.section-pad    { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

/* ── Two-column layout ─────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.gap-sm { gap: 50px; }

/* ── Portrait image ────────────────────────────────── */
.portrait-wrap img {
  width: 380px;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

/* ── Content block ─────────────────────────────────── */
.content-block h2 { font-size: clamp(32px,3.5vw,52px); line-height: 1.1; margin-bottom: 28px; }
.content-block h2.italic { font-style: italic; }
.content-block p  { font-size: 15px; line-height: 1.75; color: var(--gold); opacity: .8; margin-bottom: 32px; font-weight: 300; }
.content-block p.white { color: var(--white); opacity: .8; }

/* ── Testimonial card ──────────────────────────────── */
.testimonial-wrap { padding: 100px 0; }
.testimonial-card {
  background: var(--mid-green);
  padding: 60px 70px;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-author { font-size: 13px; color: var(--gold); margin-bottom: 28px; font-weight: 300; }
.testimonial-text   {
  font-family: var(--serif);
  font-size: clamp(18px,1.8vw,24px);
  line-height: 1.65;
  font-style: italic;
  opacity: .9;
}

/* ── Expertise list (home & subpages) ──────────────── */
.expertise-section { padding: 120px 0 100px; position: relative; }
.expertise-list    { display: flex; flex-direction: column; position: relative; }
.expertise-item    { display: block; padding: 18px 0; position: relative; }
.expertise-item h1 {
  font-size: clamp(48px,6vw,90px);
  font-weight: 400;
  line-height: 1.15;
  transition: color .3s;
}
.expertise-item:hover h1 { color: var(--gold); }
.expertise-item p  { font-size: 14px; color: var(--text-muted); max-width: 500px; line-height: 1.65; margin-top: 8px; display: none; }

/* floating images — cursor-following, JS-controlled */
.expertise-imgs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.expertise-float-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: auto;       /* JS sets this per item */
  min-height: 80px;
  object-fit: cover;
  opacity: 0;
  transition: opacity .32s ease;
  will-change: transform, opacity;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.expertise-float-img.is-active { opacity: 1; }

/* ── CTA banner ────────────────────────────────────── */
.cta-banner { padding: 100px 0; }
.cta-banner img { width: 100%; height: 340px; object-fit: cover; }

/* ── USP list (ueber-mich) ─────────────────────────── */
.usp-list     { display: flex; flex-direction: column; gap: 20px; }
.usp-item     { display: flex; align-items: center; gap: 16px; }
.usp-item img { width: 28px; height: 28px; flex-shrink: 0; filter: brightness(0) saturate(100%) invert(71%) sepia(38%) saturate(349%) hue-rotate(5deg) brightness(95%) contrast(91%); }
.usp-item span { font-size: 18px; font-family: var(--serif); color: var(--gold); }

/* ── Info section (ueber-mich bio) ────────────────── */
.bio-section    { padding: 120px 0; }
.bio-section .bio-text h2  { font-size: clamp(28px,2.8vw,40px); line-height: 1.15; margin-bottom: 24px; }
.bio-section .bio-text p   { font-size: 15px; line-height: 1.8; color: var(--white); opacity: .75; margin-bottom: 20px; font-weight: 300; }
.bio-section .bio-text a.text-link {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.bio-section .bio-text a.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── Expertise detail page (sub-headings) ──────────── */
.expertise-detail h2    { font-size: clamp(28px,3vw,44px); margin-bottom: 32px; }
.expertise-detail h3    { font-size: clamp(20px,2vw,26px); margin-bottom: 16px; margin-top: 48px; color: var(--gold); }
.expertise-detail p     { font-size: 15px; line-height: 1.8; color: var(--white); opacity: .75; margin-bottom: 16px; font-weight: 300; }

/* ── Services grid ─────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 60px; padding: 80px 0; }
.service-item h3 { font-size: 22px; color: var(--gold); margin-bottom: 14px; }
.service-item p  { font-size: 14px; line-height: 1.75; color: var(--white); opacity: .7; font-weight: 300; }

/* ── Legal page (impressum / datenschutz) ──────────── */
.legal-page { padding: 180px 0 120px; }
.legal-page .legal-content { max-width: 800px; }
.legal-page h1  { font-size: clamp(36px,4vw,56px); margin-bottom: 60px; }
.legal-page h2  { font-size: 22px; margin: 44px 0 16px; }
.legal-page h3  { font-size: 17px; margin: 28px 0 10px; font-family: var(--sans); font-weight: 600; }
.legal-page p   { font-size: 15px; line-height: 1.8; color: var(--white); opacity: .7; margin-bottom: 16px; font-weight: 300; }
.legal-page a   { color: var(--gold); text-decoration: underline; }

/* ── Contact page ──────────────────────────────────── */
.contact-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
}
.contact-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .5;
}
.contact-hero-content { position: relative; z-index: 1; max-width: 800px; }
.contact-hero-content h1 {
  font-size: clamp(60px, 8vw, 112px);
  line-height: 0.97;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.contact-hero-content p  {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.6;
  font-weight: 300;
  max-width: 560px;
}

.contact-form-section { padding: 100px 0; }
.contact-form-section .two-col { gap: 80px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form-wrap h2, .contact-info h2 { font-size: clamp(24px,3vw,36px); margin-bottom: 36px; font-weight: 400; }
.contact-info-block { margin-bottom: 28px; }
.contact-info-block .city-label { font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 6px; }
.contact-info-block p { font-size: 14px; line-height: 1.9; opacity: .65; font-weight: 300; }
.contact-info-block .text-link { color: var(--gold); font-size: 15px; transition: opacity .3s; }
.contact-info-block .text-link:hover { opacity: .7; }
.optional { font-size: 12px; opacity: .5; font-family: var(--sans); font-weight: 300; }
.contact-form h2     { font-size: clamp(28px,3vw,40px); margin-bottom: 40px; }
.form-row            { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group          { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label    { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(204,173,128,.25);
  border-radius: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  padding: 16px 20px;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
.form-checkbox input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.form-checkbox label { font-size: 13px; color: var(--white); opacity: .6; line-height: 1.5; font-weight: 300; }
.form-checkbox a { color: var(--gold); }
.btn-submit { width: 100%; }

/* ── Office Photo Block ────────────────────────────── */
.office-block {
  position: relative;
  overflow: hidden;
}
.office-block img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 6s ease;
}
.office-block:hover img {
  transform: scale(1.03);
}
.office-block-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 60px 44px;
  background: linear-gradient(to top, rgba(20,39,30,0.82) 0%, transparent 100%);
  pointer-events: none;
}
.office-block-overlay .city-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}
.office-block-overlay p {
  font-size: 18px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.02em;
}
.contact-info  { padding: 48px 0 0; }
.contact-info h3 { font-size: 20px; margin-bottom: 20px; }
.contact-info p  { font-size: 14px; line-height: 1.9; color: var(--white); opacity: .65; font-weight: 300; }
.contact-info a  { color: var(--gold); transition: opacity .3s; }
.contact-info a:hover { opacity: 1; }

/* ── Footer ────────────────────────────────────────── */
.footer-image   { width: 100%; height: 480px; object-fit: cover; object-position: center 30%; display: block; }
.footer-content { padding: 64px 0 0; }
.footer-grid    {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-col h4  { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold); margin-bottom: 24px; }
.footer-col .city-label {
  font-size: 11px; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px; margin-top: 20px; display: block;
}
.footer-col .city-label:first-of-type { margin-top: 0; }
.footer-col p, .footer-col a {
  font-size: 14px; line-height: 2;
  color: var(--white); opacity: .6;
  display: block; font-weight: 300;
  transition: color .3s, opacity .3s;
}
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px; color: var(--white); opacity: .4; font-weight: 300;
}
.footer-bottom a { text-decoration: underline; opacity: 1; }

/* ── Scroll Animations ─────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.anim.visible { opacity: 1; transform: translateY(0); }

.anim-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.anim-left.visible { opacity: 1; transform: translateX(0); }

.anim-d1 { transition-delay: .15s; }
.anim-d2 { transition-delay: .3s; }
.anim-d3 { transition-delay: .45s; }

/* ── Divider ───────────────────────────────────────── */
.divider { border: none; border-top: 1px solid rgba(204,173,128,.12); margin: 0; }

/* ── Hamburger Button ──────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── CTA icon (mail, mobile only) ─────────────────── */
.cta-icon { display: none; flex-shrink: 0; }
.cta-text  { }

/* ── Mobile Menu Panel ─────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,39,30,.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.open .mobile-menu-overlay { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--dark-green);
  border-left: 1px solid rgba(204,173,128,.12);
  padding: 100px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  opacity: .7;
  transition: opacity .2s;
  font-size: 28px;
  line-height: 1;
}
.mobile-menu-close:hover { opacity: 1; }
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-logo {
  height: 14px;
  width: auto;
  margin-bottom: 40px;
  box-shadow: none;
  opacity: .85;
}
.mobile-nav-link {
  font-size: 18px;
  color: var(--white);
  opacity: .75;
  padding: 13px 0;
  border-bottom: 1px solid rgba(204,173,128,.08);
  display: block;
  transition: opacity .2s, color .2s;
}
.mobile-nav-link:hover   { opacity: 1; color: var(--gold); }
.mobile-nav-section      { margin-top: 4px; }
.mobile-nav-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 0 6px;
  display: block;
}
.mobile-nav-sub {
  font-size: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(204,173,128,.08);
  opacity: .55;
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 36px;
  padding: 16px 24px;
  font-size: 14px;
  text-align: center;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .container       { padding: 0 40px; }
  .two-col         { grid-template-columns: 1fr; gap: 48px; }
  .portrait-wrap img { width: 300px; height: 420px; }
  .expertise-imgs  { display: none; }
  .expertise-item h1 { font-size: clamp(36px,5vw,64px); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid   { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .container       { padding: 0 24px; }
  .nav-center      { display: none; }
  .nav-burger      { display: flex; }
  .mobile-menu     { display: block; }

  /* CTA stays as text button on small desktop windows */

  /* Section padding — tightened for mobile */
  .page-hero            { padding: 120px 0 56px; }
  .section-pad          { padding: 56px 0; }
  .section-pad-sm       { padding: 40px 0; }
  .testimonial-wrap     { padding: 56px 0; }
  .expertise-section    { padding: 56px 0; }
  .cta-banner           { padding: 56px 0; }
  .bio-section          { padding: 56px 0; }
  .contact-form-section { padding: 56px 0; }
  .footer-content       { padding: 48px 0 0; }

  /* Layout fixes */
  .hero-img-block img  { height: auto; }
  .two-col.gap-sm      { gap: 32px; }
  .testimonial-card    { padding: 36px 24px; }
  .portrait-wrap img   { width: 200px; height: 300px; }
  .footer-image        { height: 260px; }
  .footer-grid         { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom       { flex-direction: column; gap: 12px; text-align: center; }
  .contact-hero        { min-height: 420px; padding: 110px 0 64px; }
  .contact-grid        { grid-template-columns: 1fr; gap: 40px; }
  .office-block img    { height: 260px; }
  .office-block-overlay { padding: 32px 24px 24px; }

  /* Hide decorative CTA image on mobile */
  .cta-banner .two-col > div:last-child { display: none; }
}

/* CTA icon-bubble only on real touch/mobile devices */
@media (max-width: 767px) and (pointer: coarse) {
  .nav-cta {
    width: 42px;
    height: 42px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .cta-icon { display: block; }
  .cta-text  { display: none; }
}

/* ====================================================
   IMPROVEMENTS – Design Critique v2
   ==================================================== */

/* ── Design Tokens (Font Scale & Spacing) ───────────── */
:root {
  --fs-xs:      12px;
  --fs-sm:      13px;
  --fs-base:    15px;
  --fs-md:      16px;
  --fs-lg:      18px;
  --fs-h3:      clamp(20px, 2vw, 26px);
  --fs-h2:      clamp(32px, 3.5vw, 52px);
  --fs-h1-sub:  clamp(40px, 5.5vw, 80px);
  --fs-h1:      clamp(48px, 6vw, 96px);
  --fs-display: clamp(60px, 8vw, 112px);
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px; --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px;
  --s-24: 96px; --s-28: 112px; --s-30: 120px;
}

/* ── Skip Link ──────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--dark-green);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  border-radius: 0 0 6px 6px;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; outline: none; }

/* ── Focus Visible (Global) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204,173,128,.2);
}

/* ── Nav Dropdown Trigger as <button> ───────────────── */
button.nav-dropdown-trigger {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--white);
  font-family: var(--sans);
  cursor: pointer;
  padding: 0;
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 5px;
}
button.nav-dropdown-trigger:hover { color: var(--gold); }

/* ── Accessibility: Contrast Fixes ─────────────────── */
.footer-bottom        { opacity: .55; }  /* was .4 — WCAG AA fix */
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.45); } /* was .3 */

/* ── Hero Sub: improved readability ─────────────────── */
.hero .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.78);
}

/* ── Footer: Touch Targets ──────────────────────────── */
.footer-col a { padding: 5px 0; }

/* ── Expertise Items: dividers + hover arrow ─────────── */
.expertise-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(204,173,128,.10);
}
.expertise-item:last-child { border-bottom: 1px solid rgba(204,173,128,.10); }
.expertise-item::after {
  content: '→';
  font-family: var(--sans);
  font-size: 20px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s, transform .3s;
  flex-shrink: 0;
  margin-left: 24px;
  font-weight: 300;
}
.expertise-item:hover::after { opacity: 1; transform: translateX(0); }

/* ── Form: Success State ────────────────────────────── */
.contact-form { transition: opacity .3s; }
.contact-form.hidden { display: none; }
.form-success {
  display: none;
  padding: 60px 0 40px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
  color: var(--gold);
}
.form-success p { font-size: 15px; line-height: 1.75; opacity: .75; }

/* ── Hero: Dynamic Viewport Height ─────────────────── */
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}

/* ── Tablet: Hero H1 clamp fix (768–1024) ───────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero h1 { font-size: clamp(40px, 6vw, 72px); }
}

/* ── Mobile Improvements ─────────────────────────────── */
@media (max-width: 767px) {
  /* Portrait: center horizontally */
  .portrait-wrap { display: flex; justify-content: center; }
  .portrait-wrap img { margin: 0 auto; }



  /* Footer grid: 2-col, Standort spans full width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }

  /* CTA Banner: show image above content instead of hiding */
  .cta-banner .two-col > div:last-child {
    display: block;
    order: -1;
  }
  .cta-banner .two-col > div:last-child img,
  .cta-banner .two-col > div:last-child [style] {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .cta-banner .two-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Testimonial: scale font */
  .testimonial-text { font-size: clamp(16px, 4.5vw, 20px); }

  /* Footer touch targets */
  .footer-col a { padding: 7px 0; line-height: 1.5; }
}

/* ── Keyboard Dropdown: force-open state ────────────── */
.nav-dropdown.kb-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
