/* Rolland Automobile – eigenständiges Theme (abweichend vom Flott-Template) */

:root {
  --international-orange-engineering: hsl(221, 78%, 48%);
  --brand-yellow-dark: hsl(221, 72%, 36%);
  --pastel-pink: hsl(214, 68%, 95%);
  --oxford-blue-1: hsl(222, 47%, 14%);
  --radius-pill: 8px;
  --radius-card: 14px;
  --ff-chakra-petch: 'Sora', sans-serif;
  --ff-mulish: 'IBM Plex Sans', sans-serif;
  --shadow: 0 8px 32px hsl(221, 30%, 88%);
}

/* Typografie: ruhiger, ohne Versalien */

.h1, .h2, .h3, .display-1, .btn, .btn-link, .section-subtitle {
  text-transform: none;
  letter-spacing: -0.02em;
}

.h1 { font-weight: 700; }
.h2 { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 600; }

.section-subtitle {
  margin-inline: 0;
  text-transform: none;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-left: 14px;
  border-left: 4px solid var(--international-orange-engineering);
}

.section-title { text-align: left; }

/* Überschriften auf hellen Sektionen lesbar halten */
.h2.section-title:not(.hero-title),
.h2.section-title {
  color: var(--oxford-blue-1);
}

.hero .section-title,
.hero .hero-title {
  color: var(--white);
}

.service .section-title {
  color: var(--white);
}

.section-text { max-width: 68ch; }

/* Header: volle Breite, navy */

.header {
  padding-block: 16px;
  background: linear-gradient(135deg, var(--oxford-blue-1) 0%, hsl(222, 42%, 22%) 100%);
  border-bottom: none;
  box-shadow: 0 4px 24px hsl(222, 40%, 20%);
}

.header .container {
  justify-content: space-between;
  max-width: 1280px;
  margin-inline: auto;
}

.header .logo-img {
  max-height: 52px;
  filter: none;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand .logo-img {
  filter: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-toggle-icon {
  background-color: var(--white);
}

.navbar {
  background-color: var(--oxford-blue-1);
  border: 1px solid hsl(222, 30%, 28%);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px hsl(222, 50%, 8%);
}

.navbar-link {
  color: var(--white);
  text-transform: none;
  font-weight: 500;
}

.navbar-link:is(:hover, :focus-visible) {
  background-color: hsl(222, 35%, 24%);
  color: var(--white);
}

@media (min-width: 992px) {
  .navbar {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .navbar-link {
    color: hsl(214, 40%, 92%);
    padding-inline: 14px;
  }

  .navbar-link:is(:hover, :focus-visible) {
    background: none;
    color: var(--white);
  }

  .navbar-link::after {
    height: 2px;
    background-color: var(--white);
    bottom: -6px;
  }

  body.page-inner .header {
    background: linear-gradient(135deg, var(--oxford-blue-1) 0%, hsl(222, 42%, 22%) 100%);
  }

  body.page-inner .navbar-link {
    color: hsl(214, 40%, 92%);
  }

  body.page-inner .navbar-link:is(:hover, :focus-visible) {
    color: var(--white);
  }

  body.page-inner .nav-toggle-icon {
    background-color: var(--white);
  }
}

.header .btn.btn-primary {
  background: var(--white);
  color: var(--oxford-blue-1);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.header .btn.btn-primary:is(:hover, :focus-visible) {
  background: var(--pastel-pink);
  color: var(--brand-yellow-dark);
  border-color: transparent;
  transform: translateY(-2px);
}

/* Hero: linksbündig, blauer Verlauf */

.hero {
  min-height: 82vh;
  text-align: left;
  display: flex;
  align-items: center;
}

.hero::before {
  background: linear-gradient(
    105deg,
    hsl(222, 50%, 12%) 0%,
    hsl(222, 45%, 18%) 42%,
    hsl(221, 55%, 28% / 0.75) 100%
  );
}

.hero .container {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.hero .section-subtitle {
  color: hsl(210, 80%, 78%);
  border-left-color: hsl(210, 80%, 78%);
  margin-inline: 0;
}

.hero .hero-title {
  margin-inline: 0;
  max-width: 14ch;
  text-align: left;
  line-height: 1.08;
}

.hero .section-text {
  max-width: 52ch;
  font-size: 1.7rem;
  line-height: 1.65;
  opacity: 0.92;
}

.hero-actions {
  justify-content: flex-start;
  margin-inline: 0;
  gap: 16px;
}

.hero .btn.btn-primary {
  background: var(--white);
  color: var(--oxford-blue-1);
}

.hero .btn.btn-primary:is(:hover, :focus-visible) {
  background: var(--pastel-pink);
  color: var(--brand-yellow-dark);
}

.hero .btn.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid hsl(214, 50%, 80%);
}

.hero .btn.btn-outline:is(:hover, :focus-visible) {
  background: hsl(222, 40%, 22%);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

@media (min-width: 992px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .hero-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero-panel-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    color: var(--oxford-blue-1);
    box-shadow: 0 24px 64px hsl(222, 50%, 8%);
  }

  .hero-panel-card .h3 {
    font-size: 1.8rem;
    margin-block-end: 8px;
    color: var(--oxford-blue-1);
  }

  .hero-panel-card p {
    font-size: 1.45rem;
    color: var(--sonic-silver);
    line-height: 1.5;
  }

  .hero-panel-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-block-start: 14px;
    color: var(--international-orange-engineering);
    font-weight: 600;
    font-size: 1.4rem;
  }
}

@media (max-width: 991px) {
  .hero-panel { display: none; }
}

/* Buttons global */

.btn {
  border-radius: var(--radius-pill);
  text-transform: none;
  font-weight: 600;
  padding: 14px 22px;
}

.btn:is(:hover, :focus-visible) {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--international-orange-engineering);
}

/* Sektionen */

.ankauf {
  background: var(--white);
}

.ankauf .section-title,
.ankauf .section-subtitle,
.ankauf-intro {
  text-align: left;
  margin-inline: 0;
}

.ankauf-region-bar {
  justify-content: flex-start;
}

.ankauf-region-badge {
  border-radius: var(--radius-pill);
  background: var(--pastel-pink);
  border: 1px solid hsl(214, 50%, 88%);
}

.ankauf-steps-list {
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid hsl(214, 45%, 88%);
  margin-block-start: 32px;
}

.ankauf-step-item {
  text-align: left;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 0 32px 24px;
  position: relative;
}

.ankauf-step-item:hover {
  transform: none;
  box-shadow: none;
}

.ankauf-step-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--international-orange-engineering);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px hsl(214, 55%, 88%);
}

