:root {
  --paper: #fffdf9;
  --cream: #f3eadc;
  --ink: #211a16;
  --brown: #390000;
  --bronze: #9b7447;
  --bronze-soft: rgba(155, 116, 71, .42);
  --muted: #665d55;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; min-height: 100svh; margin: 0; overflow-x: hidden; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--bronze); outline-offset: 4px; border-radius: 2px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 14px; z-index: 10; padding: 9px 13px; background: var(--paper); color: var(--brown); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

main { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }

.identity { padding: clamp(34px, 5vw, 58px) 0 clamp(32px, 4.5vw, 52px); }
.identity-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) 1px minmax(320px, .85fr); align-items: center; gap: clamp(42px, 6vw, 76px); min-height: 310px; }
.artwork { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.logo { order: 2; display: block; width: min(100%, 500px); height: auto; }
.values { order: 1; align-self: flex-start; margin: 0 0 29px clamp(10px, 3vw, 42px); color: var(--bronze); font-family: "Segoe Print", "Bradley Hand", cursive; font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.2; transform: rotate(-2deg); }
.values span { display: block; }
.identity-divider { width: 1px; height: 280px; background: var(--bronze-soft); }
.contact { padding-block: 12px; }
h1 { margin: 0; color: var(--brown); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.role { margin: 11px 0 0; color: var(--bronze); font-size: .74rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.accent-line { display: block; width: 58px; height: 2px; margin: 24px 0 27px; background: var(--bronze); }
address { font-style: normal; }
.contact-list { display: grid; gap: 3px; }
.contact-list a { width: fit-content; min-height: 36px; display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: center; color: var(--ink); font-size: .97rem; text-decoration: none; }
.contact-list a:hover { color: var(--brown); }
.contact-list a > span:first-child { color: var(--bronze); font-size: .69rem; font-weight: 750; }
.mobile-break { display: none; }

.quiet-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 24px; padding-top: 14px; }
.quiet-nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--muted); font-size: .76rem; text-decoration: none; }
.quiet-nav a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 4px; }
#kontakt, #dienstleistungen, #social-media { scroll-margin-top: 20px; }
.section-label { margin: 0; color: var(--bronze); font-size: .72rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.services { padding-top: 20px; border-top: 1px solid var(--bronze); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 16px 0 0; padding: 0; list-style: none; }
.service-list li { padding: 15px 0; border-top: 1px solid var(--bronze-soft); }
.service-list h3 { margin: 0; color: var(--brown); font-size: 1rem; font-weight: 650; }
.service-list p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.links-area { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 33px; margin-bottom: 28px; padding: 20px 24px 8px; background: var(--cream); }
.links-area::before { content: ""; position: absolute; top: -13px; left: 0; right: 0; border-top: 1px solid var(--bronze); }
.social { position: relative; }
.social::before { content: ""; position: absolute; left: -20px; top: 0; bottom: 12px; border-left: 1px solid var(--bronze-soft); }
.link-row { position: relative; display: flex; flex-direction: column; padding: 16px 28px 16px 0; text-decoration: none; }
.link-row + .link-row { border-top: 1px solid var(--bronze-soft); }
.link-row strong { color: var(--brown); font-size: 1rem; font-weight: 600; }
.inventory-link strong { font-size: 1.12rem; font-weight: 700; }
.link-row > span { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.link-row i { position: absolute; right: 0; top: 16px; color: var(--bronze); font-style: normal; transition: transform .18s ease; }
.link-row:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.link-row:hover i { transform: translate(2px, -2px); }

.legal-footer { flex: 0 0 auto; margin-top: auto; border-top: 1px solid rgba(155, 116, 71, .25); }
.legal-footer .container { min-height: 58px; display: flex; align-items: center; color: var(--muted); font-size: .74rem; }
.legal-labels { margin-left: auto; }

@media (max-width: 800px) {
  .identity { padding-top: 34px; }
  .identity-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .artwork { align-items: flex-start; }
  .logo { order: 1; align-self: center; width: min(60%, 420px); }
  .values { display: none; }
  .identity-divider { display: none; }
  .contact { padding-top: 8px; border-top: 1px solid var(--bronze-soft); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .quiet-nav { justify-content: flex-start; column-gap: 18px; padding-top: 6px; }
  .quiet-nav a { font-size: .72rem; }
  .identity { padding: 25px 0 36px; }
  .service-list { grid-template-columns: 1fr; margin-top: 14px; }
  .service-list li { padding: 13px 0; }
  .service-list p { font-size: .84rem; }
  .links-area { grid-template-columns: 1fr; gap: 20px; padding: 20px 18px 8px; }
  .social::before { display: none; }
  .identity-grid { gap: 26px; }
  .values { display: none; }
  .contact { padding-top: 28px; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.1rem); }
  .role { font-size: .68rem; }
  .contact-list { gap: 1px; }
  .contact-list a { min-height: 38px; }
  .mobile-break { display: inline; }
  .desktop-comma { display: none; }
  .legal-footer .container { min-height: 76px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
  .legal-labels { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
