/* rohrwaechter.info – Maritime Navy & Steel Teal with Vivid Emerald CTA Theme v1.0 */
:root {
  --rw-bg: #f8fafc;
  --rw-surface: #ffffff;
  --rw-ink: #0b192c;
  --rw-text: #1e293b;
  --rw-muted: #64748b;
  --rw-primary: #0284c7;
  --rw-primary-dark: #0369a1;
  --rw-primary-soft: #f0f9ff;
  --rw-primary-border: #bae6fd;
  --rw-cta: #059669;
  --rw-cta-hover: #047857;
  --rw-gold: #f59e0b;
  --rw-line: #e2e8f0;
  --rw-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--rw-bg);
  color: var(--rw-text);
  font-family: var(--rw-font);
  font-size: 18px;
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rw-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Generic offer selector strictly without value */
a[data-offer] {
  cursor: pointer;
}

/* Top Strip */
.rw-top-strip {
  background: #0b192c;
  color: #bae6fd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Minimal Header: Logo only + advertorial tag. STRICTLY NO NAV BUTTONS! */
.rw-header {
  background: var(--rw-surface);
  border-bottom: 2px solid var(--rw-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.rw-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rw-ink);
}

.rw-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--rw-primary) 0%, #0b192c 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.rw-logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--rw-ink);
}

.rw-logo-text span {
  color: var(--rw-primary);
}

.rw-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #475569;
  text-transform: uppercase;
}

.rw-header-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #0284c7;
  border-radius: 50%;
}

/* Main Container */
.rw-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Category & Title */
.rw-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rw-primary-soft);
  color: var(--rw-primary-dark);
  border: 1px solid var(--rw-primary-border);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.rw-title {
  font-size: 37px;
  line-height: 1.23;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--rw-ink);
  margin: 0 0 18px;
}

.rw-subtitle {
  font-size: 21px;
  line-height: 1.45;
  color: #475569;
  font-weight: 500;
  margin: 0 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rw-line);
}

/* Meta Bar */
.rw-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--rw-muted);
}

.rw-meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rw-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rw-primary-soft);
  border: 2px solid var(--rw-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rw-primary-dark);
  font-weight: 800;
  font-size: 15px;
}

.rw-author-name {
  font-weight: 700;
  color: var(--rw-ink);
}

/* Social Sharing Bar: Extra large buttons (48x48px circle, 24px SVG) */
.rw-share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--rw-line);
  border-radius: 12px;
  margin: 24px 0 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.rw-share-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--rw-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.rw-share-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.rw-share-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.rw-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.rw-share-fb {
  background: #1877f2;
}

.rw-share-tw {
  background: #000000;
}

.rw-share-hint {
  font-size: 13px;
  color: var(--rw-muted);
  margin-left: auto;
}

@media (max-width: 600px) {
  .rw-share-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .rw-share-hint {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* Article Content */
.rw-article {
  background: var(--rw-surface);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--rw-line);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (max-width: 640px) {
  .rw-article {
    padding: 24px 18px;
  }
  .rw-title {
    font-size: 28px;
  }
}

.rw-article h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--rw-ink);
  margin: 38px 0 16px;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.rw-article h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--rw-ink);
  margin: 28px 0 12px;
}

.rw-article p {
  margin: 0 0 20px;
}

.rw-lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  color: #1e293b;
  margin-bottom: 24px;
  border-left: 4px solid var(--rw-primary);
  padding-left: 18px;
}

/* Figures & Images */
.rw-figure {
  margin: 28px 0;
}

.rw-figure img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.rw-caption {
  font-size: 13px;
  color: var(--rw-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Phase Grid */
.rw-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.rw-phase-card {
  background: #f8fafc;
  border: 1px solid var(--rw-line);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.rw-phase-card img {
  border-radius: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.rw-phase-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--rw-ink);
  margin-bottom: 4px;
}

.rw-phase-desc {
  font-size: 13px;
  color: var(--rw-muted);
  line-height: 1.45;
}

/* Alert / Warning Box */
.rw-alert-box {
  background: #fff1f2;
  border-left: 4px solid #f43f5e;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
}

.rw-alert-box h4 {
  margin: 0 0 8px;
  color: #9f1239;
  font-size: 17px;
  font-weight: 800;
}

.rw-alert-box p {
  margin: 0;
  font-size: 15px;
  color: #4c0519;
  line-height: 1.6;
}

/* Highlight Box */
.rw-highlight-box {
  background: var(--rw-primary-soft);
  border: 1px solid var(--rw-primary-border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.rw-highlight-box h3 {
  margin-top: 0;
  color: var(--rw-primary-dark);
}

/* CTA Box */
.rw-cta-box {
  background: linear-gradient(135deg, #0b192c 0%, #1e3e62 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 36px 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 12px 30px rgba(11, 25, 44, 0.25);
  position: relative;
  overflow: hidden;
}

.rw-cta-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.rw-cta-tag {
  display: inline-block;
  background: var(--rw-cta);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.rw-cta-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #ffffff;
}

.rw-cta-desc {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.rw-cta-button {
  display: inline-block;
  background: linear-gradient(180deg, var(--rw-cta) 0%, var(--rw-cta-hover) 100%);
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: -0.01em;
}

.rw-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.6);
}

.rw-cta-note {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 14px;
}

/* Reviews */
.rw-reviews {
  margin: 36px 0;
}

.rw-review-card {
  background: #f8fafc;
  border: 1px solid var(--rw-line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.rw-review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.rw-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.rw-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rw-review-user {
  font-weight: 700;
  color: var(--rw-ink);
  font-size: 15px;
}

.rw-review-stars {
  color: var(--rw-gold);
  font-size: 14px;
}

.rw-review-badge {
  font-size: 11px;
  color: #047857;
  background: #d1fae5;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

/* Footer (Strictly Outside Offer Zone) */
.rw-footer {
  background: #0b192c;
  color: #cbd5e1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 44px 20px 32px;
  margin-top: 60px;
}

.rw-footer-inner {
  max-width: 820px;
  margin: 0 auto;
}

.rw-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rw-footer-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.rw-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.rw-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  margin-top: 16px;
}
