/* BUCHSEITE: eigenständige Datei, keine Änderungen am CSS der Homepage. */
/* Farben der CreativIT Marke */
:root {
  --navy: #132145;
  --blue: #2d6a85;
  --teal: #439090;
  --mint: #99ceaa;
  --paper: #f6f9f8;
  --ink: #243344;
  --muted: #526271;
  --line: #d6e1de;
}

/* Grundeinstellungen und Schrift */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

h1,h2,h3,p,figure {
  margin: 0;
}

p+p {
  margin-top: 16px;
}

h1,h2,h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(48px,6.5vw,88px);
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

h2 {
  font-size: clamp(32px,3.6vw,48px);
  margin-bottom: 24px;
}

h3 {
  font-size: 23px;
}

/* Seitenbreite und Abstände */
.wrap {
  width: min(1180px,calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 50;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

/* Kopfbereich und Navigation */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--navy);
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -1px;
}

.brand span {
  display: block;
  font-size: 11px;
  letter-spacing: .03em;
  font-weight: normal;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  font-size: 14px;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 15px 22px;
  min-height: 50px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn.small {
  padding: 10px 16px;
}

.btn.secondary {
  background: transparent;
  color: var(--navy);
}

/* Einstieg mit Buchcover */
.hero {
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .16em;
  color: var(--blue);
  margin-bottom: 22px;
}

.subtitle {
  font-size: clamp(21px,2vw,27px);
  color: var(--navy);
  line-height: 1.4;
  margin-top: 28px;
}

.lead {
  max-width: 490px;
  margin: 22px 0 28px;
  font-size: 17px;
  color: var(--muted);
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.cover-stage {
  position: relative;
  background: var(--mint);
  padding: 64px 60px 24px;
  border-radius: 140px 6px 6px 6px;
  text-align: center;
}

.cover-stage img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  transform: rotate(-5deg);
  box-shadow: 17px 22px 25px #13214530;
}

.cover-label {
  position: absolute;
  top: 18px;
  right: 22px;
  text-align: right;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.3;
  font-weight: bold;
}

figcaption {
  color: var(--navy);
  font-size: 12px;
  margin-top: 30px;
}

/* Inhaltsabschnitte */
.section {
  padding: 88px 0;
}

.editorial {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.everyday {
  background: white;
  border-block: 1px solid var(--line);
}

.situations article {
  display: flex;
  gap: 25px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.situations article:first-child {
  padding-top: 0;
}

.situations article>span {
  font-size: 13px;
  font-weight: bold;
  color: var(--teal);
}

.situations h3 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.situations p {
  color: var(--muted);
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.topic-list li:before {
  content: '↗';
  color: var(--blue);
  margin-right: 15px;
}

blockquote {
  margin: 30px 0 0;
  border-left: 3px solid var(--teal);
  padding-left: 22px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy);
}

/* Kaufangebote: eBook, Buchhandel und Direktanfrage */
.buying {
  background: var(--navy);
  color: white;
}

.buying h2 {
  color: white;
}

.buying .eyebrow {
  color: var(--mint);
}

.section-intro {
  max-width: 650px;
  color: #d8e3e8;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 38px;
}

.buy-card {
  background: white;
  color: var(--ink);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.buy-card h3 {
  font-size: 33px;
  margin: 26px 0 20px;
}

.buy-card p {
  margin-bottom: 28px;
}

.format {
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: bold;
  color: var(--blue);
}

.buy-card .btn,.shop-links,.pending {
  margin-top: auto;
}

.featured {
  background: var(--mint);
}

.org-link {
  margin-top: 20px;
  color: var(--navy);
  font-size: 13px;
}

.shop-links {
  display: grid;
  gap: 15px;
}

.pending {
  font-size: 13px;
  color: var(--muted);
}

/* Kontaktbereich und Formular */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.explanation {
  color: var(--muted);
  font-size: 14px;
  margin: 24px 0;
}

form {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 6px;
  color: var(--navy);
}

label span {
  font-weight: normal;
  color: var(--muted);
}

input,select,textarea {
  display: block;
  width: 100%;
  min-width: 0;
  background: white;
  color: var(--ink);
  border: 1px solid #a9b9b5;
  border-radius: 3px;
  padding: 11px 12px;
  margin-bottom: 18px;
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}

#form-status:not(:empty) {
  padding: 12px;
  margin-top: 15px;
  border: 1px solid var(--line);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

/* Fussbereich */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

[hidden] {
  display: none!important;
}

/* Tablet und kleinere Bildschirme */
@media(max-width:960px) {
  .hero-grid {
    gap: 30px;
  }

  .cover-stage {
    padding: 60px 35px 24px;
  }

  .editorial,.contact-grid {
    gap: 40px;
  }

  .buy-card {
    padding: 24px;
  }

  .buy-card h3 {
    font-size: 28px;
  }

}

/* Mobile Ansicht */
@media(max-width:720px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: 80px;
  }

  .nav nav>a:not(.btn) {
    display: none;
  }

  .brand {
    font-size: 22px;
  }

  .brand span {
    max-width: 150px;
    line-height: 1.4;
  }

  .btn.small {
    font-size: 12px;
    padding: 9px 12px;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-grid,.editorial,.contact-grid,.buy-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cover-stage {
    max-width: 450px;
    width: 100%;
    margin: auto;
    padding: 60px 65px 24px;
  }

  .cover-stage img {
    max-width: 260px;
  }

  .section {
    padding: 52px 0;
  }

  .buy-card {
    padding: 28px;
  }

  .buy-card h3 br {
    display: block;
  }

  .buy-card h3 {
    margin: 18px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  form {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }

}

/* Weniger Bewegung auf Wunsch des Besuchers */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

}


/* Original CreativIT Logo und ergänzter Hinweis zu den Buchübungen */
.brand img
 {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-bottom: 7px;
}

.footer-logo {
  width: 135px;
  height: auto;
}

.exercise-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

.exercise-note strong {
  color: var(--navy);
}

@media(max-width:720px) {
  .brand img {
    width: 135px;
  }

}

/* eReader Angebot: kompakte blaue Buttons */
.ebook-buttons {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.ebook-buttons .ebook-button {
  display: flex;
  justify-content: space-between;
  gap: 16px;

  width: 100%;
  min-height: 40px;
  margin-top: 0;
  padding: 9px 14px;

  background: #2D6A85;
  border: 1px solid #2D6A85;
  border-radius: 5px;

  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
}

.ebook-buttons .ebook-button:hover {
  background: #132145;
  border-color: #132145;
}

/* ISBN und Strichcode */
.book-barcode {
  margin: 18px 0;
}

.book-barcode img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  background: #ffffff;
}

.book-barcode figcaption {
  margin-top: 8px;
  color: #132145;
  font-size: 14px;
  text-align: left;
}

.book-barcode img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

/* Buchhandel: kompakte Buttons mit automatischem Umbruch. */
.buy-card .bookstore-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.buy-card .bookstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  max-width: 100%;
  padding: 9px 14px;

  background: #2d6a85;
  border: 1px solid #2d6a85;
  border-radius: 6px;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.buy-card .bookstore-button:hover {
  background: #132145;
  border-color: #132145;
}

.buy-card .bookstore-button:focus-visible {
  outline: 3px solid #439090;
  outline-offset: 3px;
}

/* Originalproportionen erhalten, damit der Code nicht verzerrt. */
.buy-card .book-barcode {
  width: 100%;
  max-width: 240px;
  margin: 18px 0 0;
}

.buy-card .book-barcode img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.buy-card .book-barcode figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
