/* ============ Fliesenbau Lange — Website ============ */

:root {
  --accent: #E2680A;
  --accent-dim: #e2680a1f;
  --ink: #1F1F1F;
  --white: #FFFFFF;
  --black: #111111;
  --light: #F5F5F5;
  --dark: #141414;
  --font-head: 'Inter Tight', 'Inter', sans-serif;
  --font-text: 'Inter', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.1; }
p { margin: 0; line-height: 1.6; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px #e2680a40;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px #e2680a55; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid #ffffff55;
}
.btn-secondary:hover { background: #ffffff14; border-color: #ffffff88; }
.btn-secondary.on-light {
  color: var(--ink);
  border: 1.5px solid #00000030;
}
.btn-secondary.on-light:hover { background: #0000000a; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0e0e0e 0%, #0e0e0eaa 32%, #0e0e0ecc 68%, #000000 100%);
}
.hero-glow-top {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, #e2680a22 0%, transparent 70%);
  pointer-events: none;
}
.hero-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  padding-bottom: 24px;
}
.hero-logo img { height: 48px; width: auto; display: block; }
.hero-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
}
.hero-phone svg { width: 18px; height: 18px; color: var(--accent); }
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 40px;
}
.hero-content h1 {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.hero-content .subheadline {
  margin-top: 22px;
  max-width: 620px;
  font-size: 18px;
  color: #ffffffcc;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.trust-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 26px 0 34px;
  border-top: 1px solid #ffffff22;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 28px 6px 0;
  margin-right: 28px;
  border-right: 1px solid #ffffff22;
  font-size: 14px;
  font-weight: 500;
  color: #ffffffdd;
}
.trust-item:last-child { border-right: none; margin-right: 0; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ============ SECTION GENERIC ============ */
.section { padding: 110px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; font-size: 17px; color: #5A5A5A; }
.section-dark .section-head p { color: #CCCCCC; }

/* ============ KONTAKT ============ */
.kontakt { background: var(--dark); color: var(--white); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.kontakt-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.kontakt-info-item { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-info-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.kontakt-info-item div { font-size: 15px; color: #E5E5E5; }
.kontakt-info-item strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 70px #00000055;
}
.form-card h3 { font-size: 22px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #666666; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid #E0E0E0;
  font-family: var(--font-text);
  font-size: 15px;
  background: #FAFAFA;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 22px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-consent label { font-size: 13px; color: #666666; line-height: 1.5; }
.form-consent a { color: var(--ink); text-decoration: underline; }
.form-submit { width: 100%; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; }
.form-status.ok { color: #1c7a3e; }
.form-status.err { color: #b3261e; }

/* ============ LEISTUNGEN ============ */
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leistung-card {
  background: var(--white);
  border: 1px solid #E2E2E2;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leistung-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px #0000000f; }
.leistung-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.leistung-icon svg { width: 24px; height: 24px; color: var(--accent); }
.leistung-card h3 { font-size: 18px; margin-bottom: 10px; }
.leistung-card p { font-size: 14.5px; color: #5A5A5A; }

/* ============ GALERIE ============ */
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.galerie-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--light); box-shadow: 0 16px 34px #0000000f; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galerie-item:hover img { transform: scale(1.06); }
.galerie-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, #00000099);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ============ UBER UNS ============ */
.ueber-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 64px; align-items: center; }
.ueber-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px #0000001a; background: var(--white); }
.ueber-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.stat-num { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13.5px; color: #5A5A5A; margin-top: 4px; }
.ueber-grid .btn { margin-top: 32px; }

/* ============ ABLAUF ============ */
.ablauf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ablauf-step { position: relative; padding-top: 8px; }
.ablauf-num { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--accent); opacity: 0.55; margin-bottom: 14px; }
.ablauf-step h3 { font-size: 18px; margin-bottom: 10px; color: var(--white); }
.ablauf-step p { font-size: 14.5px; color: #CCCCCC; }
.ablauf-cta { text-align: center; margin-top: 52px; }

/* ============ VERTRAUEN ============ */
.vertrauen { padding: 70px 0; }
.vertrauen-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #888888; margin-bottom: 36px; }
.vertrauen-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.vertrauen-row img { height: 44px; width: auto; filter: grayscale(1) opacity(0.85) contrast(1.15); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #E5E5E5; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-chip { margin-bottom: 16px; }
.footer-logo-chip img { height: 34px; }
.footer-brand p { font-size: 14px; color: #C7C7C7; max-width: 320px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #999999; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul span { font-size: 14.5px; color: #E5E5E5; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #ffffff18; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #999999; }
.footer-bottom a:hover { color: var(--accent); }

/* ============ LEGAL PAGES ============ */
.legal-page { padding: 90px 0 100px; max-width: 760px; margin: 0 auto; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 32px; }
.legal-page h1 { font-size: 34px; margin-bottom: 40px; }
.legal-block { margin-bottom: 32px; }
.legal-block h2 { font-size: 19px; margin-bottom: 10px; }
.legal-block p { font-size: 15px; color: #444444; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .kontakt-grid, .ueber-grid { grid-template-columns: 1fr; gap: 40px; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
  .ablauf-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-content { padding-top: 40px; padding-bottom: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-bar { flex-direction: column; gap: 14px; }
  .trust-item { border-right: none; margin-right: 0; padding-right: 0; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
