/* ============================================================
   Deutsch Ecke — shared "premium" design layer
   Loaded on top of style.css by every page that opts in with
   <body class="premium">. Holds the design tokens, display
   fonts, ambient background, header treatment, buttons and
   section headings that the whole site shares.

   NOTE: no backdrop-filter, no filter: blur(), no
   mix-blend-mode anywhere in this project on purpose — those
   have produced stale-repaint artifacts here before. Ambient
   glow uses feathered radial-gradients, and animation is
   limited to transform / opacity / background-position.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.premium {
  --display: "Fraunces", Georgia, "Iowan Old Style", serif;
  --ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --accent-2: #d8823f;
  --accent-3: #c25e6b;
  --gold: #e8b866;
  --grad: linear-gradient(115deg, var(--accent), var(--accent-2));
  --glow: color-mix(in srgb, var(--accent) 38%, transparent);

  --ring-1: rgba(165, 61, 61, 0.24);
  --ring-2: rgba(216, 130, 63, 0.22);
  --ring-3: rgba(232, 184, 102, 0.2);
  --mesh-line: rgba(43, 38, 32, 0.045);

  font-family: var(--ui);
}

@media (prefers-color-scheme: dark) {
  .premium {
    --accent-2: #f0b07a;
    --accent-3: #e3908d;
    --gold: #f2cf8e;
    --ring-1: rgba(224, 131, 122, 0.2);
    --ring-2: rgba(240, 176, 122, 0.16);
    --ring-3: rgba(242, 207, 142, 0.12);
    --mesh-line: rgba(236, 230, 218, 0.045);
  }
}

.premium .wrap,
.premium .wrap-wide {
  max-width: 1080px;
}

.premium .wrap.narrow {
  max-width: 820px;
}

/* ============================================================
   Ambient background
   ============================================================ */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.aurora .a1 {
  width: 62vw;
  height: 62vw;
  min-width: 420px;
  min-height: 420px;
  top: -22vw;
  left: -14vw;
  background: radial-gradient(circle at 50% 50%, var(--ring-1) 0%, transparent 68%);
  animation: aurora-drift-a 26s ease-in-out infinite alternate;
}

.aurora .a2 {
  width: 54vw;
  height: 54vw;
  min-width: 380px;
  min-height: 380px;
  top: -8vw;
  right: -16vw;
  background: radial-gradient(circle at 50% 50%, var(--ring-2) 0%, transparent 68%);
  animation: aurora-drift-b 31s ease-in-out infinite alternate;
}

.aurora .a3 {
  width: 50vw;
  height: 50vw;
  min-width: 340px;
  min-height: 340px;
  top: 42vh;
  left: 34vw;
  background: radial-gradient(circle at 50% 50%, var(--ring-3) 0%, transparent 70%);
  animation: aurora-drift-c 37s ease-in-out infinite alternate;
}

.aurora .mesh {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background-image:
    linear-gradient(var(--mesh-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 22%, #000 0%, transparent 78%);
}

.aurora .grain {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.35'/></svg>");
}

@media (prefers-color-scheme: dark) {
  .aurora .grain {
    opacity: 0.08;
  }
}

@keyframes aurora-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7vw, 6vh, 0) scale(1.14); }
}
@keyframes aurora-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-8vw, 9vh, 0) scale(0.94); }
}
@keyframes aurora-drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.92); }
  to   { transform: translate3d(-6vw, -8vh, 0) scale(1.12); }
}

.premium .attribution-bar,
.premium .site-header,
.premium main,
.premium .site-footer {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Header + brand mark
   ============================================================ */

.premium .site-header {
  /* stays SOLID on purpose — see file header note */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 30;
}

.premium .site-header .brand {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 4px 14px var(--glow);
  flex-shrink: 0;
}

.premium .site-header nav {
  font-family: var(--ui);
  font-weight: 600;
  align-items: center;
}

.premium .site-header nav a {
  padding: 6px 2px;
  position: relative;
}

.premium .site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.premium .site-header nav a:hover::after,
.premium .site-header nav a.current::after {
  transform: scaleX(1);
}

.premium .site-header nav a:hover {
  text-decoration: none;
  color: var(--text);
}

/* ============================================================
   Hero primitives (shared by the hub and each level landing)
   ============================================================ */

.premium .hero {
  position: relative;
  padding: 72px 0 26px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--whatsapp) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-logo-shell {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}

.hero-logo-shell .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent) 0deg,
    var(--gold) 80deg,
    var(--accent-2) 150deg,
    var(--accent-3) 230deg,
    var(--gold) 300deg,
    var(--accent) 360deg
  );
  animation: spin 9s linear infinite;
  will-change: transform;
}

