/* ===========================================================
   Reinigungsservice Korn – Comic-Style
   =========================================================== */

:root {
  --blue: #3fa9dc;
  --blue-dark: #1f6fa8;
  --blue-light: #eaf6fd;
  --yellow: #f4b942;
  --yellow-dark: #e0a020;
  --red: #e6484f;
  --red-dark: #c62f36;
  --navy: #16233a;
  --ink: #14181f;
  --cream: #fffaf0;
  --white: #ffffff;
  --green: #3fbf7f;

  --radius: 18px;
  --border: 3px solid var(--ink);
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
  --shadow-soft: 0 10px 30px rgba(20, 24, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--navy);
}

p {
  line-height: 1.65;
  margin: 0 0 1em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-light);
  border: 2px solid var(--blue-dark);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-head p {
  font-size: 1.1rem;
  color: #465066;
}

/* halftone / dotted decorative backgrounds */
.halftone {
  background-image: radial-gradient(var(--blue) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.18;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sparkle {
  position: absolute;
  color: var(--blue);
  font-size: 1.6rem;
  opacity: 0.8;
  pointer-events: none;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,0.6));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  border: var(--border);
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.2rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
}

.logo img {
  height: 58px;
  width: 138px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
  color: var(--navy);
  font-size: 1.02rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width .2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 1rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: var(--border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--cream) 78%);
  padding: 70px 0 60px;
  overflow: hidden;
  border-bottom: var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

.hero-text h1 .hl {
  color: var(--blue-dark);
  position: relative;
  display: inline-block;
}

.hero-text h1 .hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 6px;
  opacity: .8;
}

.hero-text p.lead {
  font-size: 1.2rem;
  color: #38455e;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.92rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image .frame {
  position: relative;
  background: var(--white);
  border: var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-hard);
  padding: 10px;
  max-width: 400px;
  transform: rotate(1.5deg);
}

.hero-image img {
  border-radius: 18px;
  width: 100%;
}

.hero-image .sticker {
  position: absolute;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-8deg);
  font-size: 0.95rem;
}

.hero-image .sticker.s1 {
  top: -18px;
  left: -30px;
}

.hero-image .sticker.s2 {
  bottom: 6px;
  right: -34px;
  background: var(--blue);
  transform: rotate(7deg);
}

/* ---------- Intro / Über uns ---------- */
.intro-section {
  padding: 90px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro-text p {
  font-size: 1.12rem;
  color: #333f55;
}

.intro-image {
  position: relative;
}

.intro-image .comic-frame {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-image .caption {
  margin-top: 14px;
  text-align: center;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

/* ---------- Jobs / Werde Teil vom Team ---------- */
.jobs-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
}

.jobs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--white) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.06;
}

.jobs-section .section-head h2,
.jobs-section .section-head p {
  color: var(--white);
}

.jobs-section .eyebrow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.job-card {
  background: var(--white);
  color: var(--navy);
  border: var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-hard);
}

.job-card .icon {
  font-size: 2.1rem;
  margin-bottom: 12px;
  display: block;
}

.job-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.job-card ul {
  margin: 0;
  padding-left: 20px;
}

.job-card li {
  margin-bottom: 6px;
  color: #333f55;
}

.jobs-flow {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 50px 0 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}

.flow-step .num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-hard-sm);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.flow-step h4 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.flow-step p {
  color: #c6cedd;
  font-size: 0.96rem;
}

.quote-bubble {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--navy);
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
  padding: 34px 40px;
  max-width: 720px;
  margin: 20px auto 40px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.quote-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 22px solid var(--ink);
}

.quote-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 18px solid var(--white);
  z-index: 1;
}

.quote-bubble cite {
  display: block;
  margin-top: 12px;
  font-family: "Nunito", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-dark);
}

.jobs-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---------- Services / Warum Firma Korn ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}

.service-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .15s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2.5px solid var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.92rem;
  color: #4a5468;
  margin: 0;
}

.why-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--blue-light);
  border: var(--border);
  border-radius: 26px;
  padding: 46px;
  box-shadow: var(--shadow-hard);
}

.why-panel h3 {
  font-size: 1.6rem;
  color: var(--blue-dark);
}

.eco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.eco-tag {
  background: var(--green);
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

.why-image .comic-frame {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-1.5deg);
}

.why-image img {
  width: 100%;
  display: block;
}

/* ---------- Presse ---------- */
.press-section {
  padding: 70px 0;
  text-align: center;
}

.press-strip {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.press-item {
  width: 220px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-hard-sm);
  background: var(--white);
  transform: rotate(-2deg);
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.press-item:nth-child(2) { transform: rotate(1.5deg); }
.press-item:nth-child(3) { transform: rotate(-1deg); }

.press-item:hover,
.press-item:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-hard);
  outline: none;
}

.press-item::after {
  content: "🔍 vergrößern";
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: "Baloo 2", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-dark);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}

.press-item:hover::after,
.press-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.press-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.press-item span {
  display: block;
  padding: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-dark);
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 24, 31, 0.88);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lightbox.show {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(720px, 100%);
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border: var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hard);
  background: var(--white);
}

.lightbox-figure figcaption {
  margin-top: 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-hard-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Kontakt ---------- */
.contact-section {
  background: var(--yellow);
  border-top: var(--border);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.contact-info p {
  color: #3a2f10;
  font-size: 1.08rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 16px 0;
  text-decoration: none;
  color: var(--ink);
}

.contact-detail .ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-hard);
}

.form-toggle {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.form-toggle label {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: var(--cream);
  transition: background .15s ease;
}

.form-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-dark);
}

.form-toggle label:has(input:checked) {
  background: var(--blue-light);
  border-color: var(--blue-dark);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  background: var(--cream);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: #6a7488;
  margin-top: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c6cedd;
  padding: 50px 0 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-logo img {
  height: 56px;
  width: 133px;
  object-fit: contain;
  margin-bottom: 14px;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 14px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: #c6cedd;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid #2b3a52;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8792a6;
}

.footer-bottom a {
  color: #8792a6;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 70px 0 100px;
}

.legal-page .container {
  max-width: 860px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 40px;
}

.legal-page p, .legal-page li {
  color: #333f55;
  font-size: 1.02rem;
}

.legal-page a.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--green);
  color: var(--white);
  border: var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-hard);
  transform: translateY(140%);
  transition: transform .3s ease;
  z-index: 999;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
}

.toast.error {
  background: var(--red);
}

/* Formular: Honeypot (unsichtbar) und Datenschutz-Checkbox */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #465066;
  margin-bottom: 18px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue-dark);
}

.consent a {
  color: var(--blue-dark);
  font-weight: 700;
}

.btn:disabled {
  opacity: .7;
  cursor: wait;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner,
  .intro-grid,
  .why-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-image { order: -1; }

  .jobs-grid { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .phone-pill span.txt { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  .jobs-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .jobs-flow { flex-direction: column; }
  .section { padding: 60px 0; }
  .contact-form { padding: 26px; }
  .why-panel { padding: 28px; }
}
