/*
Theme Name: Mangorama Studio
Description: Die Berliner Mangorama-Landingpage mit Kontaktformular, Impressum, Datenschutz und Mango-Dialog.
Version: 1.1.1
Update URI: false
Author: Mangorama
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: mangorama
*/
@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font: 100%/1.5 Inter, Arial, sans-serif;
  color: #151515;
  background: #191918;
  --paper: #f1f0ed;
  --side: clamp(1rem, 3.1vw, 4rem);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .6rem; left: .8rem; z-index: 8; background: white; color: black; padding: .6rem .9rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast, .topbar { color: white; background: #191918; }
.mast { position: relative; isolation: isolate; min-height: 41.85vw; overflow: hidden; }
.topbar { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; padding: clamp(.8rem, 1.05vw, 1.5rem) var(--side); }
.mast .topbar { background: transparent; }
.brand { flex: none; }
.brand img { width: clamp(10rem, 21.6vw, 25rem); height: auto; }
.topbar nav { display: flex; gap: clamp(1rem, 2.6vw, 3rem); }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1rem, 1.45vw, 1.55rem); font-weight: 610; letter-spacing: -.045em; text-decoration: none; }
.topbar nav a:hover, .footer a:hover { text-decoration: underline; }
.topbar nav span { margin-left: .2em; }
.street { position: absolute; z-index: -1; top: 0; right: 0; width: 73%; height: 100%; }
.street img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.street::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #191918 0%, transparent 10%), linear-gradient(180deg, rgba(0,0,0,.8), transparent 15%); }
.poster-credit {
  position: absolute;
  z-index: 1;
  inset-inline-end: clamp(.5rem, 1.2vw, 1.25rem);
  inset-block-end: clamp(.5rem, 1vw, 1rem);
  padding: .18rem .45rem;
  border-radius: .18rem;
  background: rgba(20, 20, 20, .81);
  color: #fff;
  font-size: .75rem;
  line-height: 1.35;
  font-weight: 550;
}
@media (orientation: landscape) and (max-height: 44rem) {
  .poster-credit { inset-inline-end: 4.5rem; }
}
.claim { position: relative; margin: .6vw 0 3.1vw 2.65vw; width: 26.45%; }
.claim img { width: 100%; height: auto; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #eae9e6; gap: 2px; border-block: 2px solid #eae9e6; }
.services figure { background: #e7e6e3; color: #161616; }
.services img { width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; }
.services figcaption { padding: .48em clamp(.85rem, 1.5vw, 2rem) .53em; font-size: clamp(1rem, 1.72vw, 2.1rem); font-weight: 720; line-height: 1.17; letter-spacing: -.055em; }
.footer { background: #191918; color: #f2f0ec; padding: clamp(2.5rem, 4.3vw, 5.5rem) var(--side) max(1.25rem, env(safe-area-inset-bottom)); }
.footer-main { display: grid; grid-template-columns: 1fr 1.45fr; gap: 1.5rem; align-items: start; padding-bottom: clamp(2rem, 3.2vw, 3.5rem); }
.footer h2 { margin-bottom: .55rem; font-size: .9rem; font-weight: 550; }
.footer address { font-style: normal; }
.email { display: inline-block; font-size: clamp(1.35rem, 3.8vw, 4.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.065em; text-decoration: none; }
.legal-links { display: flex; gap: .3rem 1.6rem; flex-wrap: wrap; border-top: 1px solid #585856; padding: .7rem 4.7rem 0 0; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.mango { display: grid; place-items: center; position: fixed; z-index: 3; right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); width: 3.15rem; height: 3.15rem; background: #201f20; color: white; border: 1px solid #eee9; border-radius: 50%; box-shadow: 0 2px 12px #0005; }
.mango img { width: 70%; height: auto; }
.mango::before { content: attr(aria-label); position: absolute; right: calc(100% + .55rem); visibility: hidden; white-space: nowrap; border-radius: .3rem; background: #201f20; color: white; padding: .35rem .7rem; font-size: .85rem; }
.mango:focus-visible::before { visibility: visible; }
@media (hover:hover) { .mango:hover::before { visibility: visible; } }
dialog { width: min(26.5rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid #d0cfca; border-radius: .8rem; color: #171717; background: var(--paper); box-shadow: 0 16px 80px #0005; }
dialog:not([open]) { display: none; }
dialog::backdrop { background: #101010aa; }
dialog h2 { font-size: clamp(1.6rem, 4.4vw, 2rem); line-height: 1.1; letter-spacing: -.06em; }
dialog p { margin-block: 1rem; }
.dialog-actions { margin-top: 1.55rem; display: flex; align-items: center; gap: .6rem 1.2rem; justify-content: space-between; flex-wrap: wrap; }
.dialog-actions a { font-size: .9rem; }
.dialog-actions button { min-height: 44px; padding: .5rem 1rem; border-radius: 2rem; background: #202020; color: white; border: 0; }
.legal-main { background: var(--paper); padding: clamp(2.6rem, 6vw, 7rem) var(--side) clamp(3.5rem, 8vw, 9rem); }
.prose { max-width: 44rem; margin-inline: auto; overflow-wrap: anywhere; }
.prose h1 { margin: .42em 0 .55em; font-size: clamp(2.05rem, 5.1vw, 5.4rem); line-height: 1.03; letter-spacing: -.065em; }
.prose h2 { margin: 1.65em 0 .4em; font-size: clamp(1.25rem, 1.75vw, 1.65rem); line-height: 1.12; letter-spacing: -.045em; }
.prose p, .prose address { font-style: normal; margin-bottom: .75em; }
.prose .back { font-size: .9rem; }
.prose section { scroll-margin: 1.5rem; }
@media (max-width: 700px) {
  .topbar { align-items: center; padding: .8rem var(--side); gap: .7rem; }
  .brand img { width: clamp(7.5rem, 35vw, 12rem); }
  .topbar nav { gap: .85rem; }
  .topbar nav a { font-size: .92rem; }
  .mast { min-height: 0; }
  .mast .topbar { background: #191918; }
  .street { top: 3.85rem; bottom: 0; height: auto; width: 68%; }
  .street img { object-position: 76% 50%; }
  .street::after { background: linear-gradient(90deg, #191918, transparent 13%); }
  .claim { margin: clamp(.7rem, 3.5vw, 1.8rem) 0 clamp(1.1rem, 4vw, 2rem) 3.6vw; width: 31.5%; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .services img { aspect-ratio: 2.05; }
  .services figcaption { font-size: 1.18rem; padding: .52em var(--side) .64em; }
  .footer-main { grid-template-columns: 1fr; gap: 1.65rem; }
  .legal-links { gap: .15rem 1.05rem; }
}
@media (forced-colors: active) {
  .claim .sr { position: static; width: auto; height: auto; clip-path: none; white-space: normal; font-size: clamp(2rem, 6vw, 7rem); line-height: 1; }
  .claim img { display: none; }
  .mango { border: 2px solid ButtonText; }
}
.footer-form { display: inline-flex; min-height:44px; align-items:center; margin-top:.4rem; }
.contact-form { margin: 1.4rem 0; }
.contact-form label { display:block; font-weight:650; margin:.8rem 0 .25rem; }
.contact-form input:not([type=hidden]), .contact-form textarea { display:block; width:100%; padding:.75rem; font:inherit; color:#161616; background:white; border:1px solid #64635f; border-radius:.3rem; }
.contact-form :is(input,textarea):focus-visible { outline:3px solid #141414; outline-offset:2px; }
.contact-form textarea { min-height:10rem; resize:vertical; }
.contact-form .form-info { margin:.85rem 0 1rem; font-size:.93rem; }
.contact-form button { background:#171717; color:white; border:0; border-radius:2rem; padding:.7rem 1.3rem; min-height:44px; }
.form-note { padding:1rem; background:white; border-left:4px solid #191918; margin-block:1rem; }
@media(max-width:700px){ .legal-links {padding-bottom:1.2rem;} }

.mgr-claim-text { display:block; padding-block:.12em; font-size:6.8vw; font-weight:900; line-height:.94; letter-spacing:-.065em; overflow-wrap:anywhere; }
.mgr-claim-text > span { display:block; color:#fff0de; }
.mgr-claim-text > span:nth-child(3n+2) { color:#ffab0a; }
.mgr-claim-text > span:nth-child(3n) { color:#ff2169; }
@media (max-width:700px) { .mgr-claim-text { font-size:8.2vw; } }
