/* reutlinger INNOVATION — Website Version 1
   Design: "Ruhige Klarheit" — Sand-Hintergrund, weisse Karten, Teal-Akzent,
   Albert Sans durchgehend, Wittgenstein (Akzentschrift) nur für die Hero-Tagline. */

@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,300;0,400;0,500;0,600;0,800;1,400&family=Wittgenstein:wght@500;600&display=swap');

:root {
  --deep: #1A5276;
  --teal: #1ABC9C;
  --amber: #F39C12;
  --light: #D6EAF8;
  --sand: #F1F0EA;
  --white: #FFFFFF;
  --ink: #23343f;
  --ink-soft: #4d6270;
  --radius: 16px;
  --max: 1120px;
  --shadow: 0 12px 32px -18px rgba(26, 82, 118, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8em;
}

.accent {
  font-family: 'Wittgenstein', serif;
  font-style: normal;
  font-weight: 600;
  color: var(--deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(26, 188, 156, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); background: #17a98c; }

.btn-ghost {
  background: transparent;
  border-color: var(--deep);
  color: var(--deep);
}
.btn-ghost:hover { background: var(--deep); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--deep);
}
.btn-light:hover { transform: translateY(-2px); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 240, 234, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 82, 118, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.96rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta { display: none; }
@media (min-width: 780px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--deep);
  cursor: pointer;
}
@media (min-width: 780px) {
  .nav-toggle { display: none; }
}

.nav-links {
  display: none;
}
@media (min-width: 780px) {
  .nav-links { display: flex; }
}

.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--sand);
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 18px;
  border-bottom: 1px solid rgba(26, 82, 118, 0.08);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero-tagline {
  font-family: 'Wittgenstein', serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--deep);
  line-height: 1.15;
  margin: 0 auto 0.5em;
  max-width: 16ch;
}

.hero-sub {
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 1.6em;
}

.hero-byline {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 auto 2.2em;
  padding: 9.5px 16px 9.5px 6px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  transition: transform 0.15s ease;
}
.hero-byline:hover { transform: translateY(-2px); }

.hero-byline-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* Sections */
section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }
.section-light { background: var(--light); }

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

/* Problem cards */
.card-grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.card-grid-3 .card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 260px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .card-grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--teal);
}

.problem-close {
  text-align: center;
  margin-top: 40px;
  font-family: 'Wittgenstein', serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--deep);
}

/* Approach */
.approach-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  counter-reset: approach;
}

.approach-list .approach-item {
  flex: 0 1 calc(33.333% - 22px);
  min-width: 260px;
}

.approach-list-4 .approach-item {
  flex: 0 1 calc(50% - 16px);
  min-width: 240px;
}

.approach-item {
  position: relative;
  padding-left: 56px;
}

.approach-item::before {
  counter-increment: approach;
  content: counter(approach);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.approach-item h3 { margin-bottom: 0.4em; }
.approach-item p { margin: 0; }

/* Offers */
.tier-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}

.tier-grid .tier-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 260px;
}

.tier-grid-4 .tier-card {
  flex: 0 1 calc(25% - 18px);
  min-width: 220px;
}

.tier-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tier-card .tier-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.tier-card.featured {
  border: 2px solid var(--teal);
}

.tier-start-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tier-start-row .tier-label,
.tier-start-row .price-hint {
  margin-bottom: 0;
}

.tier-card p { flex-grow: 1; }

.tier-card .btn { align-self: flex-start; margin-top: 8px; }

.flow-grid .tier-card {
  flex: 1 1 0;
  min-width: 260px;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--teal);
}

.flow-connector svg {
  width: 22px;
  height: 22px;
  transition: transform 0.15s ease;
}

@media (max-width: 860px) {
  .flow-grid { flex-direction: column; align-items: stretch; }
  .flow-grid .tier-card { flex-basis: auto; width: 100%; }
  .flow-connector svg { transform: rotate(90deg); }
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  align-items: stretch;
  gap: 20px;
}

