/* tillzier.com – Nachbau der Stockholm/Elementor-Seite als statische Seite.
   Typografie und Farben aus den Theme-Einstellungen der Live-Datenbank (Stand 2026),
   Layout und Abstände aus dem Snapshot von 2022. Schriften lokal (SIL OFL). */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }

:root {
  --text: #555555;
  --link: #ababab;
  --bg-page: #f7f7f7;
  --bg-light: #f7f7f7;
  --bg-warm: #f3f0ec;
  --bg-contact: #d2cbc4;
  --bg-footer: #c0b7ad;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--text); }
p { margin: 0 0 12px; }

h1, h2, h4, h5, h6 { margin: 0; font-weight: 400; color: var(--text); text-transform: none; letter-spacing: 0; }
h1 { font-family: "Playfair Display", serif; font-size: 36px; line-height: 54px; color: #fafafa; text-align: center; }
h2 { font-size: 52px; line-height: 70px; margin-bottom: 40px; }
h4 { font-size: 30px; line-height: 50px; }
h5 { font-size: 24px; line-height: 38px; margin-bottom: 18px; }
h5 a { color: var(--text); }
h5 a:hover { color: var(--link); }
h6 { font-size: 18px; line-height: 30px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }

/* Header transparent über dem Hero */
.site-header { position: absolute; top: 0; left: 0; right: 0; height: 100px; z-index: 10; }
.site-header .inner {
  max-width: 1300px; height: 100%; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { display: block; height: 100px; width: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-header nav a {
  position: relative; display: inline-block; padding: 0 10px; line-height: 100px;
  color: #fafafa; font-size: 14px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase;
}
.site-header nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 38px; height: 1px;
  background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-header nav a:hover { color: rgba(255,255,255,.7); }
.site-header nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; padding: 0 100px;
  background: #8fb3b3 url("/img/hero-desktop.jpg") center / cover no-repeat;
}

/* Abschnitte */
section.block { padding: 200px 0; }
.bg-light { background: var(--bg-light); }
.bg-warm { background: var(--bg-warm); }
.bg-contact { background: var(--bg-contact); }

.intro { text-align: center; }
.intro .text { max-width: 900px; margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 75px; row-gap: 75px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 100px; row-gap: 75px; }
.item .date { margin-bottom: 12px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; column-gap: 40px; }
.contact h4, .contact h5 { color: #fff; }
.contact h5 { margin-bottom: 18px; }
.contact h6 a, .contact p a { color: #fafafa; }
.contact h6 a:hover, .contact p a:hover { color: rgba(255,255,255,.7); }
.contact p { margin: 0; }

/* Footer */
.site-footer { background: var(--bg-footer); color: #fff; text-align: center; padding: 38px 20px; font-size: 14px; line-height: 23px; }
.site-footer a { display: block; color: #fff; }
.site-footer a:hover { color: rgba(255,255,255,.7); }

/* Rechtstexte */
.legal-header { position: static; background: #fff; }
.legal-header nav a { color: var(--text); }
.legal-header nav a:hover { color: #b9b9b9; }
.legal-header nav a::after { background: var(--text); }
.legal { padding: 100px 0 150px; background: var(--bg-light); }
.legal .container { max-width: 800px; }
.legal h1 { font-family: "Montserrat", sans-serif; font-size: 52px; line-height: 70px; color: var(--text); text-align: left; margin-bottom: 40px; }
.legal h3 { color: var(--text); font-size: 20px; line-height: 30px; font-weight: 500; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 27px; }
.legal ul { padding-left: 20px; }
.legal a { color: #8a8a8a; text-decoration: underline; }

/* Responsiv (Theme: Tablet/Mobil H1 22/32, H2 38/56, H4 24/38) */
@media (max-width: 1200px) {
  .container { padding: 0 50px; }
  .grid-3 { column-gap: 50px; }
  .grid-2 { column-gap: 60px; }
}
@media (max-width: 1000px) {
  h1 { font-size: 22px; line-height: 32px; }
  h2 { font-size: 38px; line-height: 56px; }
  h4 { font-size: 24px; line-height: 38px; }
  section.block { padding: 100px 0; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; row-gap: 50px; }
  .site-header nav a::after { display: none; }
}
@media (max-width: 767px) {
  .hero {
    padding: 0 50px; align-items: center; justify-content: center;
    background-image: url("/img/hero-mobile.jpg"); background-position: right top;
  }
  /* Elementor 2022 mobil: zentriert, 28px/1.5em, Spalten-Padding 50% 26% 0 */
  .hero h1 { width: 100%; text-align: center; font-size: 28px; line-height: 42px; padding: 50% 26% 0; }
  .container { padding: 0 30px; }
  .site-header { height: 70px; }
  .site-header .inner { padding: 0 12px; }
  .site-header .logo img { height: 56px; }
  .site-header nav a { line-height: 70px; padding: 0 7px; font-size: 12px; }
  .legal h1 { font-size: 38px; line-height: 50px; }
}
@media (max-width: 360px) {
  .site-header .inner { padding: 0 8px; }
  .site-header .logo img { height: 46px; }
  .site-header nav a { padding: 0 5px; font-size: 11px; letter-spacing: 0.3px; }
}

/* Barrierefreiheit: Tastatur-Fokus und Skip-Link */
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #555; padding: 8px 14px; font-size: 14px; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site-header nav a::after { transition: none; } }
