@charset "UTF-8";
/* ============================================================
   home.css — index.html only (hero, blocks, footer, modals)
   Requires base.css to be loaded first.
   ============================================================ */

:root { --max: 1500px; }

html { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
body.modal-open { overflow: hidden; }

/* homepage header uses a bigger brand mark than the subpages */
.site-brand {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.site-sub {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-top: 8px;
}

/* ── CURSOR ──────────────────────────────────── */
#cur  { position: fixed; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .2s, height .2s; mix-blend-mode: multiply; }
#cur2 { position: fixed; width: 32px; height: 32px; border: 1px solid rgba(255,181,0,.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: all .15s ease; }

/* ── HERO (headline + text sit directly on the image) ── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: relative; width: 100%; }
.hero-bg img { width: 100%; height: auto; display: block; object-position: right bottom; }

.hero-content { position: absolute; inset: 0; }
.hero-h1 {
  position: absolute;
  top: 7%;
  left: 56px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.28;
  max-width: 50%;
  letter-spacing: -0.01em;
}
.hero-h1 span { display: block; font-size: clamp(2.8rem, 5.6vw, 5rem); }

.hero-bottom { position: absolute; top: 64%; left: 56px; max-width: 520px; }
.hero-question {
  font-family: var(--sans);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.22;
  margin-bottom: 18px;
}
.hero-caption {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.5;
}

/* ── REVEAL ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ── DIVIDER (single style: centered, 2/3 width) ── */
.divider { border: none; height: 3px; background: var(--orange); width: 66.666%; margin: 64px auto; display: block; }

/* ── BLOCKS WRAP (side whitespace, image edge aligns
     with the hero headline's left start at 56px) ── */
.blocks-wrap { max-width: var(--max); margin: 0 auto; padding: 72px 56px 0; }

/* ── TWO COL ─────────────────────────────────── */
.two { display: grid; grid-template-columns: 42fr 58fr; align-items: center; }
.two.img-right { grid-template-columns: 58fr 42fr; }
.two-img { overflow: hidden; min-height: 440px; }
.two-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 440px; transition: transform .65s ease; }
.two-img:hover img { transform: scale(1.04); }
.two-text { padding: 76px 72px; display: flex; flex-direction: column; justify-content: center; }
.two-text.pad-left { padding: 60px 64px 60px 72px; }

.lbl { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.hdg { font-family: var(--serif); font-size: clamp(2.1rem, 3vw, 2.8rem); color: var(--blue); line-height: 1.15; margin-bottom: 22px; }
.txt { font-size: 1.08rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }

.link-cta { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); text-decoration: none; border-bottom: none; padding-bottom: 3px; margin-top: 32px; transition: color .2s, gap .2s; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; font-family: var(--sans); }
.link-cta::after { content: "→"; transition: transform .2s; }
.link-cta:hover { color: var(--orange); gap: 14px; }
.link-cta:hover::after { transform: translateX(4px); }

/* ── FOOTER (rich version with contact info + quote) ─── */
footer { background: var(--blue); padding: 88px 56px 52px; border-top: 3px solid var(--orange); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 56px; }
.footer-grid-3 { grid-template-columns: .9fr .8fr 1.1fr; gap: 56px; }

.footer-tagline { font-family: var(--serif); font-size: 1.5rem; color: rgba(255,255,255,.92); line-height: 1.5; margin-bottom: 24px; }
.footer-cta-lbl { font-family: var(--serif); font-size: 1.15rem; color: rgba(255,255,255,.75); }

.footer-kontakt-h { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: #fff; margin-bottom: 20px; }
.footer-addr { font-size: 1.02rem; line-height: 2; color: rgba(255,255,255,.75); }
.footer-addr a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-addr a:hover { color: var(--orange); }

.footer-form { display: flex; flex-direction: column; gap: 12px; }
.footer-form input[type="text"],
.footer-form input[type="email"],
.footer-form textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--sans);
  font-size: .92rem;
  padding: 11px 14px;
  outline: none;
  resize: none;
  transition: border-color .2s;
}
.footer-form input[type="text"]::placeholder,
.footer-form input[type="email"]::placeholder,
.footer-form textarea::placeholder { color: rgba(255,255,255,.45); }
.footer-form input[type="text"]:focus,
.footer-form input[type="email"]:focus,
.footer-form textarea:focus { border-color: var(--orange); }

