/* ============================================
   PALOC GMBH - MODERN LIGHT LANDING PAGE
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand colours */
  --yellow:    #F5C200;
  --yellow-2:  #FFD740;
  --yellow-bg: #FFFBEA;
  --yellow-lt: #FFF8D6;
  --sky:       #87C8E8;
  --sky-bg:    #EEF7FD;
  --mint:      #6ECBA8;
  --mint-bg:   #EDFAF4;
  --coral:     #F4A8A8;

  /* Neutrals - light theme */
  --ink:       #111111;
  --ink-2:     #1E1E1E;
  --body:      #3D3D3D;
  --muted:     #7A7A7A;
  --border:    #E8E8E8;
  --surface:   #F7F7F5;
  --surface-2: #F0F0EE;
  --white:     #FFFFFF;

  /* Spacing / shape */
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  24px;
  --r-xl:  36px;
  --ease:  cubic-bezier(.22,.68,0,1.2);
  --t:     .3s cubic-bezier(.25,.46,.45,.94);

  /* Shadows */
  --s1: 0 2px 8px rgba(0,0,0,.05);
  --s2: 0 8px 28px rgba(0,0,0,.09);
  --s3: 0 20px 56px rgba(0,0,0,.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
p   { margin-bottom: .9rem; }
h1,h2,h3,h4 {
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem,5vw,3.6rem); }
h2 { font-size: clamp(1.7rem,3.5vw,2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }

/* Utils */
.wrap  { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.tc    { text-align: center; }
.tc .sub { margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: .85rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: block;
  width: 18px; height: 1.5px;
  background: var(--border);
}

.sub {
  font-size: 1.02rem; font-weight: 400;
  color: var(--muted); max-width: 520px;
  line-height: 1.7; margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-size: .88rem; font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--t);
  white-space: nowrap;
}
.btn-fill {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.btn-fill:hover {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,194,0,.35);
}
.btn-yellow {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-2); border-color: var(--yellow-2);
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,194,0,.4);
}
.btn-outline-dark {
  background: transparent; color: var(--ink); border-color: rgba(17,17,17,.3);
}
.btn-outline-dark:hover {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }

/* ============================================
   HEADER
============================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 66px; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.2rem; font-weight: 900;
  color: var(--ink); letter-spacing: -.04em;
}
.logo img {
  width: 38px; height: 38px;
  border-radius: 50%; object-fit: contain;
  box-shadow: 0 0 0 2px var(--border);
}

.main-nav { display: flex; align-items: center; gap: .1rem; }
.main-nav a {
  padding: .4rem .78rem; border-radius: 50px;
  font-size: .84rem; font-weight: 600;
  color: var(--muted); transition: var(--t);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: var(--surface); }
.main-nav .cta {
  background: var(--ink); color: var(--white) !important;
  margin-left: .6rem; padding: .46rem 1.1rem !important;
  border-radius: 50px;
}
.main-nav .cta:hover { background: var(--yellow) !important; color: var(--ink) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: var(--t);
}

/* ============================================
   HERO - LIGHT
============================================ */
.hero {
  background: var(--white);
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* soft blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,194,0,.13) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(110,203,168,.1) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  min-height: 88vh;
  gap: 3rem;
  position: relative; z-index: 1;
  padding: 5rem 0 4rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--yellow-lt);
  border: 1px solid rgba(245,194,0,.4);
  border-radius: 50px;
  padding: .35rem .95rem;
  font-size: .77rem; font-weight: 600; color: #7A5F00;
  margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--yellow); border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.4); }
}

