/* AMATH Designs – Platzhalter für CMS-Test-Subdomains.
   Farben und Abstände lassen sich hier zentral anpassen. */
:root {
  color-scheme: dark;
  --background: #111110;
  --surface: #191817;
  --text: #f5f2ec;
  --muted: #b7b1a7;
  --subtle: #a09a90;
  --accent: #b9792b;
  --accent-light: #dfaa65;
  --line: rgba(230, 218, 196, 0.15);
  --page-width: 1240px;
  --page-gutter: clamp(22px, 5vw, 76px);
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 88% 40%, rgba(185, 121, 43, 0.055), transparent 48%), var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-light); color: var(--background); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 7px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
p, h1 { margin: 0; }
svg { display: block; flex: 0 0 auto; }

.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; color: #111110; background: var(--accent-light); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page-shell {
  width: min(100% - 2 * var(--page-gutter), var(--page-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 113px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; }
.brand__logo { width: 34px; height: auto; }
.brand__wordmark { font-size: 17px; font-weight: 750; letter-spacing: 0.13em; line-height: 1.2; }
.brand__wordmark > span { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.39em; margin-top: 4px; }
.environment { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; }
.environment__mark { display: block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(185, 121, 43, 0.09); flex-shrink: 0; }

.main-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(44px, 7.2vh, 86px) 36px; }
.main-content:focus { outline: none; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-bottom: clamp(44px, 7vh, 78px); }
.hero__content { min-width: 0; animation: arrive 700ms ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; color: var(--accent-light); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow > span { display: block; width: 28px; height: 1px; background: var(--accent); }
h1 { max-width: 650px; font-size: clamp(48px, 6vw, 85px); line-height: 1.04; letter-spacing: -0.055em; font-weight: 700; text-wrap: balance; }
h1 > span { display: block; margin-top: 8px; color: var(--accent-light); font-weight: 350; }
.hero__lead { margin-top: 31px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; letter-spacing: -0.025em; }
.hero__description { max-width: 410px; margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.website-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 27px; min-height: 57px; max-width: 100%; margin-top: 30px; padding: 15px 20px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #111110; font-size: 15px; font-weight: 700; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.website-link > span { overflow-wrap: anywhere; }
.website-link svg { transition: transform 180ms ease; }
.link-caption { margin-top: 13px; color: var(--subtle); font-size: 11px; letter-spacing: 0.035em; }
.hero__visual { min-width: 0; width: 100%; max-width: 500px; justify-self: end; animation: arrive 850ms 90ms ease-out both; }
.logo-stage { position: relative; display: grid; place-items: center; isolation: isolate; width: 100%; aspect-ratio: 1; }
.logo-stage__halo { position: absolute; inset: -3%; z-index: -2; background: radial-gradient(circle, rgba(185, 121, 43, 0.13), rgba(185, 121, 43, 0.025) 47%, transparent 68%); }
.logo-stage__ring { position: absolute; z-index: -1; border: 1px solid rgba(185, 121, 43, 0.23); border-radius: 50%; }
.logo-stage__ring--outer { inset: 4%; border-right-color: rgba(185, 121, 43, 0.48); }
.logo-stage__ring--inner { inset: 9%; border-color: rgba(230, 218, 196, 0.065); }
.logo-stage__axis { position: absolute; z-index: -1; background: rgba(230, 218, 196, 0.065); }
.logo-stage__axis--horizontal { height: 1px; left: 0; right: 0; top: 50%; }
.logo-stage__axis--vertical { width: 1px; top: 0; bottom: 0; left: 50%; }
.logo-stage__point { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--background); }
.logo-stage__point--top { top: 3.5%; left: calc(50% - 3px); }
.logo-stage__point--bottom { bottom: 3.5%; left: calc(50% - 3px); }
.hero__logo { width: 56%; height: auto; object-fit: contain; }
.visual-caption { display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 21px; color: var(--subtle); font-size: 9px; letter-spacing: 0.19em; text-align: center; text-transform: uppercase; }
.visual-caption > span { width: 21px; height: 1px; background: var(--line); }

.project-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-note__message { display: flex; align-items: center; gap: 17px; min-width: 0; }
.project-note__icon { display: grid; place-items: center; flex-shrink: 0; width: 45px; height: 45px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--accent-light); }
.note-label { font-size: 14px; font-weight: 500; }
.note-description { color: var(--subtle); font-size: 12px; margin-top: 3px; }
.domain-info { min-width: 0; max-width: 44%; text-align: right; }
.domain-info__label { display: block; margin-bottom: 4px; color: var(--subtle); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
.domain-info__value { display: block; color: var(--accent-light); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 0 27px; color: var(--subtle); font-size: 11px; }
.site-footer a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.site-footer a > span { color: var(--accent-light); font-size: 17px; }

@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .website-link:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
  .website-link:hover svg { transform: translate(2px, -2px); }
  .site-footer a:hover { color: var(--text); }
}

