/* ===== Level 3: Schrift wie die Besten, zweifarbige Ueberschriften, Bento mit lebenden Vorschauen ===== */
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("schriften/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("schriften/inter-tight-latin-600-normal.woff2") format("woff2"); }

h1, h2, h3, .marke, .preis .betrag, .gross .zahl strong, .schritt::before, .band span, .fakten strong, .phasen li b {
  font-family: "Inter Tight", "Public Sans", system-ui, sans-serif !important;
}
h1 { font-weight: 600; font-size: clamp(2.9rem, 6.6vw, 5.8rem); letter-spacing: -0.04em; line-height: 1; }
h2 { font-weight: 600; font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; }
h3 { font-weight: 600; letter-spacing: -0.025em; }
h2 .grau { color: #8a93a3; }
.baustelle h2 .grau, .hero h2 .grau { color: #8fa3c2; }
.kopfzeile { max-width: 860px; }
.kopfzeile h2 { max-width: none; }
.projekt h3, .preis .betrag, .gross .zahl strong { font-weight: 600 !important; letter-spacing: -0.04em; }
.schritt::before { font-weight: 600 !important; letter-spacing: -0.04em; }
.ueber { letter-spacing: 0.16em; font-size: 0.76rem; }
.hero .unter { font-size: 1.22rem; }

/* Bento-Raster */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .karte { padding: 22px 22px 26px; gap: 8px; }
.bento .b-breit { grid-column: span 2; }
.bento .b-ganz { grid-column: 1 / -1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; padding: 30px; }
.bento .karte h3 { margin-top: 10px; font-size: 1.35rem; }
.mini { position: relative; height: 190px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #f3efe6, #e9e2d3); border: 1px solid #e2dac9; }
.b-ganz .mini { height: auto; }

/* Mini: Website */
.mini-web { padding: 18px 18px 0; }
.mw-leiste { height: 22px; background: #1e2a3f; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.mw-leiste i { width: 7px; height: 7px; border-radius: 50%; background: #45526a; }
.mw-leiste span { margin-left: 10px; height: 8px; width: 34%; border-radius: 4px; background: #2c3a55; }
.mw-inhalt { background: #12233d; height: 100%; padding: 14px 18px; }
.mw-nav { display: flex; gap: 8px; align-items: center; }
.mw-nav b { width: 54px; height: 9px; border-radius: 3px; background: #f0cd85; margin-right: auto; }
.mw-nav span { width: 32px; height: 6px; border-radius: 3px; background: #3c4f70; }
.mw-nav em { width: 46px; height: 14px; border-radius: 999px; background: #f0cd85; }
.mw-held { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; margin-top: 16px; }
.mw-held > div:first-child { display: flex; flex-direction: column; gap: 7px; }
.mw-held b { height: 14px; width: 90%; border-radius: 4px; background: #fff; }
.mw-held b.kurz { width: 62%; background: #f0cd85; }
.mw-held span { height: 6px; width: 85%; border-radius: 3px; background: #3c4f70; }
.mw-held span.kurz { width: 60%; }
.mw-held em { margin-top: 6px; align-self: flex-start; font: 600 0.68rem/1 "Public Sans", sans-serif; font-style: normal; color: #142033; background: #f0cd85; border-radius: 999px; padding: 7px 12px; transition: transform 160ms var(--ease-out); }
.mw-bild { border-radius: 8px; background: radial-gradient(circle at 35% 40%, #4f7fc4 0, transparent 45%), linear-gradient(135deg, #24477a, #0f1f38); }
.mw-zeiger { position: absolute; width: 22px; height: 22px; left: 46%; top: 70%; transition: transform 600ms var(--ease-out); filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
@media (hover: hover) and (pointer: fine) {
  .b-breit:hover .mw-zeiger { transform: translate(-120px, 0px); }
  .b-breit:hover .mw-held em { transform: scale(0.96); }
}

/* Mini: App */
.mini-app { display: grid; place-items: center; }
.ma-handy { width: 104px; height: 176px; margin-top: 30px; border-radius: 20px; background: #12233d; border: 5px solid #1e2a3f; padding: 10px 8px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 20px 30px -14px rgba(18, 35, 61, 0.6); transition: transform 400ms var(--ease-out); }
.ma-kopf { height: 26px; border-radius: 7px; background: linear-gradient(120deg, #f0cd85, #c99c4b); }
.ma-zeile { display: flex; gap: 6px; align-items: center; background: #1b2f50; border-radius: 6px; padding: 5px; }
.ma-zeile i { width: 14px; height: 14px; border-radius: 4px; background: #4f7fc4; flex: none; }
.ma-zeile i.g { background: #f0cd85; }
.ma-zeile span { height: 5px; flex: 1; border-radius: 3px; background: #3c4f70; }
.ma-fuss { margin-top: auto; display: flex; justify-content: space-around; }
.ma-fuss i { width: 10px; height: 10px; border-radius: 3px; background: #3c4f70; }
.ma-fuss i.an { background: #f0cd85; }
@media (hover: hover) and (pointer: fine) { .karte:hover .ma-handy { transform: translateY(-8px); } }

/* Mini: Baustelle */
.mini-bau { background: #12233d; }
.mb-foto { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 35, 61, 0.7)), linear-gradient(160deg, #7a6a50, #4b3f2f 50%, #2a2620); }
.mb-foto::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 38%; height: 4px; border-radius: 2px; background: #f59e0b; box-shadow: 0 -9px 0 #3b82f6, 0 9px 0 #3a3022; }
.mb-pin { position: absolute; left: 58%; top: 22%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #f0cd85; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4); }
.mb-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #12233d; }
.mb-chip, .mb-ok { position: absolute; left: 12px; font: 600 0.7rem/1 "Public Sans", sans-serif; padding: 6px 9px; border-radius: 7px; }
.mb-chip { bottom: 40px; background: rgba(18, 35, 61, 0.85); color: #e7edf6; }
.mb-ok { bottom: 12px; background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.35); }

/* Mini: Shop */
.mini-shop { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.ms-zeile { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #e2dac9; }
.ms-zeile i { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #24477a, #12233d); flex: none; }
.ms-zeile span { flex: 1; height: 8px; border-radius: 4px; background: #d9d1c0; }
.ms-zeile b { width: 46px; height: 12px; border-radius: 4px; background: #142033; }
.ms-knopf { text-align: center; background: #ffc439; color: #142033; font: 700 0.85rem/1 "Public Sans", sans-serif; padding: 12px; border-radius: 999px; transition: transform 160ms var(--ease-out); }
.ms-ok { text-align: center; font: 600 0.8rem/1 "Public Sans", sans-serif; color: #15803d; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .karte:hover .ms-knopf { transform: scale(0.97); }
  .karte:hover .ms-ok { opacity: 1; transform: none; transition-delay: 220ms; }
}
@media (hover: none) { .ms-ok { opacity: 1; transform: none; } }

/* Mini: 3D-Wuerfel, dreht sich ruhig */
.mini-3d { background: radial-gradient(circle at 50% 60%, #24477a, #0f1f38 75%); perspective: 600px; display: grid; place-items: center; }
.m3-wuerfel { width: 76px; height: 76px; position: relative; transform-style: preserve-3d; animation: drehen 18s linear infinite; }
.m3-wuerfel i { position: absolute; inset: 0; border: 1.5px solid rgba(240, 205, 133, 0.9); background: rgba(240, 205, 133, 0.08); border-radius: 6px; }
.m3-wuerfel .v { transform: translateZ(38px); } .m3-wuerfel .h { transform: rotateY(180deg) translateZ(38px); }
.m3-wuerfel .l { transform: rotateY(-90deg) translateZ(38px); } .m3-wuerfel .r { transform: rotateY(90deg) translateZ(38px); }
.m3-wuerfel .o { transform: rotateX(90deg) translateZ(38px); } .m3-wuerfel .u { transform: rotateX(-90deg) translateZ(38px); }
@keyframes drehen { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

/* Mini: Portal */
.mini-portal { padding: 18px; display: flex; flex-direction: column; gap: 9px; background: #12233d; border-color: #1e2a3f; }
.mp-suche { display: flex; justify-content: space-between; align-items: center; background: #1b2f50; border: 1px solid #2c4166; border-radius: 10px; padding: 9px 10px 9px 14px; font: 500 0.8rem/1 "Public Sans", sans-serif; color: #a9b8cd; }
.mp-suche em { font-style: normal; font-weight: 700; color: #142033; background: #f0cd85; padding: 7px 12px; border-radius: 7px; }
.mp-zeile { display: flex; align-items: center; gap: 10px; background: #172a48; border-radius: 8px; padding: 9px 10px; transition: transform 300ms var(--ease-out), background-color 300ms ease; }
.mp-zeile b { font: 700 0.62rem/1 "Public Sans", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #142033; background: #4ade80; padding: 4px 6px; border-radius: 4px; }
.mp-zeile b.alt { background: #8fa3c2; }
.mp-zeile span { flex: 1; height: 7px; border-radius: 4px; background: #3c4f70; }
.mp-zeile span.k { flex: 0.7; margin-right: auto; }
.mp-zeile i { width: 44px; height: 7px; border-radius: 4px; background: #f0cd85; }
@media (hover: hover) and (pointer: fine) {
  .b-ganz:hover .mp-zeile:nth-child(2) { transform: translateX(6px); background: #1f3760; }
}

@media (max-width: 1020px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-breit { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-ganz { grid-template-columns: 1fr; padding: 22px; }
  h2 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .m3-wuerfel { animation: none; transform: rotateX(-24deg) rotateY(35deg); } }
