/* ===================================
   KFO Roloff – Editorial Grid Design
   Referenz: appeal-rice-stuff.figma.site
   ===================================
   Typografie: Syne (headings) · Inter (body)
   Palette: #f5f4f0 (off-white) · #111 (black) · #4a8f3f (grün) · #c8d9c5 (mint)
=================================== */

/* --- Back Button ---------------------------------------------------- */
.back-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #111;
  text-decoration: none;
  padding: 5px 10px 5px 6px;
  border-radius: 0;
  border: 1px solid #111;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.back-btn:hover { background: #111; color: #f5f4f0; transform: translateX(-2px); }

/* --- Reset & Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: #f5f4f0;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

strong { font-weight: 600; }

/* --- Utilities ------------------------------------------------------- */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  display: block;
}
.label.light { color: rgba(255,255,255,0.55); }

/* --- Buttons --------------------------------------------------------- */
.btn-dark {
  display: inline-block;
  padding: 14px 28px;
  background: #111;
  color: #f5f4f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #111;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 28px;
}
.btn-dark:hover { background: #4a8f3f; border-color: #4a8f3f; color: #fff; }
.btn-dark.small { padding: 10px 20px; font-size: 0.78rem; margin-top: 20px; }

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #111;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 28px;
}
.btn-outline:hover { background: #111; color: #f5f4f0; }

/* --- NAV ------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: #f5f4f0;
  border-bottom: 1px solid #e0dfd9;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}
.nav-logo strong { color: #4a8f3f; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  transition: color 0.2s;
}
.nav-links a:hover { color: #111; }

.nav-cta {
  padding: 10px 22px;
  background: #111 !important;
  color: #f5f4f0 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em;
  border: 2px solid #111;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #4a8f3f !important; border-color: #4a8f3f !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: all 0.2s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #f5f4f0;
  border-bottom: 1px solid #e0dfd9;
  flex-direction: column;
  padding: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  border-bottom: 1px solid #e0dfd9;
}
.mobile-nav a:hover { color: #111; background: #eee; }

/* --- HERO ------------------------------------------------------------ */
.hero {
  padding-top: 73px;
  min-height: 100vh;
  background: #f5f4f0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 73px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 40px;
  border-right: 1px solid #e0dfd9;
}

.hero-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #111;
  margin: 16px 0 24px;
}

.hero-sub {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  max-width: 340px;
  line-height: 1.5;
}

.hero-img-wrap {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero-img-wrap:hover .hero-img { transform: scale(1.03); }

.hero-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: #f5f4f0;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 240px;
}
.tag-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}
.tag-value {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}

/* --- STATEMENT ------------------------------------------------------- */
.statement-section {
  border-top: 1px solid #e0dfd9;
  border-bottom: 1px solid #e0dfd9;
}

.statement-grid {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0;
  align-items: start;
  padding: 80px 40px;
}

.label-vert {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  white-space: nowrap;
}

.statement-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #111;
  padding-right: 60px;
  border-right: 1px solid #e0dfd9;
}

.statement-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  padding-left: 60px;
  align-self: center;
}

/* --- SPLIT ----------------------------------------------------------- */
.split-section {
  border-bottom: 1px solid #e0dfd9;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 40px;
  border-right: 1px solid #e0dfd9;
}
.split-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #111;
  margin: 12px 0 24px;
}
.split-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  max-width: 380px;
}

.split-img-wrap {
  position: relative;
  overflow: hidden;
}
.split-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.split-img-wrap:hover img { transform: scale(1.03); }

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17,17,17,0.75);
  color: #f5f4f0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 24px;
}

/* --- BENTO GRID ------------------------------------------------------ */
.bento-section {
  padding: 80px 40px;
  border-bottom: 1px solid #e0dfd9;
}

.bento-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.bento-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  text-align: right;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 280px;
  gap: 2px;
  background: #e0dfd9;
}

.bento-cell {
  background: #f5f4f0;
  padding: 40px 36px;
  overflow: hidden;
}

.bento-cell h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.bento-cell p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* image cell spans 2 rows */
.bento-img {
  grid-row: 1 / 3;
  padding: 0;
  position: relative;
}
.bento-img img { width: 100%; height: 100%; object-fit: cover; }

.bento-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, transparent 100%);
  padding: 40px 32px 28px;
}
.bento-overlay span {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: block;
}