/* Tablets: the two-column composition has room from 900 px upward. */
@media (max-width: 899px) {
  :root { --page-gutter: clamp(22px, 6vw, 48px); }
  .site-header { min-height: 94px; }
  .main-content { padding-top: 50px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 46px; }
  .hero__content { width: 100%; max-width: 630px; }
  h1 { max-width: 620px; font-size: clamp(48px, 8.4vw, 73px); }
  .hero__description { max-width: 460px; }
  .hero__visual { max-width: 310px; justify-self: center; }
  .visual-caption { margin-top: 10px; }
  .project-note { gap: 22px; }
  .project-note__message { gap: 12px; }
  .note-label { font-size: 13px; }
  .note-description { font-size: 11px; }
  .domain-info { max-width: 36%; }
}

/* Smartphones: big touch target, flexible text and a compact logo. */
@media (max-width: 560px) {
  :root { --page-gutter: 22px; }
  .site-header { min-height: 84px; padding-block: 19px; gap: 14px; }
  .brand { gap: 9px; }
  .brand__logo { width: 26px; }
  .brand__wordmark { font-size: 13px; }
  .brand__wordmark > span { font-size: 8px; }
  .environment { max-width: 145px; gap: 7px; font-size: 8px; letter-spacing: 0.08em; }
  .environment__mark { width: 5px; height: 5px; }
  .main-content { padding-block: 39px 20px; }
  .hero { gap: 31px; padding-bottom: 33px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.16em; margin-bottom: 21px; }
  .eyebrow > span { width: 22px; }
  h1 { font-size: clamp(40px, 10.4vw, 58px); line-height: 1.08; }
  h1 > span { margin-top: 5px; }
  .hero__lead { margin-top: 25px; font-size: 20px; }
  .hero__description { font-size: 14px; line-height: 1.75; }
  .website-link { width: 100%; min-height: 56px; margin-top: 25px; padding-inline: 17px; font-size: 14px; }
  .link-caption { font-size: 10px; text-align: center; }
  .hero__visual { max-width: 252px; }
  .visual-caption { font-size: 8px; letter-spacing: 0.13em; gap: 10px; }
  .project-note { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 21px; }
  .project-note__icon { width: 40px; height: 40px; }
  .note-label { font-size: 12px; }
  .note-description { font-size: 11px; }
  .domain-info { max-width: 100%; text-align: left; padding-left: 52px; }
  .domain-info__value { font-size: 11px; }
  .site-footer { flex-wrap: wrap; gap: 0 14px; padding-bottom: 20px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  body { background: #fff; color: #111; }
  .page-shell { width: 100%; min-height: 0; }
  .site-header, .hero__visual, .site-footer, .skip-link { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__content { animation: none; }
  .website-link { color: #111; background: transparent; }
  .hero__description, .note-description, .domain-info__label, .link-caption { color: #444; }
}
