/* OffshoreBlog.de – Clean Editorial Blog Design */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&display=swap');

:root {
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #ffffff; --bg-soft: #f8f7f4; --bg-card: #ffffff;
  --text: #1a1a1a; --text-muted: #6b6b6b; --text-light: #999;
  --accent: #1a6b5a; --accent-soft: #e8f4f0; --accent-hover: #145548;
  --border: #e8e5e0; --border-light: #f0ede8;
  --warn: #d4a017; --warn-bg: #fdf8e8;
  --info: #2a6496; --info-bg: #edf4fb;
  --tip: #1a6b5a; --tip-bg: #e8f4f0;
  --max-w: 1200px; --content-w: 720px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --tr: .2s ease;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font-body);font-size:17px;line-height:1.7;color:var(--text);background:var(--bg)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none;transition:color var(--tr)}
a:hover{color:var(--accent-hover)}

/* Header */
.site-header{background:rgba(255,255,255,.95);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.header-inner{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--text)}
.logo svg{width:32px;height:32px}
.logo-text{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;letter-spacing:-.01em}
.logo-text span{color:var(--accent)}
.main-nav{display:flex;align-items:center;gap:2rem}
.main-nav a{font-size:.9rem;font-weight:500;color:var(--text-muted);text-decoration:none;transition:color var(--tr);position:relative}
.main-nav a:hover{color:var(--accent)}
.main-nav a::after{content:'';position:absolute;left:0;bottom:-4px;width:0;height:2px;background:var(--accent);transition:width .25s ease}
.main-nav a:hover::after{width:100%}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:var(--tr)}

/* Hero */
.hero{padding:5rem 1.5rem 3rem;text-align:center;max-width:680px;margin:0 auto}
.hero h1{font-family:var(--font-heading);font-size:clamp(2rem,4.5vw,2.8rem);font-weight:700;line-height:1.25;color:var(--text);margin-bottom:1.2rem}
.hero h1 span{color:var(--accent)}
.hero > p{font-size:1.08rem;color:var(--text-muted);line-height:1.75;margin-bottom:2rem}
.hero-cta{display:inline-block;padding:.75rem 2rem;background:var(--accent);color:#fff;border-radius:100px;font-weight:600;font-size:.9rem;transition:all var(--tr)}
.hero-cta:hover{background:var(--accent-hover);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-md)}

/* Container */
.container{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem 4rem}
.section-title{margin-bottom:2.5rem;text-align:center}
.section-title h2{font-family:var(--font-heading);font-size:1.6rem;font-weight:700;margin-bottom:.4rem}
.section-title p{color:var(--text-muted);font-size:.95rem}

/* Category Filter */
.category-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2.5rem;justify-content:center}
.filter-btn{padding:.45rem 1.1rem;border:1px solid var(--border);background:var(--bg);color:var(--text-muted);border-radius:100px;font-size:.82rem;font-weight:500;cursor:pointer;transition:all var(--tr);font-family:var(--font-body)}
.filter-btn:hover,.filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Blog Card Grid */
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.article-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:box-shadow var(--tr),transform var(--tr);display:flex;flex-direction:column;text-decoration:none;color:inherit}
.article-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);color:inherit}
.article-card-body{padding:1.4rem 1.5rem;flex:1;display:flex;flex-direction:column}
.article-card-category{display:inline-block;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin-bottom:.6rem}
.article-card-title{font-family:var(--font-heading);font-size:1.05rem;font-weight:700;line-height:1.4;color:var(--text);margin-bottom:.6rem}
.article-card:hover .article-card-title{color:var(--accent)}
.article-card-excerpt{font-size:.86rem;color:var(--text-muted);line-height:1.6;flex:1;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.article-card-meta{font-size:.78rem;color:var(--text-light);display:flex;align-items:center;gap:1rem;padding-top:.7rem;border-top:1px solid var(--border-light)}

/* Article Page Header */
.article-header{padding:3rem 1.5rem 1.5rem;max-width:var(--content-w);margin:0 auto}
.article-header-inner{}
.article-breadcrumb{font-size:.82rem;color:var(--text-light);margin-bottom:1.5rem}
.article-breadcrumb a{color:var(--text-muted)}.article-breadcrumb a:hover{color:var(--accent)}
.article-category-tag{display:inline-block;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);background:var(--accent-soft);padding:.3rem .8rem;border-radius:100px;margin-bottom:1rem}
.article-header h1{font-family:var(--font-heading);font-size:clamp(1.8rem,4vw,2.4rem);font-weight:700;line-height:1.3;color:var(--text);margin-bottom:1rem}
.article-meta-bar{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-muted);padding-top:1rem;border-top:1px solid var(--border-light)}

