/* ==========================================================================
   Gerüstbau Marko Häber – Platzhalter-Seite
   Eigenständig: keine Abhängigkeit zur Haupt-Website, keine externen Ressourcen.
   ========================================================================== */

/* Poppins (SIL Open Font License 1.1, siehe fonts/OFL.txt) – selbst gehostet */
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/poppins-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/poppins-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #020087;
  --brand-dark: #01005c;
  --accent: #f29950;
  --accent-dark: #d9722a;
  --text: #1c1c2b;
  --muted: #595f6e;
  --border: #dde1e7;
  --bg: #ffffff;
  --on-brand: #ffffff;
  --on-brand-muted: rgb(255 255 255 / 0.74);
  --on-brand-line: rgb(255 255 255 / 0.18);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --slant: clamp(40px, 6vw, 96px);
  --radius: 3px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--brand-dark);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Logo ------------------------------------------------------------------ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--on-brand);
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo__text span {
  font-size: 0.9rem;
  color: var(--on-brand-muted);
}

/* --- Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn--accent {
  background: var(--accent);
  color: var(--brand-dark);
}

.btn--accent:hover {
  background: #f6b37c;
}

.btn--ghost {
  border-color: var(--on-brand-line);
  color: var(--on-brand);
}

.btn--ghost:hover {
  border-color: var(--on-brand);
}

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

.hold {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--brand);
}

.hold__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vh, 3.5rem);
  padding: clamp(24px, 4vh, 48px) var(--gutter);
  color: var(--on-brand);
  background:
    linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.hold__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hold h1 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  color: var(--on-brand);
  text-wrap: balance;
}

.hold h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--on-brand-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 2.5rem;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--on-brand-line);
}

.details dt {
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.details dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.details a {
  text-decoration-color: var(--on-brand-line);
  text-underline-offset: 3px;
}

.details a:hover {
  text-decoration-color: currentColor;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--on-brand-muted);
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--on-brand);
  text-underline-offset: 3px;
}

.hold__photo {
  order: -1;
  height: clamp(200px, 34vh, 320px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant) * 0.6), 0 100%);
}

.hold__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

@media (min-width: 960px) {
  .hold {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .hold__photo {
    order: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    margin-left: calc(var(--slant) * -1);
    clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%);
  }

  .hold__photo img {
    object-position: 55% center;
  }

  .hold__panel {
    padding-right: calc(var(--gutter) + var(--slant) * 0.5);
  }
}

/* --- Rechtliche Seiten ----------------------------------------------------- */

.legal-header {
  padding: 1.25rem var(--gutter);
  background: var(--brand);
  color: var(--on-brand);
}

.legal-header__inner,
.legal-footer .site-footer {
  max-width: 52rem;
  margin: 0 auto;
}

.legal-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-main {
  max-width: calc(52rem + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}

.legal-main h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--brand-dark);
}

.legal-main h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 1rem;
  background: var(--accent);
}

.legal-main h2 {
  margin-top: 2.2em;
  font-size: 1.3rem;
  color: var(--brand-dark);
}

.legal-main h3 {
  margin-top: 1.6em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.legal-main a {
  color: var(--brand);
  text-underline-offset: 3px;
}

.legal-main ul {
  padding-left: 1.25rem;
}

.legal-main li {
  margin-bottom: 0.35rem;
}

.legal-footer {
  padding: 1.5rem var(--gutter);
  background: var(--brand-dark);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