.hero-logo-shell .halo {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--glow) 0%, transparent 62%);
  animation: breathe 5.5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  50%      { transform: scale(1.11); opacity: 1; }
}

.premium .hero-logo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0;
  border: 4px solid var(--bg);
  box-shadow: none;
}

.premium .hero h1 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 120;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
  background-image: linear-gradient(
    100deg,
    var(--text) 0%,
    var(--text) 18%,
    var(--accent) 38%,
    var(--gold) 50%,
    var(--accent-2) 62%,
    var(--text) 84%,
    var(--text) 100%
  );
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 11s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub-de {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.6vw, 1.32rem);
  color: var(--accent);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.premium .hero p.tagline {
  font-family: var(--ui);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 54ch;
  color: var(--text-muted);
  margin: 0 auto;
}

/* ============================================================
   Buttons
   ============================================================ */

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px var(--glow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.6s ease-in-out infinite;
}

@keyframes sheen {
  0%        { left: -60%; }
  55%, 100% { left: 130%; }
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px var(--glow);
}

.btn-primary .icon-svg {
  width: 1.15em;
  height: 1.15em;
  position: relative;
}

.btn-primary .arrow {
  transition: transform 0.22s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.97rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn-ghost:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 16%, transparent);
}

.btn-ghost .icon-svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--accent);
}

.premium .whatsapp-btn {
  margin: 0;
  padding: 13px 24px;
  font-family: var(--ui);
  font-size: 0.97rem;
  background: var(--bg-raised);
  border: 1px solid color-mix(in srgb, var(--whatsapp) 42%, var(--border));
  box-shadow: var(--shadow);
}

.premium .whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--whatsapp) 26%, transparent);
  border-color: var(--whatsapp);
}

/* ============================================================
   Section headings
   ============================================================ */

.section-head {
  text-align: center;
  padding: 74px 0 30px;
}

.section-head.tight {
  padding: 44px 0 26px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 80;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 10px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto;
  font-size: 1rem;
}

.section-head .rule {
  width: 62px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  margin: 18px auto 0;
}

/* ============================================================
   Feature row
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  padding: 0 0 10px;
}

.feature {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 14%, transparent);
}

.feature .f-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.feature .f-icon .icon-svg {
  width: 23px;
  height: 23px;
}

.feature h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "opsz" 40;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin: 0 0 7px;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   Closing pull-quote
   ============================================================ */

.premium .about-note {
  border-top: none;
  margin: 76px 0 40px;
  padding: 44px 40px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.premium .about-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 130% at 50% -20%,
    color-mix(in srgb, var(--accent) 13%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.premium .about-note .quote-mark {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.32;
  display: block;
  margin-bottom: 12px;
}

.premium .about-note p {
  position: relative;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 54ch;
  margin: 0 auto;
}

.premium .about-note .signed {
  position: relative;
  display: block;
  margin-top: 18px;
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .premium .about-note {
    padding: 34px 22px;
    margin-top: 56px;
  }
}

/* ============================================================
   Footer
   ============================================================ */

.premium .site-footer {
  font-family: var(--ui);
  padding: 30px 0 46px;
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }
.reveal.d4 { transition-delay: 0.36s; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 760px) {
  .premium .hero {
    padding: 48px 0 18px;
  }

  .section-head {
    padding: 56px 0 24px;
  }
}

@media (max-width: 430px) {
  .hero-logo-shell {
    width: 136px;
    height: 136px;
  }

  .premium .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 22px;
  }

  .premium .hero p.tagline {
    font-size: 0.98rem;
  }

  .premium .site-header {
    padding: 12px 0;
  }

  .premium .site-header nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .premium .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .aurora span,
  .hero-logo-shell .ring,
  .hero-logo-shell .halo,
  .hero-eyebrow .dot,
  .btn-primary::before,
  .premium .hero h1 {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .premium .hero h1 {
    background-position: 14% 50%;
  }
}