.hero h1 { color: var(--ink); margin-bottom: 1.4rem; }
.hero h1 .highlight {
  color: var(--yellow);
  background: linear-gradient(135deg, #F5C200, #FFD740);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.08rem; font-weight: 400;
  color: var(--muted); max-width: 460px;
  line-height: 1.75; margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-proof {
  display: flex; gap: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.proof-item .n {
  font-size: 1.75rem; font-weight: 900;
  letter-spacing: -.04em; color: var(--ink); line-height: 1;
}
.proof-item .l {
  font-size: .77rem; color: var(--muted); margin-top: .15rem;
}

.market-strip {
  display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  background: var(--ink);
  color: rgba(255,255,255,.82);
  border-radius: var(--r-sm);
  padding: .55rem 1.1rem;
  font-size: .82rem; font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: .01em;
}
.market-strip-label {
  font-weight: 700;
  color: var(--yellow);
}
.market-strip-sep { opacity: .4; }
.market-strip strong { color: var(--white); font-weight: 700; }

/* Hero right */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.hero-logo-wrap {
  position: relative; width: 360px; height: 360px;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(245,194,0,.15) 0%, transparent 65%);
  border-radius: 50%;
}

.logo-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(17,17,17,.1);
  animation: spin-slow 30s linear infinite;
}
.logo-ring-2 {
  position: absolute; inset: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,194,0,.3);
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-logo-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-img img {
  width: 270px; height: 270px;
  border-radius: 50%; object-fit: contain;
  background: var(--white);
  box-shadow: 0 0 0 10px rgba(245,194,0,.1), var(--s3);
}

.hero-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem .9rem;
  font-size: .77rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--s2);
  display: flex; align-items: center; gap: .4rem;
  white-space: nowrap;
}
.chip-tl { top:  15px; left: -35px; }
.chip-tr { top:  55px; right: -45px; }
.chip-bl { bottom: 65px; left: -45px; }
.chip-br { bottom: 15px; right: -25px; }

/* ============================================
   TICKER STRIP
============================================ */
.ticker-strip {
  background: var(--yellow);
  padding: .85rem 0;
  overflow: hidden; user-select: none;
}
.ticker-track {
  display: flex; align-items: center;
  animation: ticker 22s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: .5rem;
  padding: 0 1.75rem;
  font-size: .8rem; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.ticker-sep {
  width: 4px; height: 4px;
  background: rgba(0,0,0,.22); border-radius: 50%; flex-shrink: 0;
}

/* ============================================
   FEATURES - BENTO
============================================ */
.features { padding: 7rem 0; background: var(--surface); }

.bento {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin-top: 3.5rem;
}

.bento-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: var(--t); overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-5px); box-shadow: var(--s2); border-color: transparent;
}

.bento-card.accent-yellow {
  background: var(--yellow); border-color: transparent;
}
.bento-card.accent-yellow .bento-title,
.bento-card.accent-yellow .bento-text { color: var(--ink); }
.bento-card.accent-yellow .bento-big-num { color: var(--ink); }

.bento-card.accent-ink {
  background: var(--ink); border-color: var(--ink);
}
.bento-card.accent-ink .bento-title { color: var(--white); }
.bento-card.accent-ink .bento-text  { color: rgba(255,255,255,.5); }

.bento-card.span2 { grid-column: span 2; }

.bento-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.2rem;
}
.bento-icon.yi { background: var(--yellow-lt); }
.bento-icon.gi { background: var(--mint-bg); }
.bento-icon.bi { background: var(--sky-bg); }
.bento-icon.pi { background: #FEF0F0; }
.bento-icon.wi { background: rgba(255,255,255,.12); }

.bento-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.bento-text  { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 0; }
.bento-big-num {
  font-size: 3.8rem; font-weight: 900;
  letter-spacing: -.05em; line-height: 1;
  margin-bottom: .35rem; color: var(--ink);
}

/* ============================================
   ABOUT
============================================ */
.about { padding: 7rem 0; background: var(--white); }

.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.about-visual-box { position: relative; }

.about-card-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--s3);
  position: relative;
}

.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--t);
}
.about-card-main:hover .about-photo { transform: scale(1.03); }

