/* i0i.eu — restrained editorial design; no external assets or fonts */

:root {
  --forest: #183f3a;
  --forest-deep: #102f2b;
  --ochre: #9a7445;
  --ink: #25312e;
  --muted: #66706b;
  --paper: #fbfaf6;
  --paper-warm: #f1eee5;
  --paper-deep: #e5dfd2;
  --line: #cec5b5;
  --maxw: 1120px;
  --serif: Iowan Old Style, Baskerville, Times New Roman, Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.97);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--ochre); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: block;
  color: var(--ink);
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ochre);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--forest); }

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 104px;
  color: #f9f5e9;
  background: var(--forest);
  border-bottom: 8px solid var(--ochre);
}

.hero::before,
.hero::after {
  position: absolute;
  display: block;
  width: min(40vw, 530px);
  height: min(40vw, 530px);
  border: 1px solid rgba(241, 238, 229, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before { top: -360px; right: -115px; }
.hero::after { right: -235px; bottom: -465px; }

.hero .wrap { position: relative; z-index: 1; }

.hero h1 {
  max-width: 790px;
  margin: 0 0 24px;
  color: #fffdf7;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero h1::before {
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 25px;
  background: var(--ochre);
  content: "";
}

.hero .lead {
  max-width: 650px;
  margin: 0 0 38px;
  color: #e4e7df;
  font-family: var(--serif);
  font-size: 1.31rem;
  line-height: 1.55;
}

.cta,
.cta-secondary {
  display: inline-block;
  padding: 13px 22px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cta {
  color: #fffdf7;
  background: var(--ochre);
  border: 1px solid var(--ochre);
}

.cta:hover,
.cta:focus-visible {
  color: #fffdf7;
  background: #805d35;
  border-color: #805d35;
}

.cta-secondary {
  margin-left: 10px;
  color: #fffdf7;
  border: 1px solid rgba(255, 253, 247, 0.58);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--forest);
  background: #fffdf7;
  border-color: #fffdf7;
}

/* ---------- Sections ---------- */
section { padding: 94px 0; }

section.alt {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title,
.page h1 {
  margin: 0 0 15px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.section-title::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 19px;
  background: var(--ochre);
  content: "";
}

.section-sub {
  max-width: 720px;
  margin: 0 0 42px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.19rem;
  line-height: 1.62;
}

/* ---------- Service cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 100%;
  padding: 31px 32px 30px;
  background: #fffefb;
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest);
  box-shadow: 0 3px 9px rgba(29, 42, 37, 0.035);
}

.card h3 {
  margin: 0 0 18px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card li {
  position: relative;
  padding: 7px 0 7px 19px;
}

.card li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--ochre);
  content: "";
}

/* ---------- Oldtimer teaser ---------- */
.teaser {
  max-width: 920px;
  padding: 43px 47px 46px;
  background: #fffefb;
  border: 1px solid var(--line);
  border-left: 6px solid var(--ochre);
}

.teaser h3 {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.teaser p {
  max-width: 735px;
  margin: 0 0 25px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.12rem;
}

.teaser .cta { color: #fffdf7; }

/* ---------- About & contact ---------- */
.about { max-width: 820px; }
.about p { margin-bottom: 0; }

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.72;
}

.contact-list li { padding: 3px 0; }

.contact-list a,
.page a {
  color: var(--forest);
  font-weight: 650;
  text-decoration-color: var(--ochre);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-list a:hover,
.page a:hover { color: var(--ochre); }

/* ---------- Text pages incl. Oldtimer ---------- */
.page {
  max-width: 820px;
  min-height: calc(100vh - 168px);
  padding: 91px 0 100px;
}

.page h1 {
  padding: 0 0 29px;
  margin-bottom: 33px;
  border-bottom: 1px solid var(--line);
}

.page h1::before {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 21px;
  background: var(--ochre);
  content: "";
}

.page h2 {
  margin: 42px 0 11px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.page p,
.page li { color: var(--ink); }

.page ul { padding-left: 1.2rem; }
.page li { padding-left: 0.18rem; margin: 4px 0; }
.page li::marker { color: var(--ochre); }

.page .block {
  max-width: 760px;
  margin: 0 0 25px;
  font-size: 1.035rem;
  line-height: 1.78;
}

.page .lead {
  max-width: 760px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.36rem;
  line-height: 1.55;
}

.muted { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  color: #dce1d8;
  background: var(--forest-deep);
  border-top: 5px solid var(--ochre);
  font-size: 0.83rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  gap: 18px;
}

.footer-links a {
  margin-left: 22px;
  color: #f8f3e8;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: #d5b586; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 23px; }

  .nav {
    min-height: 0;
    display: block;
    padding: 16px 0 14px;
  }

  .brand { display: inline-block; font-size: 1.38rem; }

  .nav-links {
    width: 100%;
    max-width: none;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
  }

  .nav-links a { font-size: 0.56rem; letter-spacing: 0.045em; white-space: nowrap; }
  .nav-links a::after { bottom: -3px; }

  .hero { padding: 65px 0 61px; }
  .hero h1 { font-size: clamp(2.28rem, 10vw, 3.2rem); }
  .hero h1::before { margin-bottom: 20px; }
  .hero .lead { font-size: 1.12rem; }

  .hero .cta,
  .hero .cta-secondary {
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .hero .cta-secondary { margin: 10px 0 0; }

  section { padding: 66px 0; }
  .section-sub { margin-bottom: 31px; font-size: 1.1rem; }
  .grid { grid-template-columns: 1fr; gap: 15px; }
  .card { padding: 26px 24px; }
  .card h3 { font-size: 1.35rem; }
  .teaser { padding: 31px 26px 33px; border-left-width: 5px; }

  .page { min-height: calc(100vh - 185px); padding: 62px 0 70px; }
  .page h1 { margin-bottom: 27px; padding-bottom: 23px; }
  .page h2 { margin-top: 34px; }
  .page .lead { font-size: 1.22rem; }

  .footer-inner { min-height: 0; padding: 26px 0; align-items: flex-start; flex-direction: column; }
  .footer-links a { margin-right: 19px; margin-left: 0; }
}

@media (max-width: 390px) {
  .wrap { padding: 0 18px; }
  .brand { font-size: 1.25rem; }
  .nav-links { gap: 5px; margin-top: 13px; }
  .nav-links a { font-size: 0.51rem; letter-spacing: 0.025em; }
}
