:root {
  --bg: #fff9f4;
  --bg-soft: rgba(255, 255, 255, 0.7);
  --panel: rgba(255, 255, 255, 0.8);
  --text: #1a160f;
  --muted: #5f584e;
  --line: rgba(31, 22, 10, 0.08);
  --accent: #ff8a3d;
  --accent-2: #ffbb43;
  --shadow: 0 20px 60px rgba(110, 61, 18, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 94, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 138, 61, 0.12), transparent 30%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.03em; }

.page-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
  pointer-events: none;
  z-index: -2;
}

.page-glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  z-index: -1;
  animation: floatGlow 18s ease-in-out infinite;
}
.glow-a {
  background: rgba(255, 170, 77, 0.32);
  top: -10vw;
  left: -8vw;
}
.glow-b {
  background: rgba(255, 138, 61, 0.22);
  right: -10vw;
  bottom: -10vw;
  animation-delay: -8s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2vw, 2vh, 0) scale(1.08); }
}

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.soft-panel { position: relative; }
.soft-panel::before {
  content: "";
  position: absolute;
  inset: 24px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.58));
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 34px;
  box-shadow: var(--shadow);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 249, 244, 0.72);
  border-bottom: 1px solid rgba(26, 22, 15, 0.05);
}
.small-header { position: relative; }
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.96rem;
}
.brand img { width: 38px; height: 38px; }
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(255, 138, 61, 0.22);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.1);
  color: #cb6d2d;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero { padding-top: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero-logo {
  width: min(420px, 90%);
  margin: 0 0 22px;
}
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 11ch; }
.hero-text { font-size: 1.1rem; max-width: 60ch; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 35px rgba(255, 138, 61, 0.22);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26,22,15,0.08);
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26,22,15,0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual { position: relative; min-height: 620px; }
.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.68);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.65);
}
.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-main {
  width: 78%;
  height: 76%;
  right: 0;
  top: 4%;
}
.card-side {
  width: 44%;
  height: 34%;
  left: 0;
  bottom: 10%;
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.section-copy h2, .section-heading h2, .contact-card h2, .legal-card h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); max-width: 12ch; }
.feature-stack {
  display: grid;
  gap: 16px;
}
.feature-card, .service-card, .price-card, .contact-card, .legal-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.feature-card {
  padding: 24px;
}
.feature-card h3, .service-card h3, .price-card h3 { font-size: 1.35rem; margin-bottom: 10px; }

.section-heading { margin-bottom: 32px; }
.section-note { max-width: 70ch; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card { padding: 24px; min-height: 220px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.gallery-item.large { grid-column: span 7; min-height: 420px; }
.gallery-item.wide { grid-column: span 5; min-height: 420px; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.58));
}
.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: white;
  z-index: 1;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card { padding: 24px; position: relative; }
.price-card.highlight {
  background: linear-gradient(180deg, rgba(255, 157, 82, 0.16), rgba(255,255,255,0.82));
  border-color: rgba(255, 167, 73, 0.35);
}
.badge {
  position: absolute;
  right: 18px;
  top: 18px;
  background: rgba(255, 138, 61, 0.14);
  color: #cb6d2d;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.subline { min-height: 1.4em; }
.price {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
}

.contact-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(26,22,15,0.06);
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img { width: 42px; height: 42px; }
.footer-brand p { margin: 4px 0 0; }
.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.imprint-page main { min-height: calc(100vh - 170px); display: grid; place-items: center; }
.legal-card { max-width: 760px; padding: 36px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }

@media (max-width: 1100px) {
  .hero-grid, .two-col, .services-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 500px; }
  .gallery-item.large, .gallery-item.wide, .gallery-item { grid-column: span 6; }
}

@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .nav { display: none; }
  .hero-grid, .two-col, .services-grid, .pricing-grid, .contact-card, .footer-wrap { grid-template-columns: 1fr; display: grid; }
  .hero h1 { max-width: 12ch; }
  .hero-visual { min-height: 420px; }
  .card-main { width: 88%; height: 70%; }
  .card-side { width: 54%; height: 28%; bottom: 4%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.large, .gallery-item.wide { grid-column: auto; min-height: 260px; }
  .price-card { min-height: auto; }
  .contact-card { padding: 26px; }
  .footer-links { flex-wrap: wrap; }
  .soft-panel::before { inset: 12px; }
}