.about-float {
  position: absolute;
  background: var(--white); border-radius: var(--r);
  padding: .85rem 1.1rem;
  box-shadow: var(--s2); border: 1px solid var(--border);
}
.about-float .val {
  font-size: 1.45rem; font-weight: 900;
  letter-spacing: -.04em; line-height: 1;
  color: var(--ink); margin-bottom: .1rem;
}
.about-float .label { font-size: .7rem; color: var(--muted); font-weight: 600; }
.af1 { top: -20px; right: -20px; }
.af2 { bottom: -20px; left: -20px; }

.about-body .eyebrow { justify-content: flex-start; }
.about-body .eyebrow::before { display: none; }
.about-body h2 { margin-bottom: 1.2rem; }
.about-body p  { color: var(--muted); font-size: .96rem; line-height: 1.8; }

.about-pills {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.75rem 0;
}
.pill {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: .32rem .9rem;
  font-size: .78rem; font-weight: 600; color: var(--body);
  display: inline-flex; align-items: center; gap: .4rem;
}

/* ============================================
   ANGEBOT
============================================ */
.angebot { padding: 7rem 0; background: var(--surface); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px,1fr));
  gap: 1.1rem; margin-top: 3.5rem;
}

.prod-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white); transition: var(--t);
}
.prod-card:hover {
  transform: translateY(-5px); box-shadow: var(--s2); border-color: transparent;
}