.bento-dark {
  background: #111;
  color: #f5f4f0;
}
.bento-dark h3 { color: #f5f4f0; }
.bento-dark p  { color: rgba(255,255,255,0.65); }

.bento-light { background: #f5f4f0; }

.bento-accent {
  background: #4a8f3f;
  color: #fff;
}
.bento-accent h3 { color: #fff; }
.bento-accent p  { color: rgba(255,255,255,0.8); }

.bento-minimal { background: #c8d9c5; }
.bento-minimal h3 { color: #111; }
.bento-minimal p  { color: #333; }

/* --- QUOTE ----------------------------------------------------------- */
.quote-section {
  background: #111;
  padding: 100px 40px;
  border-bottom: 1px solid #222;
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-section blockquote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #f5f4f0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
}

.quote-author {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- AWARDS ---------------------------------------------------------- */
.awards-section {
  border-bottom: 1px solid #e0dfd9;
}

.awards-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #e0dfd9;
  padding: 60px 40px;
  align-items: end;
}
.awards-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-align: right;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e0dfd9;
  gap: 1px;
}

.award-cell {
  background: #f5f4f0;
  padding: 48px 40px;
}

.award-img-cell {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.award-logo-wrap {
  width: 90px;
  height: 90px;
  margin-bottom: 28px;
}
.award-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-text h3,
.award-text-cell h3,
.award-barrier-cell h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  margin-top: 8px;
}
.award-text p,
.award-text-cell p,
.award-barrier-cell p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.focus-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
  border: 3px solid #111;
  padding: 8px 20px;
  margin: 10px 0 4px;
  letter-spacing: 0.05em;
}

.barrier-icon {
  font-size: 2.8rem;
  margin: 8px 0 4px;
  line-height: 1;
}

.award-text-cell { background: #f0f5ef; }
.award-barrier-cell { background: #edf2f0; }

/* --- CONTACT --------------------------------------------------------- */
.contact-section {
  border-bottom: 1px solid #e0dfd9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 560px;
  background: #e0dfd9;
  gap: 1px;
}

.contact-left {
  background: #111;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-left h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #f5f4f0;
  margin: 12px 0 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}
.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #888;
  text-transform: uppercase;
}
.contact-row a {
  color: #f5f4f0;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-row a:hover { color: #c8d9c5; }

.contact-form {
  background: #f5f4f0;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aaa; }
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: #111; }

.contact-form textarea { border: 1px solid #ccc; padding: 14px 16px; margin-top: 4px; }
.contact-form textarea:focus { border-color: #111; }

.form-success {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a8f3f;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.form-success.visible { display: block; }

/* --- FOOTER ---------------------------------------------------------- */
.footer {
  background: #f5f4f0;
  border-top: 1px solid #e0dfd9;
  padding: 28px 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.01em;
}
.footer-logo strong { color: #4a8f3f; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.2s;
}
.footer-links a:hover { color: #111; }
.footer-copy {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* --- SCROLL ANIMATION ----------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE ------------------------------------------------------ */
@media (max-width: 960px) {
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid,
  .split-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-text { padding: 60px 24px 48px; border-right: none; border-bottom: 1px solid #e0dfd9; }
  .hero-img-wrap { min-height: 60vw; }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 60px 24px;
  }
  .label-vert { writing-mode: horizontal-tb; transform: none; }
  .statement-heading { border-right: none; border-bottom: 1px solid #e0dfd9; padding: 0 0 28px 0; font-size: 1.8rem; }
  .statement-body { padding-left: 0; }

  .split-text { padding: 60px 24px 48px; border-right: none; }
  .split-img-wrap { min-height: 60vw; }

  .bento-section { padding: 60px 24px; }
  .bento-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bento-header h2 { text-align: left; }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px auto auto auto auto;
  }
  .bento-img { grid-row: 1 / 2; grid-column: 1 / 3; }

  .awards-header { grid-template-columns: 1fr; gap: 16px; padding: 48px 24px; }
  .awards-header h2 { text-align: left; font-size: 2.5rem; }
  .awards-grid { grid-template-columns: 1fr; }
  .award-cell { padding: 36px 24px; }

  .contact-left { padding: 48px 24px; }
  .contact-form { padding: 48px 24px; }
  .form-group { grid-template-columns: 1fr; }

  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .quote-section { padding: 72px 24px; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-img { min-height: 280px; grid-column: 1; }
  .hero-text h1 { font-size: 2.8rem; }
}