.step-number {
  display: none;
}

.step-title {
  font-size: 1.7rem;
  margin-block-end: 6px;
}

.step-text {
  font-size: 1.45rem;
}

@media (min-width: 768px) {
  .ankauf-steps-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
    border-left: none;
    padding-left: 0;
  }

  .ankauf-step-item {
    padding: 24px;
    background: var(--pastel-pink);
    border-radius: var(--radius-card);
    border: 1px solid hsl(214, 45%, 90%);
  }

  .ankauf-step-item::before {
    display: none;
  }

  .step-number {
    display: grid;
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
    margin-inline: 0;
    margin-block-end: 14px;
    border-radius: 8px;
    box-shadow: none;
  }
}

.gallery {
  background: hsl(214, 45%, 97%);
}

.gallery .section-subtitle,
.gallery .section-title,
.gallery-intro {
  text-align: left;
  margin-inline: 0;
}

.gallery-card {
  border-radius: var(--radius-card);
  border: 1px solid hsl(214, 40%, 90%);
  box-shadow: 0 4px 20px hsl(221, 25%, 90%);
  border-top: 4px solid var(--international-orange-engineering);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px hsl(221, 30%, 85%);
}

.gallery-card-brand {
  text-transform: none;
  letter-spacing: 0;
}

.gallery-pagination-page-btn,
.gallery-pagination-btn {
  border-radius: var(--radius-pill);
}

.work {
  background: var(--white);
}

.work .section-subtitle,
.work .section-title {
  text-align: left;
  padding-inline: 16px;
}

/* Vorteile: Kartenraster statt Icon-Reihe */

.service {
  background: linear-gradient(180deg, var(--oxford-blue-1) 0%, hsl(222, 42%, 20%) 100%) !important;
  background-image: none !important;
  text-align: left;
}

.service::before,
.service.has-bg-image::before {
  display: none !important;
  background: none !important;
}

.service .section-subtitle {
  color: hsl(210, 75%, 78%);
  border-left-color: hsl(210, 75%, 78%);
}

.service .section-title {
  color: var(--white);
  text-align: left;
}

.vorteile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-block: 40px 36px;
  flex-wrap: unset;
  justify-content: stretch;
}

.vorteile-item {
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  padding: 22px 20px;
  background: hsl(222, 38%, 18%);
  border: 1px solid hsl(222, 30%, 26%);
  border-radius: var(--radius-card);
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
}

.vorteile-item:hover {
  border-color: hsl(210, 60%, 55%);
  transform: translateY(-3px);
}

.vorteile-icon {
  font-size: 2.8rem;
  color: hsl(210, 85%, 72%);
}