.prod-thumb {
  height: 165px;
  display: flex; align-items: center; justify-content: center; font-size: 2.9rem;
}
.pt-a  { background: linear-gradient(140deg,#FFFBEA,#FDE68A); }
.pt-b  { background: linear-gradient(140deg,#FFFDE8,#FCD34D); }
.pt-c  { background: linear-gradient(140deg,#EDFAF4,#6EE7B7); }
.pt-d  { background: linear-gradient(140deg,#EEF7FD,#BAE6FD); }
.pt-e  { background: linear-gradient(140deg,#F5F0FF,#DDD6FE); }
.pt-e2 { background: linear-gradient(140deg,#FFF8F0,#FFE0B2); }
.pt-f  { background: linear-gradient(140deg,#F0FDF4,#BBF7D0); }
.pt-g  { background: linear-gradient(140deg,#EDFAF4,#A7F3D0); }
.pt-h  { background: linear-gradient(140deg,#FFFBEA,#FEF9C3); }
.pt-i  { background: linear-gradient(140deg,#F7F7F5,#E2E8F0); }

.prod-body { padding: 1.2rem 1.3rem 1.4rem; }
.prod-chip {
  display: inline-block;
  background: var(--surface); color: var(--muted);
  font-size: .69rem; font-weight: 700;
  padding: .17rem .6rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .5rem;
}
.prod-body h3 { font-size: .96rem; margin-bottom: .35rem; color: var(--ink); }
.prod-body p  { font-size: .83rem; color: var(--muted); margin: 0; line-height: 1.55; }

.angebot-cta { text-align: center; margin-top: 3rem; }
.angebot-cta p { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }

/* ============================================
   GALLERY
============================================ */
.galerie { padding: 7rem 0; background: var(--white); }

.masonry {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin-top: 3.5rem;
}
.masonry .m1 { grid-column: span 2; aspect-ratio: 16/9; }
.masonry .m2 { aspect-ratio: 1; }
.masonry .m3 { aspect-ratio: 1; }
.masonry .m4 { aspect-ratio: 1; }
.masonry .m5 { grid-column: span 2; aspect-ratio: 16/9; }
.masonry .m6 { aspect-ratio: 1; }

.g-card {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative;
  transition: var(--t); cursor: pointer;
}
.g-card:hover { transform: scale(1.02); box-shadow: var(--s3); }
.g-card:hover .g-overlay { opacity: 1; }

.g-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--t);
}
.g-card:hover img { transform: scale(1.05); }

.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.2rem 1.4rem;
  opacity: 0; transition: var(--t);
}
.g-overlay span {
  font-size: .85rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}

/* ============================================
   CTA BANNER - LIGHT YELLOW
============================================ */
.cta-banner {
  background: var(--yellow-lt);
  border-top: 1px solid rgba(245,194,0,.3);
  border-bottom: 1px solid rgba(245,194,0,.3);
  padding: 4.5rem 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,194,0,.3) 0%, transparent 65%);
  border-radius: 50%;
}

.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 { color: var(--ink); margin-bottom: .55rem; }
.cta-text p  { color: var(--muted); margin: 0; font-size: 1rem; }
.cta-actions { display: flex; gap: .85rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================
   KONTAKT
============================================ */
.kontakt { padding: 7rem 0; background: var(--surface); }

.kontakt-layout {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: 4.5rem; align-items: start;
}

.kontakt-left .eyebrow { justify-content: flex-start; }
.kontakt-left .eyebrow::before { display: none; }
.kontakt-left h2 { margin-bottom: 1rem; }
.kontakt-left > p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 2rem; }

.contact-list { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }

.contact-row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border-radius: var(--r);
  padding: 1rem 1.2rem; border: 1px solid var(--border); transition: var(--t);
}
.contact-row:hover { border-color: var(--yellow); background: var(--yellow-bg); }

.cr-icon {
  width: 38px; height: 38px; background: var(--surface);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; box-shadow: var(--s1);
}
.cr-text strong {
  display: block; font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin-bottom: .15rem;
}
.cr-text { font-size: .89rem; }
.cr-text a:hover { color: var(--ink); }

.social-bar { display: flex; gap: .6rem; }
.s-btn {
  width: 38px; height: 38px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; transition: var(--t);
}
.s-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Form */
.form-panel {
  background: var(--white); border-radius: var(--r-xl);
  padding: 2.5rem; border: 1px solid var(--border); box-shadow: var(--s1);
}
.form-panel h3 { font-size: 1.25rem; margin-bottom: 1.75rem; color: var(--ink); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fg    { margin-bottom: 1rem; }

.fg label {
  display: block; font-size: .79rem; font-weight: 700;
  color: var(--ink); margin-bottom: .38rem;
}
.fg label .req { color: #E53E3E; margin-left: 2px; }

.fg input,
.fg select,
.fg textarea {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: inherit; font-size: .89rem;
  color: var(--ink); background: var(--surface);
  transition: var(--t); outline: none; -webkit-appearance: none;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  background: var(--white); border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,194,0,.15);
}
.fg textarea { resize: vertical; min-height: 118px; }

.check-row {
  display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.check-row input { width: auto; margin-top: 3px; accent-color: var(--ink); }
.check-row label { font-size: .79rem; color: var(--muted); line-height: 1.5; }
.check-row label a { color: var(--ink); text-decoration: underline; }

.submit-btn {
  width: 100%; padding: .92rem;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 50px;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; transition: var(--t);
}
.submit-btn:hover {
  background: var(--yellow); color: var(--ink);
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,194,0,.4);
}

.form-success {
  display: none;
  background: #D1FAE5; border: 1px solid #6EE7B7;
  border-radius: var(--r-sm); padding: 1rem 1.25rem;
  color: #065F46; font-weight: 600; font-size: .88rem;
  text-align: center; margin-top: 1rem;
}

/* ============================================
   PAGE HERO (subpages)
============================================ */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem; text-align: center;
}
.page-hero h1 { color: var(--ink); margin-bottom: .5rem; font-size: clamp(1.8rem,4vw,2.8rem); }
.page-hero p  { color: var(--muted); max-width: 440px; margin: 0 auto; font-weight: 400; }

/* ============================================
   LEGAL
============================================ */
.legal-body { padding: 5rem 0; }
.legal-body .wrap { max-width: 800px; }
.legal-body h2 {
  color: var(--ink); font-size: 1.18rem; margin: 2.5rem 0 .7rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.legal-body h2:first-child { border: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { color: var(--ink); font-size: .98rem; margin: 1.4rem 0 .5rem; }
.legal-body p, .legal-body li { color: var(--body); font-size: .94rem; line-height: 1.8; }
.legal-body ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.legal-body a  { color: var(--ink); text-decoration: underline; }

/* ============================================
   FOOTER - LIGHT
============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .86rem; line-height: 1.8; max-width: 270px; }

.footer-col h4 {
  color: var(--ink); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .86rem; transition: var(--t); }
.footer-col ul li a:hover { color: var(--ink); }
.footer-col address { font-style: normal; font-size: .86rem; line-height: 1.9; }
.footer-col address a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .8rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--ink); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero-grid        { grid-template-columns: 1fr; min-height: unset; padding: 4rem 0 3rem; }
  .hero-right       { display: none; }
  .about-layout     { grid-template-columns: 1fr; gap: 3rem; }
  .kontakt-layout   { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1/-1; }
  .bento            { grid-template-columns: 1fr 1fr; }
  .bento-card.span2 { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* Sektionsabstände */
  .features, .about, .angebot, .galerie, .kontakt { padding: 4rem 0; }
  .cta-banner  { padding: 2.5rem 0; }
  .footer      { padding: 3rem 0 2rem; }
  .footer-grid { padding-bottom: 2rem; }
  .page-hero   { padding: 2.5rem 0 1.75rem; }
  .legal-body  { padding: 3rem 0; }

  /* Hero */
  .hero-grid  { padding: 2.5rem 0; }
  .hero-badge { font-size: .72rem; white-space: normal; text-align: center; justify-content: center; }
  .hero-proof { gap: 1.5rem; }

  /* About floating badges innerhalb der Box halten */
  .af1 { top: 12px; right: 12px; }
  .af2 { bottom: 12px; left: 12px; }

  /* Mobile Navigation */
  .main-nav {
    display: none; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0; z-index: 199;
    background: var(--white); border-top: 1px solid var(--border);
    padding: .75rem; box-shadow: var(--s2); gap: .15rem;
  }
  .main-nav.open   { display: flex; }
  .main-nav a      { padding: .65rem 1rem; border-radius: var(--r-sm); font-size: .9rem; }
  .main-nav .cta   { margin-left: 0; width: 100%; justify-content: center; }
  .hamburger       { display: flex; padding: 8px; }

  /* Hamburger → X Animation */
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Bento */
  .bento            { grid-template-columns: 1fr; }
  .bento-card.span2 { grid-column: span 1; }

  /* Galerie */
  .masonry               { grid-template-columns: 1fr 1fr; }
  .masonry .m1,
  .masonry .m5           { grid-column: span 1; aspect-ratio: 1; }

  /* Formular */
  .row-2      { grid-template-columns: 1fr; }
  .form-panel { padding: 1.5rem; border-radius: var(--r-lg); }

  /* CTA Banner */
  .cta-inner   { flex-direction: column; text-align: center; }
  .cta-actions { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 1rem; }

  /* Sektionsabstände */
  .features, .about, .angebot, .galerie, .kontakt { padding: 3rem 0; }
  .cta-banner { padding: 2rem 0; }
  .footer     { padding: 2.5rem 0 1.5rem; }

  /* Hero */
  .hero-grid    { padding: 2rem 0; }
  .hero-lead    { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof   { gap: 1rem; }

  /* Einzelne Buttons full-width */
  .about-body > .btn,
  .angebot-cta .btn { width: 100%; justify-content: center; }

  /* Produkte, Galerie */
  .products-grid { grid-template-columns: 1fr; }
  .masonry       { grid-template-columns: 1fr; }

  /* Bento */
  .bento-big-num { font-size: 3rem; }

  /* About Floats ausblenden – zu wenig Platz */
  .about-float { display: none; }

  /* Formular */
  .form-panel { padding: 1.25rem; }
}

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--t), transform .6s var(--t);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
