/* Zuffenbuddies – Retro Premium System
   Ziel: weniger ist mehr, print-like, clean cards, red accents.
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fontlibrary.org//face/archicoco');
/* =========================
   Local Font: Archicoco
   ========================= */
@font-face{
  font-family: "Archicoco";
  src: url("/assets/fonts/Archicoco.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ✅ Archicoco alias */
:root{
  --hero-font: "ArchicocoRegular", "Archicoco", serif;
}
:root{
  --bg: #ffffff;
  --paper: #fbfbfb;
  --text: #121212;
  --muted: rgba(18,18,18,.68);
  --line: rgba(18,18,18,.10);
  --line2: rgba(18,18,18,.14);

  /* brand red */
  --red: #9e0f2c;
  --red2:#c0173b;

  --radius: 18px;
  --radius2: 22px;

--shadow: 0 10px 24px rgba(0,0,0,.05);
--shadow-soft: 0 6px 16px rgba(0,0,0,.04);
  --shadow-soft: 0 6px 16px rgba(0,0,0,.04);

  --max: 1080px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html,body{ overflow-x:hidden; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
}

/* Links */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

/* Layout */
.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
@media (max-width: 560px){
  .wrap{ width: min(var(--max), calc(100% - 24px)); }
}

.section{ padding: 18px 0; }
.section-lg{ padding: 24px 0; }
@media (max-width: 560px){
  .section-lg{ padding: 18px 0; }
}

/* Typography */
h1,h2,h3{
  margin:0;

  /* headings = clean premium (Inter) */
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
.muted{ color: var(--muted); }
.hr{ height:1px; background: var(--line); border:0; margin: 14px 0; }
hr{ height:1px; background: var(--line); border:0; margin: 14px 0; }

/* Optional helper: use Archicoco where you want (e.g. hero title) */
.font-archicoco{
  font-family: "Archicoco", "ArchicocoRegular", serif !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(18,18,18,.02);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.badge.ok{ border-color: rgba(10,130,70,.25); background: rgba(10,130,70,.06); }
.badge.warn{ border-color: rgba(200,120,0,.25); background: rgba(200,120,0,.06); }
.badge.err{ border-color: rgba(200,20,40,.25); background: rgba(200,20,40,.06); }

/* Cards */
.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.card.flat{ box-shadow:none; }
@media (max-width: 560px){
  .card{ padding: 14px; }
}

/* Buttons */
	  .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid var(--line2);
  background: #fff;
  cursor:pointer;
  user-select:none;
  color: #000;
}

.btn:hover{ filter: brightness(.98); }

.btn-primary{
  border-color: rgba(158,15,44,.55);
  color: var(--red);
  background: #fff;
}
.btn-primary:hover{ border-color: rgba(158,15,44,.75); }

.btn-ghost{
  border-color: var(--line2);
  color: var(--text);
  background: #fff;
}

.btn-solid{
  border-color: var(--red);
  background: var(--red);
  color:#fff;
}
.btn-solid:hover{ filter: brightness(.96); }

/* Inputs */
.input, textarea{
  width:100%;
  border:1px solid var(--line2);
  border-radius: 14px;
  padding: 12px 12px;
  background:#fff;
  font-weight: 650;
  outline:none;
}
.input:focus, textarea:focus{
  border-color: rgba(158,15,44,.55);
}

/* NAV */
.navbar{
  position: sticky;
  top:0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  height: 62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
@media (max-width: 560px){
  .nav-inner{ width: min(var(--max), calc(100% - 24px)); height: 58px; }
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing:.10em;
  text-transform: uppercase;
  font-size: 12px;
}
.brand img{ height: 28px; width:auto; display:block; }

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-links a{
  font-weight: 850;
  font-size: 12px;
  letter-spacing:.12em;
  text-transform: uppercase;
  color: rgba(18,18,18,.82);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-links a:hover{ background: rgba(18,18,18,.03); }

.nav-toggle{
  display:none;
  border:1px solid var(--line2);
  border-radius: 14px;
  background:#fff;
  height: 44px;
  width: 46px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle span{
  width:18px;height:2px;background:rgba(18,18,18,.85);display:block;position:relative;
}
.nav-toggle span:before, .nav-toggle span:after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:rgba(18,18,18,.85);
}
.nav-toggle span:before{ top:-6px; }
.nav-toggle span:after{ top:6px; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;
}
.mobile-menu.open{ display:block; }
.mobile-menu .wrap{ padding: 12px 0 16px; }

.mobile-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.mobile-menu a:last-child{ border-bottom:0; }

/* HERO2 */
.hero2{
  position:relative;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero2-bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  filter: saturate(.98) contrast(.98);
}
.hero2-inner{
  position:relative;
  padding: 26px;
  min-height: 340px;
  display:flex;
  align-items:flex-end;
}
.hero2-inner:before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.58));
}
.hero2-panel{ position:relative; color:#fff; max-width: 740px; }

.hero2-title{
  /* if you use hero2 blocks, Archicoco looks premium here */
  font-family: "Archicoco", "ArchicocoRegular", serif;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.03;
}

.hero2-sub{
  margin-top: 10px;
  font-weight: 600;
  opacity: .95;
  max-width: 70ch;
}

.hero2-cta{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.hero2-strip{
  margin-top: 14px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 560px){
  .hero2-inner{ padding: 14px; min-height: 320px; }
  .hero2-cta{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .hero2-cta .btn{ width:100%; height: 42px; padding: 0 12px; }
  .hero2-cta .btn:last-child{ grid-column: 1 / -1; }
  .pill{ width:100%; justify-content:flex-start; }
}

/* Feature row */
.feature-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.feature{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 14px;
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.feature strong{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.10em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 14px;
}
.feature p{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height:1.7;
}
@media (max-width: 900px){
  .feature-row{ grid-template-columns:1fr; }
}

/* Stack cards */
.stack{ display:grid; gap:12px; }
.media-card{
  display:flex;
  gap:12px;
  align-items:center;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.media-card .media{
  width: 168px;
  height: 110px;
  overflow:hidden;
  flex: 0 0 auto;
}
.media-card img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.media-card .body{ padding: 12px; }
.media-card .title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 14px;
}
.media-card .meta{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
}
@media (max-width: 560px){
  .media-card{ flex-direction:column; align-items:stretch; }
  .media-card .media{ width:100%; height: 180px; }
}

/* Grid system */
.grid{ display:grid; grid-template-columns: repeat(12,1fr); gap:12px; }
.col-7{ grid-column: span 7; }
.col-5{ grid-column: span 5; }
.col-6{ grid-column: span 6; }
@media (max-width: 980px){
  .col-7,.col-5,.col-6{ grid-column: span 12; }
}

/* Horizontal snap */
.h-snap{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.h-snap::-webkit-scrollbar{ height:8px; }
.h-snap::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.10); border-radius:999px; }

.mini-card{
  scroll-snap-align: start;
  flex: 0 0 310px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-soft);
}

/* =====================================================
   Kommende Events – Flyer-Logik (vollständig sichtbar)
   Ziel: Bild wird NICHT gecroppt und die Box übernimmt
   die Proportionen (wie ein Flyer) – Rundungen bleiben.
   ===================================================== */

.mini-media{
  width: 100%;
  /* Default-Fallback, falls ein Bild keine Ratio liefert */
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}

.mini-media img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ komplette Grafik sichtbar */
  display: block;
}

.mini-body{ padding: 14px; }

.mini-title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 14px;
  line-height:1.25;
}
.mini-meta{ margin-top: 6px; color: var(--muted); font-weight:650; }

@media (max-width: 560px){
  .mini-card{ flex-basis: 84%; }
}

/* Partner tiles */
.partner-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.partner-tile{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background:#fff;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.partner-title{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 14px;
  line-height:1.25;
}
.partner-desc{
  margin-top: 8px;
  color: var(--muted);
  font-weight:650;
  line-height:1.7;
}
.partner-actions{
  margin-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
@media (max-width: 860px){
  .partner-grid{ grid-template-columns:1fr; }
}

/* Footer */
.footer{
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
}
@media (max-width: 560px){
  .footer-inner{ width: min(var(--max), calc(100% - 24px)); }
}

.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}
.footer-brand{
  display:flex;
  gap:10px;
  align-items:center;
}
.footer-brand img{ height: 26px; width:auto; }

.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer-links a{
  font-weight: 850;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(18,18,18,.72);
}
.footer-links a:hover{ color: rgba(18,18,18,.95); }

/* Optional red social block */
.footer-social-block{
  margin-top: 14px;
  border-radius: var(--radius2);
  background: var(--red);
  border: 1px solid rgba(0,0,0,.08);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.footer-social-block a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.35);
  color:#fff;
  font-weight:900;
}

/* Utility */
.no-snap-mobile{}

/* =========================================
   REVEAL (SAFE + COMPATIBLE)
   ========================================= */
[data-reveal]{
  opacity: 1 !important;
  transform: none !important;
}

/* Default: Mobile/Tablet wie bisher (mit translateY) */
html.js [data-reveal]{
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}

html.js [data-reveal].reveal-in,
html.js [data-reveal].is-visible{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ✅ Desktop Fix: KEIN transform -> keine GPU-Weichzeichnung
   (nur Opacity Fade, Design bleibt gleich, nur schärfer) */
@media (min-width: 900px){
  html.js [data-reveal]{
    transform: none !important;
    transition: opacity .45s ease;
    will-change: opacity;
  }

  html.js [data-reveal].reveal-in,
  html.js [data-reveal].is-visible{
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce){
  html.js [data-reveal]{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
/* =========================================
   DESKTOP CRISP PATCH (nur Desktop)
   Ziel: keine GPU-Weichzeichnung durch filter/transform/opacity
   ========================================= */
@media (min-width: 900px){

  /* 1) Keine Filter/Opacity/Scale auf großen Background-Layern */
  .hero-bleed .media,
  .newsletter-bleed .bg,
  .hero2-bg{
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  /* 2) Keine Mini-Scales auf Bildern (macht oft weich) */
  .p-media img,
  .mini-media img,
  .media-card img{
    transform: none !important;
  }

  /* 3) Optional: Chrome/Edge machen Bilder oft "crisper" damit */
  img{
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
  }

  /* 4) Backdrop blur kann je nach GPU/Windows auch alles leicht weich wirken lassen */
  .navbar{
    backdrop-filter: none !important;
    background: #fff !important;
  }
}
