/* Coming-Soon-Seite louisa-hansen.de
   Schriften: System-Stack. Optional selbst gehostete Dateien einsetzen:

   @font-face {
     font-family: "Source Serif 4";
     src: url("../fonts/source-serif-4.woff2") format("woff2");
     font-weight: 400 700;
     font-style: normal;
     font-display: swap;
   }
   @font-face {
     font-family: "Inter";
     src: url("../fonts/inter.woff2") format("woff2");
     font-weight: 400 600;
     font-style: normal;
     font-display: swap;
   }
*/

:root {
  --orange: #E35205;
  --blau: #4298B5;
  --anthrazit: #3D3935;
  --grau: #4A4540; /* etwas dunkler als #5F5A55, für WCAG AA auf der aufgehellten Fläche */
  --grau-design: #5F5A55;
  --weiss: #ffffff;
  --text: var(--anthrazit);
  --muted: var(--grau);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --logo-width: 16.25rem;
  --content-width: 28rem;
  --pad-top: clamp(1.6rem, 6.5vh, 3.6rem);
  --pad-side: clamp(1.4rem, 5.2vw, 3.6rem);
  --pad-bottom: clamp(1.1rem, 3.2vh, 2rem);
  --focus: 2px solid var(--orange);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
}

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

a {
  color: var(--anthrazit);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--weiss);
  color: var(--anthrazit);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Startseite, Desktop: Foto vollflächig, Inhalt links ---------- */

.page-home {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero picture,
.hero img {
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: 70% 50%;
}

.hero-fade {
  position: absolute;
  inset: 0;
  /* entspricht der genehmigten Folie: weiche Aufhellung links, endet vor der Person */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.82) 10%,
    rgba(255, 255, 255, 0.55) 24%,
    rgba(255, 255, 255, 0) 38%
  );
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(var(--content-width), calc(100% - var(--pad-side) * 1.2));
  padding: var(--pad-top) var(--pad-side) var(--pad-bottom);
}

.logo {
  width: var(--logo-width);
  height: auto;
}

.site-header .logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-header .logo-link:focus-visible {
  outline-offset: 6px;
}

.page-home main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 5vh, 3.4rem) 0 clamp(1rem, 3vh, 2rem);
}

.page-home h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 2.65vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--anthrazit);
  max-width: 11.2em;
}

.lead {
  margin: 0.9rem 0 0;
  max-width: 28ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
}

.note {
  margin: 1.15rem 0 0;
  max-width: 22em;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
}

.contact {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact li {
  margin: 0;
}

.contact-static {
  margin: 0;
}

.contact a,
.contact-static {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.28rem 0.35rem 0.28rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.4;
}

.contact a:hover {
  color: var(--orange);
}

.contact a:hover .icon {
  color: var(--orange);
}

.icon {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  color: var(--orange);
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  padding-top: 0.5rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--anthrazit);
  text-decoration: underline;
}

/* ---------- Startseite, Mobil: Logo, Fotoausschnitt, Text ---------- */

@media (max-width: 800px) {
  .page-home {
    background: var(--weiss);
    display: flex;
    flex-direction: column;
  }

  .page-home .wrap {
    display: contents;
  }

  .hero {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    pointer-events: none;
  }

  .hero-fade {
    display: none;
  }

  .hero picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  /* Zoomen über cover hinaus, damit das Gesicht groß bleibt
     (entspricht dem genehmigten Ausschnitt; Fokus 55% 20%). */
  .hero img {
    width: 250%;
    height: auto;
    max-width: none;
    object-fit: unset;
    position: absolute;
    left: 55%;
    top: 20%;
    transform: translate(-55%, -20%);
  }

  .page-home .site-header {
    order: 1;
    padding: 1.6rem 1.4rem 1.05rem;
  }

  .page-home {
    --logo-width: 13.6rem;
  }

  .page-home main {
    order: 3;
    justify-content: flex-start;
    padding: 1.35rem 1.4rem 0.4rem;
  }

  .page-home h1 {
    max-width: none;
    font-size: 2.05rem;
  }

  .lead {
    margin-top: 0.7rem;
    max-width: none;
    font-size: 1rem;
  }

  .note {
    margin-top: 1rem;
    max-width: none;
    font-size: 1rem;
  }

  .contact {
    margin-top: 1.35rem;
    gap: 0.05rem;
  }

  .contact a,
  .contact-static {
    min-height: 2.75rem;
    align-items: center;
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .contact-static {
    align-items: flex-start;
  }

  .contact-static .icon {
    margin-top: 0.2rem;
  }

  .page-home .site-footer {
    order: 4;
    padding: 0.1rem 1.4rem 1.4rem;
  }
}

@media (max-width: 800px) and (min-width: 481px) {
  .page-home .site-header,
  .page-home main,
  .page-home .site-footer {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}

/* ---------- Impressum / Datenschutz ---------- */

.page-text {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--weiss);
}

.page-text .site-header {
  padding: 2rem var(--pad-side) 0;
  width: min(46rem, 100%);
  margin: 0 auto;
}

.page-text .logo {
  width: 13.75rem;
}

.page-text main {
  flex: 1 1 auto;
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 2rem var(--pad-side) 3rem;
}

.page-text h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--anthrazit);
}

.page-text h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--anthrazit);
}

.page-text p,
.page-text li {
  color: var(--anthrazit);
  font-size: 1rem;
  line-height: 1.6;
}

.page-text p {
  margin: 0 0 0.85rem;
}

.page-text ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.page-text li + li {
  margin-top: 0.25rem;
}

.page-text address {
  font-style: normal;
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.page-text .site-footer {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 0 var(--pad-side) 2rem;
}

/* Platzhalter in eckigen Klammern etwas abheben, aber lesbar halten */
.ph {
  color: var(--muted);
}

.stand {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .page-text .site-header {
    padding: 1.35rem 1.35rem 0;
  }

  .page-text main {
    padding: 1.5rem 1.35rem 2.5rem;
  }

  .page-text .site-footer {
    padding: 0 1.35rem 1.75rem;
  }

  .legal-nav a {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
