/* ABN.at Shop – gleiche Gestaltung wie die Startseite */
:root {
  --ink: #121417; --muted: #65696f; --line: #d9dad8; --paper: #f6f5f2; --white: #fff;
  --navy: #172b4d; --navy-soft: #29456f; --gold: #b99c71; --gold-light: #deceb6; --error: #9b2c2c;
  --display: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1216px, calc(100% - 48px)); margin: 0 auto; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.masthead a { color: var(--muted); text-decoration: none; }
.masthead a:hover { color: var(--navy); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink) !important; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--white); background: var(--navy);
  font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.testmode { margin: 16px 0 0; padding: 10px 14px; border: 1px dashed var(--gold); background: #fbf6ee; font-size: 13px; }

h1, h2, h3, .price { font-family: var(--display); font-weight: 400; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.lead { text-wrap: pretty; max-width: 640px; margin: 18px 0 0; color: #52565b; font-size: 17px; line-height: 1.55; }
.small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.panel-dark .small { color: rgba(255,255,255,.66); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 19px; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; font: inherit; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover { background: var(--navy-soft); }
.button-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--gold-light); }
.button-small { min-height: 40px; padding: 0 14px; }
.link-button { padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.badge { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid currentColor; font-size: 11px; font-weight: 750;
  letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* Checkout / Anfrage */
.checkout { padding: clamp(40px, 7vw, 80px) 0; }
.checkout-head { margin-bottom: 32px; }
.checkout-head h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.06em; line-height: .92; overflow-wrap: anywhere; }
.panel { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.panel h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; line-height: 1; }
.panel p { line-height: 1.55; }
.panel-dark { color: var(--white); background: var(--navy); border-color: var(--navy); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.alert { margin: 0 0 24px; padding: 14px 18px; border-left: 3px solid var(--error); background: #fbeeee; color: var(--error); font-size: 14px; }
.alert ul { margin: 0; padding-left: 18px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 22px; font-size: 15px; }
.summary dt { color: var(--muted); }
.panel-dark .summary dt { color: rgba(255,255,255,.6); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.summary .total { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.25); font-family: var(--display); font-size: 26px; }

.form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 20px 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.form .wide { grid-column: 1 / -1; }
.form .zip-city { display: grid; grid-template-columns: 9.5em 1fr; gap: 18px; }
.form .zip-city input[name=zip] { font-variant-numeric: tabular-nums; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; }
.form textarea { min-height: 0; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.hint { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.segmented legend { width: 100%; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.segmented label { flex-direction: row; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 15px; font-weight: 500; letter-spacing: 0; }
.segmented input { width: auto; min-height: 0; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; margin: 0 0 16px; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.form .check input { width: 18px; min-height: 18px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Detailseite */
.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); margin-top: clamp(28px, 5vw, 56px); border: 1px solid var(--line); }
.detail-media { margin: 0; background: #d6d0c7; }
.detail-media img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.detail-content { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); color: var(--white); background: var(--accent, var(--navy)); }
.detail:not(:has(.detail-media)) { grid-template-columns: 1fr; }
.tag { display: inline-flex; width: fit-content; margin: 0 0 26px; padding: 6px 8px; border: 1px solid currentColor; color: var(--gold); font-size: 9px;
  font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.detail-title { display: flex; flex-direction: column; margin: 0; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.065em; line-height: .9; overflow-wrap: normal; word-break: normal; }
/* Domainname passt sich der Spaltenbreite an – kein Umbruch mitten im Wort (z. B. „namenstag.co / m“) */
.detail-content { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .detail-title { font-size: clamp(26px, calc(100cqi / (var(--len, 10) * .6)), 64px); }
}
.detail-title .secondary-domain { margin-top: 6px; color: var(--gold-light); font-size: .55em; letter-spacing: -.04em; }
.detail-copy { margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }
.detail-price { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 34px; }
.price-label { color: rgba(255,255,255,.54); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.detail-price .price { color: var(--gold-light); font-size: 44px; letter-spacing: -.05em; line-height: 1; }
.price-note { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.4; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.detail-link { color: var(--white); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 5px; }
.detail-link:hover { color: var(--gold-light); }
.detail-facts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(36px, 6vw, 64px) 0 0; }
.detail-facts h2 { margin: 0 0 14px; font-size: 30px; letter-spacing: -.04em; }
.detail-facts ol, .detail-facts ul { margin: 0; padding-left: 20px; line-height: 1.7; }
.domain-list { font-family: var(--display); font-size: 20px; }

/* Aktion / Sofortkauf */
.campaign-banner { position: relative; display: flex; align-items: center; min-height: clamp(400px, 42vw, 580px); margin-top: clamp(28px, 5vw, 48px); padding: clamp(28px, 5vw, 64px) !important; overflow: hidden; border: 1px solid var(--line); background: #efe6da; }
.campaign-banner-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.campaign-banner-content { position: relative; z-index: 1; max-width: min(44%, 560px); }
.campaign-banner h1 { font-size: clamp(52px, 6vw, 92px); }
.campaign-banner--plain .campaign-banner-content { max-width: 760px; }
.campaign-banner .lead { color: #3f4348; }
.campaign-banner .campaign-facts li { background: rgba(255,255,255,.72); border-color: rgba(18,20,23,.14); font-size: 12px; }
@media (max-width: 900px) {
  .campaign-banner { display: block; min-height: 0; padding: 0 !important; border: 0; background: none; }
  .campaign-banner-img { position: static; height: auto; aspect-ratio: 16 / 9; object-position: 80% center; border: 1px solid var(--line); }
  .campaign-banner-content { max-width: none; padding: 24px 0 0; }
}
@media (max-width: 560px) {
  .campaign-banner-img { aspect-ratio: 4 / 3; object-position: 85% center; }
}
.campaign-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(30px, 5vw, 50px); }
.campaign-hero h1 { margin: 0; font-size: clamp(56px, 8.5vw, 112px); letter-spacing: -.075em; line-height: .86; }
.campaign-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.campaign-facts li { padding: 8px 12px; border: 1px solid var(--line); background: var(--white); font-size: 13px; }
.instant-group { padding: 26px 0 10px; border-top: 1px solid var(--line); }
.instant-group h2 { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.05em; }
.instant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.instant-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.instant-card h3 { margin: 0; font-size: 30px; letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
.instant-card h3 a { text-decoration: none; }
.instant-card h3 a:hover { color: var(--navy-soft); }
.instant-domains { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.instant-text { margin: 12px 0 0; color: #565a60; font-size: 14px; line-height: 1.5; }
.instant-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.instant-footer .price { display: block; font-size: 30px; letter-spacing: -.05em; line-height: 1; }
.instant-footer .price-note { color: var(--muted); font-size: 11px; }
.instant-card.is-sold, .instant-card.is-reserved { opacity: .55; }
.campaign-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 40px; padding: 28px 0 20px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.55; }
.campaign-note p { margin: 0; max-width: 620px; }
.campaign-note strong { color: var(--ink); font-weight: 650; }
.campaign-note .button { flex: none; }
.campaign-note .button span[aria-hidden] { margin-left: 8px; }

/* Rechtstexte */
.legal { max-width: 820px; padding: clamp(40px, 7vw, 80px) 0 20px; line-height: 1.65; font-size: 16px; }
.legal h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.06em; line-height: .95; }
.legal h2 { margin: 42px 0 10px; font-size: 28px; letter-spacing: -.035em; line-height: 1.1; }
.legal h3 { margin: 22px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.legal p, .legal li { color: #2e3236; }
.legal-box { margin: 22px 0; padding: 22px 26px; border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.legal-box h3 { margin-top: 0; }
.imprint-list { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 12px 24px; margin: 0; }
.imprint-list dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.imprint-list dd { margin: 0; }
@media (max-width: 600px) { .imprint-list { grid-template-columns: 1fr; gap: 4px; } .imprint-list dd { margin-bottom: 14px; } }
.withdraw-pre { white-space: pre-wrap; font-size: 13px; color: rgba(255,255,255,.85); }
.button-withdraw { min-height: 54px; padding: 0 26px; outline: 2px solid var(--gold); outline-offset: 3px; }
.withdraw-link { font-weight: 700; }

footer { padding: 30px 0 31px; color: var(--muted); font-size: 11px; line-height: 1.6; }
footer a { color: var(--ink); text-underline-offset: 3px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1216px); }
  .masthead { padding: 18px 0; font-size: 9px; }
  .grid-2, .form .fields, .detail, .detail-facts { grid-template-columns: 1fr; }
  .detail-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .detail-facts { gap: 28px; }
}

/* Premium: Sofort kaufen / Preis vorschlagen */
.buy-choice { display: grid; gap: 10px; width: 100%; max-width: 460px; }
.buy-option { display: flex; align-items: flex-start; gap: 14px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.28); cursor: pointer; transition: border-color .15s, background .15s; }
.buy-option:hover { border-color: rgba(255,255,255,.6); }
.buy-option:has(input:checked) { border-color: var(--gold-light); background: rgba(255,255,255,.07); }
.buy-option input { margin: 3px 0 0; accent-color: var(--gold-light); width: 18px; height: 18px; flex: none; }
.buy-option span { display: flex; flex-direction: column; gap: 3px; }
.buy-option strong { font-size: 15px; font-weight: 700; }
.buy-option small { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.4; }
.buy-choice .button { width: 100%; margin-top: 6px; }
.buy-choice .button span[aria-hidden] { margin-left: 8px; }

/* Aktions-Kacheln: Details-Link neben „Kaufen“ */
.instant-actions { display: flex; align-items: center; gap: 16px; }
.instant-link { color: var(--ink); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; text-underline-offset: 5px; white-space: nowrap; }
.instant-link:hover, .instant-card h3 a:hover { color: var(--gold); }

/* Kachel-Fuß: bei schmalen Kacheln rutschen die Buttons unter den Preis */
.instant-footer { flex-wrap: wrap; row-gap: 14px; }
.instant-footer .price, .instant-footer .button { white-space: nowrap; }
.instant-actions { margin-left: auto; }

/* Rubrik-Label auch auf der Aktionsseite */
.instant-card .tag { margin-bottom: 18px; }

/* Suche auf der Aktionsseite */
.domain-search { margin: clamp(22px, 3vw, 32px) 0 6px; }
.domain-search-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.domain-search-field { position: relative; max-width: 620px; }
.domain-search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.domain-search-field input { width: 100%; min-height: 54px; padding: 0 16px 0 48px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 17px; color: var(--ink); }
.domain-search-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23,43,77,.12); }
.domain-search-count { min-height: 20px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.search-empty { margin-top: 20px; }
.instant-card--premium { border-color: var(--gold); }
[hidden] { display: none !important; }

.spam-hint { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold, #b8862b); background: rgba(184,134,43,.10); font-size: 13px; line-height: 1.5; }