/* Article Body */
.article-body{max-width:var(--content-w);margin:0 auto;padding:1rem 1.5rem 3rem}
.article-body p{margin-bottom:1.4rem;font-size:1.05rem;line-height:1.85;color:#333}
.article-body h2{font-family:var(--font-heading);font-size:1.4rem;font-weight:700;margin:2.5rem 0 1rem;color:var(--text);line-height:1.35}
.article-body h3{font-family:var(--font-heading);font-size:1.1rem;font-weight:700;margin:2rem 0 .8rem;color:var(--text)}
.article-body strong{font-weight:600;color:var(--text)}
.article-body ul,.article-body ol{margin:0 0 1.4rem 1.5rem;line-height:1.85}
.article-body li{margin-bottom:.4rem;font-size:1.05rem}
.article-body a{text-decoration:underline;text-decoration-color:var(--accent-soft);text-underline-offset:3px}
.article-body a:hover{text-decoration-color:var(--accent)}

/* Article Images */
.article-img{margin:2rem 0}
.article-img img{border-radius:var(--radius);width:100%}

/* Tables */
.table-wrapper{overflow-x:auto;margin:1.5rem 0;border:1px solid var(--border);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{padding:.7rem 1rem;text-align:left;border-bottom:1px solid var(--border-light)}
th{background:var(--bg-soft);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}
tr:last-child td{border-bottom:none}
tr:hover td{background:rgba(248,247,244,.6)}

/* Info Boxes */
.info-box{border-radius:var(--radius);padding:1.2rem 1.5rem;margin:1.5rem 0;border-left:4px solid}
.info-box.info{background:var(--info-bg);border-color:var(--info)}
.info-box.warning{background:var(--warn-bg);border-color:var(--warn)}
.info-box.tip{background:var(--tip-bg);border-color:var(--tip)}
.info-box-title{font-weight:700;font-size:.9rem;margin-bottom:.5rem}
.info-box p{font-size:.92rem;margin-bottom:.5rem;line-height:1.65}
.info-box p:last-child{margin-bottom:0}

/* FAQ */
.faq-section{margin:2.5rem 0}
.faq-section h2{font-family:var(--font-heading);font-size:1.3rem;margin-bottom:1rem}
.faq-item{border-bottom:1px solid var(--border)}
.faq-item:first-of-type{border-top:1px solid var(--border)}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0;background:none;border:none;font-family:var(--font-body);font-size:.98rem;font-weight:600;color:var(--text);cursor:pointer;text-align:left;transition:color var(--tr)}
.faq-question:hover{color:var(--accent)}
.faq-question svg{width:18px;height:18px;flex-shrink:0;color:var(--text-light);transition:transform .3s}
.faq-item.active .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.active .faq-answer{max-height:600px}
.faq-answer-inner{padding:0 0 1.2rem;font-size:.93rem;color:var(--text-muted);line-height:1.75}

/* CTA */
.cta-banner{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;text-align:center;margin:2.5rem 0}
.cta-banner h3{font-family:var(--font-heading);font-size:1.15rem;margin-bottom:.5rem}
.cta-banner p{font-size:.92rem;color:var(--text-muted);margin-bottom:1.2rem}
.btn-cta{display:inline-block;padding:.7rem 1.8rem;background:#25d366;color:#fff;border-radius:100px;font-weight:600;font-size:.9rem;transition:all var(--tr);text-decoration:none}
.btn-cta:hover{background:#1fb855;color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-sm)}

/* Author */
.author-box{display:flex;align-items:center;gap:1rem;padding:1.5rem 0;margin-top:2rem;border-top:1px solid var(--border)}
.author-avatar{width:48px;height:48px;background:var(--accent-soft);color:var(--accent);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;flex-shrink:0}
.author-info strong{display:block;font-size:.9rem}
.author-info span{display:block;font-size:.82rem;color:var(--text-muted)}

/* Related */
.related-articles{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--border)}
.related-articles h3{font-family:var(--font-heading);font-size:1.1rem;margin-bottom:1rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.related-grid .article-card{border:1px solid var(--border-light)}
.related-grid .article-card-body{padding:1.1rem 1.2rem}
.related-grid .article-card-title{font-size:.92rem}
.related-grid .article-card-excerpt{font-size:.8rem;-webkit-line-clamp:2}

/* Footer */
.site-footer{background:var(--bg-soft);border-top:1px solid var(--border);padding:3rem 1.5rem 1.5rem;margin-top:2rem}
.footer-inner{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.footer-about .logo{margin-bottom:.8rem}
.footer-about p{font-size:.85rem;color:var(--text-muted);line-height:1.6}
.footer-links h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:.8rem}
.footer-links a{display:block;font-size:.85rem;color:var(--text-muted);padding:.25rem 0}
.footer-links a:hover{color:var(--accent)}
.footer-bottom{max-width:var(--max-w);margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid var(--border);font-size:.8rem;color:var(--text-light);text-align:center}

/* WhatsApp Float */
.whatsapp-float{position:fixed;bottom:1.5rem;right:1.5rem;width:56px;height:56px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);z-index:90;transition:transform var(--tr)}
.whatsapp-float:hover{transform:scale(1.08)}
.whatsapp-float svg{width:28px;height:28px;fill:#fff}

/* Scroll Top */
.scroll-top{position:fixed;bottom:1.5rem;right:5rem;width:40px;height:40px;background:var(--bg);border:1px solid var(--border);border-radius:50%;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-sm);z-index:90;transition:all var(--tr);font-size:1rem;color:var(--text-muted)}
.scroll-top.visible{display:flex}
.scroll-top:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Legal Pages */
.legal-page{max-width:var(--content-w);margin:0 auto;padding:3rem 1.5rem}
.legal-page h1{font-family:var(--font-heading);font-size:2rem;margin-bottom:2rem}
.legal-page h2{font-family:var(--font-heading);font-size:1.25rem;margin:2rem 0 .8rem}
.legal-page h3{font-family:var(--font-heading);font-size:1.05rem;margin:1.5rem 0 .6rem}
.legal-page p{margin-bottom:1rem;line-height:1.7;color:var(--text-muted)}
.contact-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin:2rem 0}
.contact-card{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem}
.contact-card h3{font-size:.9rem;font-weight:700;margin-bottom:.5rem}
.contact-card p{font-size:.9rem;color:var(--text-muted);margin:.2rem 0}

/* Responsive */
@media(max-width:1024px){.articles-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:768px){
  .main-nav{display:none;position:fixed;top:64px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);flex-direction:column;padding:1rem 1.5rem 1.5rem;gap:0;box-shadow:var(--shadow-md)}
  .main-nav.open{display:flex}
  .main-nav a{padding:.8rem 0;font-size:1rem;border-bottom:1px solid var(--border-light)}
  .main-nav a::after{display:none}
  .main-nav a:last-child{border-bottom:none}
  .nav-toggle{display:flex}
  .hero{padding:3rem 1.5rem 2rem}
  .hero h1{font-size:1.8rem}
  .footer-inner{grid-template-columns:1fr;gap:1.5rem}
  .article-header h1{font-size:1.6rem}
  .related-grid{grid-template-columns:1fr}
  .articles-grid{grid-template-columns:1fr;gap:1rem}
}
@media(max-width:480px){body{font-size:16px}.header-inner{height:56px}.hero h1{font-size:1.5rem}.article-body p{font-size:1rem}}
@media print{.site-header,.site-footer,.whatsapp-float,.scroll-top,.cta-banner,.nav-toggle{display:none!important}.article-body{max-width:100%;padding:0}body{font-size:12pt}}

