/* “More” page layout + imprint modal (aligned with wenstonSite) */

:root {
  --color-orange: #f6a800;
  --color-blue: #081f2d;
  --color-gray: #444444;
  --color-white: #ffffff;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #000000;
  background: #ffffff;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.page__main p {
  margin: 0;
}

.page__main a {
  color: #000000;
}

.page__footer {
  text-align: center;
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.page__imprint {
  background: none;
  border: none;
  color: #000000;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.page__imprint:hover {
  color: var(--color-orange);
}

/* ——— Imprint modal (same pattern as wenstonSite) ——— */

.imprint-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(8, 31, 45, 0.88);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.imprint-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.imprint-overlay[hidden] {
  display: none !important;
}

.imprint-overlay.is-open:not([hidden]) {
  display: flex !important;
}

.imprint {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(85vh, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-gray);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(8, 31, 45, 0.35);
  transform: translateY(12px);
  transition: transform 0.35s var(--ease);
}

.imprint-overlay.is-open .imprint {
  transform: translateY(0);
}

.imprint__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  z-index: 1;
}

.imprint__close:hover {
  background: var(--color-orange);
  color: var(--color-blue);
}

.imprint__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0;
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
  padding-right: 3.5rem;
  border-bottom: 3px solid var(--color-orange);
}

.imprint__content {
  overflow-y: auto;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  -webkit-overflow-scrolling: touch;
}

.imprint__intro {
  margin: 0 0 var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-gray);
}

.imprint__block {
  margin-bottom: var(--space-lg);
}

.imprint__block:last-child {
  margin-bottom: 0;
}

.imprint__block h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0 0 var(--space-sm);
}

.imprint__block p {
  margin: 0 0 var(--space-sm);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.imprint__block a {
  color: var(--color-blue);
  font-weight: 600;
}

.imprint__block a:hover {
  color: var(--color-orange);
}
