/* Fonts are self-hosted (SIL Open Font License): no requests to Google (DSGVO) */
@font-face {
  font-family: "Bricolage";
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Marker";
  src: url(../fonts/permanent-marker-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}

:root {
  --red: #d8121e;        /* rojo, a touch brighter than the flag for screens */
  --red-deep: #aa151b;   /* official flag red */
  --yellow: #ffc400;
  --orange: #ff6a13;
  --ink: #1c0d0b;
  --paper: #fff8ea;
  --muted: #5d4b44;
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --body: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Marker", "Comic Sans MS", cursive;
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--body);
  font-optical-sizing: auto;
}
/* Tilted bands and polaroids overhang the edges; clip instead of letting the page scroll sideways */
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.035em; margin: 0 0 .45em; }
h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 em, h1 em { font-style: normal; color: var(--yellow); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.eyebrow { font-family: var(--hand); font-size: 1.35rem; color: var(--red); margin: 0 0 .5em; transform: rotate(-2deg); display: inline-block; }
.big { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.4; font-weight: 600; }

.sticker {
  display: inline-block; font-family: var(--hand); font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  background: var(--yellow); color: var(--ink); padding: .2em .7em; border-radius: 6px;
  transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--ink);
}
.sticker-red { background: var(--red); color: #fff; }

.btn {
  display: inline-block; padding: 16px 30px; border-radius: 999px; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; border: 3px solid var(--ink); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { color: #fff; border-color: #fff; }
.btn-outline:hover { box-shadow: 6px 6px 0 #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand img { width: 46px; height: 46px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 3px solid var(--yellow); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--yellow); }
.nav .nav-cta { background: var(--red); padding: 8px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--yellow); color: var(--ink); }
.menu-toggle { display: none; }

/* Hero: the client's painted heart as texture */
.hero { background: var(--red); color: #fff; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(80px, 10vw, 130px); }
.hero::before {
  content: ""; position: absolute; inset: -20px; background: url(../img/brand/herz.jpg) center/cover;
  filter: blur(3px) saturate(1.25); opacity: .55; mix-blend-mode: multiply;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 10.5vw, 9.2rem); text-transform: uppercase; margin: .25em 0 .3em; text-shadow: 6px 6px 0 rgba(28, 13, 11, .35); }
.hero h1 em { display: block; }
.hero p { font-size: clamp(1.15rem, 2vw, 10.45rem); font-weight: 600; max-width: 32ch; margin: 0 0 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.polaroid { margin: 0; background: #fff; padding: 14px 14px 0; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .55); transform: rotate(3deg); }
.polaroid figcaption { font-family: var(--hand); color: var(--ink); font-size: 1.15rem; padding: 12px 4px 16px; }
.tilt-right { transform: rotate(-3deg); }
.hero-slides { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-photo figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.hero-dots { display: flex; gap: 7px; flex-shrink: 0; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dots button.active { background: var(--red); border-color: var(--red); }

/* Marquee band */
.marquee { background: var(--yellow); border-block: 4px solid var(--ink); overflow: hidden; transform: rotate(-1.6deg); margin: -34px -20px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.6rem); text-transform: uppercase; padding: 12px 0; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--red); margin: 0 .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo img { aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; border: 4px solid var(--ink); box-shadow: 16px 16px 0 var(--yellow), 16px 16px 0 4px var(--ink); }
.about-photo .sticker { position: absolute; right: -18px; bottom: 36px; }
.signature { font-family: var(--hand); font-size: 1.6rem; color: var(--red); transform: rotate(-2deg); }

/* The client's hand-painted ESPAÑOL artwork as a full-width strip */
.art-strip { height: clamp(90px, 13vw, 200px); background: url(../img/brand/espanol.jpg) center/cover; border-block: 4px solid var(--ink); }

/* Offer */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.offer-card { border: 4px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; display: flex; flex-direction: column; }
.offer-card:nth-child(1) { transform: rotate(-1.2deg); }
.offer-card:nth-child(3) { transform: rotate(1.2deg); }
.offer-card:hover { transform: rotate(0) translateY(-6px); }
.offer-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 4px solid var(--ink); }
.offer-card > div { padding: 24px 24px 30px; flex: 1; }
.offer-card h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.offer-card p { margin: 0; font-size: 1.02rem; }
.offer-card.red { background: var(--red); color: #fff; }
.offer-card.yellow { background: var(--yellow); }
.offer-card.ink { background: var(--ink); color: #fff; }
.offer-card.ink h3 { color: var(--yellow); }

/* Courses */
.courses { background: var(--ink); color: #fff; }
.courses .eyebrow { color: var(--yellow); }
.course-list { margin-top: 40px; border-top: 3px solid rgba(255, 255, 255, .2); }
.course { display: grid; grid-template-columns: minmax(180px, 2fr) 5fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 3px solid rgba(255, 255, 255, .2); transition: padding .2s; }
.course:hover { padding-left: 16px; }
.course .code { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.04em; color: var(--red); -webkit-text-stroke: 2px var(--red); }
.course:nth-child(2) .code { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.course:nth-child(3) .code { color: transparent; -webkit-text-stroke-color: #fff; }
.course h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .2em; }
.course p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.courses .note { margin-top: 28px; font-family: var(--hand); font-size: 1.25rem; color: var(--yellow); }

/* Method */
.method { background: var(--orange); }
.method .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.method .eyebrow { color: var(--ink); }
.method blockquote { margin: 0 0 .6em; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; color: #fff; text-shadow: 4px 4px 0 var(--ink); }
.method p { font-size: 1.15rem; font-weight: 500; max-width: 52ch; }
.method .polaroid img { aspect-ratio: 3/4; object-fit: cover; }

/* Videos */
.videos h2 em { color: var(--red); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px; }
.video { margin: 0; }
.video button, .video iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 4px solid var(--ink); background: var(--ink); box-shadow: var(--shadow); }
.video button { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.video button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video button:hover img { transform: scale(1.06); }
.video .play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.video .play::after { content: ""; position: absolute; left: 25px; top: 18px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--ink); }
.video figcaption { margin-top: 16px; font-weight: 800; font-size: 1.2rem; }
.consent-note { margin-top: 32px; font-size: .85rem; color: var(--muted); }

/* Testimonials */
.testimonials { background: var(--yellow); text-align: center; border-block: 4px solid var(--ink); }
.testimonials .eyebrow { color: var(--red-deep); }
.testimonials h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.slider { max-width: 880px; margin: 72px auto 0; position: relative; }
.slider::before { content: "“"; position: absolute; left: 50%; top: -60px; transform: translateX(-50%); font-family: var(--display); font-weight: 800; font-size: 12rem; line-height: 1; color: var(--red); opacity: .9; pointer-events: none; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; padding-top: 60px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 8px clamp(8px, 4vw, 48px); }
.slide p { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 18px; }
.slide footer { font-family: var(--hand); font-size: 1.3rem; color: var(--red-deep); }
.slide.placeholder p { color: var(--muted); font-style: italic; font-weight: 500; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.slider-controls > button { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; color: var(--ink); font-size: 1.7rem; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.slider-controls > button:hover { background: var(--red); color: #fff; }
.dots { display: flex; gap: 10px; }
.dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 3px solid var(--ink); background: transparent; cursor: pointer; }
.dots button.active { background: var(--ink); }

/* Contact */
.contact { background: var(--red); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: -20px; background: url(../img/brand/herz.jpg) center/cover; filter: blur(3px); opacity: .4; mix-blend-mode: multiply; transform: scaleX(-1); }
.contact .wrap { position: relative; display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: end; }
.contact h2 { font-size: clamp(3.6rem, 11vw, 9rem); text-transform: uppercase; margin-top: .3em; text-shadow: 6px 6px 0 rgba(28, 13, 11, .35); }
.contact .phone { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3.2rem); letter-spacing: -.02em; text-decoration: none; color: var(--yellow); }
.contact .mail { display: inline-block; margin-top: 8px; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
.contact address { font-style: normal; font-size: 1.15rem; line-height: 1.5; background: var(--ink); padding: 28px 32px; border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); transform: rotate(2deg); }
.contact address strong { font-family: var(--display); font-size: 1.4rem; color: var(--yellow); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .95rem; padding-block: 32px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.footer-brand { font-family: var(--hand); font-size: 1.4rem; color: var(--yellow); }
.site-footer nav a { color: #fff; text-decoration: none; margin-left: 22px; }
.site-footer nav a:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .hero .wrap, .about .wrap, .method .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; justify-self: center; }
  .offer-grid { grid-template-columns: 1fr; max-width: 520px; }
  .course { grid-template-columns: 1fr; gap: 6px; }
  .about-photo { max-width: 440px; }
  .about-photo .sticker { right: -6px; }
}
@media (max-width: 800px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 4px solid var(--yellow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 1.1rem; }
  .nav .nav-cta { border-radius: 0; }
  .menu-toggle { display: block; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: #fff; }
  .brand span { font-size: 1.15rem; }
  .site-footer nav a { margin: 0 22px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-slide { transition: none; }
}

/* Subpages: Impressum, Datenschutz, AGB */
.page-hero { background: var(--red); color: #fff; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: -20px; background: url(../img/brand/herz.jpg) center/cover; filter: blur(3px); opacity: .5; mix-blend-mode: multiply; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); text-transform: uppercase; margin: .3em 0 0; text-shadow: 6px 6px 0 rgba(28, 13, 11, .35); }
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 1.6em; }
.legal h3 { font-size: 1.35rem; margin-top: 1.4em; letter-spacing: -.02em; line-height: 1.2; }
.legal h2:first-child, .legal h3:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.05rem; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .4em; }
.legal blockquote { margin: 1em 0; padding: 12px 20px; border-left: 5px solid var(--yellow); background: #fff; }
.legal blockquote cite { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.legal a { color: var(--red-deep); word-break: break-word; }
.card-box { background: #fff; border: 4px solid var(--ink); box-shadow: var(--shadow); padding: 28px 32px; margin: 0 0 1.5em; font-style: normal; }
.card-box strong.name { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; }
.card-box .claim { color: var(--red); font-weight: 700; }
/* Editorial notes for the site owner – remove before going live */
.hint { border: 3px dashed var(--orange); background: #fff1e6; padding: 16px 20px; margin: 1.2em 0; font-size: .95rem; }
.hint::before { content: "Hinweis (vor Livegang entfernen)"; display: block; font-family: var(--hand); color: var(--orange); font-size: 1.05rem; margin-bottom: 4px; }
.hint p { margin: .3em 0; font-size: .95rem; }
.hint ul { margin: .3em 0; }
.hint li { font-size: .95rem; }

/* Keep the footer at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* The bull: full-width photo band before the contact section */
.toro { position: relative; height: clamp(260px, 42vw, 560px); background: url(../img/brand/stier.jpg) center 40%/cover; border-top: 4px solid var(--ink); }
.toro .sticker { position: absolute; right: clamp(16px, 8vw, 120px); top: clamp(24px, 6vw, 72px); font-size: clamp(2rem, 6vw, 4.5rem); transform: rotate(8deg); }