.footer-form-privacy { display: flex; align-items: flex-start; gap: 8px; font-size: .76rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer-form-privacy input { margin-top: 3px; accent-color: var(--orange); }
.footer-form-privacy a { color: rgba(255,255,255,.8); }
.footer-form-privacy a:hover { color: var(--orange); }

.footer-form-btn {
  align-self: flex-start;
  background: var(--orange);
  color: var(--dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  padding: .85em 2em;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.footer-form-btn:hover { background: #fff; }

.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 8px; }
.footer-legal-link { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.footer-legal-link:hover { color: var(--orange); }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }

/* ── MODAL ───────────────────────────────────── */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(5,12,15,.82); z-index: 300; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(5px); }
.modal-backdrop.active { display: flex; }
.modal { background: #fff; width: 100%; max-width: 820px; max-height: 90vh; overflow-y: auto; position: relative; animation: mIn .3s cubic-bezier(.16,1,.3,1); }
@keyframes mIn { from { opacity: 0; transform: scale(.95) translateY(20px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.3rem; z-index: 10; transition: color .15s, transform .25s; }
.modal-close:hover { color: var(--blue); transform: rotate(90deg); }
.modal-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.modal-body { padding: 44px 52px 52px; }
.modal-tag { font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.modal-h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--blue); line-height: 1.12; margin-bottom: 22px; }
.modal-p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.modal-list { list-style: none; margin: 20px 0 28px; }
.modal-list li { font-size: .95rem; color: var(--muted); padding: 10px 0 10px 20px; position: relative; border-bottom: 1px solid #eee; }
.modal-list li:first-child { border-top: 1px solid #eee; }
.modal-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 2px; background: var(--orange); }
.modal-foot { margin-top: 36px; padding-top: 28px; border-top: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.modal-foot-text { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--blue); }
.btn-sm { display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .8em 1.8em; border: none; cursor: pointer; font-family: var(--sans); transition: background .2s; white-space: nowrap; }
.btn-sm:hover { background: var(--orange); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 860px) {
  body { cursor: auto; }
  #cur, #cur2 { display: none; }
  /* dedicated portrait image for mobile — simple natural sizing,
     no crop trickery needed since this image is purpose-composed */
  .hero { min-height: auto !important; height: auto !important; overflow: hidden !important; }
  .hero-bg {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
  }
  .hero-bg img {
    position: static !important;
    width: 100% !important; height: auto !important;
    object-fit: initial !important; object-position: initial !important;
    display: block !important;
  }
  .hero-content {
    position: absolute !important; inset: 0 !important;
    display: block !important;
    padding: 0 !important;
    height: auto !important;
  }
  .hero-h1, .hero-bottom { left: auto !important; max-width: 78% !important; display: block !important; padding: 0 24px !important; box-sizing: border-box !important; }
  .hero-h1 { position: absolute !important; top: 2% !important; }
  .hero-bottom { position: absolute !important; top: 64% !important; }
  .hero-h1, .hero-question, .hero-caption {
    text-shadow:
      0 0 6px rgba(255,255,255,.85),
      0 0 12px rgba(255,255,255,.7),
      0 0 20px rgba(255,255,255,.5) !important;
  }
  .hero-h1 span { font-size: 2.1rem !important; }
  .hero-question { font-size: 1.5rem !important; }
  .hero-caption { font-size: 1.1rem !important; }
  .blocks-wrap { padding: 48px 24px 0; }
  .divider { margin: 40px auto; }
  .two, .two.img-right { display: flex !important; flex-direction: column !important; }
  .two-img { min-height: 260px !important; order: 1 !important; width: 100% !important; }
  .two-img img { min-height: 260px !important; }
  .two-text, .two-text.pad-left { padding: 32px 0 !important; order: 2 !important; width: 100% !important; max-width: 100% !important; }
  /* line breaks (br.brk) stay active on mobile too, matching desktop exactly */
  .hdg { font-size: 2.1rem; }
  .txt { font-size: 1.15rem; line-height: 1.7; }
  footer { padding: 64px 24px 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid-3 { grid-template-columns: 1fr; }
  .modal-body { padding: 28px 24px 36px; }
  .modal-img { height: 200px; }
  .modal-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal { animation: none; }
}