.vorteile-title {
  color: var(--white);
  font-size: 1.7rem;
}

.vorteile-text {
  color: hsl(214, 25%, 78%);
  font-size: 1.4rem;
}

.service .btn {
  margin-inline: 0;
  background: var(--white);
  color: var(--oxford-blue-1);
}

.service .btn-link {
  color: hsl(210, 85%, 72%);
}

@media (min-width: 768px) {
  .vorteile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .vorteile-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vorteile-item:last-child {
    grid-column: span 1;
  }
}

/* Über uns: hell statt dunkel */

.about {
  background: var(--pastel-pink);
  color: var(--oxford-blue-1);
  text-align: left;
}

.about .section-subtitle {
  color: var(--international-orange-engineering);
}

.about .section-title {
  color: var(--oxford-blue-1);
  text-align: left;
}

.about .container {
  align-items: flex-start;
}

.about-content {
  text-align: left;
  margin-inline: 0;
  max-width: 100%;
}

.about-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.about-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  border: 1px solid hsl(214, 45%, 90%);
  box-shadow: 0 4px 16px hsl(221, 25%, 92%);
}

.about-item:hover {
  background: var(--white);
  border-color: var(--international-orange-engineering);
  transform: translateY(-4px);
}

.about-item .strong {
  color: var(--international-orange-engineering);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.about-item p {
  color: var(--sonic-silver);
  font-size: 1.4rem;
  margin-block-start: 6px;
}

@media (min-width: 768px) {
  .about-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer: hell mit blauen Akzenten */

.footer {
  color: var(--sonic-silver);
  background: var(--white);
  border-top: 1px solid hsl(214, 40%, 90%);
}

.footer-top {
  background: var(--white) !important;
}

.footer .h3 {
  color: var(--oxford-blue-1) !important;
  font-size: 1.5rem;
  text-transform: none;
}

.footer-list .p {
  color: var(--sonic-silver) !important;
}

.footer-list .span {
  color: var(--oxford-blue-1) !important;
}

.footer-link,
.footer-link .span {
  color: var(--oxford-blue-1);
}

.footer-text {
  color: var(--sonic-silver);
  line-height: 1.7;
}

.footer-link:is(:hover, :focus-visible),
.footer-link:is(:hover, :focus-visible) .span {
  color: var(--international-orange-engineering);
}

.footer-bottom {
  background: var(--pastel-pink) !important;
  border-top: 1px solid hsl(214, 45%, 88%);
}

.footer-bottom .copyright {
  color: var(--oxford-blue-1);
}

.admin-login-btn {
  color: var(--sonic-silver);
}

.social-link {
  background-color: var(--pastel-pink);
  border: 1px solid hsl(214, 45%, 88%);
}

.social-link:is(:hover, :focus-visible) {
  background-color: var(--international-orange-engineering);
}

/* Kontakt & rechtliche Seiten */

.contact-page {
  background: var(--pastel-pink);
}

.contact-page .section-title,
.contact-page .section-subtitle {
  text-align: left;
}

.legal-page .section-title,
.legal-page .section-subtitle {
  text-align: left;
}

.autoankauf-page {
  background: var(--white);
}

.autoankauf-summary-card {
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, hsl(222, 45%, 18%), var(--oxford-blue-1));
}

.service-card {
  border-radius: var(--radius-card);
  text-align: left;
  border-bottom: none;
  border-left: 4px solid var(--international-orange-engineering);
}

.service-card .material-symbols-rounded {
  margin-inline: 0;
}

/* Scrollbar */

::-webkit-scrollbar-thumb {
  background-color: hsl(221, 45%, 70%);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--international-orange-engineering);
}

/* Unterseiten: gleicher Header wie Startseite (nicht weiß) */

body.page-inner .header {
  background: linear-gradient(135deg, var(--oxford-blue-1) 0%, hsl(222, 42%, 22%) 100%) !important;
  box-shadow: 0 4px 24px hsl(222, 40%, 20%);
  border-bottom: none;
}

body.page-inner .nav-toggle-icon {
  background-color: var(--white);
}

@media (min-width: 992px) {
  body.page-inner .navbar-link {
    color: hsl(214, 40%, 92%) !important;
  }

  body.page-inner .navbar-link:is(:hover, :focus-visible) {
    color: var(--white) !important;
  }
}

/* Blog */

.blog-page {
  background: hsl(214, 45%, 97%);
}

.blog-page .section-title,
.blog-page .section-subtitle,
.blog-intro {
  text-align: left;
  margin-inline: 0;
}

.blog-intro {
  margin-block-end: 32px;
}

