/* FERBER Group — ferber.group (FERBER Holding GmbH)
   Schrift: Inter, Regular 400 / Bold 700
   Farben laut Original-Logo: FERBER Rot #CC0040 · Anthrazit #1D1D1B */

:root {
  --fh-red: #cc0040;
  --fh-red-dark: #9e0032;
  --fh-black: #1d1d1b;
  --fh-grey: #46464a;
  --fh-grad-from: #141413;
  --fh-grad-to: #36363a;
  --fh-offwhite: #f7f6f4;
  --fh-frame: clamp(10px, 1.5vw, 22px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--fh-red); text-decoration: none; }
a:hover { color: var(--fh-red-dark); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--fh-red); color: #fff; }

/* Passepartout-Rahmen */
.frame {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: var(--fh-frame);
  overflow: hidden;
}

.frame__inner {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Startseite ---------- */

.home {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, var(--fh-grad-from) 0%, var(--fh-grad-to) 100%);
  padding: clamp(24px, 4vw, 56px);
}


.home__center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.6vh, 44px);
  padding-bottom: clamp(20px, 6vh, 70px);
}

.home__logo {
  width: min(460px, 70vw);
  height: auto;
  display: block;
}

.home__claim {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.35vw, 21px);
  letter-spacing: 0.01em;
  text-align: center;
}

.home__nav {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(8px, 2vh, 26px);
}

.home__nav a {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.home__nav a:hover { color: #fff; }

/* ---------- Unterseiten ---------- */

.page {
  min-height: 100%;
  background: var(--fh-offwhite);
  padding: clamp(28px, 5vw, 80px) clamp(22px, 5vw, 64px) clamp(40px, 6vw, 88px);
}

.page__wrap { max-width: 760px; margin: 0 auto; }

.page__logo-link { display: inline-block; }
.page__logo-link:hover { text-decoration: none; }

.page__logo {
  width: min(240px, 56vw);
  height: auto;
  display: block;
}

.page h1 {
  margin: clamp(40px, 7vh, 72px) 0 0;
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 700;
  color: var(--fh-red);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.page h2 {
  margin: clamp(34px, 5vh, 52px) 0 12px;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  color: var(--fh-grey);
  letter-spacing: -0.005em;
}

.page p {
  margin: 0 0 18px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--fh-grey);
  text-wrap: pretty;
}

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

.page__lead {
  margin: 20px 0 0 !important;
  font-size: clamp(17px, 1.5vw, 20px) !important;
  line-height: 1.6 !important;
}

.page ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fh-grey);
}

.page__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(48px, 8vh, 84px);
  padding-top: 26px;
  border-top: 1px solid rgba(67, 75, 83, 0.16);
}

.page__footer a { font-size: 15px; }
.page__back { color: var(--fh-red); font-weight: 700; }
.page__alt { color: var(--fh-grey); }
.page__alt:hover { color: var(--fh-red); }
