/* Tillit.happens – rahmenloses Fullscreen-Layout
   Inhalte in content.js, Fotos im Ordner images/ austauschen. */
:root {
  --text: #fffaf3;
  --logo-fill: #ffffff;
  --logo-outline: transparent;
  --font-logo: 'IvyOra Text', serif;
  --font-tagline: 'Brandon Grotesque Regular', 'Brandon Grotesque', sans-serif;
  --font-display: var(--font-logo);
  --font-body: var(--font-tagline);
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { background: #171512; color: var(--text); font-family: var(--font-body); }
a { color: inherit; }
.landing { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
/* Keine separate Headerfläche: Logo liegt direkt über dem Bild. */
.brand { position: absolute; z-index: 5; top: clamp(11px, 1.6vw, 29px); left: clamp(11px, 1.6vw, 29px); padding: 0; margin: 0; }
.brand-logo-link { display: block; width: min(33.6vw, 416px); max-width: min(33.6vw, 416px); text-decoration: none; line-height: 1; }
.brand-logo { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }

.panels { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.panel { position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; padding: 0 clamp(22px, 4vw, 68px) clamp(95px, 11vh, 135px); background-size: cover; background-position: center; isolation: isolate; }
.panel-events { background-image: url('images/events-reference.jpg'); background-position: center; }
.panel-weddings { background-image: url('images/weddings-reference.jpg'); background-position: center; }
/* Sanfter Verlauf nur innerhalb der Fotos, keine Rahmen oder Karten. */
.panel-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.58) 100%); }
.panel-content { width: 100%; max-width: 680px; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.42); }
.panel h1, .panel h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(3rem, 5.1vw, 5.6rem); line-height: .98; font-weight: 400; letter-spacing: -.035em; }
.panel-description { margin: 0 auto 18px; font-size: clamp(.95rem, 1.2vw, 1.2rem); line-height: 1.42; text-wrap: balance; }
.panel-link { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-width: 250px; min-height: 50px; padding: 12px 24px; border: 1px solid rgba(255,255,255,.96); border-radius: 100px; color: #fff; background: rgba(0,0,0,.12); text-decoration: none; font-size: .94rem; text-shadow: none; transition: background .2s ease, color .2s ease; }
.panel-link:hover, .panel-link:focus-visible { background: #fff; color: #171512; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* Fußzeile liegt direkt über den Bildern und erzeugt keine eigene Fläche. */
.footer { position: absolute; z-index: 5; bottom: clamp(18px, 3.2vh, 38px); left: 0; right: 0; text-align: center; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.85); padding: 0 12px; }
.social-links, .legal-links { display: flex; align-items: center; justify-content: center; gap: 15px; }
.social-links { margin-bottom: 7px; font-size: .88rem; letter-spacing: .025em; }
.legal-links { gap: 10px; font-size: .72rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.separator { opacity: .85; }
@media (max-width: 700px) {
  .brand { top: 9px; left: 9px; }
  .brand-logo-link { width: min(49.6vw, 248px); max-width: min(49.6vw, 248px); }
  .panels { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .panel { align-items: flex-end; padding: 0 18px clamp(65px, 9vh, 88px); }
  .panel-events { background-position: center 52%; }
  .panel-weddings { background-position: center 52%; }
  .panel-shade { background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.62) 100%); }
  .panel h1, .panel h2 { font-size: clamp(2.25rem, 10vw, 3.3rem); margin-bottom: 6px; }
  .panel-description { font-size: clamp(.78rem, 3.25vw, .96rem); line-height: 1.32; margin-bottom: 10px; }
  .panel-link { min-width: 194px; min-height: 38px; padding: 8px 15px; font-size: .81rem; gap: 9px; }
  .footer { bottom: 10px; padding: 0 8px; }
  .social-links { gap: 9px; margin-bottom: 4px; font-size: .76rem; }
  .legal-links { gap: 8px; font-size: .64rem; }
}
@media (max-width: 380px) {
  .brand { top: 7px; left: 7px; }
  .brand-logo-link { width: min(49.6vw, 208px); max-width: min(49.6vw, 208px); }
  .panel { padding-left: 12px; padding-right: 12px; padding-bottom: 60px; }
  .panel h1, .panel h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .panel-description { font-size: .73rem; }
  .panel-link { min-width: 175px; min-height: 34px; font-size: .75rem; }
  .footer { bottom: 7px; }
  .social-links { font-size: .7rem; gap: 7px; }
  .legal-links { font-size: .6rem; }
}
@media (max-height: 650px) and (min-width: 701px) {
  .brand { top: 20px; }
  .brand-logo-link { width: min(33.6vw, 352px); max-width: min(33.6vw, 352px); }
  .panel { padding-bottom: 85px; }
  .panel h1, .panel h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
  .panel-description { font-size: .9rem; margin-bottom: 10px; }
  .panel-link { min-height: 42px; }
  .footer { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