.solution-item {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  padding: 24px 20px 44px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.solution-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  color: var(--teal);
  opacity: 0.5;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.solution-item .card-icon {
  margin: 0 auto 14px;
}

.solution-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.solution-item p {
  font-size: 0.88rem;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-portrait {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  aspect-ratio: 4 / 5;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  list-style: none;
  padding: 0;
}

.about-keywords li {
  background: var(--light);
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.about-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: -0.4em;
  margin-bottom: 1.2em;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.about-link:hover { text-decoration: underline; }

/* Contact */
.contact-section {
  text-align: center;
  background: var(--deep);
  color: var(--white);
  border-radius: 28px;
  margin: 0 24px;
  padding: 80px 32px;
}
@media (min-width: 1160px) {
  .contact-section { margin: 0 auto; max-width: var(--max); }
}

.contact-section .accent {
  color: var(--white);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  display: block;
  margin-bottom: 32px;
}

.contact-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal);
}
.contact-icon svg { width: 26px; height: 26px; }

.contact-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  opacity: 0.8;
  margin-bottom: 6px;
}

.contact-value {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.98rem;
  text-align: center;
  word-break: break-word;
}
.contact-item:hover .contact-value { color: var(--white); }
.contact-item:hover .contact-icon { background: rgba(255, 255, 255, 0.18); }

/* Footer */
.site-footer {
  padding: 64px 0 32px;
}

.footer-contact {
  padding-bottom: 44px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(26, 82, 118, 0.1);
  text-align: center;
}

.footer-eyebrow {
  margin-bottom: 1.2em;
}

.footer-contact .contact-grid {
  margin-top: 0;
}

.footer-contact .contact-icon {
  background: var(--light);
  color: var(--deep);
}

.footer-contact .contact-label {
  color: var(--ink-soft);
  opacity: 1;
}

.footer-contact .contact-value {
  color: var(--deep);
}

.footer-contact .contact-item:hover .contact-value { color: var(--teal); }
.footer-contact .contact-item:hover .contact-icon { background: #c3e3f2; }

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-bottom a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(77, 98, 112, 0.35);
}
.footer-bottom a:hover { color: var(--deep); }

.footer-bottom .sep { margin: 0 8px; opacity: 0.5; }

/* Subpages (Lösungen) */
.page-hero {
  padding: 56px 0 64px;
  text-align: center;
}

.page-hero-top {
  text-align: left;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  max-width: 20ch;
  margin: 0 auto 0.5em;
}

.page-hero .lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 2em;
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.fit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.fit-item svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--teal);
  margin-top: 2px;
}

.fit-item p {
  margin: 0;
  color: var(--ink);
}

.price-card .price-tag {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 2px;
}

.price-card .price-unit {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 8px;
}

.price-hint {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.price-note {
  text-align: center;
  max-width: 640px;
  margin: 32px auto 0;
  font-size: 0.92rem;
}

.kosten-note-card {
  max-width: 640px;
  margin: 32px auto;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item h3 { margin-bottom: 0.4em; }
.faq-item p { margin: 0; }

.solution-link {
  text-decoration: none;
  display: block;
  height: 100%;
  transition: transform 0.15s ease;
}
.solution-link:hover { transform: translateY(-3px); }
.solution-link:hover .solution-item {
  border-color: var(--teal);
  box-shadow: 0 16px 36px -16px rgba(26, 82, 118, 0.35);
}
.solution-link:hover .solution-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Compare (Ohne/Mit) */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.compare-card.positive {
  border: 2px solid var(--teal);
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.compare-row:last-child { margin-bottom: 0; }

.compare-row svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.compare-row p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.compare-card.negative .compare-row svg { color: var(--ink-soft); }
.compare-card.positive .compare-row svg { color: var(--teal); }

/* Legal pages */
.legal-page main {
  padding: 64px 0 96px;
}

.legal-page .wrap.narrow {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2em;
}

.legal-page p, .legal-page li { color: var(--ink-soft); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }
