from pathlib import Path

css = r''':root {
  --navy: #061633;
  --teal: #00796b;
  --teal-dark: #00584f;
  --teal-soft: #e7f5f2;
  --bg: #f7fafc;
  --line: #dce4ea;
  --muted: #5f6b7a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15px;
}

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

button,
input {
  font: inherit;
}

.site {
  max-width: 1240px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(6, 22, 51, .06);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: grid;
  grid-template-columns: 255px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 36px 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 29px;
  letter-spacing: -1.2px;
  font-weight: 850;
}

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

.brand small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a.active,
nav a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.mobile-menu {
  display: none;
  justify-self: end;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 8px 11px;
  font-weight: 750;
}

main {
  padding: 30px 42px 0;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 650;
}

.product-page {
  background: linear-gradient(180deg, #fbfefd 0%, #fff 38%, #fff 100%);
  border: 1px solid #d9ebe7;
  border-radius: 18px;
  padding: 24px 26px 28px;
  box-shadow: 0 10px 24px rgba(0, 121, 107, .04);
}

h1 {
  margin: 0 0 8px;
  font-size: 41px;
  line-height: 1.08;
  letter-spacing: -1.55px;
}

.lead {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--teal);
  font-weight: 700;
}

.intro {
  max-width: 840px;
  color: #14213d;
  font-size: 15px;
  margin: 0 0 19px;
}

.intro p {
  margin: 0 0 10px;
}

.chip-title {
  margin: 22px 0 10px;
  font-weight: 760;
  font-size: 16px;
}

.chips,
.search-ideas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.search-ideas {
  margin-top: 14px;
  margin-bottom: 0;
}

.chip,
.search-idea {
  border: 1px solid #a8d8d2;
  background: #fff;
  color: var(--teal-dark);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 14px;
  font-weight: 570;
  cursor: pointer;
  transition: .15s ease;
  line-height: 1.2;
}

.search-idea {
  border-color: #d1e3e0;
  color: #24324c;
  font-size: 13px;
  font-weight: 600;
}

.chip:hover,
.search-idea:hover {
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 8px;
}

h2 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.45px;
}

.section-note {
  margin: 0 0 16px;
  color: #24324c;
  font-size: 15px;
}

.shop-area {
  background: #fbfefd;
  border: 1px solid #dcebe8;
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin-top: 16px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  max-width: 660px;
}

.shop-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px 14px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(6, 22, 51, .035);
}

.shop-logo {
  min-height: 42px;
  display: flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 29px;
}

.amazon-logo {
  color: #111;
}

.amazon-logo:after {
  content: "";
  display: block;
  width: 52px;
  height: 7px;
  border-bottom: 3px solid #ff9900;
  border-radius: 50%;
  transform: translate(-54px, 20px) rotate(-6deg);
}

.otto-logo {
  color: #e30613;
}

.shop-logo-text {
  min-height: 42px;
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 650;
}

.shop-card p {
  margin: 9px 0 12px;
  font-weight: 720;
  text-align: center;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.35;
}

.btn {
  border: 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  border-radius: 8px;
  padding: 9px 11px;
  font-weight: 720;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 121, 107, .13);
  line-height: 1.15;
}

a.btn {
  display: block;
  text-align: center;
}

.btn:hover {
  filter: brightness(.96);
}

.affiliate-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
  line-height: 1.4;
}

.check-icon {
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}

.product-continuation {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 4px solid var(--teal);
  background: #f2faf8;
  border-radius: 10px;
  color: #22314b;
  font-size: 14px;
}

.product-continuation p {
  margin: 0;
}

.tips-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.related-grid {
  gap: 16px;
}

.tip-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px 14px;
  min-height: 145px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(6, 22, 51, .025);
}

.tip-card .round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: #eef8f6;
}

.tip-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.tip-card p {
  margin: 0;
  color: #24324c;
  font-size: 13px;
  line-height: 1.42;
}

/* Ähnliche Bereiche: größere, schärfere und hochwertigere Bildkarten */
.related-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(6, 22, 51, .06);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: #b9dcd6;
  box-shadow: 0 12px 28px rgba(6, 22, 51, .10);
}

.related-img {
  width: 100%;
  aspect-ratio: 640 / 400;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #e2eee9;
  image-rendering: auto;
  filter: saturate(1.04) contrast(1.02);
  transition:
    transform .25s ease,
    filter .25s ease;
}

.related-card:hover .related-img {
  transform: scale(1.045);
  filter: saturate(1.10) contrast(1.05);
}

.related-body {
  padding: 13px 14px 15px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
}

.related-body strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.15px;
}

.related-body span {
  color: var(--teal);
  font-weight: 760;
  font-size: 13px;
}

.related-card:hover .related-body span {
  color: var(--teal-dark);
}

aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 17px;
  box-shadow: 0 6px 18px rgba(6, 22, 51, .045);
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -.25px;
}

.side-card p {
  margin: 0 0 12px;
  color: #24324c;
  font-size: 14px;
}

.search-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-input {
  border: 1px solid #cfd9e0;
  border-radius: 8px;
  padding: 9px 10px;
  width: 100%;
  color: #14213d;
  background: #fff;
  font-size: 14px;
  height: 42px;
}

.amazon-btn {
  background: linear-gradient(135deg, #ffc328, #ffb21b);
  color: #111;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 760;
  font-size: 14px;
  cursor: pointer;
  height: 42px;
}

.partner-list,
.category-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.partner-row,
.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 11px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.partner-row:last-child,
.category-row:last-child {
  border-bottom: 0;
}

.partner-row span:first-child {
  font-weight: 850;
  font-size: 18px;
}

.partner-row small,
.category-row small {
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
  font-size: 13px;
}

.category-row span {
  font-weight: 650;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 14px;
}

.why-list li:before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  margin-right: 8px;
}

.bottom-info {
  margin: 36px 0 0;
  background: linear-gradient(135deg, #eef8f6, #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 26px;
}

.bottom-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.bottom-info p,
.bottom-info ul {
  margin: 0;
  color: #24324c;
  font-size: 13px;
}

.bottom-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 5px;
}

.bottom-info li:before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  margin-right: 7px;
}

footer {
  background: linear-gradient(135deg, #054b56, #00695c);
  color: #fff;
  padding: 21px 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

footer nav {
  gap: 20px;
  font-size: 13px;
  font-weight: 550;
}

footer nav a {
  border: 0;
  color: #fff;
}

[data-render] {
  min-height: 20px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.home-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(6, 22, 51, .035);
}

.home-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}

.home-card span {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1140px) {
  .topbar {
    grid-template-columns: 235px 1fr;
    padding-left: 28px;
    padding-right: 28px;
  }

  nav {
    gap: 15px;
    font-size: 13px;
  }

  main {
    padding-left: 28px;
    padding-right: 28px;
  }

  .layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

}

@media (max-width: 980px) {
  .topbar {
    display: flex;
    padding: 18px 22px;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  main {
    padding: 24px 22px 0;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  h1 {
    font-size: 34px;
  }

  .shop-grid,
  .tips-grid,
  .related-grid,
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-grid {
    max-width: none;
  }

  .bottom-info {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    padding: 24px 22px;
  }

  footer nav {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .brand strong {
    font-size: 27px;
  }

  .brand small {
    font-size: 12px;
  }

  h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .intro {
    font-size: 14px;
  }

  .product-page {
    padding: 20px 16px 22px;
  }

  .chips {
    gap: 7px;
  }

  .chip {
    font-size: 13px;
    padding: 6px 10px;
  }

  .shop-grid,
  .tips-grid,
  .related-grid,
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .shop-card {
    min-height: 136px;
    padding: 14px 11px 12px;
  }

  .shop-logo {
    font-size: 25px;
    min-height: 36px;
  }

  .shop-card p {
    font-size: 13px;
    min-height: 38px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 9px;
  }

  .tip-card {
    padding: 14px 11px;
    min-height: 138px;
  }

  .tip-card .round {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .tip-card p {
    font-size: 12px;
  }

  .related-card {
    border-radius: 13px;
  }

  .related-body {
    padding: 11px 12px 13px;
  }

  .related-body strong {
    font-size: 14px;
  }

  .related-body span {
    font-size: 12px;
  }

  aside {
    grid-template-columns: 1fr;
  }

  .side-card {
    padding: 16px;
  }

  .bottom-info {
    padding: 22px 18px;
  }
}
'''

out = Path('/mnt/data/styles-neu-findyourshop.css')
out.write_text(css, encoding='utf-8')
print(f"Datei erstellt: {out}")
print(f"Größe: {out.stat().st_size} Bytes")