.blog-grid {
  display: grid;
  gap: 24px;
  margin-block-start: 8px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid hsl(214, 40%, 90%);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 4px 20px hsl(221, 25%, 90%);
  border-top: 4px solid var(--international-orange-engineering);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card--link {
  text-decoration: none;
  color: inherit;
}

.blog-card--link:hover,
.blog-card--link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px hsl(221, 30%, 85%);
}

.blog-card--soon {
  opacity: 0.85;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-block-end: 12px;
  font-size: 1.3rem;
  color: var(--sonic-silver);
}

.blog-card-category {
  background: var(--pastel-pink);
  color: var(--brand-yellow-dark);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.blog-card-title {
  font-size: 1.75rem;
  color: var(--oxford-blue-1);
  margin-block-end: 10px;
  line-height: 1.3;
}

.blog-card-excerpt {
  flex: 1;
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--sonic-silver);
  margin-block-end: 16px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: auto;
  padding-block-start: 12px;
  border-top: 1px solid hsl(214, 40%, 92%);
}

.blog-card-readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  color: var(--sonic-silver);
}

.blog-card-readtime .material-symbols-rounded {
  --fs: 1.6rem;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--international-orange-engineering);
}

.blog-card-cta .material-symbols-rounded {
  --fs: 1.8rem;
}

.blog-card-soon {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sonic-silver);
}

.blog-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-block: 40px 48px;
}

.blog-status {
  margin: 0;
  font-size: 1.4rem;
  color: var(--sonic-silver);
}

.blog-cta-banner,
.blog-article-cta {
  background: linear-gradient(145deg, var(--oxford-blue-1), hsl(222, 42%, 22%));
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  margin-block-start: 16px;
}

.blog-cta-banner .h3,
.blog-article-cta .h3 {
  color: var(--white);
  margin-block-end: 10px;
}

.blog-article-cta .h3 {
  color: white;
}

.blog-cta-banner .section-text,
.blog-article-cta .section-text {
  color: hsl(214, 30%, 85%);
  max-width: none;
  margin-block-end: 20px;
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-cta-actions .span {
  color: white;
}

.blog-cta-actions .material-symbols-rounded {
  color: white;
}

.blog-cta-banner .btn-primary {
  background: var(--white);
  color: var(--oxford-blue-1);
}

.blog-cta-banner .btn-primary .span,
.blog-cta-banner .btn-primary .material-symbols-rounded {
  color: var(--oxford-blue-1);
}

.blog-cta-banner .btn:not(.btn-primary) {
  background: transparent;
  border: 2px solid hsl(214, 40%, 70%);
  color: var(--white);
}

.blog-article-page {
  background: var(--white);
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  margin-block-end: 24px;
  color: var(--sonic-silver);
}

.blog-breadcrumb a {
  display: inline;
  color: var(--international-orange-engineering);
  font-weight: 500;
}

.blog-article-header {
  margin-block-end: 32px;
  padding-block-end: 24px;
  border-bottom: 1px solid hsl(214, 40%, 90%);
}

.blog-article-title {
  max-width: 22ch;
  line-height: 1.15;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 14px;
  font-size: 1.4rem;
  color: var(--sonic-silver);
}

.blog-article-body .section-text {
  text-align: left;
  max-width: 72ch;
  margin-block-end: 16px;
  font-size: 1.55rem;
  line-height: 1.7;
}

.blog-article-body .h3 {
  margin-block: 28px 12px;
  color: var(--oxford-blue-1);
  font-size: 2rem;
}

.blog-article-body .blog-article-cta .h3 {
  color: white;
}

.blog-lead {
  font-size: 1.65rem !important;
  color: var(--oxford-blue-1);
  font-weight: 500;
}

.blog-article-body a {
  display: inline;
  color: var(--international-orange-engineering);
  font-weight: 600;
}

.blog-article-faq {
  margin-block: 40px 32px;
  padding: 28px;
  background: var(--pastel-pink);
  border-radius: var(--radius-card);
  border: 1px solid hsl(214, 45%, 88%);
}

.blog-faq-item {
  border-bottom: 1px solid hsl(214, 40%, 88%);
  padding-block: 14px;
}

.blog-faq-item:last-child {
  border-bottom: none;
}

.blog-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--oxford-blue-1);
  list-style: none;
}

.blog-faq-item summary::-webkit-details-marker {
  display: none;
}

.blog-faq-item .section-text {
  margin-block-start: 10px;
  margin-block-end: 0;
}

.blog-article-footer {
  margin-block-start: 40px;
  padding-block-start: 24px;
  border-top: 1px solid hsl(214, 40%, 90%);
}

.blog-article {
  max-width: 820px;
}