/* Fade-in-up animation */
.article-card,.info-box,.table-wrapper{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}
.fade-in-up{opacity:1!important;transform:translateY(0)!important}

/* Header scroll effect */
.site-header.scrolled{box-shadow:var(--shadow-sm)}

/* Footer list reset */
.footer-col ul{list-style:none;padding:0;margin:0}

/* Footer legal links row */
.footer-legal-links{display:flex;gap:1.5rem;justify-content:center;margin-top:.5rem}
.footer-legal-links a{color:var(--text-light);font-size:.8rem}
.footer-legal-links a:hover{color:var(--accent)}

/* Article card link */
.article-card-link{color:var(--accent);font-weight:600;font-size:.8rem}

/* Search Bar */
.search-bar{max-width:480px;margin:0 auto 1.5rem;position:relative}
.search-bar input{width:100%;padding:.7rem 1.2rem;border:1px solid var(--border);border-radius:100px;font-size:.9rem;font-family:var(--font-body);background:var(--bg);color:var(--text);transition:border-color var(--tr),box-shadow var(--tr)}
.search-bar input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.search-bar input::placeholder{color:var(--text-light)}

/* Skip navigation */
.skip-nav{position:absolute;top:-100%;left:1rem;background:var(--accent);color:#fff;padding:.5rem 1rem;border-radius:var(--radius);z-index:200;font-size:.9rem}
.skip-nav:focus{top:.5rem}
