/* ==========================================================================
   wobo.de – Visitenkarte
   Schriften, Farben und Typografie folgen dem bisherigen Erscheinungsbild
   (Astra/Elementor: Poppins 600 für Überschriften, Raleway 400 für Text).
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --ink-body: #3d3d3d;
  --surface: #f3f3f3;
  --surface-alt: #f6f6f6;
  --line: #e4e4e4;
  --white: #ffffff;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------- Grundlagen */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  text-decoration: none;
}

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

.card-print {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------- Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 34px;
}

.brand:hover img {
  opacity: 0.85;
}

.brand-name {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* --------------------------------------------------------------------- Hero */

.hero {
  background: var(--surface);
  padding-block: clamp(44px, 7vw, 96px) clamp(56px, 8vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "head portrait"
    "body portrait";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.hero-head {
  grid-area: head;
}

.hero-body {
  grid-area: body;
  align-self: start;
}

.kicker {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 1vw + 1.6rem, 2.8125rem);
  letter-spacing: -0.01em;
}

.hero-lead {
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.hero-note {
  max-width: 46ch;
  margin-top: 1.6em;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.signature {
  width: clamp(160px, 17vw, 210px);
  margin-top: clamp(24px, 3vw, 40px);
  opacity: 0.92;
}

.hero-portrait {
  grid-area: portrait;
  margin: 0;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  background: #eae7e3;
}

/* --------------------------------------------------------------- Kontakt */

.facts {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.facts-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  margin: 0;
  padding: 24px 0;
  list-style: none;
}

.facts-list li {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.facts-list li + li {
  text-align: right;
}

.contact {
  background: var(--white);
  padding-block: clamp(52px, 7vw, 96px);
}

.contact h2 {
  font-size: clamp(1.5rem, 0.7vw + 1.3rem, 2rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(30px, 4vw, 48px);
}

.contact-item p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.label {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------- Buch */

.book {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 80px);
}

.book-grid {
  display: grid;
  grid-template-columns: clamp(130px, 15vw, 190px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
}

.book-cover {
  margin: 0;
}

.book-cover img {
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.book h2 {
  margin: 0 0 0.35em;
  font-size: clamp(1.5rem, 0.7vw + 1.3rem, 2rem);
}

.book-sub {
  max-width: 42ch;
  margin-bottom: 1.1em;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.book-meta {
  max-width: 46ch;
  margin-bottom: 1.4em;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.link-arrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

.link-arrow:hover {
  border-bottom-color: transparent;
}

.link-arrow span {
  display: inline-block;
  transition: transform 0.15s ease;
}

.link-arrow:hover span {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------- Footer */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  padding-block: 34px;
}

.footer-inner a,
.footer-inner span {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ------------------------------------------------------------ Rechtstexte */

.legal {
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 100px);
}

.legal .wrap {
  max-width: 820px;
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(28px, 4vw, 44px);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal h1 {
  margin-bottom: 1.2em;
  font-size: clamp(1.75rem, 1vw + 1.5rem, 2.25rem);
}

.legal h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal address,
.legal li {
  font-size: 1rem;
  line-height: 1.8;
}

.legal address {
  margin: 0 0 1em;
  font-style: normal;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.1em;
}

.legal li {
  margin-bottom: 0.35em;
}

.legal .note {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------- Responsive */

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "portrait"
      "body";
    row-gap: 28px;
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-portrait {
    max-width: 440px;
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .brand img {
    height: 28px;
  }

  .brand-name {
    font-size: 0.875rem;
  }
}

@media (max-width: 620px) {
  .brand-name {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  .facts-list li + li {
    text-align: left;
  }

  .book-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 26px;
  }

  .book-cover {
    width: 130px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .site-nav a {
    letter-spacing: 0.04em;
    font-size: 0.6875rem;
  }
}
