/* IT im Blick — static pages. System fonts and local assets only. */
:root {
  color-scheme: dark;
  --paper: #082e3c;
  --ink: #fff7e8;
  --muted: #e2eee9;
  --accent: #ffd0a6;
  --accent-hover: #ffe1c6;
  --action-ink: #113541;
  --line: rgba(226, 238, 233, 0.28);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  scrollbar-color: #79b2ac var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  position: relative;
  isolation: isolate;
  background: var(--paper);
}

/* The painting stays visible; the left-hand veil gives the copy a quiet home. */
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background: url("/itimblick-assets/landscape-desktop-v1.webp") center / cover no-repeat;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(5, 28, 40, 0.84), rgba(5, 28, 40, 0.72) 12%, transparent 28%),
    linear-gradient(90deg, rgba(5, 28, 40, 0.88), rgba(5, 28, 40, 0.78) 48%, rgba(5, 28, 40, 0.18) 82%, rgba(5, 28, 40, 0.1));
}

::selection { color: var(--action-ink); background: var(--accent); }

a, button {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  touch-action: manipulation;
}

a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }

.shell { width: min(calc(100% - 80px), 1120px); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 2;
  padding: 12px 18px;
  color: var(--action-ink);
  background: var(--accent);
}

.skip-link:focus { top: 12px; }

.site-header { padding-block: 32px; border-bottom: 1px solid var(--line); }

.brand {
  display: inline-block;
  min-height: 44px;
  padding-block: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-it { font-weight: 750; }
.brand-dot { color: var(--accent); }
.brand:hover { color: var(--accent); }

.main { flex: 1; display: flex; align-items: center; padding-block: 88px 104px; }
.content { width: 100%; max-width: 850px; }

h1 {
  max-width: 18ch;
  margin: 0 0 28px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.intro {
  max-width: 47ch;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.contact-link, .primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--action-ink);
  background: var(--accent);
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link span { min-width: 0; }
.contact-link:hover, .primary-link:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.contact-link:active, .primary-link:active { background: #f6bc8f; }
.contact-note { margin: 14px 0 0; color: var(--muted); font-size: 0.875rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 0; border: 0; background: none; text-decoration: underline; overflow-wrap: anywhere; }
.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.error-content h1 { max-width: 20ch; }

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 1000px) {
  body::after {
    background:
      linear-gradient(0deg, rgba(5, 28, 40, 0.45), transparent 30%),
      linear-gradient(90deg, rgba(5, 28, 40, 0.84), rgba(5, 28, 40, 0.74));
  }
}

@media (max-width: 600px) {
  body::before { background-image: url("/itimblick-assets/landscape-mobile-v1.webp"); background-position: 60% center; }
  .shell { width: calc(100% - 40px); }
  .site-header { padding-block: 18px; }
  .main { padding-block: 64px 72px; }
  h1 { margin-bottom: 24px; }
  .intro { margin-bottom: 28px; }
  .site-footer { padding-block: 20px 24px; }
}

@media (max-width: 360px) {
  h1 { font-size: 2.3rem; }
  .contact-link { padding-inline: 14px; }
}

@media (forced-colors: active) {
  body::before, body::after { display: none; }
  .contact-link, .primary-link { border-color: ButtonText; }
}
