@import url('fonts.css');

:root {
  --bg: #30120f;
  --bg-soft: #3e1812;
  --paper: #fbf2d9;
  --paper-soft: #f3e3ad;
  --ink: #30120f;
  --cream: #fbf2d9;
  --gold: #ffc800;
  --amber: #ff8e00;
  --red: #fc0002;
  --magenta: #a10044;
  --line-on-dark: rgba(251, 242, 217, 0.2);
  --line-on-light: rgba(48, 18, 15, 0.16);
  --font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(48, 18, 15, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-on-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand img {
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--paper-soft);
  opacity: 0.75;
}

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

.hero {
  padding: clamp(56px, 10vw, 112px) 0 clamp(56px, 9vw, 104px);
}

.hero-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 40px);
  margin-bottom: 28px;
}

.hero-logo {
  height: 75%;
  width: auto;
  align-self: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 14ch;
}

.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--paper-soft);
  margin: 0;
}

/* ---------- Section scaffolding ---------- */

section {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
}

.seam-lines {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.seam-lines span {
  display: block;
  width: 100%;
}

.seam-lines span:nth-child(1) {
  height: 1px;
}

.seam-lines span:nth-child(2) {
  height: 2px;
}

.seam-lines span:nth-child(3) {
  height: 3px;
}

.seam-lines--light span {
  background: var(--paper);
}

.seam-lines--dark span {
  background: var(--bg);
}

.seam-lines--dark-soft span {
  background: var(--bg-soft);
}

.section-head {
  margin: 0 0 44px;
  max-width: 60ch;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 14px;
}

.section-head p {
  font-size: 16px;
  margin: 0;
}

/* ---------- Leistungen ---------- */

.services {
  background: var(--paper);
  color: var(--ink);
}

.services .section-head p {
  color: #4a443a;
}

.service-list {
  border-top: 1px solid var(--line-on-light);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-on-light);
}

.service-row h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  letter-spacing: 0.005em;
}

.service-row p {
  margin: 0;
  color: #4a443a;
  max-width: 56ch;
}

/* ---------- Ueber uns ---------- */

.about {
  background: var(--bg);
}

.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.about h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 24px;
}

.about p {
  color: var(--paper-soft);
  max-width: 48ch;
  margin: 0 0 18px;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.fan {
  justify-self: center;
  width: min(100%, 360px);
}

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

.contact {
  background: var(--paper);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  border-top: 1px solid var(--line-on-light);
  padding-top: 40px;
}

.contact-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  color: #6b6252;
  margin: 0 0 10px;
}

.contact-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

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

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-on-dark);
  padding: 32px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: center;
  font-size: 14px;
  color: var(--paper-soft);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--paper-soft);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: var(--paper-soft);
}

/* ---------- Simple pages (Impressum / Datenschutz) ---------- */

.legal-page {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

.legal-main {
  padding: clamp(48px, 8vw, 88px) 0 96px;
}

.legal-main .wrap {
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--red);
  margin-bottom: 40px;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 56px);
  margin: 0 0 32px;
}

.legal-main h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 40px 0 12px;
}

.legal-main p,
.legal-main li {
  color: #3a352c;
}

.legal-main ul {
  padding-left: 20px;
}

.legal-main .site-header {
  background: rgba(48, 18, 15, 0.92);
}

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

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

  .about .wrap {
    grid-template-columns: 1fr;
  }

  .fan {
    order: -1;
    width: min(100%, 220px);
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}
